|
evan 2026.1.4
Evan
|
Per-instance data fed to the vertex shader. More...
#include <headers/evan/GPUVertex.hpp>
Public Attributes | |
| glm::mat4 | model = glm::mat4(1.0f) |
Per-instance data fed to the vertex shader.
One GPUInstance is consumed per drawn instance. The model matrix replaces the CPU-baked world transform when instancing is enabled, letting identical meshes share geometry and differ only by transform.
Definition at line 26 of file GPUVertex.hpp.
| glm::mat4 evan::GPUInstance::model = glm::mat4(1.0f) |
Definition at line 27 of file GPUVertex.hpp.