Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::LocalBoundsData Struct Reference

Local-space bounding sphere data - uploaded once, never changes. More...

#include <RenderData.h>

Public Attributes

glm::vec4 localCenterAndRadius
 xyz = local center, w = local radius

Detailed Description

Local-space bounding sphere data - uploaded once, never changes.

The GPU compute shader transforms these to world space using per-object matrices. This eliminates per-frame CPU iteration for bounding sphere transformation.

Layout matches GLSL std430 LocalBoundsData struct (16 bytes).

Date
2026-01-17
Author
Konstantin Passig

Definition at line 163 of file RenderData.h.

Member Data Documentation

◆ localCenterAndRadius

glm::vec4 EngineCore::LocalBoundsData::localCenterAndRadius

xyz = local center, w = local radius

Definition at line 165 of file RenderData.h.

Referenced by EngineCore::RenderingDataManager::updatePrimitiveData(), and EngineCore::RenderingDataManager::updatePrimitiveDataInstanced().


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