#[repr(C)]pub struct PhysicalDeviceShadingRateImagePropertiesNV {
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,
}Expand description
VkPhysicalDeviceShadingRateImagePropertiesNV
Provided by VK_NV_shading_rate_image.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV.
p_next: *mut c_voidOptional, may be null.
shading_rate_texel_size: Extent2D§shading_rate_palette_size: u32§shading_rate_max_coarse_samples: u32Implementations§
Source§impl PhysicalDeviceShadingRateImagePropertiesNV
impl PhysicalDeviceShadingRateImagePropertiesNV
Sourcepub fn builder<'a>() -> PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceShadingRateImagePropertiesNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceShadingRateImagePropertiesNV
impl Clone for PhysicalDeviceShadingRateImagePropertiesNV
Source§fn clone(&self) -> PhysicalDeviceShadingRateImagePropertiesNV
fn clone(&self) -> PhysicalDeviceShadingRateImagePropertiesNV
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 moreimpl Copy for PhysicalDeviceShadingRateImagePropertiesNV
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceShadingRateImagePropertiesNV
Auto Trait Implementations§
impl Freeze for PhysicalDeviceShadingRateImagePropertiesNV
impl RefUnwindSafe for PhysicalDeviceShadingRateImagePropertiesNV
impl !Send for PhysicalDeviceShadingRateImagePropertiesNV
impl !Sync for PhysicalDeviceShadingRateImagePropertiesNV
impl Unpin for PhysicalDeviceShadingRateImagePropertiesNV
impl UnsafeUnpin for PhysicalDeviceShadingRateImagePropertiesNV
impl UnwindSafe for PhysicalDeviceShadingRateImagePropertiesNV
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