[][src]Struct rendy_graph::NodeImage

pub struct NodeImage {
    pub id: ImageId,
    pub range: SubresourceRange,
    pub layout: Layout,
    pub clear: Option<ClearValue>,
    pub acquire: Option<ImageBarrier>,
    pub release: Option<ImageBarrier>,
}

Image shared between nodes.

Fields

id: ImageId

Id of the image.

range: SubresourceRange

Region of the image that is the transient resource.

layout: Layout

Image state for node.

clear: Option<ClearValue>

Specify that node should clear image to this value.

acquire: Option<ImageBarrier>

Acquire barrier. Node implementation must insert it before first command that uses the image. Barrier must be inserted even if this node doesn't use the image.

release: Option<ImageBarrier>

Release barrier. Node implementation must insert it after last command that uses the image. Barrier must be inserted even if this node doesn't use the image.

Trait Implementations

impl Clone for NodeImage[src]

impl Debug for NodeImage[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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