#[repr(C)]pub struct FragmentShadingRateAttachmentInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_fragment_shading_rate_attachment: *const AttachmentReference2,
pub shading_rate_attachment_texel_size: Extent2D,
}Expand description
VkFragmentShadingRateAttachmentInfoKHR
Provided by VK_KHR_fragment_shading_rate.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR.
p_next: *const c_voidOptional, may be null.
p_fragment_shading_rate_attachment: *const AttachmentReference2Optional, may be null.
shading_rate_attachment_texel_size: Extent2DImplementations§
Source§impl FragmentShadingRateAttachmentInfoKHR
impl FragmentShadingRateAttachmentInfoKHR
Sourcepub fn builder<'a>() -> FragmentShadingRateAttachmentInfoKHRBuilder<'a>
pub fn builder<'a>() -> FragmentShadingRateAttachmentInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for FragmentShadingRateAttachmentInfoKHR
impl Clone for FragmentShadingRateAttachmentInfoKHR
Source§fn clone(&self) -> FragmentShadingRateAttachmentInfoKHR
fn clone(&self) -> FragmentShadingRateAttachmentInfoKHR
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 FragmentShadingRateAttachmentInfoKHR
impl ExtendsSubpassDescription2 for FragmentShadingRateAttachmentInfoKHR
Auto Trait Implementations§
impl Freeze for FragmentShadingRateAttachmentInfoKHR
impl RefUnwindSafe for FragmentShadingRateAttachmentInfoKHR
impl !Send for FragmentShadingRateAttachmentInfoKHR
impl !Sync for FragmentShadingRateAttachmentInfoKHR
impl Unpin for FragmentShadingRateAttachmentInfoKHR
impl UnsafeUnpin for FragmentShadingRateAttachmentInfoKHR
impl UnwindSafe for FragmentShadingRateAttachmentInfoKHR
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