|
Colobot
|
#include <src/graphics/core/vertex.h>
Public Attributes | |
| VertexAttribute | vertex {} |
| Vertex coordinate. More... | |
| VertexAttribute | color {} |
| Color. More... | |
| VertexAttribute | normal {} |
| Normal. More... | |
| VertexAttribute | tex1 {} |
| Texture coordinate 1. More... | |
| VertexAttribute | tex2 {} |
| Texture coordinate 2. More... | |
Vertex format.
This structure defines vertex formats for generic vertex arrays.
It contains:
| VertexAttribute Gfx::VertexFormat::vertex {} |
Vertex coordinate.
| VertexAttribute Gfx::VertexFormat::color {} |
| VertexAttribute Gfx::VertexFormat::normal {} |
Normal.
| VertexAttribute Gfx::VertexFormat::tex1 {} |
Texture coordinate 1.
| VertexAttribute Gfx::VertexFormat::tex2 {} |
Texture coordinate 2.
1.8.13