pub struct PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl<'a> PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'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] ) -> Self
sourcepub fn build(self) -> PipelineViewportShadingRateImageStateCreateInfoNV
pub fn build(self) -> PipelineViewportShadingRateImageStateCreateInfoNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl<'a> Deref for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
source§impl<'a> DerefMut for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl<'a> DerefMut for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl ExtendsPipelineViewportStateCreateInfo for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl<'a> RefUnwindSafe for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl<'a> !Send for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl<'a> !Sync for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl<'a> Unpin for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'a>
impl<'a> UnwindSafe for PipelineViewportShadingRateImageStateCreateInfoNVBuilder<'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