[][src]Struct ash::vk::AttachmentDescription

#[repr(C)]pub struct AttachmentDescription {
    pub flags: AttachmentDescriptionFlags,
    pub format: Format,
    pub samples: SampleCountFlags,
    pub load_op: AttachmentLoadOp,
    pub store_op: AttachmentStoreOp,
    pub stencil_load_op: AttachmentLoadOp,
    pub stencil_store_op: AttachmentStoreOp,
    pub initial_layout: ImageLayout,
    pub final_layout: ImageLayout,
}

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkAttachmentDescription.html

Fields

flags: AttachmentDescriptionFlagsformat: Formatsamples: SampleCountFlagsload_op: AttachmentLoadOpstore_op: AttachmentStoreOpstencil_load_op: AttachmentLoadOpstencil_store_op: AttachmentStoreOpinitial_layout: ImageLayoutfinal_layout: ImageLayout

Methods

impl AttachmentDescription[src]

pub fn builder<'a>() -> AttachmentDescriptionBuilder<'a>[src]

Trait Implementations

impl Clone for AttachmentDescription[src]

impl Copy for AttachmentDescription[src]

impl Debug for AttachmentDescription[src]

impl Default for AttachmentDescription[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.