Struct amethyst_renderer::Renderer []

pub struct Renderer {
    pub factory: Factory,
    // some fields omitted
}

Generic renderer.

Fields

The gfx factory used for creation of buffers.

Methods

impl Renderer
[src]

Creates a Renderer with default window settings.

Creates a new RendererBuilder, equivalent to RendererBuilder::new().

Builds a new mesh from the given vertices.

Builds a new texture resource.

Builds a new material resource.

Builds a new renderer pipeline.

Draws a scene with the given pipeline.

Trait Implementations

impl Drop for Renderer
[src]

A method called when the value goes out of scope. Read more