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

Cluster survivor data passed from culling to binning shaders. More...

#include <RenderData.h>

Public Attributes

uint32_t primitiveID
 For transform/material lookup.
uint64_t clusterLodDataAddress
 Device address of the slot's ClusterLodData array.
uint32_t clusterIndex
 Local cluster index within the slot.
float ditherFactor
 0.0-1.0 for transition blending
uint32_t _padding
 Padding required by the shader layout.

Detailed Description

Cluster survivor data passed from culling to binning shaders.

Layout matches GLSL std430 ClusterSurvivor. uint64 forces 8-byte alignment; struct size is 32 bytes.

Definition at line 567 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t Engine::Rendering::GpuBuffers::ClusterSurvivor::_padding

Padding required by the shader layout.

Definition at line 573 of file RenderData.h.

◆ clusterIndex

uint32_t Engine::Rendering::GpuBuffers::ClusterSurvivor::clusterIndex

Local cluster index within the slot.

Definition at line 571 of file RenderData.h.

◆ clusterLodDataAddress

uint64_t Engine::Rendering::GpuBuffers::ClusterSurvivor::clusterLodDataAddress

Device address of the slot's ClusterLodData array.

Definition at line 570 of file RenderData.h.

◆ ditherFactor

float Engine::Rendering::GpuBuffers::ClusterSurvivor::ditherFactor

0.0-1.0 for transition blending

Definition at line 572 of file RenderData.h.

◆ primitiveID

uint32_t Engine::Rendering::GpuBuffers::ClusterSurvivor::primitiveID

For transform/material lookup.

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