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