Struct ash::vk::definitions::AttachmentSampleCountInfoAMD
source · #[repr(C)]pub struct AttachmentSampleCountInfoAMD<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub color_attachment_count: u32,
pub p_color_attachment_samples: *const SampleCountFlags,
pub depth_stencil_attachment_samples: SampleCountFlags,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§color_attachment_count: u32
§p_color_attachment_samples: *const SampleCountFlags
§depth_stencil_attachment_samples: SampleCountFlags
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> AttachmentSampleCountInfoAMD<'a>
impl<'a> AttachmentSampleCountInfoAMD<'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
Trait Implementations§
source§impl<'a> Clone for AttachmentSampleCountInfoAMD<'a>
impl<'a> Clone for AttachmentSampleCountInfoAMD<'a>
source§fn clone(&self) -> AttachmentSampleCountInfoAMD<'a>
fn clone(&self) -> AttachmentSampleCountInfoAMD<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for AttachmentSampleCountInfoAMD<'a>
impl<'a> Debug for AttachmentSampleCountInfoAMD<'a>
source§impl Default for AttachmentSampleCountInfoAMD<'_>
impl Default for AttachmentSampleCountInfoAMD<'_>
source§impl<'a> TaggedStructure for AttachmentSampleCountInfoAMD<'a>
impl<'a> TaggedStructure for AttachmentSampleCountInfoAMD<'a>
const STRUCTURE_TYPE: StructureType = StructureType::ATTACHMENT_SAMPLE_COUNT_INFO_AMD
impl<'a> Copy for AttachmentSampleCountInfoAMD<'a>
impl ExtendsCommandBufferInheritanceInfo for AttachmentSampleCountInfoAMD<'_>
impl ExtendsGraphicsPipelineCreateInfo for AttachmentSampleCountInfoAMD<'_>
impl Send for AttachmentSampleCountInfoAMD<'_>
impl Sync for AttachmentSampleCountInfoAMD<'_>
Auto Trait Implementations§
impl<'a> Freeze for AttachmentSampleCountInfoAMD<'a>
impl<'a> RefUnwindSafe for AttachmentSampleCountInfoAMD<'a>
impl<'a> Unpin for AttachmentSampleCountInfoAMD<'a>
impl<'a> UnwindSafe for AttachmentSampleCountInfoAMD<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)