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

Visible LOD primitive data for parallel cluster selection. More...

#include <RenderData.h>

Public Attributes

uint32_t primitiveID
 Primitive index for transform/material lookup.
uint64_t clusterLodDataAddress
 Device address of the slot's ClusterLodData array.
uint64_t clusterGroupDataAddress
 Device address of the slot's ClusterGroupData array.
uint32_t clusterCount
 Number of clusters in this primitive's LOD hierarchy.
uint32_t meshGeometryId
 Index into MeshGeometryData buffer.

Detailed Description

Visible LOD primitive data for parallel cluster selection.

Primitive culling writes this compact record for each visible primitive that has LOD data. The LOD selection shader expands it into ClusterSurvivor records. Layout matches GLSL std430 VisibleLodPrimitive and is 32 bytes.

Definition at line 585 of file RenderData.h.

Member Data Documentation

◆ clusterCount

uint32_t Engine::Rendering::GpuBuffers::VisibleLodPrimitive::clusterCount

Number of clusters in this primitive's LOD hierarchy.

Definition at line 590 of file RenderData.h.

◆ clusterGroupDataAddress

uint64_t Engine::Rendering::GpuBuffers::VisibleLodPrimitive::clusterGroupDataAddress

Device address of the slot's ClusterGroupData array.

Definition at line 589 of file RenderData.h.

◆ clusterLodDataAddress

uint64_t Engine::Rendering::GpuBuffers::VisibleLodPrimitive::clusterLodDataAddress

Device address of the slot's ClusterLodData array.

Definition at line 588 of file RenderData.h.

◆ meshGeometryId

uint32_t Engine::Rendering::GpuBuffers::VisibleLodPrimitive::meshGeometryId

Index into MeshGeometryData buffer.

Definition at line 591 of file RenderData.h.

◆ primitiveID

uint32_t Engine::Rendering::GpuBuffers::VisibleLodPrimitive::primitiveID

Primitive index for transform/material lookup.

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