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

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

Member Function Documentation

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

calibrate the costs of various compile and draw operations

CostPair osg::GraphicsCostEstimator::estimateCompileCost ( const osg::Geometry geometry) const [inline]
CostPair osg::GraphicsCostEstimator::estimateCompileCost ( const osg::Texture texture) const [inline]
CostPair osg::GraphicsCostEstimator::estimateCompileCost ( const osg::Program program) const [inline]
CostPair osg::GraphicsCostEstimator::estimateCompileCost ( const osg::Node node) const
CostPair osg::GraphicsCostEstimator::estimateDrawCost ( const osg::Geometry geometry) const [inline]
CostPair osg::GraphicsCostEstimator::estimateDrawCost ( const osg::Texture texture) const [inline]
CostPair osg::GraphicsCostEstimator::estimateDrawCost ( const osg::Program program) const [inline]
CostPair osg::GraphicsCostEstimator::estimateDrawCost ( const osg::Node node) const
void osg::GraphicsCostEstimator::setDefaults ( )

set defaults for computing the costs.


Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:42 for the OpenSceneGraph by doxygen 1.7.5.