Struct ash::vk::definitions::SampleLocationsInfoEXT
source · #[repr(C)]pub struct SampleLocationsInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub sample_locations_per_pixel: SampleCountFlags,
pub sample_location_grid_size: Extent2D,
pub sample_locations_count: u32,
pub p_sample_locations: *const SampleLocationEXT,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§sample_locations_per_pixel: SampleCountFlags
§sample_location_grid_size: Extent2D
§sample_locations_count: u32
§p_sample_locations: *const SampleLocationEXT
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SampleLocationsInfoEXT<'a>
impl<'a> SampleLocationsInfoEXT<'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
Trait Implementations§
source§impl<'a> Clone for SampleLocationsInfoEXT<'a>
impl<'a> Clone for SampleLocationsInfoEXT<'a>
source§fn clone(&self) -> SampleLocationsInfoEXT<'a>
fn clone(&self) -> SampleLocationsInfoEXT<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SampleLocationsInfoEXT<'a>
impl<'a> Debug for SampleLocationsInfoEXT<'a>
source§impl Default for SampleLocationsInfoEXT<'_>
impl Default for SampleLocationsInfoEXT<'_>
source§impl<'a> TaggedStructure for SampleLocationsInfoEXT<'a>
impl<'a> TaggedStructure for SampleLocationsInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SAMPLE_LOCATIONS_INFO_EXT
impl<'a> Copy for SampleLocationsInfoEXT<'a>
impl ExtendsImageMemoryBarrier for SampleLocationsInfoEXT<'_>
impl ExtendsImageMemoryBarrier2 for SampleLocationsInfoEXT<'_>
impl Send for SampleLocationsInfoEXT<'_>
impl Sync for SampleLocationsInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for SampleLocationsInfoEXT<'a>
impl<'a> RefUnwindSafe for SampleLocationsInfoEXT<'a>
impl<'a> Unpin for SampleLocationsInfoEXT<'a>
impl<'a> UnwindSafe for SampleLocationsInfoEXT<'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