Cogs.Core
|
Defines calculated light data. More...
#include <LightSystem.h>
Public Attributes | |
glm::vec4 | lightPosition |
glm::vec4 | lightDirection |
glm::vec4 | lightColor |
float | lightRange = 0.f |
uint16_t | maxViewports = 4 |
uint16_t | numViewports = maxViewports |
uint16_t | frameMod [6] = { 0 } |
uint16_t | frameOffset [6] = { 0 } |
float | nearDepths [kMaxCascades] = { 0.f } |
float | farDepths [kMaxCascades] = { 0.f } |
RenderPassOptions | passOptions |
CameraData | lightCameraData [kMaxCascades] |
glm::vec4 | cascadeLine |
float | shadowIntensityOffset = 0 |
TextureHandle | shadowTexture |
uint32_t | arrayOffset = 0 |
uint32_t | textureSize = 1024 |
uint32_t | cubeOffset = 0 |
bool | enabled = true |
bool | castShadows = false |
bool | tightShadowBounds = false |
bool | dynamicCascadeCount = false |
ShadowUpdate | shadowUpdate = ShadowUpdate::Default |
bool | frustaPointsCapture = false |
LightCascadeFrustaPoints | frustaPoints [kMaxCascades] |
glm::mat4 | lightRawProjection [kMaxCascades] |
Defines calculated light data.
Definition at line 33 of file LightSystem.h.
uint32_t Cogs::Core::LightData::arrayOffset = 0 |
Definition at line 56 of file LightSystem.h.
glm::vec4 Cogs::Core::LightData::cascadeLine |
Definition at line 52 of file LightSystem.h.
bool Cogs::Core::LightData::castShadows = false |
Definition at line 62 of file LightSystem.h.
uint32_t Cogs::Core::LightData::cubeOffset = 0 |
Definition at line 59 of file LightSystem.h.
bool Cogs::Core::LightData::dynamicCascadeCount = false |
Definition at line 64 of file LightSystem.h.
bool Cogs::Core::LightData::enabled = true |
Definition at line 61 of file LightSystem.h.
float Cogs::Core::LightData::farDepths[kMaxCascades] = { 0.f } |
Definition at line 47 of file LightSystem.h.
uint16_t Cogs::Core::LightData::frameMod[6] = { 0 } |
Definition at line 43 of file LightSystem.h.
uint16_t Cogs::Core::LightData::frameOffset[6] = { 0 } |
Definition at line 44 of file LightSystem.h.
LightCascadeFrustaPoints Cogs::Core::LightData::frustaPoints[kMaxCascades] |
Definition at line 69 of file LightSystem.h.
bool Cogs::Core::LightData::frustaPointsCapture = false |
Definition at line 68 of file LightSystem.h.
CameraData Cogs::Core::LightData::lightCameraData[kMaxCascades] |
Definition at line 51 of file LightSystem.h.
glm::vec4 Cogs::Core::LightData::lightColor |
Definition at line 37 of file LightSystem.h.
glm::vec4 Cogs::Core::LightData::lightDirection |
Definition at line 36 of file LightSystem.h.
glm::vec4 Cogs::Core::LightData::lightPosition |
Definition at line 35 of file LightSystem.h.
float Cogs::Core::LightData::lightRange = 0.f |
Definition at line 38 of file LightSystem.h.
glm::mat4 Cogs::Core::LightData::lightRawProjection[kMaxCascades] |
Definition at line 70 of file LightSystem.h.
uint16_t Cogs::Core::LightData::maxViewports = 4 |
Definition at line 40 of file LightSystem.h.
float Cogs::Core::LightData::nearDepths[kMaxCascades] = { 0.f } |
Definition at line 46 of file LightSystem.h.
uint16_t Cogs::Core::LightData::numViewports = maxViewports |
Definition at line 41 of file LightSystem.h.
RenderPassOptions Cogs::Core::LightData::passOptions |
Definition at line 49 of file LightSystem.h.
float Cogs::Core::LightData::shadowIntensityOffset = 0 |
Definition at line 54 of file LightSystem.h.
TextureHandle Cogs::Core::LightData::shadowTexture |
Definition at line 55 of file LightSystem.h.
ShadowUpdate Cogs::Core::LightData::shadowUpdate = ShadowUpdate::Default |
Definition at line 66 of file LightSystem.h.
uint32_t Cogs::Core::LightData::textureSize = 1024 |
Definition at line 57 of file LightSystem.h.
bool Cogs::Core::LightData::tightShadowBounds = false |
Definition at line 63 of file LightSystem.h.