Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::InstanceData Struct Reference

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.

Detailed Description

Per-instance data - one per visible MeshComponent. References shared geometry via meshGeometryId.

Date
2026-01-17
Author
Konstantin Passig

Definition at line 281 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t EngineCore::InstanceData::_padding

Padding for 16-byte alignment.

Definition at line 287 of file RenderData.h.

◆ colorTextureId

uint32_t EngineCore::InstanceData::colorTextureId

Texture array index.

Definition at line 286 of file RenderData.h.

Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().

◆ materialId

uint32_t EngineCore::InstanceData::materialId

Material instance ID (for material variations)

Definition at line 285 of file RenderData.h.

Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().

◆ meshGeometryId

uint32_t EngineCore::InstanceData::meshGeometryId

Index into MeshGeometryData buffer.

Definition at line 284 of file RenderData.h.

Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().

◆ worldMatrix

glm::mat4 EngineCore::InstanceData::worldMatrix

64 bytes - world transform

Definition at line 283 of file RenderData.h.

Referenced by EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().


The documentation for this struct was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Renderer/RenderData.h