Struct wgpu_hal::TextureViewDescriptor [−][src]
pub struct TextureViewDescriptor<'a> {
    pub label: Label<'a>,
    pub format: TextureFormat,
    pub dimension: TextureViewDimension,
    pub usage: TextureUses,
    pub range: ImageSubresourceRange,
}Expand description
TextureView descriptor.
Valid usage:
. - format has to be the same as TextureDescriptor::format
. - dimension has to be compatible with TextureDescriptor::dimension
. - usage has to be a subset of TextureDescriptor::usage
. - range has to be a subset of parent texture
Fields
label: Label<'a>format: TextureFormatdimension: TextureViewDimensionusage: TextureUsesrange: ImageSubresourceRangeTrait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for TextureViewDescriptor<'a>
impl<'a> Send for TextureViewDescriptor<'a>
impl<'a> Sync for TextureViewDescriptor<'a>
impl<'a> Unpin for TextureViewDescriptor<'a>
impl<'a> UnwindSafe for TextureViewDescriptor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
