[][src]Struct bedrock::AttachmentDescription

pub struct AttachmentDescription(_);

Builder structure to construct the VkAttachmentDescription

Methods

impl AttachmentDescription[src]

pub const fn new(
    format: VkFormat,
    init_layout: ImageLayout,
    fin_layout: ImageLayout
) -> Self
[src]

pub const fn format(self, fmt: VkFormat) -> Self[src]

pub const fn load_op(self, op: LoadOp) -> Self[src]

pub const fn store_op(self, op: StoreOp) -> Self[src]

pub const fn stencil_load_op(self, op: LoadOp) -> Self[src]

pub const fn stencil_store_op(self, op: StoreOp) -> Self[src]

pub const fn init_layout(self, layout: ImageLayout) -> Self[src]

pub const fn fin_layout(self, layout: ImageLayout) -> Self[src]

pub const fn may_alias_attachment(self) -> Self[src]

pub const fn no_alias_attachment(self) -> Self[src]

pub const fn samples(self, count: u32) -> Self[src]

pub fn mod_format(&mut self, fmt: VkFormat) -> &mut Self[src]

pub fn mod_load_op(&mut self, op: LoadOp) -> &mut Self[src]

pub fn mod_store_op(&mut self, op: StoreOp) -> &mut Self[src]

pub fn mod_stencil_load_op(&mut self, op: LoadOp) -> &mut Self[src]

pub fn mod_stencil_store_op(&mut self, op: StoreOp) -> &mut Self[src]

pub fn mod_init_layout(&mut self, layout: ImageLayout) -> &mut Self[src]

pub fn mod_fin_layout(&mut self, layout: ImageLayout) -> &mut Self[src]

pub fn mod_may_alias_attachment(&mut self) -> &mut Self[src]

pub fn mod_no_alias_attachment(&mut self) -> &mut Self[src]

pub fn mod_samples(&mut self, count: u32) -> &mut Self[src]

Trait Implementations

impl Borrow<AttachmentDescription> for VkAttachmentDescription[src]

impl BorrowMut<AttachmentDescription> for VkAttachmentDescription[src]

Auto Trait Implementations

impl RefUnwindSafe for AttachmentDescription

impl Send for AttachmentDescription

impl Sync for AttachmentDescription

impl Unpin for AttachmentDescription

impl UnwindSafe for AttachmentDescription

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.