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

Fixed-size dynamic point light buffer for shaders. More...

#include <RenderData.h>

Collaboration diagram for Engine::Rendering::GpuBuffers::DynamicPointLightBuffer:

Public Attributes

uint32_t pointLightCount = 0
 Active point light count.
uint32_t _padding [3] {}
 Padding required by the shader layout.
std::array< DynamicPointLight, MAX_DYNAMIC_POINT_LIGHTS > pointLights {}
 Fixed-capacity light array.

Detailed Description

Fixed-size dynamic point light buffer for shaders.

Definition at line 459 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t Engine::Rendering::GpuBuffers::DynamicPointLightBuffer::_padding[3] {}

Padding required by the shader layout.

Definition at line 462 of file RenderData.h.

◆ pointLightCount

uint32_t Engine::Rendering::GpuBuffers::DynamicPointLightBuffer::pointLightCount = 0

Active point light count.

Definition at line 461 of file RenderData.h.

◆ pointLights

std::array<DynamicPointLight, MAX_DYNAMIC_POINT_LIGHTS> Engine::Rendering::GpuBuffers::DynamicPointLightBuffer::pointLights {}

Fixed-capacity light array.

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