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

Per-instance bounding data used by compute culling. More...

#include <RenderData.h>

Public Attributes

glm::vec4 worldPositionAndRadius
 xyz = world position, w = radius
uint32_t instanceId
 Index into the InstanceData buffer.
uint32_t meshGeometryId
 Index into the MeshGeometryData buffer.
uint32_t _padding [2] {}
 Padding required by the shader layout.

Detailed Description

Per-instance bounding data used by compute culling.

Definition at line 320 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t Engine::Rendering::GpuBuffers::InstanceCullingData::_padding[2] {}

Padding required by the shader layout.

Definition at line 325 of file RenderData.h.

◆ instanceId

uint32_t Engine::Rendering::GpuBuffers::InstanceCullingData::instanceId

Index into the InstanceData buffer.

Definition at line 323 of file RenderData.h.

◆ meshGeometryId

uint32_t Engine::Rendering::GpuBuffers::InstanceCullingData::meshGeometryId

Index into the MeshGeometryData buffer.

Definition at line 324 of file RenderData.h.

◆ worldPositionAndRadius

glm::vec4 Engine::Rendering::GpuBuffers::InstanceCullingData::worldPositionAndRadius

xyz = world position, w = radius

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