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 vulkano.

Implementations§

Construct a new empty Renderer.

The dimensions of the glyph cache will be the dimensions of the window multiplied by the DPI factor.

Construct a new empty Renderer.

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 a list of DrawCommands compatible with the vulkano command buffer builders.

Uses the given queue for submitting vertex buffers.

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
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.

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.