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
Fields of InvalidTextureViewDimension
view: TextureViewDimension
texture: TextureDimension
Fields of InvalidCubemapTextureDepth
depth: u32
Fields of InvalidCubemapArrayTextureDepth
depth: u32
Fields of InvalidArrayLayerCount
requested: u32
dim: TextureViewDimension
Fields of InvalidAspect
texture_format: TextureFormat
requested_aspect: TextureAspect
Fields of FormatReinterpretation
texture: TextureFormat
view: TextureFormat
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