pub struct SampleLocationsInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SampleLocationsInfoEXTBuilder<'a>
impl<'a> SampleLocationsInfoEXTBuilder<'a>
pub fn sample_locations_per_pixel( self, sample_locations_per_pixel: SampleCountFlags, ) -> Self
pub fn sample_location_grid_size( self, sample_location_grid_size: Extent2D, ) -> Self
pub fn sample_locations(self, sample_locations: &'a [SampleLocationEXT]) -> Self
Sourcepub fn build(self) -> SampleLocationsInfoEXT
pub fn build(self) -> SampleLocationsInfoEXT
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 SampleLocationsInfoEXTBuilder<'a>
impl<'a> Deref for SampleLocationsInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for SampleLocationsInfoEXTBuilder<'a>
impl<'a> DerefMut for SampleLocationsInfoEXTBuilder<'a>
impl ExtendsImageMemoryBarrier for SampleLocationsInfoEXTBuilder<'_>
impl ExtendsImageMemoryBarrier2 for SampleLocationsInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for SampleLocationsInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for SampleLocationsInfoEXTBuilder<'a>
impl<'a> !Send for SampleLocationsInfoEXTBuilder<'a>
impl<'a> !Sync for SampleLocationsInfoEXTBuilder<'a>
impl<'a> Unpin for SampleLocationsInfoEXTBuilder<'a>
impl<'a> UnwindSafe for SampleLocationsInfoEXTBuilder<'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