SLProject 4.0.000
SLNodeStats Struct Reference

Struct for scene graph statistics. More...

#include <SLNode.h>

Public Member Functions

void clear ()
 Resets all counters to zero. More...
 
void print () const
 Prints all statistic informations on the std out stream. More...
 

Public Attributes

SLuint numNodes
 NO. of children nodes. More...
 
SLuint numBytes
 NO. of bytes allocated. More...
 
SLuint numBytesAccel
 NO. of bytes in accel. structs. More...
 
SLuint numNodesGroup
 NO. of group nodes. More...
 
SLuint numNodesLeaf
 NO. of leaf nodes. More...
 
SLuint numNodesOpaque
 NO. of visible opaque nodes. More...
 
SLuint numNodesBlended
 NO. of visible blended nodes. More...
 
SLuint numMeshes
 NO. of meshes in node. More...
 
SLuint numLights
 NO. of lights in mesh. More...
 
SLuint numTriangles
 NO. of triangles in mesh. More...
 
SLuint numLines
 NO. of lines in mesh. More...
 
SLuint numVoxels
 NO. of voxels. More...
 
SLfloat numVoxEmpty
 NO. of empty voxels. More...
 
SLuint numVoxMaxTria
 Max. no. of triangles per voxel. More...
 
SLuint numAnimations
 NO. of animations. More...
 

Detailed Description

Struct for scene graph statistics.

The SLNodeStats struct holds some statistics that are set in the recursive SLNode::statsRec method.

Member Function Documentation

◆ clear()

void SLNodeStats::clear ( )
inline

Resets all counters to zero.

◆ print()

void SLNodeStats::print ( ) const
inline

Prints all statistic informations on the std out stream.

Member Data Documentation

◆ numAnimations

SLuint SLNodeStats::numAnimations

NO. of animations.

◆ numBytes

SLuint SLNodeStats::numBytes

NO. of bytes allocated.

◆ numBytesAccel

SLuint SLNodeStats::numBytesAccel

NO. of bytes in accel. structs.

◆ numLights

SLuint SLNodeStats::numLights

NO. of lights in mesh.

◆ numLines

SLuint SLNodeStats::numLines

NO. of lines in mesh.

◆ numMeshes

SLuint SLNodeStats::numMeshes

NO. of meshes in node.

◆ numNodes

SLuint SLNodeStats::numNodes

NO. of children nodes.

◆ numNodesBlended

SLuint SLNodeStats::numNodesBlended

NO. of visible blended nodes.

◆ numNodesGroup

SLuint SLNodeStats::numNodesGroup

NO. of group nodes.

◆ numNodesLeaf

SLuint SLNodeStats::numNodesLeaf

NO. of leaf nodes.

◆ numNodesOpaque

SLuint SLNodeStats::numNodesOpaque

NO. of visible opaque nodes.

◆ numTriangles

SLuint SLNodeStats::numTriangles

NO. of triangles in mesh.

◆ numVoxels

SLuint SLNodeStats::numVoxels

NO. of voxels.

◆ numVoxEmpty

SLfloat SLNodeStats::numVoxEmpty

NO. of empty voxels.

◆ numVoxMaxTria

SLuint SLNodeStats::numVoxMaxTria

Max. no. of triangles per voxel.


The documentation for this struct was generated from the following file: