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]

[src]

Creates a Renderer with default window settings.

[src]

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

[src]

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

[src]

Builds a new mesh from the given vertices.

[src]

Builds a new texture resource.

[src]

Builds a new renderer pipeline.

[src]

Draws a scene with the given pipeline.

[src]

Retrieve a mutable borrow of the events loop

[src]

Resize the targets associated with this renderer and pipeline.

[src]

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]

[src]

Executes the destructor for this type. Read more