#[repr(C)]pub struct PhysicalDeviceShadingRateImagePropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shading_rate_texel_size: Extent2D,
pub shading_rate_palette_size: u32,
pub shading_rate_max_coarse_samples: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§shading_rate_texel_size: Extent2D
§shading_rate_palette_size: u32
§shading_rate_max_coarse_samples: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceShadingRateImagePropertiesNV<'a>
impl<'a> PhysicalDeviceShadingRateImagePropertiesNV<'a>
pub fn shading_rate_texel_size(self, shading_rate_texel_size: Extent2D) -> Self
pub fn shading_rate_palette_size(self, shading_rate_palette_size: u32) -> Self
pub fn shading_rate_max_coarse_samples( self, shading_rate_max_coarse_samples: u32, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceShadingRateImagePropertiesNV<'a>
impl<'a> Clone for PhysicalDeviceShadingRateImagePropertiesNV<'a>
source§fn clone(&self) -> PhysicalDeviceShadingRateImagePropertiesNV<'a>
fn clone(&self) -> PhysicalDeviceShadingRateImagePropertiesNV<'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 PhysicalDeviceShadingRateImagePropertiesNV<'a>
impl<'a> Debug for PhysicalDeviceShadingRateImagePropertiesNV<'a>
source§impl Default for PhysicalDeviceShadingRateImagePropertiesNV<'_>
impl Default for PhysicalDeviceShadingRateImagePropertiesNV<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceShadingRateImagePropertiesNV<'a>
impl<'a> TaggedStructure for PhysicalDeviceShadingRateImagePropertiesNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV
impl<'a> Copy for PhysicalDeviceShadingRateImagePropertiesNV<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShadingRateImagePropertiesNV<'_>
impl Send for PhysicalDeviceShadingRateImagePropertiesNV<'_>
impl Sync for PhysicalDeviceShadingRateImagePropertiesNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceShadingRateImagePropertiesNV<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceShadingRateImagePropertiesNV<'a>
impl<'a> Unpin for PhysicalDeviceShadingRateImagePropertiesNV<'a>
impl<'a> UnwindSafe for PhysicalDeviceShadingRateImagePropertiesNV<'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