Radium Engine  1.5.20
Loading...
Searching...
No Matches
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

◆ add()

void Ra::Engine::Scene::DefaultLightStorage::add ( const Scene::Light * li)
overridevirtual

Add a Light to the container.

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

Definition at line 25 of file DefaultLightManager.cpp.

+ Here is the call graph for this function:

◆ clear()

void Ra::Engine::Scene::DefaultLightStorage::clear ( )
overridevirtual

Clear the container.

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

Definition at line 43 of file DefaultLightManager.cpp.

◆ operator[]()

const Scene::Light * Ra::Engine::Scene::DefaultLightStorage::operator[] ( unsigned int n)
overridevirtual

Access the container.

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

Definition at line 47 of file DefaultLightManager.cpp.

+ Here is the call graph for this function:

◆ remove()

void Ra::Engine::Scene::DefaultLightStorage::remove ( const Scene::Light * li)
overridevirtual

Remove a Light from the container.

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

Definition at line 29 of file DefaultLightManager.cpp.

+ Here is the call graph for this function:

◆ size()

size_t Ra::Engine::Scene::DefaultLightStorage::size ( ) const
overridevirtual

Returns the container size.

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

Definition at line 39 of file DefaultLightManager.cpp.

◆ 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: