Changeset 13041 for OpenSceneGraph/trunk/include/osg/StateSet
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osg/StateSet (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/StateSet
r12161 r13041 71 71 inline const ParentList& getParents() const { return _parents; } 72 72 73 /** Get the a copy of parent list of node. A copy is returned to 73 /** Get the a copy of parent list of node. A copy is returned to 74 74 * prevent modification of the parent list.*/ 75 75 inline ParentList getParents() { return _parents; } … … 278 278 /** Set this StateSet to contain specified uniform and override flag.*/ 279 279 void addUniform(Uniform* uniform, StateAttribute::OverrideValue value=StateAttribute::ON); 280 280 281 281 /** remove uniform of specified name from StateSet.*/ 282 282 void removeUniform(const std::string& name); … … 406 406 * since they have an Update Callback attached to them or their children.*/ 407 407 inline unsigned int getNumChildrenRequiringUpdateTraversal() const { return _numChildrenRequiringUpdateTraversal; } 408 408 409 409 /** Run the update callbacks attached directly to this StateSet or to its children.*/ 410 410 void runUpdateCallbacks(osg::NodeVisitor* nv); … … 426 426 * since they have an Eevnt Callback attached to them or their children.*/ 427 427 inline unsigned int getNumChildrenRequiringEventTraversal() const { return _numChildrenRequiringEventTraversal; } 428 428 429 429 /** Run the event callbacks attached directly to this StateSet or to its children.*/ 430 430 void runEventCallbacks(osg::NodeVisitor* nv); … … 462 462 friend class osg::Uniform; 463 463 friend class osg::StateAttribute; 464 464 465 465 ModeList _modeList; 466 466 AttributeList _attributeList; … … 503 503 std::string _binName; 504 504 bool _nestRenderBins; 505 505 506 506 ref_ptr<Callback> _updateCallback; 507 507 unsigned int _numChildrenRequiringUpdateTraversal;
