Radium Engine
1.5.20
|
#include <Engine/Scene/LightStorage.hpp>
Public Member Functions | |
LightStorage ()=default | |
Constructor. | |
virtual | ~LightStorage ()=default |
Destructor. | |
virtual void | upload () const =0 |
virtual size_t | size () const =0 |
Returns the container size. | |
virtual void | add (const Scene::Light *li)=0 |
Add a Light to the container. | |
virtual void | remove (const Scene::Light *li)=0 |
Remove a Light from the container. | |
virtual void | clear ()=0 |
Clear the container. | |
virtual const Scene::Light * | operator[] (unsigned int n)=0 |
Access the container. | |
Interface providing functions to access and store lights in an implementation-defined way.
Definition at line 18 of file LightStorage.hpp.
|
pure virtual |
Add a Light to the container.
Implemented in Ra::Engine::Scene::DefaultLightStorage.
|
pure virtual |
Clear the container.
Implemented in Ra::Engine::Scene::DefaultLightStorage.
|
pure virtual |
Access the container.
Implemented in Ra::Engine::Scene::DefaultLightStorage.
|
pure virtual |
Remove a Light from the container.
Implemented in Ra::Engine::Scene::DefaultLightStorage.
|
pure virtual |
Returns the container size.
Implemented in Ra::Engine::Scene::DefaultLightStorage.
|
pure virtual |
Upload data to the GPU.
Implemented in Ra::Engine::Scene::DefaultLightStorage.