Struct screen_13::prelude::vk::AttachmentSampleCountInfoAMDBuilder
source · pub struct AttachmentSampleCountInfoAMDBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> AttachmentSampleCountInfoAMDBuilder<'a>
pub fn color_attachment_samples( self, color_attachment_samples: &'a [SampleCountFlags] ) -> AttachmentSampleCountInfoAMDBuilder<'a>
pub fn depth_stencil_attachment_samples( self, depth_stencil_attachment_samples: SampleCountFlags ) -> AttachmentSampleCountInfoAMDBuilder<'a>
sourcepub fn build(self) -> AttachmentSampleCountInfoAMD
pub fn build(self) -> AttachmentSampleCountInfoAMD
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 AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> Deref for AttachmentSampleCountInfoAMDBuilder<'a>
§type Target = AttachmentSampleCountInfoAMD
type Target = AttachmentSampleCountInfoAMD
The resulting type after dereferencing.