#include <sglLightProcessor.hpp>
Inheritance diagram for sglSortedLightProcessor::

Public Methods | |
| sglSortedLightProcessor () | |
| virtual | ~sglSortedLightProcessor () |
| virtual void | reset () |
| virtual void | addLight (const sglMat4f &matrix, const sglLight *light) |
| virtual unsigned int | getNumLights () const |
| virtual void | apply () |
Definition at line 119 of file sglLightProcessor.hpp.
|
|
Constructor.
Definition at line 123 of file sglLightProcessor.hpp. |
|
|
Destructor.
Definition at line 126 of file sglLightProcessor.hpp. |
|
|
Resets the processor for the next frame (e.g. clears list of lights).
Reimplemented from sglLightProcessor. Definition at line 129 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 139 of file sglLightProcessor.hpp. |
|
|
Applys the lights collected for this frame. Note: this will apply at most sgl::s_max_lights. Reimplemented from sglLightProcessor. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001