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

#include <GraphicsCostEstimator>

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)
 
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 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

◆ TextureCostEstimator()

osg::TextureCostEstimator::TextureCostEstimator ( )

Member Function Documentation

◆ calibrate()

void osg::TextureCostEstimator::calibrate ( osg::RenderInfo renderInfo)

◆ estimateCompileCost()

CostPair osg::TextureCostEstimator::estimateCompileCost ( const osg::Texture texture) const

◆ estimateDrawCost()

CostPair osg::TextureCostEstimator::estimateDrawCost ( const osg::Texture texture) const

◆ setDefaults()

void osg::TextureCostEstimator::setDefaults ( )

Member Data Documentation

◆ _compileCost

ClampedLinearCostFunction1D osg::TextureCostEstimator::_compileCost
protected

◆ _drawCost

ClampedLinearCostFunction1D osg::TextureCostEstimator::_drawCost
protected

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