|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Data layout for the attributes of a single vertex of a 3D model mesh. More...
#include <GREM/graphics_3d/Model3D.hpp>
Public Attributes | |
| vec3 | vertexPosition |
| Bind-pose position relative to the origin of the model. | |
| iA2B10G10R10vec4norm | vertexNormal |
| Unit vector (XYZ) pointing away from the vertex surface in the bind pose of the model. | |
| iA2B10G10R10vec4norm | vertexTangent |
| Unit vector (XYZ) pointing in some direction along the vertex surface in the bind pose of the model, along with a sign component (W) indicating the handedness of the tangent basis. | |
| vec2 | vertexTextureCoordinatesChannel0 |
| Texture UV coordinates that map to this vertex on channel 0. | |
| vec2 | vertexTextureCoordinatesChannel1 |
| Texture UV coordinates that map to this vertex on channel 1. | |
| u8vec4norm | vertexColor |
| Vertex tint color. | |
| u8vec4 | vertexJointIndices |
| Indices of the 4 joints that this vertex is skinned by. | |
| u8vec4norm | vertexJointWeights |
| Weights of the 4 joints that this vertex is skinned by. | |
Data layout for the attributes of a single vertex of a 3D model mesh.
Meets the requirements of the grem::graphics::mesh_vertex concept.
| vec3 grem::graphics::Model3D::Vertex::vertexPosition |
Bind-pose position relative to the origin of the model.
| iA2B10G10R10vec4norm grem::graphics::Model3D::Vertex::vertexNormal |
Unit vector (XYZ) pointing away from the vertex surface in the bind pose of the model.
| iA2B10G10R10vec4norm grem::graphics::Model3D::Vertex::vertexTangent |
Unit vector (XYZ) pointing in some direction along the vertex surface in the bind pose of the model, along with a sign component (W) indicating the handedness of the tangent basis.
| vec2 grem::graphics::Model3D::Vertex::vertexTextureCoordinatesChannel0 |
Texture UV coordinates that map to this vertex on channel 0.
| vec2 grem::graphics::Model3D::Vertex::vertexTextureCoordinatesChannel1 |
Texture UV coordinates that map to this vertex on channel 1.
| u8vec4norm grem::graphics::Model3D::Vertex::vertexColor |
Vertex tint color.
| u8vec4 grem::graphics::Model3D::Vertex::vertexJointIndices |
Indices of the 4 joints that this vertex is skinned by.
| u8vec4norm grem::graphics::Model3D::Vertex::vertexJointWeights |
Weights of the 4 joints that this vertex is skinned by.