Struct screen_13::driver::image::ImageViewInfo
source · pub struct ImageViewInfo {
pub array_layer_count: Option<u32>,
pub aspect_mask: ImageAspectFlags,
pub base_array_layer: u32,
pub base_mip_level: u32,
pub fmt: Format,
pub mip_level_count: Option<u32>,
pub ty: ImageType,
}Expand description
Information used to reinterpret an existing Image instance.
Fields§
§array_layer_count: Option<u32>The number of layers that will be contained in the view.
aspect_mask: ImageAspectFlagsThe portion of the image that will be contained in the view.
base_array_layer: u32The first array layer that will be contained in the view.
base_mip_level: u32The first mip level that will be contained in the view.
fmt: FormatThe format and type of the texel blocks that will be contained in the view.
mip_level_count: Option<u32>The number of mip levels that will be contained in the view.
ty: ImageTypeThe basic dimensionality of the view.
Implementations§
Trait Implementations§
source§impl Clone for ImageViewInfo
impl Clone for ImageViewInfo
source§fn clone(&self) -> ImageViewInfo
fn clone(&self) -> ImageViewInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ImageViewInfo
impl Debug for ImageViewInfo
source§impl From<ImageInfo> for ImageViewInfo
impl From<ImageInfo> for ImageViewInfo
source§impl From<ImageViewInfo> for ImageSubresource
impl From<ImageViewInfo> for ImageSubresource
source§fn from(info: ImageViewInfo) -> Self
fn from(info: ImageViewInfo) -> Self
Converts to this type from the input type.
source§impl From<ImageViewInfo> for ViewType
impl From<ImageViewInfo> for ViewType
source§fn from(info: ImageViewInfo) -> Self
fn from(info: ImageViewInfo) -> Self
Converts to this type from the input type.
source§impl From<ImageViewInfoBuilder> for ImageViewInfo
impl From<ImageViewInfoBuilder> for ImageViewInfo
source§fn from(info: ImageViewInfoBuilder) -> Self
fn from(info: ImageViewInfoBuilder) -> Self
Converts to this type from the input type.
source§impl Hash for ImageViewInfo
impl Hash for ImageViewInfo
source§impl PartialEq<ImageViewInfo> for ImageViewInfo
impl PartialEq<ImageViewInfo> for ImageViewInfo
source§fn eq(&self, other: &ImageViewInfo) -> bool
fn eq(&self, other: &ImageViewInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ImageViewInfo
impl Eq for ImageViewInfo
impl StructuralEq for ImageViewInfo
impl StructuralPartialEq for ImageViewInfo
Auto Trait Implementations§
impl RefUnwindSafe for ImageViewInfo
impl Send for ImageViewInfo
impl Sync for ImageViewInfo
impl Unpin for ImageViewInfo
impl UnwindSafe for ImageViewInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more