pub struct CoarseSampleOrderCustomNV<'a> {
pub shading_rate: ShadingRatePaletteEntryNV,
pub sample_count: u32,
/* private fields */
}Expand description
Fields§
§shading_rate: ShadingRatePaletteEntryNV§sample_count: u32Implementations§
Source§impl<'a> CoarseSampleOrderCustomNV<'a>
impl<'a> CoarseSampleOrderCustomNV<'a>
pub fn shading_rate(self, value: ShadingRatePaletteEntryNV) -> Self
pub fn sample_count(self, value: u32) -> Self
pub fn sample_locations( self, p_sample_locations: impl AsSlice<'a, CoarseSampleLocationNV>, ) -> Self
pub fn get_sample_locations(&self) -> &'a [CoarseSampleLocationNV]
Trait Implementations§
Source§impl<'a> Default for CoarseSampleOrderCustomNV<'a>
Available on crate feature ext_shading_rate_image only.
impl<'a> Default for CoarseSampleOrderCustomNV<'a>
Available on crate feature
ext_shading_rate_image only.impl<'a> Send for CoarseSampleOrderCustomNV<'a>
Available on crate feature
ext_shading_rate_image only.impl<'a> Sync for CoarseSampleOrderCustomNV<'a>
Available on crate feature
ext_shading_rate_image only.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