|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
One piece a skinned mesh is drawn in, when its bones are more than one draw can carry. More...
#include <Mesh.hpp>
Public Attributes | |
| u32 | firstIndex = 0 |
| u32 | indexCount = 0 |
| u32 | boneOffset = 0 |
| u32 | boneCount = 0 |
One piece a skinned mesh is drawn in, when its bones are more than one draw can carry.
A run of the mesh's own indices whose vertices are moved only by the chunk's bones: its vertices' joint k is the chunk's k-th bone, an index into the bind matrices kept in Mesh::skinChunkBones.
| u32 esengine::MeshSkinChunk::boneCount = 0 |
Definition at line 74 of file Mesh.hpp.
Referenced by esengine::MeshPlugin::collect().
| u32 esengine::MeshSkinChunk::boneOffset = 0 |
Where the chunk's bones start in Mesh::skinChunkBones, and how many. At most MESH_MAX_BONES.
Definition at line 73 of file Mesh.hpp.
Referenced by esengine::MeshPlugin::collect().
| u32 esengine::MeshSkinChunk::firstIndex = 0 |
First index of the run, from the mesh's own first.
Definition at line 70 of file Mesh.hpp.
Referenced by esengine::MeshPlugin::collect().
| u32 esengine::MeshSkinChunk::indexCount = 0 |
Definition at line 71 of file Mesh.hpp.
Referenced by esengine::MeshPlugin::collect().