![]() |
OpenSceneGraph
|
Helper class that make is easy to handle changes in a member value. More...
Public Member Functions | |
ReassignToParents (osg::StateAttribute *att) | |
Constructor caches and then removes attribute for all of it's parents. More... | |
~ReassignToParents () | |
Destructor then reassigns the attribute to all of the parents. More... | |
Public Attributes | |
ref_ptr< StateAttribute > | attribute |
ParentList | parents |
Helper class that make is easy to handle changes in a member value.
osg::StateAttribute::ReassignToParents::ReassignToParents | ( | osg::StateAttribute * | att | ) |
Constructor caches and then removes attribute for all of it's parents.
osg::StateAttribute::ReassignToParents::~ReassignToParents | ( | ) |
Destructor then reassigns the attribute to all of the parents.
ref_ptr<StateAttribute> osg::StateAttribute::ReassignToParents::attribute |
ParentList osg::StateAttribute::ReassignToParents::parents |