Preliminary steps to adding update and event callbacks to StateSet, StateAttribute
and Uniform.
This commit is contained in:
@@ -135,8 +135,8 @@ class OSG_EXPORT Node : public Object
|
||||
/** Get const update node callback, called during update traversal. */
|
||||
inline const NodeCallback* getUpdateCallback() const { return _updateCallback.get(); }
|
||||
|
||||
/** Get the number of Children of this node which require App traversal,
|
||||
* since they have an AppCallback attached to them or their children.*/
|
||||
/** Get the number of Children of this node which require Update traversal,
|
||||
* since they have an Update Callback attached to them or their children.*/
|
||||
inline unsigned int getNumChildrenRequiringUpdateTraversal() const { return _numChildrenRequiringUpdateTraversal; }
|
||||
|
||||
|
||||
@@ -149,8 +149,8 @@ class OSG_EXPORT Node : public Object
|
||||
/** Get const update node callback, called during update traversal. */
|
||||
inline const NodeCallback* getEventCallback() const { return _eventCallback.get(); }
|
||||
|
||||
/** Get the number of Children of this node which require App traversal,
|
||||
* since they have an AppCallback attached to them or their children.*/
|
||||
/** Get the number of Children of this node which require Event traversal,
|
||||
* since they have an Event Callback attached to them or their children.*/
|
||||
inline unsigned int getNumChildrenRequiringEventTraversal() const { return _numChildrenRequiringEventTraversal; }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user