#[repr(C)]pub struct PipelineViewportShadingRateImageStateCreateInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub shading_rate_image_enable: Bool32,
pub viewport_count: u32,
pub p_shading_rate_palettes: *const ShadingRatePaletteNV<'a>,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§shading_rate_image_enable: Bool32
§viewport_count: u32
§p_shading_rate_palettes: *const ShadingRatePaletteNV<'a>
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineViewportShadingRateImageStateCreateInfoNV<'a>
impl<'a> PipelineViewportShadingRateImageStateCreateInfoNV<'a>
pub fn shading_rate_image_enable(self, shading_rate_image_enable: bool) -> Self
pub fn shading_rate_palettes( self, shading_rate_palettes: &'a [ShadingRatePaletteNV<'a>], ) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
impl<'a> Clone for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
source§fn clone(&self) -> PipelineViewportShadingRateImageStateCreateInfoNV<'a>
fn clone(&self) -> PipelineViewportShadingRateImageStateCreateInfoNV<'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 PipelineViewportShadingRateImageStateCreateInfoNV<'a>
impl<'a> Debug for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
source§impl<'a> TaggedStructure for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
impl<'a> TaggedStructure for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV
impl<'a> Copy for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
impl ExtendsPipelineViewportStateCreateInfo for PipelineViewportShadingRateImageStateCreateInfoNV<'_>
impl Send for PipelineViewportShadingRateImageStateCreateInfoNV<'_>
impl Sync for PipelineViewportShadingRateImageStateCreateInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
impl<'a> RefUnwindSafe for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
impl<'a> Unpin for PipelineViewportShadingRateImageStateCreateInfoNV<'a>
impl<'a> UnwindSafe for PipelineViewportShadingRateImageStateCreateInfoNV<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)