openscenegraph
Public Member Functions | Protected Member Functions | Protected Attributes
osg::GraphicsCostEstimator Class Reference
Inheritance diagram for osg::GraphicsCostEstimator:
osg::Referenced

List of all members.

Public Member Functions

 GraphicsCostEstimator ()
void setDefaults ()
void calibrate (osg::RenderInfo &renderInfo)
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: