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

Per-cluster LOD data for GPU-driven LOD selection. Each cluster maps to exactly one meshlet and contains hierarchical LOD information. More...

#include <RenderData.h>

Public Attributes

glm::vec4 boundsPositionAndRadius
 xyz = local center, w = radius
float error
 Simplification error (mesh-local units)
int32_t refinedGroupId
 Parent group index (-1 for base/finest geometry)
uint32_t meshletIndex
 Index into UnifiedMeshlet buffer.
uint32_t _padding

Detailed Description

Per-cluster LOD data for GPU-driven LOD selection. Each cluster maps to exactly one meshlet and contains hierarchical LOD information.

Layout matches GLSL std430 ClusterLodData struct (32 bytes).

Date
2026-01-26
Author
Konstantin Passig

Definition at line 460 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t EngineCore::ClusterLodData::_padding

Definition at line 466 of file RenderData.h.

◆ boundsPositionAndRadius

glm::vec4 EngineCore::ClusterLodData::boundsPositionAndRadius

xyz = local center, w = radius

Definition at line 462 of file RenderData.h.

Referenced by EngineCore::ClusterLodGenerator::generate().

◆ error

float EngineCore::ClusterLodData::error

Simplification error (mesh-local units)

Definition at line 463 of file RenderData.h.

Referenced by EngineCore::ClusterLodGenerator::generate().

◆ meshletIndex

uint32_t EngineCore::ClusterLodData::meshletIndex

◆ refinedGroupId

int32_t EngineCore::ClusterLodData::refinedGroupId

Parent group index (-1 for base/finest geometry)

Definition at line 464 of file RenderData.h.

Referenced by EngineCore::ClusterLodGenerator::generate().


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