|
| constexpr | Vertex () noexcept=default |
| | Constructs a vertex at the origin, black, with zero UV.
|
| |
| constexpr | Vertex (float _x, float _y, float _z, const Color &c, const Vector2 &texCoord) noexcept |
| | Constructs a fully specified vertex.
|
| |
| constexpr | Vertex (float _x, float _y, float _z, const Color &c) noexcept |
| | Constructs a colored vertex with a zero texture coordinate.
|
| |
| constexpr | Vertex (float _x, float _y, float _z) noexcept |
| | Constructs a black vertex from explicit components.
|
| |
| constexpr | Vertex (const Vector3 &v, const Color &c, const Vector2 &texCoord) noexcept |
| | Constructs a fully specified vertex from a position vector.
|
| |
| constexpr | Vertex (const Vector3 &v, const Color &c) noexcept |
| | Constructs a colored vertex from a position vector.
|
| |
| constexpr | Vertex (const Vector3 &v) noexcept |
| | Constructs a black vertex from a position vector.
|
| |
A single renderable vertex: position, color and texture coordinate.
Bundles everything the renderer needs per vertex. Provides constructors that accept either explicit float components or a Vector3 position, with color and UV defaulting to black / (0,0).