Skip to content

Struct ShadowSystem::PolyStruct

ClassList > ShadowSystem > PolyStruct

GPU layout for polygonal light header data.

  • #include <ShadowSystem.h>

Public Attributes

Type Name
glm::vec3 color = { 1 }
RGB color in linear space.
int n = { 3 }
Number of vertices in polygon.
float power = { 1.0f }
Luminous intensity.
int use_shadow = { 1 }
Shadow enabled flag (bool as int)

Public Attributes Documentation

variable color

RGB color in linear space.

glm::vec3 ShadowSystem::PolyStruct::color;


variable n

Number of vertices in polygon.

int ShadowSystem::PolyStruct::n;


variable power

Luminous intensity.

float ShadowSystem::PolyStruct::power;


variable use_shadow

Shadow enabled flag (bool as int)

int ShadowSystem::PolyStruct::use_shadow;



The documentation for this class was generated from the following file src/render/ShadowSystem.h