My Project
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ParaEngine::RenderDeviceBase Class Reference
Inheritance diagram for ParaEngine::RenderDeviceBase:
ParaEngine::RenderDevice ParaEngine::RenderDevice

Public Types

enum  StatisticsType {
  DRAW_PERF_TRIANGLES_UNKNOWN = 0, DRAW_PERF_TRIANGLES_UI = 1, DRAW_PERF_TRIANGLES_TERRAIN = 2, DRAW_PERF_TRIANGLES_CHARACTER = 3,
  DRAW_PERF_TRIANGLES_MESH = 4, DRAW_PERF_DRAW_CALL_COUNT = 5, DRAW_PERF_TOTAL_TRIANGLES = 6, DRAW_PERF_END
}
 

Static Public Member Functions

static int GetPerfCount (StatisticsType nStatisticsType)
 get the performance counter for a given type
 
static void ClearAllPerfCount ()
 reset all the performance counters to 0. More...
 
static void IncrementDrawBatchAndVertices (int nDrawCount, int nVertices, int nPrimitiveType=DRAW_PERF_TRIANGLES_UNKNOWN)
 increment both draw count and vertices
 
static int GetMaxSimultaneousTextures ()
 

Static Public Attributes

static int g_perfCounters [DRAW_PERF_END]
 

Member Function Documentation

§ ClearAllPerfCount()

void RenderDeviceBase::ClearAllPerfCount ( )
static

reset all the performance counters to 0.

this is usually called at the beginning of each frame


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