Struct pilka_lib::ash::vk::SampleLocationsInfoEXTBuilder [−]
#[repr(transparent)]pub struct SampleLocationsInfoEXTBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> SampleLocationsInfoEXTBuilder<'a>
impl<'a> SampleLocationsInfoEXTBuilder<'a>
pub fn sample_locations_per_pixel(
self,
sample_locations_per_pixel: SampleCountFlags
) -> SampleLocationsInfoEXTBuilder<'a>
pub fn sample_location_grid_size(
self,
sample_location_grid_size: Extent2D
) -> SampleLocationsInfoEXTBuilder<'a>
pub fn sample_locations(
self,
sample_locations: &'a [SampleLocationEXT]
) -> SampleLocationsInfoEXTBuilder<'a>
pub 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.
Methods from Deref<Target = SampleLocationsInfoEXT>
Trait Implementations
impl<'a> Deref for SampleLocationsInfoEXTBuilder<'a>
impl<'a> Deref for SampleLocationsInfoEXTBuilder<'a>
type Target = SampleLocationsInfoEXT
type Target = SampleLocationsInfoEXT
The resulting type after dereferencing.
pub fn deref(&self) -> &<SampleLocationsInfoEXTBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<SampleLocationsInfoEXTBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for SampleLocationsInfoEXTBuilder<'a>
impl<'a> DerefMut for SampleLocationsInfoEXTBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <SampleLocationsInfoEXTBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <SampleLocationsInfoEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.