|
Vulkan Schnee 0.0.1
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] {} |
Per-cluster LOD data for GPU-driven LOD selection.
Layout matches GLSL std430 ClusterLodData struct (48 bytes).
Definition at line 441 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::ClusterLodData::_padding[2] {} |
Definition at line 449 of file RenderData.h.
| glm::vec4 Engine::Rendering::GpuBuffers::ClusterLodData::boundsPositionAndRadius |
xyz = local center, w = radius
Definition at line 443 of file RenderData.h.
| float Engine::Rendering::GpuBuffers::ClusterLodData::error |
Simplification error (mesh-local units)
Definition at line 444 of file RenderData.h.
| int32_t Engine::Rendering::GpuBuffers::ClusterLodData::groupId |
Group this cluster belongs to (for parent error check)
Definition at line 447 of file RenderData.h.
| uint64_t Engine::Rendering::GpuBuffers::ClusterLodData::meshletDataAddress |
Device address of the referenced UnifiedMeshlet.
Definition at line 448 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::ClusterLodData::meshletIndex |
Index into UnifiedMeshlet buffer.
Definition at line 446 of file RenderData.h.
| int32_t Engine::Rendering::GpuBuffers::ClusterLodData::refinedGroupId |
Group this cluster simplifies (-1 for base geometry)
Definition at line 445 of file RenderData.h.