pub struct ImageViewInfoBuilder { /* private fields */ }Expand description
Builder for ImageViewInfo.
Implementations
sourceimpl 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
sourceimpl Default for ImageViewInfoBuilder
impl Default for ImageViewInfoBuilder
sourceimpl From<ImageViewInfoBuilder> for ImageViewInfo
impl From<ImageViewInfoBuilder> for ImageViewInfo
sourcefn from(info: ImageViewInfoBuilder) -> Self
fn from(info: ImageViewInfoBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ImageViewInfoBuilder
impl Send for ImageViewInfoBuilder
impl Sync for ImageViewInfoBuilder
impl Unpin for ImageViewInfoBuilder
impl UnwindSafe for ImageViewInfoBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more