MeshUsage
Meshes can have a usage hint, describing how they are planning on being updated. Setting the usage hint allows the graphics driver optimize how it handles the data in the Mesh.
Value | Description |
static | The Mesh contents will rarely change. |
dynamic | The Mesh contents will change often. |
stream | The Mesh contents will change constantly, potentially multiple times each frame. |
See also
lovr.graphics