|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Per-instance data - one per visible MeshComponent. References shared geometry via meshGeometryId. More...
#include <RenderData.h>
Public Attributes | |
| glm::mat4 | worldMatrix |
| 64 bytes - world transform | |
| uint32_t | meshGeometryId |
| Index into MeshGeometryData buffer. | |
| uint32_t | materialId |
| Material instance ID (for material variations) | |
| uint32_t | colorTextureId |
| Texture array index. | |
| uint32_t | _padding |
| Padding for 16-byte alignment. | |
Per-instance data - one per visible MeshComponent. References shared geometry via meshGeometryId.
Definition at line 281 of file RenderData.h.
| uint32_t EngineCore::InstanceData::_padding |
Padding for 16-byte alignment.
Definition at line 287 of file RenderData.h.
| uint32_t EngineCore::InstanceData::colorTextureId |
Texture array index.
Definition at line 286 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::InstanceData::materialId |
Material instance ID (for material variations)
Definition at line 285 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| uint32_t EngineCore::InstanceData::meshGeometryId |
Index into MeshGeometryData buffer.
Definition at line 284 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().
| glm::mat4 EngineCore::InstanceData::worldMatrix |
64 bytes - world transform
Definition at line 283 of file RenderData.h.
Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().