Struct screen_13::prelude::vk::AttachmentReferenceBuilder
source · pub struct AttachmentReferenceBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> AttachmentReferenceBuilder<'a>
impl<'a> AttachmentReferenceBuilder<'a>
pub fn attachment(self, attachment: u32) -> AttachmentReferenceBuilder<'a>
pub fn layout(self, layout: ImageLayout) -> AttachmentReferenceBuilder<'a>
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.
Trait Implementations§
source§impl<'a> Deref for AttachmentReferenceBuilder<'a>
impl<'a> Deref for AttachmentReferenceBuilder<'a>
§type Target = AttachmentReference
type Target = AttachmentReference
The resulting type after dereferencing.