Struct asche::ImageViewDescriptor [−][src]
pub struct ImageViewDescriptor<'a> { pub name: &'a str, pub image: &'a Image, pub view_type: ImageViewType, pub format: Format, pub components: ComponentMapping, pub subresource_range: ImageSubresourceRange, pub flags: Option<ImageViewCreateFlags>, }
Expand description
Describes how an image view should be configured.
Fields
name: &'a str
Name used for debugging.
image: &'a Image
The handle of the image.
view_type: ImageViewType
The type of the image view.
format: Format
The format of the image view.
components: ComponentMapping
Component mapping.
subresource_range: ImageSubresourceRange
The subresource range.
flags: Option<ImageViewCreateFlags>
Additional flags.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ImageViewDescriptor<'a>
impl<'a> Send for ImageViewDescriptor<'a>
impl<'a> Sync for ImageViewDescriptor<'a>
impl<'a> Unpin for ImageViewDescriptor<'a>
impl<'a> !UnwindSafe for ImageViewDescriptor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more