|
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 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 int | g_perfCounters [DRAW_PERF_END] |
|
§ 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:
- Client/trunk/ParaEngineClient/renderer/RenderDevice.h
- Client/trunk/ParaEngineClient/renderer/RenderDevice.cpp