Struct amethyst_renderer::Renderer [] [src]

pub struct Renderer {
    // some fields omitted
}

A simple renderer frontend. Accepts a Pipeline on startup, and parses Frames.

Methods

impl Renderer
[src]

Creates a new rendering engine.

TODO: Decide whether the backend should be initialized at creation time or at a different time. If at creation time, this method should return Result<Renderer, RendererError> with RendererError implementing the Error trait.

Creates a new rendering engine with a deferred pipeline.

Creates a new rendering engine with a forward pipeline.

Draws a frame with the currently set render pipeline.

TODO: Build actual modular, parallelized Object translators.