Struct conrod_glium::Renderer

source ·
pub struct Renderer { /* private fields */ }
Expand description

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

Implementations

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.

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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.