File Light.h
Go to the source code of this file
Light source objects for PBR lighting.More...
#include "ID.h"#include "Transform.h"#include "Sprite.h"#include "RenderConfigs.h"
Classes
| Type | Name |
|---|---|
| class | Light Light source object supporting point, sun, spot, and area lights. |
Public Types
| Type | Name |
|---|---|
| enum | LightType Enumeration of supported light types. |
Detailed Description
Provides the Light class (point, sun, spot, area lights). All GPU buffer management, shadow map rendering, and shadow computation are handled by ShadowSystem (src/render/ShadowSystem.h).
Architecture: * Light inherits ObjectID (scene identity) and Transform3D (spatial placement) * ShadowSystem converts scene lights into GPU-friendly buffers * ShadowSystem owns all shadow map rendering resources and projection matrices
Public Types Documentation
enum LightType
Enumeration of supported light types.
enum LightType {
NONELIGHT = -1,
POINTLIGHT,
SUNLIGHT,
SPOTLIGHT,
AREALIGHT
};
The documentation for this class was generated from the following file src/scene/Light.h