Public Types | |
| enum | OptimizationOptions { FLATTEN_STATIC_TRANSFORMS = 0x1, REMOVE_REDUNDENT_NODES = 0x2, COMBINE_ADJACENT_LODS = 0x4, SHARE_DUPLICATE_STATE = 0x8, ALL_OPTIMIZATIONS } |
Public Methods | |
| Optimizer () | |
| virtual void | optimize (osg::Node *node, unsigned int options=ALL_OPTIMIZATIONS) |
| traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions. | |
For example of usage see src/Demos/osgimpostor.
|
|
|
|
|
|
|
||||||||||||
|
traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions.
|