OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
osg::TextureCostEstimator Class Reference

#include <GraphicsCostEstimator.h>

Inheritance diagram for osg::TextureCostEstimator:
Inheritance graph
[legend]
Collaboration diagram for osg::TextureCostEstimator:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 77 of file GraphicsCostEstimator.h.

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

Definition at line 87 of file GraphicsCostEstimator.h.

ClampedLinearCostFunction1D osg::TextureCostEstimator::_drawCost
protected

Definition at line 88 of file GraphicsCostEstimator.h.


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