|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Where a skinned mesh's vertex holds what the skin cache reads and writes: byte offsets in one vertex, -1 for a channel it does not have. Positions, normals and tangents are floats; joints a byte or two, weights a normalized byte (0), a normalized short (1) or a float (2). More...
#include <Mesh.hpp>
Public Attributes | |
| u32 | stride = 0 |
| i32 | position = -1 |
| i32 | normal = -1 |
| i32 | tangent = -1 |
| i32 | joints = -1 |
| i32 | weights = -1 |
| u32 | jointBytes = 1 |
| u32 | weightKind = 0 |
Where a skinned mesh's vertex holds what the skin cache reads and writes: byte offsets in one vertex, -1 for a channel it does not have. Positions, normals and tangents are floats; joints a byte or two, weights a normalized byte (0), a normalized short (1) or a float (2).
| i32 esengine::MeshSkinLayout::joints = -1 |
Definition at line 56 of file Mesh.hpp.
Referenced by esengine::SkinCache::schedule().
| i32 esengine::MeshSkinLayout::position = -1 |
Definition at line 53 of file Mesh.hpp.
Referenced by esengine::SkinCache::schedule().
| u32 esengine::MeshSkinLayout::stride = 0 |
Definition at line 52 of file Mesh.hpp.
Referenced by esengine::SkinCache::schedule().
| i32 esengine::MeshSkinLayout::weights = -1 |
Definition at line 57 of file Mesh.hpp.
Referenced by esengine::SkinCache::schedule().