Struct ash::vk::ImageSubresourceLayersBuilder
source · #[repr(transparent)]pub struct ImageSubresourceLayersBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImageSubresourceLayersBuilder<'a>
impl<'a> ImageSubresourceLayersBuilder<'a>
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn mip_level(self, mip_level: u32) -> Self
pub fn base_array_layer(self, base_array_layer: u32) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
sourcepub fn build(self) -> ImageSubresourceLayers
pub fn build(self) -> ImageSubresourceLayers
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.