openscenegraph
Public Member Functions
osg::Image::UpdateCallback Struct Reference
Inheritance diagram for osg::Image::UpdateCallback:
osg::StateAttributeCallback osg::Object osg::Referenced

List of all members.

Public Member Functions

virtual void operator() (osg::StateAttribute *attr, osg::NodeVisitor *nv)

Detailed Description

convience update callback class that can be attached to StateAttribute (such as Textures) to ensure that the Image::update(NodeVisitor*) method is called during the update traversal. This callback is automatically attached when Image::requiresUpdateCall() is true (it's false by default.)


Member Function Documentation

virtual void osg::Image::UpdateCallback::operator() ( osg::StateAttribute ,
osg::NodeVisitor  
) [virtual]

do customized update code.

Reimplemented from osg::StateAttributeCallback.


The documentation for this struct was generated from the following file: