[][src]Struct rendy_graph::NodeBuffer

pub struct NodeBuffer {
    pub id: BufferId,
    pub range: Range<u64>,
    pub acquire: Option<BufferBarrier>,
    pub release: Option<BufferBarrier>,
}

Buffer shared between nodes.

If Node doesn't actually use the buffer it can merge acquire and release barriers into one. TODO: Make merge function.

Fields

id: BufferId

Id of the buffer.

range: Range<u64>

Region of the buffer that is the transient resource.

acquire: Option<BufferBarrier>

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

release: Option<BufferBarrier>

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

Trait Implementations

impl Clone for NodeBuffer[src]

impl Debug for NodeBuffer[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]