Public Member Functions | |
| virtual void | init (ViewDependentShadowTechnique *st, osgUtil::CullVisitor *cv) |
| Method called upon ViewData instance to initialize internal variables. | |
| virtual void | cull () |
| Method called by ViewDependentShadowTechnique to allow ViewData do the hard work computing shadows for its associated view. | |
| virtual void | dirty (bool flag) |
| Dirty is called by parent ViewDependentShadowTechnique to force update of resources after some of them were modified in parent technique. | |
| ViewData () | |
| Simple constructor zeroing all variables. | |
Public Attributes | |
| OpenThreads::Mutex | _mutex |
| Mutex used to guard _dirty flag from override in case when parent technique calls dirty() simultaneously with ViewData while it is updating resources inside init method. | |
| bool | _dirty |
| Dirty flag tells this instance to update its resources. | |
| osg::observer_ptr < osgUtil::CullVisitor > | _cv |
| View's CullVisitor associated with this ViewData instance. | |
| osg::observer_ptr < ViewDependentShadowTechnique > | _st |
| Parent ViewDependentShadowTechnique. | |
Techniques based on ViewDependentShadowTechnique will usually define similar struct and derive it from ViewData to contain their specufic resources.
| osgShadow::ViewDependentShadowTechnique::ViewData::ViewData | ( | void | ) | [inline] |
Simple constructor zeroing all variables.
Reimplemented in osgShadow::MinimalDrawBoundsShadowMap::ViewData.
| 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.
| virtual void osgShadow::ViewDependentShadowTechnique::ViewData::init | ( | ViewDependentShadowTechnique * | st, | |
| osgUtil::CullVisitor * | cv | |||
| ) | [virtual] |
Method called upon ViewData instance to initialize internal variables.
View's CullVisitor associated with this ViewData instance.
Dirty flag tells this instance to update its resources.
| OpenThreads::Mutex osgShadow::ViewDependentShadowTechnique::ViewData::_mutex |
| osg::observer_ptr< ViewDependentShadowTechnique > osgShadow::ViewDependentShadowTechnique::ViewData::_st |
Parent ViewDependentShadowTechnique.
| Generated at Sat May 14 08:21:21 2011 for the OpenSceneGraph by doxygen 1.5.9. |