Struct screen_13::prelude::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 ) -> CoarseSampleOrderCustomNVBuilder<'a>
pub fn sample_count( self, sample_count: u32 ) -> CoarseSampleOrderCustomNVBuilder<'a>
pub fn sample_locations( self, sample_locations: &'a [CoarseSampleLocationNV] ) -> CoarseSampleOrderCustomNVBuilder<'a>
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>
§type Target = CoarseSampleOrderCustomNV
type Target = CoarseSampleOrderCustomNV
The resulting type after dereferencing.
source§impl<'a> DerefMut for CoarseSampleOrderCustomNVBuilder<'a>
impl<'a> DerefMut for CoarseSampleOrderCustomNVBuilder<'a>
Auto Trait Implementations§
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