Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::MeshMorphSource Struct Reference

The shapes handed to a realization: the deltas, and how to read them. More...

#include <Mesh.hpp>

Public Attributes

ConstSpan< f32 > deltas
 targetCount * vertexCount * (hasNormals ? 6 : 3) floats.
u32 targetCount = 0
bool hasNormals = false

Detailed Description

The shapes handed to a realization: the deltas, and how to read them.

One record because the three are unreadable apart — the array is flat, and the count and the flag are what say where target i begins.

Definition at line 39 of file Mesh.hpp.

Member Data Documentation

◆ deltas

ConstSpan<f32> esengine::MeshMorphSource::deltas

targetCount * vertexCount * (hasNormals ? 6 : 3) floats.

Definition at line 41 of file Mesh.hpp.

◆ hasNormals

bool esengine::MeshMorphSource::hasNormals = false

Definition at line 43 of file Mesh.hpp.

◆ targetCount

u32 esengine::MeshMorphSource::targetCount = 0

Definition at line 42 of file Mesh.hpp.


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/resource/Mesh.hpp