A handy class that can scrub over a scene graph and collect interesting statistics on it. More...
A handy class that can scrub over a scene graph and collect interesting statistics on it.
enum LodMode |
Adds a new node to the set of data for analysis.
Normally, this would only be called once, and passed the top of the scene graph, but it's possible to repeatedly pass in subgraphs to get an analysis of all the graphs together.
clear | ( | ) |
Resets all of the data in the analyzer in preparation for a new run.
LodMode getLodMode | ( | LodMode | lod_mode | ) |
Returns the mode in which LODNodes are analyzed.
int getNumColors | ( | ) |
int getNumGeomNodes | ( | ) |
int getNumGeoms | ( | ) |
int getNumInstances | ( | ) |
int getNumLines | ( | ) |
int getNumLodNodes | ( | ) |
int getNumLongNormals | ( | ) |
int getNumNodes | ( | ) |
int getNumNormals | ( | ) |
int getNumPoints | ( | ) |
int getNumTexcoords | ( | ) |
int getNumTransforms | ( | ) |
int getNumTrifans | ( | ) |
int getNumTris | ( | ) |
int getNumTristrips | ( | ) |
int getNumVertices | ( | ) |
int getTextureBytes | ( | ) |
float getTotalNormalLength | ( | ) |
int getVertexDataSize | ( | ) |
setLodMode | ( | LodMode | lod_mode | ) |
Specifies the mode in which LODNodes are analyzed.