OpenSceneGraph  3.0.1
Public Member Functions | Public Attributes | List of all members
osgUtil::IncrementalCompileOperation::CompileProgramOp Struct Reference
Inheritance diagram for osgUtil::IncrementalCompileOperation::CompileProgramOp:
Inheritance graph
[legend]

Public Member Functions

 CompileProgramOp (osg::Program *program)
double estimatedTimeForCompile (CompileInfo &compileInfo) const
 return an estimate for how many seconds the compile will take.
bool compile (CompileInfo &compileInfo)
 compile associated objects, return true if object as been fully compiled and this CompileOp can be removed from the to compile list.

Public Attributes

osg::ref_ptr< osg::Program_program

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::Mutex * getGlobalReferencedMutex ()
 Get the optional global Referenced mutex, this can be shared between all osg::Referenced.
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 Set whether reference counting should use a mutex for thread safe reference counting.
static bool getThreadSafeReferenceCounting ()
 Get whether reference counting is active.
static void setDeleteHandler (DeleteHandler *handler)
 Set a DeleteHandler to which deletion of all referenced counted objects will be delegated.
static DeleteHandlergetDeleteHandler ()
 Get a DeleteHandler.
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
void deleteUsingDeleteHandler () const
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
OpenThreads::Atomic _refCount

Constructor & Destructor Documentation

osgUtil::IncrementalCompileOperation::CompileProgramOp::CompileProgramOp ( osg::Program program)

Member Function Documentation

bool osgUtil::IncrementalCompileOperation::CompileProgramOp::compile ( CompileInfo compileInfo)
virtual

compile associated objects, return true if object as been fully compiled and this CompileOp can be removed from the to compile list.

Implements osgUtil::IncrementalCompileOperation::CompileOp.

double osgUtil::IncrementalCompileOperation::CompileProgramOp::estimatedTimeForCompile ( CompileInfo compileInfo) const
virtual

return an estimate for how many seconds the compile will take.

Implements osgUtil::IncrementalCompileOperation::CompileOp.

Member Data Documentation

osg::ref_ptr<osg::Program> osgUtil::IncrementalCompileOperation::CompileProgramOp::_program

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

osg logo
Generated at Fri Sep 7 2012 02:21:21 for the OpenSceneGraph by doxygen 1.8.1.2.