![]() |
Rendering Engine 0.2.0
Modular Graphics Rendering Engine | v0.2.0
|
Vertex format for unlit 3D geometry. More...
#include <vertex_declarations.hpp>
Public Member Functions | |
| VertexPositionColorTexture ()=default | |
| VertexPositionColorTexture (const glm::vec3 &pos, const glm::vec4 &col, const glm::vec2 &uv) | |
| Construct with position, UV, and color. | |
Public Attributes | |
| glm::vec3 | position |
| 3D position | |
| glm::vec4 | color |
| Vertex color (RGBA) | |
| glm::vec2 | textureCoordinates |
| UV coordinates for texturing. | |
Vertex format for unlit 3D geometry.
Used for 3D models/materials that don't require lighting calculations, such as particle systems, billboards, or flat-shaded meshes.
Definition at line 76 of file vertex_declarations.hpp.
|
default |
|
inline |
Construct with position, UV, and color.
| pos | 3D position |
| col | RGBA color |
| uv | Texture coordinates |
Definition at line 90 of file vertex_declarations.hpp.
| glm::vec4 rendering_engine::VertexPositionColorTexture::color |
Vertex color (RGBA)
Definition at line 79 of file vertex_declarations.hpp.
| glm::vec3 rendering_engine::VertexPositionColorTexture::position |
3D position
Definition at line 78 of file vertex_declarations.hpp.
| glm::vec2 rendering_engine::VertexPositionColorTexture::textureCoordinates |
UV coordinates for texturing.
Definition at line 80 of file vertex_declarations.hpp.