Struct ash::vk::FragmentShadingRateAttachmentInfoKHR
source · #[repr(C)]pub struct FragmentShadingRateAttachmentInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_fragment_shading_rate_attachment: *const AttachmentReference2<'a>,
pub shading_rate_attachment_texel_size: Extent2D,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§p_fragment_shading_rate_attachment: *const AttachmentReference2<'a>
§shading_rate_attachment_texel_size: Extent2D
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> FragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> FragmentShadingRateAttachmentInfoKHR<'a>
pub fn fragment_shading_rate_attachment( self, fragment_shading_rate_attachment: &'a AttachmentReference2<'a>, ) -> Self
pub fn shading_rate_attachment_texel_size( self, shading_rate_attachment_texel_size: Extent2D, ) -> Self
Trait Implementations§
source§impl<'a> Clone for FragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> Clone for FragmentShadingRateAttachmentInfoKHR<'a>
source§fn clone(&self) -> FragmentShadingRateAttachmentInfoKHR<'a>
fn clone(&self) -> FragmentShadingRateAttachmentInfoKHR<'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 FragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> Debug for FragmentShadingRateAttachmentInfoKHR<'a>
source§impl Default for FragmentShadingRateAttachmentInfoKHR<'_>
impl Default for FragmentShadingRateAttachmentInfoKHR<'_>
source§impl<'a> TaggedStructure for FragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> TaggedStructure for FragmentShadingRateAttachmentInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR
impl<'a> Copy for FragmentShadingRateAttachmentInfoKHR<'a>
impl ExtendsSubpassDescription2 for FragmentShadingRateAttachmentInfoKHR<'_>
impl Send for FragmentShadingRateAttachmentInfoKHR<'_>
impl Sync for FragmentShadingRateAttachmentInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for FragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> RefUnwindSafe for FragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> Unpin for FragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> UnwindSafe for FragmentShadingRateAttachmentInfoKHR<'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