#include <sglLightProcessor.hpp>
Inheritance diagram for sglDefaultLightProcessor::
Public Methods | |
sglDefaultLightProcessor () | |
virtual | ~sglDefaultLightProcessor () |
virtual void | reset () |
virtual void | addLight (const sglMat4f &matrix, const sglLight *light) |
virtual unsigned int | getNumLights () const |
virtual void | apply () |
Definition at line 81 of file sglLightProcessor.hpp.
|
Constructor.
Definition at line 85 of file sglLightProcessor.hpp. |
|
Destructor.
Definition at line 88 of file sglLightProcessor.hpp. |
|
Resets the processor for the next frame (e.g. clears list of lights).
Reimplemented from sglLightProcessor. Definition at line 91 of file sglLightProcessor.hpp. |
|
Add a light for the current frame.
Reimplemented from sglLightProcessor. |
|
Query the number of lights collected while culling the current frame.
Reimplemented from sglLightProcessor. Definition at line 97 of file sglLightProcessor.hpp. |
|
Applys the lights collected for this frame. Note: this will apply at most sgl::s_max_lights. Reimplemented from sglLightProcessor. |