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

Instance culling data - replaces ObjectCullingData for instancing. Contains world-space bounding sphere and references to instance/geometry data. More...

#include <RenderData.h>

Public Attributes

glm::vec4 worldPositionAndRadius
 xyz = world position, w = radius
uint32_t instanceId
 Index into InstanceData buffer.
uint32_t meshGeometryId
 Index into MeshGeometryData buffer.
uint32_t _padding [2]
 Padding for 32-byte alignment.

Detailed Description

Instance culling data - replaces ObjectCullingData for instancing. Contains world-space bounding sphere and references to instance/geometry data.

Date
2026-01-17
Author
Konstantin Passig

Definition at line 297 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t EngineCore::InstanceCullingData::_padding[2]

Padding for 32-byte alignment.

Definition at line 302 of file RenderData.h.

◆ instanceId

uint32_t EngineCore::InstanceCullingData::instanceId

Index into InstanceData buffer.

Definition at line 300 of file RenderData.h.

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

◆ meshGeometryId

uint32_t EngineCore::InstanceCullingData::meshGeometryId

Index into MeshGeometryData buffer.

Definition at line 301 of file RenderData.h.

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

◆ worldPositionAndRadius

glm::vec4 EngineCore::InstanceCullingData::worldPositionAndRadius

xyz = world position, w = radius

Definition at line 299 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