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> 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