Struct nannou::ui::backend::glium::Renderer[][src]

pub struct Renderer { /* fields omitted */ }

A type used for translating render::Primitives into Commands that indicate how to draw the conrod GUI using glium.

Methods

impl Renderer
[src]

Construct a new empty Renderer.

The dimensions of the inner glyph cache will be equal to the dimensions of the given facade's framebuffer.

Construct a new empty Renderer with the given glyph cache dimensions.

Important traits for Commands<'a>

Produce an Iterator yielding Commands.

Fill the inner vertex and command buffers by translating the given primitives.

Draws using the inner list of Commands to the given display.

Note: If you require more granular control over rendering, you may want to use the fill and commands methods separately. This method is simply a convenience wrapper around those methods for the case that the user does not require accessing or modifying conrod's draw parameters, uniforms or generated draw commands.

Auto Trait Implementations

impl !Send for Renderer

impl !Sync for Renderer