Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Rendering::GpuBuffers::InstanceData Struct Reference

Per-instance transform and material data referencing shared geometry. More...

#include <RenderData.h>

Public Attributes

glm::mat4 worldMatrix
 Local-to-world transform for the instance.
uint32_t meshGeometryId
 Index into the MeshGeometryData buffer.
uint32_t materialId
 Index into the material buffer for the instance's pipeline.
uint32_t colorTextureId
 Texture descriptor index for legacy color-texture paths.
uint32_t _padding
 Padding required by the shader layout.

Detailed Description

Per-instance transform and material data referencing shared geometry.

Definition at line 308 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t Engine::Rendering::GpuBuffers::InstanceData::_padding

Padding required by the shader layout.

Definition at line 314 of file RenderData.h.

◆ colorTextureId

uint32_t Engine::Rendering::GpuBuffers::InstanceData::colorTextureId

Texture descriptor index for legacy color-texture paths.

Definition at line 313 of file RenderData.h.

◆ materialId

uint32_t Engine::Rendering::GpuBuffers::InstanceData::materialId

Index into the material buffer for the instance's pipeline.

Definition at line 312 of file RenderData.h.

◆ meshGeometryId

uint32_t Engine::Rendering::GpuBuffers::InstanceData::meshGeometryId

Index into the MeshGeometryData buffer.

Definition at line 311 of file RenderData.h.

◆ worldMatrix

glm::mat4 Engine::Rendering::GpuBuffers::InstanceData::worldMatrix

Local-to-world transform for the instance.

Definition at line 310 of file RenderData.h.


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