|
Kohi Game Engine
|
A directional light, typically used to emulate sun/moon light. More...
#include <light_system.h>
Data Fields | |
| kname | name |
| The name of the directional light. More... | |
| u32 | generation |
| directional_light_data | data |
| The directional light shader data. More... | |
| void * | debug_data |
| Debug data assigned to the light. More... | |
A directional light, typically used to emulate sun/moon light.
The directional light shader data.
| void* debug_data |
Debug data assigned to the light.
| u32 generation |
@bried The generation of the light, incremented on change. Can be used to tell when a shader upload is required.
| kname name |
The name of the directional light.