Struct ash::vk::AttachmentDescriptionStencilLayoutBuilder
source · #[repr(transparent)]pub struct AttachmentDescriptionStencilLayoutBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AttachmentDescriptionStencilLayoutBuilder<'a>
impl<'a> AttachmentDescriptionStencilLayoutBuilder<'a>
pub fn stencil_initial_layout(self, stencil_initial_layout: ImageLayout) -> Self
pub fn stencil_final_layout(self, stencil_final_layout: ImageLayout) -> Self
sourcepub fn build(self) -> AttachmentDescriptionStencilLayout
pub fn build(self) -> AttachmentDescriptionStencilLayout
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.