OpenSceneGraph  3.0.1
Public Member Functions | Protected Member Functions | Protected Attributes
osg::GraphicsCostEstimator Class Reference
Inheritance diagram for osg::GraphicsCostEstimator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GraphicsCostEstimator ()
void setDefaults ()
 set defaults for computing the costs.
void calibrate (osg::RenderInfo &renderInfo)
 calibrate the costs of various compile and draw operations
CostPair estimateCompileCost (const osg::Geometry *geometry) const
CostPair estimateDrawCost (const osg::Geometry *geometry) const
CostPair estimateCompileCost (const osg::Texture *texture) const
CostPair estimateDrawCost (const osg::Texture *texture) const
CostPair estimateCompileCost (const osg::Program *program) const
CostPair estimateDrawCost (const osg::Program *program) const
CostPair estimateCompileCost (const osg::Node *node) const
CostPair estimateDrawCost (const osg::Node *node) const

Protected Member Functions

virtual ~GraphicsCostEstimator ()

Protected Attributes

osg::ref_ptr
< GeometryCostEstimator
_geometryEstimator
osg::ref_ptr
< TextureCostEstimator
_textureEstimator
osg::ref_ptr
< ProgramCostEstimator
_programEstimator

Constructor & Destructor Documentation

virtual osg::GraphicsCostEstimator::~GraphicsCostEstimator ( ) [protected, virtual]

Member Function Documentation

calibrate the costs of various compile and draw operations

set defaults for computing the costs.


Member Data Documentation


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

osg logo
Generated at Sat Apr 28 2012 08:43:51 for the OpenSceneGraph by doxygen 1.8.0.