Module glitter::vertex_data
[−]
[src]
Contains types related to vertex data, which are used for VertexBuffers
.
Structs
VertexAttribute |
Specifies the type, name, and memory layout of a vertex attribute.
Generally, a "vertex attribute" corresponds to a field in a |
VertexAttributeType |
Used to specify type of a vertex attribute. The size of the vertex
attribute is |
Traits
VertexBytes |
Indicates that a type can be coerced to a |
VertexData |
A type that has vertex data. |
VertexDatum |
A single value that can be treated as a part of a vertex. Implementors
should map to a GLSL primitive that can be used as a vertex attribute.
For example, |
VertexPrimitive |
A single, basic value that can be composed to make a |