pub struct RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
pub fn image_view(self, image_view: ImageView) -> Self
pub fn image_layout(self, image_layout: ImageLayout) -> Self
pub fn shading_rate_attachment_texel_size( self, shading_rate_attachment_texel_size: Extent2D, ) -> Self
Sourcepub fn build(self) -> RenderingFragmentShadingRateAttachmentInfoKHR
pub fn build(self) -> RenderingFragmentShadingRateAttachmentInfoKHR
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 RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> Deref for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
Source§impl<'a> DerefMut for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> DerefMut for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl ExtendsRenderingInfo for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> !Send for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> !Sync for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> Unpin for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> UnwindSafe for RenderingFragmentShadingRateAttachmentInfoKHRBuilder<'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