|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Range of indexed vertices in a model. More...
#include <GREM/resource/Model.hpp>
Public Attributes | |
| PrimitiveType | primitiveType |
| Type of primitives formed by the vertices of the mesh. | |
| IndexCount | indexCount |
| Number of indices of the mesh, or 0 if not indexed. | |
| VertexCount | vertexCount |
| Number of vertices in the mesh. | |
| MorphTargetCount | morphTargetCount |
| Number of morph targets/weights, or 0 if not morphed. | |
| ValueOffset | morphedVertexStride |
| Stride, in 4-byte values, of the vertices in the morph targets in this mesh, or 0 if not morphed. | |
| ValueOffset | meshDataOffset |
| Index of the first 4-byte value in the mesh data in the model. | |
| ValueOffset | morphTargetDataOffset |
| Index of the first 4-byte value in the morph target data in the model. | |
| Box< 3, float > | boundingBox |
| Local axis-aligned bounding box of the mesh's vertex positions. | |
| float | boundingRadius |
| Maximum distance from the origin of the mesh's vertex positions. | |
| VertexFlags | vertexFlags |
| Vertex flags of the mesh. | |
Range of indexed vertices in a model.
| PrimitiveType grem::resource::Model::Mesh::primitiveType |
Type of primitives formed by the vertices of the mesh.
| IndexCount grem::resource::Model::Mesh::indexCount |
Number of indices of the mesh, or 0 if not indexed.
| VertexCount grem::resource::Model::Mesh::vertexCount |
Number of vertices in the mesh.
| MorphTargetCount grem::resource::Model::Mesh::morphTargetCount |
Number of morph targets/weights, or 0 if not morphed.
| ValueOffset grem::resource::Model::Mesh::morphedVertexStride |
Stride, in 4-byte values, of the vertices in the morph targets in this mesh, or 0 if not morphed.
| ValueOffset grem::resource::Model::Mesh::meshDataOffset |
Index of the first 4-byte value in the mesh data in the model.
After this offset, the mesh data is stored in the following order:
| ValueOffset grem::resource::Model::Mesh::morphTargetDataOffset |
Index of the first 4-byte value in the morph target data in the model.
After this offset, the morph target data is stored in the following order:
| Box<3, float> grem::resource::Model::Mesh::boundingBox |
Local axis-aligned bounding box of the mesh's vertex positions.
| float grem::resource::Model::Mesh::boundingRadius |
Maximum distance from the origin of the mesh's vertex positions.
| VertexFlags grem::resource::Model::Mesh::vertexFlags |
Vertex flags of the mesh.