#[repr(C)]pub struct PhysicalDeviceFragmentShadingRateKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub sample_counts: SampleCountFlags,
pub fragment_size: Extent2D,
}Expand description
VkPhysicalDeviceFragmentShadingRateKHR
Provided by VK_KHR_fragment_shading_rate.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_KHR.
p_next: *mut c_voidOptional, may be null.
sample_counts: SampleCountFlags§fragment_size: Extent2DImplementations§
Source§impl PhysicalDeviceFragmentShadingRateKHR
impl PhysicalDeviceFragmentShadingRateKHR
Sourcepub fn builder<'a>() -> PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceFragmentShadingRateKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceFragmentShadingRateKHR
impl Clone for PhysicalDeviceFragmentShadingRateKHR
Source§fn clone(&self) -> PhysicalDeviceFragmentShadingRateKHR
fn clone(&self) -> PhysicalDeviceFragmentShadingRateKHR
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 PhysicalDeviceFragmentShadingRateKHR
Auto Trait Implementations§
impl Freeze for PhysicalDeviceFragmentShadingRateKHR
impl RefUnwindSafe for PhysicalDeviceFragmentShadingRateKHR
impl !Send for PhysicalDeviceFragmentShadingRateKHR
impl !Sync for PhysicalDeviceFragmentShadingRateKHR
impl Unpin for PhysicalDeviceFragmentShadingRateKHR
impl UnsafeUnpin for PhysicalDeviceFragmentShadingRateKHR
impl UnwindSafe for PhysicalDeviceFragmentShadingRateKHR
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