OpenSceneGraph
3.0.1
|
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 |
virtual osg::GraphicsCostEstimator::~GraphicsCostEstimator | ( | ) | [protected, virtual] |
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 |
set defaults for computing the costs.
![]() | Generated at Mon Jun 4 2012 14:27:12 for the OpenSceneGraph by doxygen 1.8.0. |