Struct amethyst_renderer::Renderer [] [src]

pub struct Renderer<R: Resources, C: CommandBuffer<R>> { /* fields omitted */ }

Manages passes and the execution of the passes over the targets. It only contains the passes, all other data is contained in the Frame.

Methods

impl<R, C> Renderer<R, C> where
    R: Resources,
    C: CommandBuffer<R>, 
[src]

Creates a new renderer with the given command buffer.

Load all known passes into the renderer.

Add a pass to the table of available passes.

Execute all passes and draw the frame.