openscenegraph
Public Member Functions | Protected Attributes | List of all members
osg::TextureCostEstimator Class Reference
Inheritance diagram for osg::TextureCostEstimator:
osg::Referenced

Public Member Functions

 TextureCostEstimator ()
 
void setDefaults ()
 
void calibrate (osg::RenderInfo &renderInfo)
 
CostPair estimateCompileCost (const osg::Texture *texture) const
 
CostPair estimateDrawCost (const osg::Texture *texture) const
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
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
 

Protected Attributes

ClampedLinearCostFunction1D _compileCost
 
ClampedLinearCostFunction1D _drawCost
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
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
 

Constructor & Destructor Documentation

osg::TextureCostEstimator::TextureCostEstimator ( )

Member Function Documentation

void osg::TextureCostEstimator::calibrate ( osg::RenderInfo renderInfo)
CostPair osg::TextureCostEstimator::estimateCompileCost ( const osg::Texture texture) const
CostPair osg::TextureCostEstimator::estimateDrawCost ( const osg::Texture texture) const
void osg::TextureCostEstimator::setDefaults ( )

Member Data Documentation

ClampedLinearCostFunction1D osg::TextureCostEstimator::_compileCost
protected
ClampedLinearCostFunction1D osg::TextureCostEstimator::_drawCost
protected

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