Struct ash::vk::AttachmentDescriptionBuilder
source · pub struct AttachmentDescriptionBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AttachmentDescriptionBuilder<'a>
impl<'a> AttachmentDescriptionBuilder<'a>
pub fn flags(self, flags: AttachmentDescriptionFlags) -> Self
pub fn format(self, format: Format) -> Self
pub fn samples(self, samples: SampleCountFlags) -> Self
pub fn load_op(self, load_op: AttachmentLoadOp) -> Self
pub fn store_op(self, store_op: AttachmentStoreOp) -> Self
pub fn stencil_load_op(self, stencil_load_op: AttachmentLoadOp) -> Self
pub fn stencil_store_op(self, stencil_store_op: AttachmentStoreOp) -> Self
pub fn initial_layout(self, initial_layout: ImageLayout) -> Self
pub fn final_layout(self, final_layout: ImageLayout) -> Self
sourcepub fn build(self) -> AttachmentDescription
pub fn build(self) -> AttachmentDescription
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 AttachmentDescriptionBuilder<'a>
impl<'a> Deref for AttachmentDescriptionBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AttachmentDescriptionBuilder<'a>
impl<'a> Send for AttachmentDescriptionBuilder<'a>
impl<'a> Sync for AttachmentDescriptionBuilder<'a>
impl<'a> Unpin for AttachmentDescriptionBuilder<'a>
impl<'a> UnwindSafe for AttachmentDescriptionBuilder<'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