Struct amethyst_renderer::Renderer[][src]

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().

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

Builds a new mesh from the given vertices.

Builds a new texture resource.

Builds a new renderer pipeline.

Draws a scene with the given pipeline.

Retrieve a mutable borrow of the events loop

Resize the targets associated with this renderer and pipeline.

Retrieves an immutable borrow of the window.

No operations require a mutable borrow as of 2017-10-02

Trait Implementations

impl Drop for Renderer
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for Renderer

impl !Sync for Renderer