pub struct PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl<'a> PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
pub fn shading_rate_type( self, shading_rate_type: FragmentShadingRateTypeNV, ) -> Self
pub fn shading_rate(self, shading_rate: FragmentShadingRateNV) -> Self
pub fn combiner_ops( self, combiner_ops: [FragmentShadingRateCombinerOpKHR; 2], ) -> Self
Sourcepub fn build(self) -> PipelineFragmentShadingRateEnumStateCreateInfoNV
pub fn build(self) -> PipelineFragmentShadingRateEnumStateCreateInfoNV
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 PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl<'a> Deref for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
Source§impl<'a> DerefMut for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl<'a> DerefMut for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl ExtendsGraphicsPipelineCreateInfo for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl<'a> RefUnwindSafe for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl<'a> !Send for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl<'a> !Sync for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl<'a> Unpin for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'a>
impl<'a> UnwindSafe for PipelineFragmentShadingRateEnumStateCreateInfoNVBuilder<'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