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

Object culling data for compute shader. More...

#include <RenderData.h>

Public Attributes

glm::vec4 worldPositionAndRadius
 xyz = world position, w = radius
uint32_t objectIndex
 Index into the per-object transform buffer.
uint32_t _padding [3]
 Padding required by the shader layout.

Detailed Description

Object culling data for compute shader.

Layout matches GLSL std430 PrimitiveCullingData struct.

Definition at line 193 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t Engine::Rendering::GpuBuffers::ObjectCullingData::_padding[3]

Padding required by the shader layout.

Definition at line 197 of file RenderData.h.

◆ objectIndex

uint32_t Engine::Rendering::GpuBuffers::ObjectCullingData::objectIndex

Index into the per-object transform buffer.

Definition at line 196 of file RenderData.h.

◆ worldPositionAndRadius

glm::vec4 Engine::Rendering::GpuBuffers::ObjectCullingData::worldPositionAndRadius

xyz = world position, w = radius

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