[][src]Struct amethyst_rendy::rendy::graph::DescBuilder

pub struct DescBuilder<B, T, N> where
    B: Backend,
    T: ?Sized
{ /* fields omitted */ }

Builder for the node.

Methods

impl<B, T, N> DescBuilder<B, T, N> where
    B: Backend,
    T: ?Sized
[src]

pub fn add_buffer(&mut self, buffer: BufferId) -> &mut DescBuilder<B, T, N>[src]

Add buffer to the node. This method must be called for each buffer node uses.

pub fn with_buffer(self, buffer: BufferId) -> DescBuilder<B, T, N>[src]

Add buffer to the node. This method must be called for each buffer node uses.

pub fn add_image(&mut self, image: ImageId) -> &mut DescBuilder<B, T, N>[src]

Add image to the node. This method must be called for each image node uses.

pub fn with_image(self, image: ImageId) -> DescBuilder<B, T, N>[src]

Add image to the node. This method must be called for each image node uses.

pub fn add_dependency(
    &mut self,
    dependency: NodeId
) -> &mut DescBuilder<B, T, N>
[src]

Add dependency. Node will be placed after its dependencies.

pub fn with_dependency(self, dependency: NodeId) -> DescBuilder<B, T, N>[src]

Add dependency. Node will be placed after its dependencies.

Trait Implementations

impl<B, T, N> NodeBuilder<B, T> for DescBuilder<B, T, N> where
    B: Backend,
    N: NodeDesc<B, T>,
    T: ?Sized
[src]

impl<B, T, D> RenderGroupBuilder<B, T> for DescBuilder<B, T, D> where
    B: Backend,
    D: RenderGroupDesc<B, T>,
    T: ?Sized
[src]

fn into_subpass(self) -> SubpassBuilder<B, T> where
    Self: 'static, 
[src]

Make subpass from render group.

impl<B, T, N> Debug for DescBuilder<B, T, N> where
    B: Backend,
    N: Debug,
    T: ?Sized
[src]

Auto Trait Implementations

impl<B, T: ?Sized, N> Unpin for DescBuilder<B, T, N> where
    N: Unpin

impl<B, T: ?Sized, N> Sync for DescBuilder<B, T, N> where
    N: Sync

impl<B, T: ?Sized, N> Send for DescBuilder<B, T, N> where
    N: Send

impl<B, T: ?Sized, N> UnwindSafe for DescBuilder<B, T, N> where
    N: UnwindSafe

impl<B, T: ?Sized, N> RefUnwindSafe for DescBuilder<B, T, N> where
    N: RefUnwindSafe

Blanket Implementations

impl<B, G> IntoAction<B> for G where
    B: Backend,
    G: 'static + RenderGroupBuilder<B, World>, 
[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.

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<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

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> Supports<T> for T[src]

impl<T> Erased for T[src]

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]