Struct screen_13::driver::image::ImageViewInfoBuilder
source · pub struct ImageViewInfoBuilder { /* private fields */ }Expand description
Builder for ImageViewInfo.
Implementations§
source§impl ImageViewInfoBuilder
impl ImageViewInfoBuilder
sourcepub fn array_layer_count(self, value: Option<u32>) -> Self
pub fn array_layer_count(self, value: Option<u32>) -> Self
The number of layers that will be contained in the view.
sourcepub fn aspect_mask(self, value: ImageAspectFlags) -> Self
pub fn aspect_mask(self, value: ImageAspectFlags) -> Self
The portion of the image that will be contained in the view.
sourcepub fn base_array_layer(self, value: u32) -> Self
pub fn base_array_layer(self, value: u32) -> Self
The first array layer that will be contained in the view.
sourcepub fn base_mip_level(self, value: u32) -> Self
pub fn base_mip_level(self, value: u32) -> Self
The first mip level that will be contained in the view.
sourcepub fn fmt(self, value: Format) -> Self
pub fn fmt(self, value: Format) -> Self
The format and type of the texel blocks that will be contained in the view.
sourcepub fn mip_level_count(self, value: Option<u32>) -> Self
pub fn mip_level_count(self, value: Option<u32>) -> Self
The number of mip levels that will be contained in the view.
Trait Implementations§
source§impl Default for ImageViewInfoBuilder
impl Default for ImageViewInfoBuilder
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.