Vulkan Schnee 0.0.1
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.
uint32_t clusterStartIndex
 First ClusterLodData index for this primitive.
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.

Layout matches GLSL std430 VisibleLodPrimitive struct (16 bytes).

Definition at line 503 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 507 of file RenderData.h.

◆ clusterStartIndex

uint32_t Engine::Rendering::GpuBuffers::VisibleLodPrimitive::clusterStartIndex

First ClusterLodData index for this primitive.

Definition at line 506 of file RenderData.h.

◆ meshGeometryId

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

Index into MeshGeometryData buffer.

Definition at line 508 of file RenderData.h.

◆ primitiveID

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

Primitive index for transform/material lookup.

Definition at line 505 of file RenderData.h.


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