Struct ash::vk::CoarseSampleOrderCustomNVBuilder
source · pub struct CoarseSampleOrderCustomNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> CoarseSampleOrderCustomNVBuilder<'a>
impl<'a> CoarseSampleOrderCustomNVBuilder<'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
sourcepub fn build(self) -> CoarseSampleOrderCustomNV
pub fn build(self) -> CoarseSampleOrderCustomNV
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 CoarseSampleOrderCustomNVBuilder<'a>
impl<'a> Deref for CoarseSampleOrderCustomNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CoarseSampleOrderCustomNVBuilder<'a>
impl<'a> RefUnwindSafe for CoarseSampleOrderCustomNVBuilder<'a>
impl<'a> !Send for CoarseSampleOrderCustomNVBuilder<'a>
impl<'a> !Sync for CoarseSampleOrderCustomNVBuilder<'a>
impl<'a> Unpin for CoarseSampleOrderCustomNVBuilder<'a>
impl<'a> UnwindSafe for CoarseSampleOrderCustomNVBuilder<'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