|
Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
|
Layout of per-instance data uploaded to the GPU for instanced rendering. More...
#include <pushconstants.hpp>
Public Attributes | |
| glm::mat4 | model |
| Model transform matrix. | |
| glm::vec4 | color |
| Instance color. | |
| uint32_t | meshID |
| ID of the mesh to use. | |
| uint32_t | materialID |
| ID of the material to use. | |
Layout of per-instance data uploaded to the GPU for instanced rendering.
| glm::vec4 InstanceDataGPU::color |
Instance color.
| uint32_t InstanceDataGPU::materialID |
ID of the material to use.
| uint32_t InstanceDataGPU::meshID |
ID of the mesh to use.
| glm::mat4 InstanceDataGPU::model |
Model transform matrix.