Struct ash::vk::AttachmentDescriptionBuilder
source · [−]#[repr(transparent)]pub struct AttachmentDescriptionBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for AttachmentDescriptionBuilder<'a>
impl<'a> Deref for AttachmentDescriptionBuilder<'a>
type Target = AttachmentDescription
type Target = AttachmentDescription
The resulting type after dereferencing.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more