[−][src]Module conrod_core::mesh
A mesh type dedicated to converting sequences of render::Primitive
s to a representation in
vertices ready for uploading to the GPU.
While populating the vertices buffer ready for uploading to the GPU, the Mesh
will also
produce a sequence of commands describing the order in which draw commands should occur and
whether or not the Scizzor
should be updated between draws.
Structs
Commands | An iterator yielding |
Fill | The result of filling the mesh. |
Mesh | A mesh whose vertices may be populated by a list of render primitives. |
Scizzor | Represents the scizzor in pixel coordinates. |
Vertex | The data associated with a single vertex. |
Enums
Command | A |
Draw | A |
Constants
DEFAULT_GLYPH_CACHE_DIMS | Default dimensions to use for the glyph cache. |
MODE_GEOMETRY | Ignore |
MODE_IMAGE | Draw an image from the texture at |
MODE_TEXT | Draw text from the text cache texture |
Traits
ImageDimensions | Images within the given image map must know their dimensions in pixels. |