Struct ash::vk::definitions::CoarseSampleOrderCustomNV
source · #[repr(C)]pub struct CoarseSampleOrderCustomNV<'a> {
pub shading_rate: ShadingRatePaletteEntryNV,
pub sample_count: u32,
pub sample_location_count: u32,
pub p_sample_locations: *const CoarseSampleLocationNV,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§shading_rate: ShadingRatePaletteEntryNV
§sample_count: u32
§sample_location_count: u32
§p_sample_locations: *const CoarseSampleLocationNV
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CoarseSampleOrderCustomNV<'a>
impl<'a> CoarseSampleOrderCustomNV<'a>
pub fn shading_rate(self, shading_rate: ShadingRatePaletteEntryNV) -> Self
pub fn sample_count(self, sample_count: u32) -> Self
pub fn sample_locations( self, sample_locations: &'a [CoarseSampleLocationNV], ) -> Self
Trait Implementations§
source§impl<'a> Clone for CoarseSampleOrderCustomNV<'a>
impl<'a> Clone for CoarseSampleOrderCustomNV<'a>
source§fn clone(&self) -> CoarseSampleOrderCustomNV<'a>
fn clone(&self) -> CoarseSampleOrderCustomNV<'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 CoarseSampleOrderCustomNV<'a>
impl<'a> Debug for CoarseSampleOrderCustomNV<'a>
source§impl Default for CoarseSampleOrderCustomNV<'_>
impl Default for CoarseSampleOrderCustomNV<'_>
impl<'a> Copy for CoarseSampleOrderCustomNV<'a>
impl Send for CoarseSampleOrderCustomNV<'_>
impl Sync for CoarseSampleOrderCustomNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for CoarseSampleOrderCustomNV<'a>
impl<'a> RefUnwindSafe for CoarseSampleOrderCustomNV<'a>
impl<'a> Unpin for CoarseSampleOrderCustomNV<'a>
impl<'a> UnwindSafe for CoarseSampleOrderCustomNV<'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
)