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

List of all members.

Public Member Functions

 ProgramCostEstimator ()
void setDefaults ()
void calibrate (osg::RenderInfo &renderInfo)
CostPair estimateCompileCost (const osg::Program *program) const
CostPair estimateDrawCost (const osg::Program *program) const

Protected Attributes

ClampedLinearCostFunction1D _shaderCompileCost
ClampedLinearCostFunction1D _linkCost
ClampedLinearCostFunction1D _drawCost

Constructor & Destructor Documentation

osg::ProgramCostEstimator::ProgramCostEstimator ( )

Member Function Documentation

void osg::ProgramCostEstimator::calibrate ( osg::RenderInfo renderInfo)
CostPair osg::ProgramCostEstimator::estimateCompileCost ( const osg::Program program) const
CostPair osg::ProgramCostEstimator::estimateDrawCost ( const osg::Program program) const
void osg::ProgramCostEstimator::setDefaults ( )

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.