#[repr(C)]pub struct PhysicalDeviceSampleLocationsPropertiesEXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub sample_location_sample_counts: SampleCountFlagBits,
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: u32,
}Expand description
VkPhysicalDeviceSampleLocationsPropertiesEXT
Provided by VK_EXT_sample_locations.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT.
p_next: *mut c_voidOptional, may be null.
sample_location_sample_counts: SampleCountFlagBits§max_sample_location_grid_size: Extent2D§sample_location_coordinate_range: [f32; 2]§sample_location_sub_pixel_bits: u32§variable_sample_locations: u32Implementations§
Source§impl PhysicalDeviceSampleLocationsPropertiesEXT
impl PhysicalDeviceSampleLocationsPropertiesEXT
Sourcepub fn builder<'a>() -> PhysicalDeviceSampleLocationsPropertiesEXTBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceSampleLocationsPropertiesEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceSampleLocationsPropertiesEXT
impl Clone for PhysicalDeviceSampleLocationsPropertiesEXT
Source§fn clone(&self) -> PhysicalDeviceSampleLocationsPropertiesEXT
fn clone(&self) -> PhysicalDeviceSampleLocationsPropertiesEXT
Returns a duplicate 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 Default for PhysicalDeviceSampleLocationsPropertiesEXT
impl Default for PhysicalDeviceSampleLocationsPropertiesEXT
Source§fn default() -> PhysicalDeviceSampleLocationsPropertiesEXT
fn default() -> PhysicalDeviceSampleLocationsPropertiesEXT
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceSampleLocationsPropertiesEXT
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceSampleLocationsPropertiesEXT
Auto Trait Implementations§
impl Freeze for PhysicalDeviceSampleLocationsPropertiesEXT
impl RefUnwindSafe for PhysicalDeviceSampleLocationsPropertiesEXT
impl !Send for PhysicalDeviceSampleLocationsPropertiesEXT
impl !Sync for PhysicalDeviceSampleLocationsPropertiesEXT
impl Unpin for PhysicalDeviceSampleLocationsPropertiesEXT
impl UnsafeUnpin for PhysicalDeviceSampleLocationsPropertiesEXT
impl UnwindSafe for PhysicalDeviceSampleLocationsPropertiesEXT
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