Skip to main content

gpu_error_of

Function gpu_error_of 

Source
pub fn gpu_error_of(error: &(dyn Error + 'static)) -> Option<GpuErrorKind>
Expand description

The GPU error class of the first RenderError::Gpu in error’s source chain. Out of memory and validation have no protocol code; failure reports classify them with this.