C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
VSN::RenderStatistics Class Reference

RenderStatistics class provides the functional to compile statistics of the scene rendering. More...

#include <vsn_renderstatistics.h>

Static Public Member Functions

static bool IsActivated ()
 Returns true if the collector of statistics is activated.
 
static void SetActivation (bool activation)
 Activates the collector of statistic.
 
static void ResetRenderCounters ()
 Resets all render counters.
 
static int GetRenderBodiesCounter ()
 Returns the count of bodies in the scene graph.
 
static void AddRenderBodiesCounter (uint bodies)
 Adds the number of bodies to the general body number.
 
static int GetRenderTriangleCount ()
 Returns the count of triangles in the scene graph.
 
static void AddRenderNumTriangles (int num)
 Adds the number of triangles to the general triangle number.
 
static int GetLoadedBodiesCounter ()
 
static void AddLoadedBodiesCounter (uint bodies)
 
static void ResetLoadedBodies ()
 Resets loaded counters.
 

Static Protected Member Functions

static bool IsRenderWidgetCounter ()
 Returns render widget counter flag.
 
static bool SetRenderWidgetCounter (bool set)
 Sets render widget counter flag.
 

Detailed Description

RenderStatistics class provides the functional to compile statistics of the scene rendering.


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