Struct ash::vk::SampleLocationsInfoEXTBuilder
source · [−]#[repr(transparent)]pub struct SampleLocationsInfoEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for SampleLocationsInfoEXTBuilder<'a>
impl<'a> Deref for SampleLocationsInfoEXTBuilder<'a>
type Target = SampleLocationsInfoEXT
type Target = SampleLocationsInfoEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for SampleLocationsInfoEXTBuilder<'a>
impl<'a> DerefMut for SampleLocationsInfoEXTBuilder<'a>
impl ExtendsImageMemoryBarrier for SampleLocationsInfoEXTBuilder<'_>
impl ExtendsImageMemoryBarrier2KHR 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more