pub struct AttachmentDescription(/* private fields */);Implementations§
Source§impl AttachmentDescription
impl AttachmentDescription
pub const fn new( format: VkFormat, init_layout: ImageLayout, fin_layout: ImageLayout, ) -> Self
pub const fn format(self, fmt: VkFormat) -> Self
pub const fn color_memory_op(self, load: LoadOp, store: StoreOp) -> Self
Sourcepub const fn stencil_load_op(self, op: LoadOp) -> Self
pub const fn stencil_load_op(self, op: LoadOp) -> Self
default: don’t care
Sourcepub const fn stencil_store_op(self, op: StoreOp) -> Self
pub const fn stencil_store_op(self, op: StoreOp) -> Self
Default: don’t care
pub const fn stencil_memory_op(self, load: LoadOp, store: StoreOp) -> Self
pub const fn init_layout(self, layout: ImageLayout) -> Self
pub const fn fin_layout(self, layout: ImageLayout) -> Self
pub const fn image_layout_transition( self, init_layout: ImageLayout, fin_layout: ImageLayout, ) -> Self
pub const fn with_layout_from(self, trans: LayoutTransition) -> Self
pub const fn may_alias(self) -> Self
pub const fn no_alias(self) -> Self
pub const fn samples(self, count: u32) -> Self
Auto Trait Implementations§
impl Freeze for AttachmentDescription
impl RefUnwindSafe for AttachmentDescription
impl Send for AttachmentDescription
impl Sync for AttachmentDescription
impl Unpin for AttachmentDescription
impl UnsafeUnpin for AttachmentDescription
impl UnwindSafe for AttachmentDescription
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