Enum pixels::Error [−][src]
pub enum Error {
AdapterNotFound,
DeviceNotFound(RequestDeviceError),
Surface(SurfaceError),
UserDefined(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All the ways in which creating a pixel buffer can fail.
Variants
No suitable wgpu::Adapter
found
DeviceNotFound(RequestDeviceError)
Equivalent to wgpu::RequestDeviceError
Tuple Fields of DeviceNotFound
Surface(SurfaceError)
Equivalent to wgpu::SurfaceError
Tuple Fields of Surface
0: SurfaceError
User-defined error from custom render function