pub struct AttachmentReferenceStencilLayoutBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> AttachmentReferenceStencilLayoutBuilder<'a>
impl<'a> AttachmentReferenceStencilLayoutBuilder<'a>
pub fn stencil_layout(
self,
stencil_layout: ImageLayout
) -> AttachmentReferenceStencilLayoutBuilder<'a>
sourcepub fn build(self) -> AttachmentReferenceStencilLayout
pub fn build(self) -> AttachmentReferenceStencilLayout
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.
Trait Implementations§
source§impl<'a> Deref for AttachmentReferenceStencilLayoutBuilder<'a>
impl<'a> Deref for AttachmentReferenceStencilLayoutBuilder<'a>
§type Target = AttachmentReferenceStencilLayout
type Target = AttachmentReferenceStencilLayout
The resulting type after dereferencing.