Enum wgpu_core::resource::CreateTextureError [−][src]
pub enum CreateTextureError {
Device(DeviceError),
CannotCopyD24Plus,
EmptyUsage,
InvalidDimension(TextureDimensionError),
InvalidMipLevelCount(u32),
InvalidUsages(TextureUsages, TextureFormat),
MissingFeatures(TextureFormat, MissingFeatures),
}
Variants
Device(DeviceError)
Tuple Fields of Device
0: DeviceError
InvalidDimension(TextureDimensionError)
Tuple Fields of InvalidDimension
InvalidMipLevelCount(u32)
Tuple Fields of InvalidMipLevelCount
0: u32
InvalidUsages(TextureUsages, TextureFormat)
Tuple Fields of InvalidUsages
MissingFeatures(TextureFormat, MissingFeatures)
Tuple Fields of MissingFeatures
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CreateTextureError
impl Send for CreateTextureError
impl Sync for CreateTextureError
impl Unpin for CreateTextureError
impl UnwindSafe for CreateTextureError
Blanket Implementations
Mutably borrows from an owned value. Read more