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: TextureViewDimensiontexture: TextureDimensionFields of InvalidCubemapTextureDepth
depth: u32Fields of InvalidCubemapArrayTextureDepth
depth: u32Fields of InvalidArrayLayerCount
requested: u32dim: TextureViewDimensionFields of InvalidAspect
texture_format: TextureFormatrequested_aspect: TextureAspectFields of FormatReinterpretation
texture: TextureFormatview: TextureFormatTrait 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