[][src]Struct bedrock::SubpassDescription

pub struct SubpassDescription { /* fields omitted */ }

Builder structure to construct the VkSubpassDescription

The layout parameter of each attachment

The layout parameter describes what layout the attachment will be in during the subpass.

How input attachments work

Methods

impl SubpassDescription[src]

pub fn new() -> Self[src]

pub fn add_input(self, index: u32, layout: ImageLayout) -> Self[src]

pub fn add_color_output(
    self,
    index: u32,
    layout: ImageLayout,
    resolve: Option<(u32, ImageLayout)>
) -> Self
[src]

pub fn depth_stencil(self, index: u32, layout: ImageLayout) -> Self[src]

pub fn add_preserve(self, index: u32) -> Self[src]

pub fn add_preserves<Collection: IntoIterator<Item = u32>>(
    self,
    collection: Collection
) -> Self
[src]

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

pub fn add_color_output_borrow(
    &mut self,
    index: u32,
    layout: ImageLayout,
    resolve: Option<(u32, ImageLayout)>
) -> &mut Self
[src]

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

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

pub fn add_preserves_borrow<Collection: IntoIterator<Item = u32>>(
    &mut self,
    collection: Collection
) -> &mut Self
[src]

Auto Trait Implementations

impl RefUnwindSafe for SubpassDescription

impl Send for SubpassDescription

impl Sync for SubpassDescription

impl Unpin for SubpassDescription

impl UnwindSafe for SubpassDescription

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.