Radium Engine  1.5.0
Ra::Engine::Scene::DefaultLightStorage Class Reference

#include <Engine/Scene/DefaultLightManager.hpp>

+ Inheritance diagram for Ra::Engine::Scene::DefaultLightStorage:
+ Collaboration diagram for Ra::Engine::Scene::DefaultLightStorage:

Public Member Functions

void add (const Scene::Light *i) override
 Add a Light to the container.
 
void remove (const Scene::Light *li) override
 Remove a Light from the container.
 
void upload () const override
 
size_t size () const override
 Returns the container size.
 
void clear () override
 Clear the container.
 
const Scene::Lightoperator[] (unsigned int n) override
 Access the container.
 
- Public Member Functions inherited from Ra::Engine::Scene::LightStorage
 LightStorage ()=default
 Constructor.
 
virtual ~LightStorage ()=default
 Destructor.
 

Detailed Description

Associated class.

Definition at line 17 of file DefaultLightManager.hpp.

Member Function Documentation

◆ upload()

void Ra::Engine::Scene::DefaultLightStorage::upload ( ) const
overridevirtual

Upload data to the GPU.

Implements Ra::Engine::Scene::LightStorage.

Definition at line 23 of file DefaultLightManager.cpp.


The documentation for this class was generated from the following files: