pub struct RenderingAttachmentInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> RenderingAttachmentInfoBuilder<'a>
impl<'a> RenderingAttachmentInfoBuilder<'a>
pub fn image_view(self, image_view: ImageView) -> Self
pub fn image_layout(self, image_layout: ImageLayout) -> Self
pub fn resolve_mode(self, resolve_mode: ResolveModeFlags) -> Self
pub fn resolve_image_view(self, resolve_image_view: ImageView) -> Self
pub fn resolve_image_layout(self, resolve_image_layout: ImageLayout) -> Self
pub fn load_op(self, load_op: AttachmentLoadOp) -> Self
pub fn store_op(self, store_op: AttachmentStoreOp) -> Self
pub fn clear_value(self, clear_value: ClearValue) -> Self
Sourcepub fn build(self) -> RenderingAttachmentInfo
pub fn build(self) -> RenderingAttachmentInfo
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 RenderingAttachmentInfoBuilder<'a>
impl<'a> Deref for RenderingAttachmentInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for RenderingAttachmentInfoBuilder<'a>
impl<'a> RefUnwindSafe for RenderingAttachmentInfoBuilder<'a>
impl<'a> !Send for RenderingAttachmentInfoBuilder<'a>
impl<'a> !Sync for RenderingAttachmentInfoBuilder<'a>
impl<'a> Unpin for RenderingAttachmentInfoBuilder<'a>
impl<'a> UnwindSafe for RenderingAttachmentInfoBuilder<'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