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

Used in meshlet culling. More...

#include <RenderData.h>

Public Attributes

glm::vec4 worldPositionAndRadius
uint32_t meshletIndex = 0
uint32_t pipelineIndex = 0

Detailed Description

Used in meshlet culling.

Layout matches GLSL std430 MeshletBounds struct. Uses vec4 for worldPositionAndRadius to avoid vec3 alignment issues.

Definition at line 130 of file RenderData.h.

Member Data Documentation

◆ meshletIndex

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

Definition at line 133 of file RenderData.h.

◆ pipelineIndex

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

Definition at line 134 of file RenderData.h.

◆ worldPositionAndRadius

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

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