Struct ash::vk::SampleLocationsInfoEXTBuilder
source · 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> 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