![]() |
VR-Forces 4.6.1 Class Documentation
|
Instance post cull processor for checking lightpoint node sectors and performing small feature culling on the light points. More...

Public Member Functions | |
| DtInstanceLpProcessor (DtInstanceManager &instanceManager, DtDe &de) | |
| constructor: sets the myInstanceManger object | |
| virtual | ~DtInstanceLpProcessor () |
| DTOR. | |
| virtual void | processRange (unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount) |
| Main instance processor callback loops over all the drawable instances and processes any lightpoints it finds. | |
Public Member Functions inherited from makVrv::DtInstanceProcessor | |
| virtual | ~DtInstanceProcessor () |
| DTOR. | |
Protected Member Functions | |
| virtual void | updateLpRange (unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount, osg::Camera *camera) |
| Loops over all the instances and calls updateLightPoints for their drawables. | |
| virtual void | updateLightPoints (const ArrayRange &drawableRange, unsigned int drawableOffset, int instanceIx, osg::Camera *camera) |
| Loops over all the drawables on an instance and checks for light points if it is a light point it performs small feature culling and sector processing. | |
| virtual void | slot_reloadShader (void) |
| If the reload shader signal is signaled than next time a light point is updated tell it to reload it's shaders. | |
Protected Attributes | |
| DtInstanceManager & | myInstanceManager |
| Instance manager object for this processor. | |
| DtDe & | myDe |
| double | myLastShaderReload |
Instance post cull processor for checking lightpoint node sectors and performing small feature culling on the light points.
| makVrv::DtInstanceLpProcessor::DtInstanceLpProcessor | ( | DtInstanceManager & | instanceManager, |
| DtDe & | de | ||
| ) |
constructor: sets the myInstanceManger object
|
virtual |
DTOR.
|
virtual |
Main instance processor callback loops over all the drawable instances and processes any lightpoints it finds.
Implements makVrv::DtInstanceProcessor.
|
protectedvirtual |
Loops over all the instances and calls updateLightPoints for their drawables.
|
protectedvirtual |
Loops over all the drawables on an instance and checks for light points if it is a light point it performs small feature culling and sector processing.
|
protectedvirtual |
If the reload shader signal is signaled than next time a light point is updated tell it to reload it's shaders.
|
protected |
Instance manager object for this processor.
|
protected |
|
protected |