Public Member Functions | |
virtual const char * | className () const |
virtual void | init (ViewDependentShadowTechnique *st, osgUtil::CullVisitor *cv) |
virtual void | cull () |
virtual void | dirty (bool flag) |
ViewData () | |
Public Attributes | |
OpenThreads::Mutex | _mutex |
bool | _dirty |
osg::observer_ptr < osgUtil::CullVisitor > | _cv |
osg::observer_ptr < ViewDependentShadowTechnique > | _st |
osgShadow::ViewDependentShadowTechnique::ViewData::ViewData | ( | void | ) | [inline] |
Simple constructor zeroing all variables.
Reimplemented in osgShadow::MinimalDrawBoundsShadowMap::ViewData.
virtual const char* osgShadow::ViewDependentShadowTechnique::ViewData::className | ( | ) | const [inline, virtual] |
virtual void osgShadow::ViewDependentShadowTechnique::ViewData::init | ( | ViewDependentShadowTechnique * | st, | |
osgUtil::CullVisitor * | cv | |||
) | [virtual] |
Method called upon ViewData instance to initialize internal variables
virtual void osgShadow::ViewDependentShadowTechnique::ViewData::cull | ( | ) | [virtual] |
Method called by ViewDependentShadowTechnique to allow ViewData do the hard work computing shadows for its associated view
Reimplemented in osgShadow::DebugShadowMap::ViewData, and osgShadow::StandardShadowMap::ViewData.
virtual void osgShadow::ViewDependentShadowTechnique::ViewData::dirty | ( | bool | flag | ) | [virtual] |
Dirty is called by parent ViewDependentShadowTechnique to force update of resources after some of them were modified in parent technique
Dirty flag tells this instance to update its resources
View's CullVisitor associated with this ViewData instance
osg::observer_ptr< ViewDependentShadowTechnique > osgShadow::ViewDependentShadowTechnique::ViewData::_st |
Parent ViewDependentShadowTechnique