Expand description
A glium backend for rendering conrod primitives.
Structs§
- Commands
- An iterator yielding
Commands, produced by theRenderer::commandsmethod. - Glyph
Cache - A rusttype
GlyphCachealong with aglium::texture::Texture2dfor caching text on theGPU. - Renderer
- A type used for translating
render::PrimitivesintoCommands that indicate how to draw the conrod GUI usingglium. - Vertex
- The
Vertextype passed to the vertex shader.
Enums§
- Command
- A
Commanddescribing a step in the drawing process. - Draw
- A
Commandfor drawing to the target. - Draw
Error - Possible errors that may occur during a call to
Renderer::draw. - Renderer
Creation Error - Possible errors that may occur during a call to
Renderer::new.
Constants§
- FRAGMENT_
SHADER_ 120 - The fragment shader used within the
glium::Programfor OpenGL. - FRAGMENT_
SHADER_ 140 - The fragment shader used within the
glium::Programfor OpenGL. - FRAGMENT_
SHADER_ 300_ ES - The fragment shader used within the
glium::Programfor OpenGL ES. - MODE_
GEOMETRY - Ignore
texand draw simple, colored 2D geometry. - MODE_
IMAGE - Draw an image from the texture at
texin the fragment shader. - MODE_
TEXT - Draw text from the text cache texture
texin the fragment shader. - VERTEX_
SHADER_ 120 - The vertex shader used within the
glium::Programfor OpenGL. - VERTEX_
SHADER_ 140 - The vertex shader used within the
glium::Programfor OpenGL. - VERTEX_
SHADER_ 300_ ES - The vertex shader used within the
glium::Programfor OpenGL ES.
Traits§
- Display
- Texture
Dimensions - Glium textures that have two dimensions.
Functions§
- draw_
parameters - Default glium
DrawParameterswith alpha blending enabled. - gamma_
srgb_ to_ linear - Converts gamma (brightness) from sRGB to linear color space.
- program
- Construct the glium shader program that can be used to render
Vertexes. - text_
texture_ client_ format - Return the optimal client format for the text texture given the version.
- text_
texture_ uncompressed_ float_ format - Return the optimal uncompressed float format for the text texture given the version.