Enum gfx::device::tex::TextureError
[−]
[src]
pub enum TextureError { UnsupportedFormat, UnsupportedGamma, UnsupportedSampling, InvalidInfo(TextureInfo), IncorrectSize(usize), }
Texture creation/update error.
Variants
UnsupportedFormat | Failed to map a given format to the device. |
UnsupportedGamma | Failed to provide sRGB formats. |
UnsupportedSampling | Failed to map a given multisampled kind to the device. |
InvalidInfo | The given TextureInfo contains invalid values. |
IncorrectSize | The given data has a different size than the target texture slice. |