#[repr(C)]pub struct PhysicalDeviceSampleLocationsPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub sample_location_sample_counts: SampleCountFlags,
pub max_sample_location_grid_size: Extent2D,
pub sample_location_coordinate_range: [f32; 2],
pub sample_location_sub_pixel_bits: u32,
pub variable_sample_locations: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§sample_location_sample_counts: SampleCountFlags
§max_sample_location_grid_size: Extent2D
§sample_location_coordinate_range: [f32; 2]
§sample_location_sub_pixel_bits: u32
§variable_sample_locations: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceSampleLocationsPropertiesEXT<'a>
impl<'a> PhysicalDeviceSampleLocationsPropertiesEXT<'a>
pub fn sample_location_sample_counts( self, sample_location_sample_counts: SampleCountFlags, ) -> Self
pub fn max_sample_location_grid_size( self, max_sample_location_grid_size: Extent2D, ) -> Self
pub fn sample_location_coordinate_range( self, sample_location_coordinate_range: [f32; 2], ) -> Self
pub fn sample_location_sub_pixel_bits( self, sample_location_sub_pixel_bits: u32, ) -> Self
pub fn variable_sample_locations(self, variable_sample_locations: bool) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
impl<'a> Clone for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
source§fn clone(&self) -> PhysicalDeviceSampleLocationsPropertiesEXT<'a>
fn clone(&self) -> PhysicalDeviceSampleLocationsPropertiesEXT<'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 PhysicalDeviceSampleLocationsPropertiesEXT<'a>
impl<'a> Debug for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
source§impl Default for PhysicalDeviceSampleLocationsPropertiesEXT<'_>
impl Default for PhysicalDeviceSampleLocationsPropertiesEXT<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
impl<'a> TaggedStructure for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT
impl<'a> Copy for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceSampleLocationsPropertiesEXT<'_>
impl Send for PhysicalDeviceSampleLocationsPropertiesEXT<'_>
impl Sync for PhysicalDeviceSampleLocationsPropertiesEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
impl<'a> Unpin for PhysicalDeviceSampleLocationsPropertiesEXT<'a>
impl<'a> UnwindSafe for PhysicalDeviceSampleLocationsPropertiesEXT<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)