[][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]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for NodeImage[src]

Auto Trait Implementations

impl Unpin for NodeImage

impl Sync for NodeImage

impl Send for NodeImage

impl UnwindSafe for NodeImage

impl RefUnwindSafe for NodeImage

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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]

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

impl<T> Erased for T[src]