|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Per-cluster LOD data for GPU-driven LOD selection. More...
#include <RenderData.h>
Public Attributes | |
| glm::vec4 | boundsPositionAndRadius |
| xyz = local center, w = radius | |
| float | error |
| Simplification error (mesh-local units) | |
| int32_t | refinedGroupId |
| Group this cluster simplifies (-1 for base geometry) | |
| uint32_t | meshletIndex |
| Index into UnifiedMeshlet buffer. | |
| int32_t | groupId |
| Group this cluster belongs to (for parent error check) | |
| uint64_t | meshletDataAddress |
| Device address of the referenced UnifiedMeshlet. | |
| uint32_t | _padding [2] {} |
| Padding required by the shader layout. | |
Per-cluster LOD data for GPU-driven LOD selection.
Each cluster maps to one meshlet. A cluster renders when its parent group still exceeds the configured error threshold and its refined group is already below that threshold, or when refinedGroupId is -1 for base geometry. Layout matches GLSL std430 ClusterLodData and is 48 bytes.
Definition at line 515 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::ClusterLodData::_padding[2] {} |
Padding required by the shader layout.
Definition at line 523 of file RenderData.h.
| glm::vec4 Engine::Rendering::GpuBuffers::ClusterLodData::boundsPositionAndRadius |
xyz = local center, w = radius
Definition at line 517 of file RenderData.h.
| float Engine::Rendering::GpuBuffers::ClusterLodData::error |
Simplification error (mesh-local units)
Definition at line 518 of file RenderData.h.
| int32_t Engine::Rendering::GpuBuffers::ClusterLodData::groupId |
Group this cluster belongs to (for parent error check)
Definition at line 521 of file RenderData.h.
| uint64_t Engine::Rendering::GpuBuffers::ClusterLodData::meshletDataAddress |
Device address of the referenced UnifiedMeshlet.
Definition at line 522 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::ClusterLodData::meshletIndex |
Index into UnifiedMeshlet buffer.
Definition at line 520 of file RenderData.h.
| int32_t Engine::Rendering::GpuBuffers::ClusterLodData::refinedGroupId |
Group this cluster simplifies (-1 for base geometry)
Definition at line 519 of file RenderData.h.