Enum wgpu_core::resource::CreateTextureError [−][src]
pub enum CreateTextureError {
Device(DeviceError),
CannotCreateDepthVolumeTexture(TextureFormat),
EmptyUsage,
InvalidDimension(TextureDimensionError),
InvalidMipLevelCount(u32),
InvalidUsages(TextureUsages, TextureFormat),
MissingFeatures(TextureFormat, MissingFeatures),
}Variants
Device(DeviceError)
Tuple Fields
0: DeviceErrorCannotCreateDepthVolumeTexture(TextureFormat)
Tuple Fields
EmptyUsage
InvalidDimension(TextureDimensionError)
Tuple Fields
InvalidMipLevelCount(u32)
Tuple Fields
0: u32InvalidUsages(TextureUsages, TextureFormat)
MissingFeatures(TextureFormat, 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
