Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::DirectionalLightComponent Struct Reference

Classes

struct  ShadowData
struct  UniformStruct

Static Public Member Functions

static void Construct (Grindstone::WorldContextSet &cxtSet, entt::entity)
static void Destroy (Grindstone::WorldContextSet &cxtSet, entt::entity)

Public Attributes

glm::vec3 eyePosForShadowing
Grindstone::Math::Matrix4 debugCameraProjectionMatrix
Grindstone::Math::Matrix4 debugCameraViewMatrix
Grindstone::Math::Matrix4 debugShadowProjectionMatrix [8]
Grindstone::Math::Matrix4 shadowProjectionMatrix [8]
Grindstone::Math::Matrix4 shadowViewMatrix [8]
Grindstone::Math::Matrix4 shadowProjViewMatrix [8]
Grindstone::Math::Rect2D shadowRenderArea [8]
float cascadeDistances [8]
uint32_t cascadeCount = 4
Math::Float3 color = Math::Float3(1.0f, 1.0f, 1.0f)
float intensity = 100.0f
GraphicsAPI::BufferuniformBufferObject = nullptr
GraphicsAPI::DescriptorSetdescriptorSet = nullptr
GraphicsAPI::DescriptorSetLayoutdescriptorSetLayout = nullptr
GraphicsAPI::BuffershadowMapUniformBufferObjects [MAX_CASCADE_COUNT]
GraphicsAPI::DescriptorSetshadowMapDescriptorSets [MAX_CASCADE_COUNT]
GraphicsAPI::DescriptorSetLayoutshadowMapDescriptorSetLayout = nullptr

Static Public Attributes

static constexpr size_t MAX_CASCADE_COUNT = 8

The documentation for this struct was generated from the following files:
  • /github/workspace/sources/code/EngineCore/CoreComponents/Lights/DirectionalLightComponent.hpp
  • /github/workspace/sources/code/EngineCore/CoreComponents/Lights/DirectionalLightComponent.cpp