A light system.
More...
#include <gf/LightSystem.h>
◆ LightSystem()
gf::LightSystem::LightSystem |
( |
Vector2i |
size | ) |
|
◆ addLightPoint()
◆ addLightShape()
◆ draw()
Draw the object to a render target.
This is a pure virtual function that has to be implemented by the derived class to define how the drawable should be drawn.
- Parameters
-
target | Render target to draw to |
states | Current render states |
Implements gf::Drawable.
◆ dump()
void gf::LightSystem::dump |
( |
| ) |
|
◆ removeLight()
void gf::LightSystem::removeLight |
( |
LightId |
id | ) |
|
◆ setAmbientColor()
void gf::LightSystem::setAmbientColor |
( |
const Color4f & |
color | ) |
|
|
inline |