Struct ash::vk::AttachmentSampleCountInfoAMDBuilder
source · [−]#[repr(transparent)]pub struct AttachmentSampleCountInfoAMDBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> AttachmentSampleCountInfoAMDBuilder<'a>
pub fn color_attachment_samples(
self,
color_attachment_samples: &'a [SampleCountFlags]
) -> Self
pub fn depth_stencil_attachment_samples(
self,
depth_stencil_attachment_samples: SampleCountFlags
) -> Self
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
sourceimpl<'a> Deref for AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> Deref for AttachmentSampleCountInfoAMDBuilder<'a>
type Target = AttachmentSampleCountInfoAMD
type Target = AttachmentSampleCountInfoAMD
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> DerefMut for AttachmentSampleCountInfoAMDBuilder<'a>
impl ExtendsCommandBufferInheritanceInfo for AttachmentSampleCountInfoAMDBuilder<'_>
impl ExtendsGraphicsPipelineCreateInfo for AttachmentSampleCountInfoAMDBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> !Send for AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> !Sync for AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> Unpin for AttachmentSampleCountInfoAMDBuilder<'a>
impl<'a> UnwindSafe for AttachmentSampleCountInfoAMDBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more