openscenegraph
osgUtil::IncrementalCompileOperation::CompileTextureOp Struct Reference

#include <IncrementalCompileOperation>

Inheritance diagram for osgUtil::IncrementalCompileOperation::CompileTextureOp:
osgUtil::IncrementalCompileOperation::CompileOp osg::Referenced

Public Member Functions

 CompileTextureOp (osg::Texture *texture)
double estimatedTimeForCompile (CompileInfo &compileInfo) const
bool compile (CompileInfo &compileInfo)
Public Member Functions inherited from osg::Referenced
 Referenced ()
 Referenced (bool threadSafeRefUnref)
 Referenced (const Referenced &)
Referencedoperator= (const Referenced &)
virtual void setThreadSafeRefUnref (bool)
bool getThreadSafeRefUnref () const
OpenThreads::MutexgetRefMutex () const
int ref () const
int unref () const
int unref_nodelete () const
int referenceCount () const
ObserverSetgetObserverSet () const
ObserverSetgetOrCreateObserverSet () const
void addObserver (Observer *observer) const
void removeObserver (Observer *observer) const

Public Attributes

osg::ref_ptr< osg::Texture_texture

Additional Inherited Members

Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
static void setDeleteHandler (DeleteHandler *handler)
static DeleteHandlergetDeleteHandler ()
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

◆ CompileTextureOp()

osgUtil::IncrementalCompileOperation::CompileTextureOp::CompileTextureOp ( osg::Texture * texture)

Member Function Documentation

◆ compile()

bool osgUtil::IncrementalCompileOperation::CompileTextureOp::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.

◆ estimatedTimeForCompile()

double osgUtil::IncrementalCompileOperation::CompileTextureOp::estimatedTimeForCompile ( CompileInfo & compileInfo) const
virtual

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

Implements osgUtil::IncrementalCompileOperation::CompileOp.

Member Data Documentation

◆ _texture

osg::ref_ptr<osg::Texture> osgUtil::IncrementalCompileOperation::CompileTextureOp::_texture

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