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

Bounding sphere for meshlet culling. More...

#include <RenderData.h>

Public Attributes

glm::vec4 worldPositionAndRadius
 xyz = world-space center, w = radius.
uint32_t meshletIndex = 0
 Index into the UnifiedMeshlet buffer.
uint32_t pipelineIndex = 0
 Pipeline bin used for culling output routing.

Detailed Description

Bounding sphere for meshlet culling.

Layout matches GLSL std430 MeshletBounds. The position is stored in a vec4 to avoid vec3 alignment differences between C++ and GLSL.

Definition at line 170 of file RenderData.h.

Member Data Documentation

◆ meshletIndex

uint32_t Engine::Rendering::GpuBuffers::MeshletBounds::meshletIndex = 0

Index into the UnifiedMeshlet buffer.

Definition at line 173 of file RenderData.h.

◆ pipelineIndex

uint32_t Engine::Rendering::GpuBuffers::MeshletBounds::pipelineIndex = 0

Pipeline bin used for culling output routing.

Definition at line 174 of file RenderData.h.

◆ worldPositionAndRadius

glm::vec4 Engine::Rendering::GpuBuffers::MeshletBounds::worldPositionAndRadius

xyz = world-space center, w = radius.

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