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

Runtime point light data mirrored from Components::PointLight. sceneNodeEntity points to the transform used as the light position. More...

#include <EcsData.h>

Public Attributes

glm::vec3 color {1.0f}
 Linear RGB light color.
float intensity = 1.0f
 Light intensity multiplier.
float radius = 10.0f
 Effective light radius in world units.
float cullDistance = 100.0f
 Maximum distance used by CPU/GPU culling.
uint32_t enabled = 1u
 1 when the light contributes to rendering, 0 when disabled.
entt::entity sceneNodeEntity = entt::null
 Scene node entity used as the light position.

Detailed Description

Runtime point light data mirrored from Components::PointLight. sceneNodeEntity points to the transform used as the light position.

Definition at line 612 of file EcsData.h.

Member Data Documentation

◆ color

glm::vec3 Engine::Ecs::PointLightData::color {1.0f}

Linear RGB light color.

Definition at line 614 of file EcsData.h.

◆ cullDistance

float Engine::Ecs::PointLightData::cullDistance = 100.0f

Maximum distance used by CPU/GPU culling.

Definition at line 617 of file EcsData.h.

◆ enabled

uint32_t Engine::Ecs::PointLightData::enabled = 1u

1 when the light contributes to rendering, 0 when disabled.

Definition at line 618 of file EcsData.h.

◆ intensity

float Engine::Ecs::PointLightData::intensity = 1.0f

Light intensity multiplier.

Definition at line 615 of file EcsData.h.

◆ radius

float Engine::Ecs::PointLightData::radius = 10.0f

Effective light radius in world units.

Definition at line 616 of file EcsData.h.

◆ sceneNodeEntity

entt::entity Engine::Ecs::PointLightData::sceneNodeEntity = entt::null

Scene node entity used as the light position.

Definition at line 619 of file EcsData.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Ecs/EcsData.h