|
Kohi Game Engine
|
A point light, the most common light source, which radiates out from the given position. More...
#include <light_system.h>
Data Fields | |
| kname | name |
| The name of the light. More... | |
| u32 | generation |
| The generation of the light, incremented on every update. Can be used to detect when a shader upload is required. More... | |
| point_light_data | data |
| The shader data for the point light. More... | |
| void * | debug_data |
| Debug data assigned to the light. More... | |
| vec4 | position |
A point light, the most common light source, which radiates out from the given position.
| point_light_data data |
The shader data for the point light.
| void* debug_data |
Debug data assigned to the light.
| u32 generation |
The generation of the light, incremented on every update. Can be used to detect when a shader upload is required.
| kname name |
The name of the light.
| vec4 position |