pub struct FragmentShadingRateAttachmentInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> FragmentShadingRateAttachmentInfoKHRBuilder<'a>
pub fn fragment_shading_rate_attachment( self, fragment_shading_rate_attachment: &'a AttachmentReference2, ) -> Self
pub fn shading_rate_attachment_texel_size( self, shading_rate_attachment_texel_size: Extent2D, ) -> Self
Sourcepub fn build(self) -> FragmentShadingRateAttachmentInfoKHR
pub fn build(self) -> FragmentShadingRateAttachmentInfoKHR
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 FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> Deref for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
Source§impl<'a> DerefMut for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> DerefMut for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl ExtendsSubpassDescription2 for FragmentShadingRateAttachmentInfoKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> !Send for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> !Sync for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> Unpin for FragmentShadingRateAttachmentInfoKHRBuilder<'a>
impl<'a> UnwindSafe for FragmentShadingRateAttachmentInfoKHRBuilder<'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