Enum gfx_core::tex::Error
[−]
[src]
pub enum Error { Format(SurfaceType, Option<ChannelType>), Kind, Samples(AaMode), Size(Size), Data(usize), }
Pure texture object creation error.
Variants
Format | Failed to map a given format to the device. | |
Kind | The kind doesn't support a particular operation. | |
Samples | Failed to map a given multisampled kind to the device. | |
Size | Unsupported size in one of the dimensions. | |
Data | The given data has a different size than the target texture slice. |