[−][src]Struct amethyst_rendy::rendy::graph::GraphBuilder   
Build graph from nodes and resource.
Methods
impl<B, T> GraphBuilder<B, T> where
    B: Backend,
    T: ?Sized, [src]
B: Backend,
T: ?Sized,
pub fn new() -> GraphBuilder<B, T>[src]
Create new GraphBuilder
pub fn create_buffer(&mut self, size: u64) -> BufferId[src]
Create new buffer owned by graph.
pub fn create_image(
    &mut self, 
    kind: Kind, 
    levels: u8, 
    format: Format, 
    clear: Option<ClearValue>
) -> ImageId[src]
&mut self,
kind: Kind,
levels: u8,
format: Format,
clear: Option<ClearValue>
) -> ImageId
Create new image owned by graph.
pub fn add_node<N>(&mut self, builder: N) -> NodeId where
    N: 'static + NodeBuilder<B, T>, [src]
N: 'static + NodeBuilder<B, T>,
Add node to the graph.
pub fn with_frames_in_flight(self, frames_in_flight: u32) -> GraphBuilder<B, T>[src]
Choose number of frames in flight for the graph
pub fn build(
    self, 
    factory: &mut Factory<B>, 
    families: &mut Families<B>, 
    aux: &T
) -> Result<Graph<B, T>, Error>[src]
self,
factory: &mut Factory<B>,
families: &mut Families<B>,
aux: &T
) -> Result<Graph<B, T>, Error>
Build Graph.
Parameters
frames        - maximum number of frames Graph will render simultaneously.
families      - Iterator of B::QueueFamilys.
device    - Device<B> implementation. Device<B> or wrapper.
aux       - auxiliary data that Nodes use.
Trait Implementations
impl<B, T> Debug for GraphBuilder<B, T> where
    B: Backend,
    T: ?Sized, [src]
B: Backend,
T: ?Sized,
Auto Trait Implementations
impl<B, T: ?Sized> Unpin for GraphBuilder<B, T>
impl<B, T> !Sync for GraphBuilder<B, T>
impl<B, T> !Send for GraphBuilder<B, T>
impl<B, T> !UnwindSafe for GraphBuilder<B, T>
impl<B, T> !RefUnwindSafe for GraphBuilder<B, T>
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
    M: TransformMatrix<Swp, Dwp, T>, [src]
M: TransformMatrix<Swp, Dwp, T>,
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]
T: Parameter<Self>,
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]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>[src]
fn is_in_subset(&self) -> bool[src]
unsafe fn to_subset_unchecked(&self) -> SS[src]
fn from_subset(element: &SS) -> SP[src]
impl<T> Any for T where
    T: Any, [src]
T: Any,