#[repr(C)]pub struct RenderingFragmentShadingRateAttachmentInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub image_view: ImageView,
pub image_layout: ImageLayout,
pub shading_rate_attachment_texel_size: Extent2D,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§image_view: ImageView
§image_layout: ImageLayout
§shading_rate_attachment_texel_size: Extent2D
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> RenderingFragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> RenderingFragmentShadingRateAttachmentInfoKHR<'a>
pub fn image_view(self, image_view: ImageView) -> Self
pub fn image_layout(self, image_layout: ImageLayout) -> Self
pub fn shading_rate_attachment_texel_size( self, shading_rate_attachment_texel_size: Extent2D, ) -> Self
Trait Implementations§
source§impl<'a> Clone for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> Clone for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
source§fn clone(&self) -> RenderingFragmentShadingRateAttachmentInfoKHR<'a>
fn clone(&self) -> RenderingFragmentShadingRateAttachmentInfoKHR<'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 RenderingFragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> Debug for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
source§impl<'a> TaggedStructure for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> TaggedStructure for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR
impl<'a> Copy for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
impl ExtendsRenderingInfo for RenderingFragmentShadingRateAttachmentInfoKHR<'_>
impl Send for RenderingFragmentShadingRateAttachmentInfoKHR<'_>
impl Sync for RenderingFragmentShadingRateAttachmentInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> RefUnwindSafe for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> Unpin for RenderingFragmentShadingRateAttachmentInfoKHR<'a>
impl<'a> UnwindSafe for RenderingFragmentShadingRateAttachmentInfoKHR<'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