Instance post cull processor for checking lightpoint node sectors and performing small feature culling on the light points.
More...
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, 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.
|
Detailed Description
Instance post cull processor for checking lightpoint node sectors and performing small feature culling on the light points.
Constructor & Destructor Documentation
constructor: sets the myInstanceManger object
| virtual makVrv::DtInstanceLpProcessor::~DtInstanceLpProcessor |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtInstanceLpProcessor::processRange |
( |
unsigned int |
instanceStride, |
|
|
unsigned int |
instanceOffset, |
|
|
unsigned int |
instanceCount |
|
) |
| |
|
virtual |
Main instance processor callback loops over all the drawable instances and processes any lightpoints it finds.
Implements makVrv::DtInstanceProcessor.
| virtual void makVrv::DtInstanceLpProcessor::updateLpRange |
( |
unsigned int |
instanceStride, |
|
|
unsigned int |
instanceOffset, |
|
|
unsigned int |
instanceCount, |
|
|
osg::Camera * |
camera |
|
) |
| |
|
protectedvirtual |
Loops over all the instances and calls updateLightPoints for their drawables.
| virtual void makVrv::DtInstanceLpProcessor::updateLightPoints |
( |
const ArrayRange & |
drawableRange, |
|
|
unsigned int |
drawableOffset, |
|
|
osg::Camera * |
camera |
|
) |
| |
|
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.
| virtual void makVrv::DtInstanceLpProcessor::slot_reloadShader |
( |
void |
| ) |
|
|
protectedvirtual |
If the reload shader signal is signaled than next time a light point is updated tell it to reload it's shaders.
Member Data Documentation
Instance manager object for this processor.
| DtDe& makVrv::DtInstanceLpProcessor::myDe |
|
protected |
| double makVrv::DtInstanceLpProcessor::myLastShaderReload |
|
protected |
The documentation for this class was generated from the following file: