Public Types | |
enum | OptimizationOptions { TESSELATE_POLYGON = 0x001, MERGE_GEODES = 0x002, MAKE_LIT = 0x004, DEFAULT_OPTIMIZATIONS = TESSELATE_POLYGON | MERGE_GEODES, ALL_OPTIMIZATIONS = TESSELATE_POLYGON | MERGE_GEODES } |
Public Member Functions | |
Optimizer () | |
virtual | ~Optimizer () |
void | optimize (osg::Node *node) |
virtual void | optimize (osg::Node *node, unsigned int options) |
Classes | |
class | MakeLitVisitor |
class | MergeGeodesVisitor |
class | TesselateVisitor |
|
|
|
|
|
|
|
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. |
|
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. |