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