Expand description
A glium backend for rendering conrod primitives.
Structs§
- Commands
- An iterator yielding
Command
s, produced by theRenderer::commands
method. - Glyph
Cache - A rusttype
GlyphCache
along with aglium::texture::Texture2d
for caching text on theGPU
. - Renderer
- A type used for translating
render::Primitives
intoCommand
s that indicate how to draw the conrod GUI usingglium
. - Vertex
- The
Vertex
type passed to the vertex shader.
Enums§
- Command
- A
Command
describing a step in the drawing process. - Draw
- A
Command
for 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::Program
for OpenGL. - FRAGMENT_
SHADER_ 140 - The fragment shader used within the
glium::Program
for OpenGL. - FRAGMENT_
SHADER_ 300_ ES - The fragment shader used within the
glium::Program
for OpenGL ES. - MODE_
GEOMETRY - Ignore
tex
and draw simple, colored 2D geometry. - MODE_
IMAGE - Draw an image from the texture at
tex
in the fragment shader. - MODE_
TEXT - Draw text from the text cache texture
tex
in the fragment shader. - VERTEX_
SHADER_ 120 - The vertex shader used within the
glium::Program
for OpenGL. - VERTEX_
SHADER_ 140 - The vertex shader used within the
glium::Program
for OpenGL. - VERTEX_
SHADER_ 300_ ES - The vertex shader used within the
glium::Program
for OpenGL ES.
Traits§
- Display
- Texture
Dimensions - Glium textures that have two dimensions.
Functions§
- draw_
parameters - Default glium
DrawParameters
with 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
Vertex
es. - 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.