Enum wgpu_core::resource::CreateTextureViewError [−][src]
pub enum CreateTextureViewError {
InvalidTexture,
OutOfMemory,
InvalidTextureViewDimension {
view: TextureViewDimension,
texture: TextureDimension,
},
InvalidCubemapTextureDepth {
depth: u32,
},
InvalidCubemapArrayTextureDepth {
depth: u32,
},
TooManyMipLevels {
requested: u32,
total: u32,
},
TooManyArrayLayers {
requested: u32,
total: u32,
},
InvalidArrayLayerCount {
requested: u32,
dim: TextureViewDimension,
},
InvalidAspect {
texture_format: TextureFormat,
requested_aspect: TextureAspect,
},
FormatReinterpretation {
texture: TextureFormat,
view: TextureFormat,
},
}
Variants
InvalidTexture
OutOfMemory
InvalidTextureViewDimension
InvalidCubemapTextureDepth
Fields
depth: u32
InvalidCubemapArrayTextureDepth
Fields
depth: u32
TooManyMipLevels
TooManyArrayLayers
InvalidArrayLayerCount
InvalidAspect
FormatReinterpretation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CreateTextureViewError
impl Send for CreateTextureViewError
impl Sync for CreateTextureViewError
impl Unpin for CreateTextureViewError
impl UnwindSafe for CreateTextureViewError
Blanket Implementations
Mutably borrows from an owned value. Read more