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