Torque3D Documentation / _generateds / GFXDeviceStatistics

GFXDeviceStatistics

Engine/source/gfx/gfxDeviceStatistics.h

More...

Public Functions

Clear stats.

Used with start to get a subset of stats on a device.

Exports the stats to the console.

Copy from source (should just be a memcpy, but that may change later) used in conjunction with end to get a subset of statistics.

Detailed Description

Public Attributes

S32 mDrawCalls 
S32 mPolyCount 
S32 mRenderTargetChanges 

Private Attributes

String vnDrawCalls 
String vnPolyCount 
String vnRenderTargetChanges 

Public Functions

GFXDeviceStatistics()

clear()

Clear stats.

end(GFXDeviceStatistics * source)

Used with start to get a subset of stats on a device.

Basically will do this->mPolyCount = source->mPolyCount - this->mPolyCount. (Fancy!)

exportToConsole()

Exports the stats to the console.

setPrefix(const String & prefix)

start(GFXDeviceStatistics * source)

Copy from source (should just be a memcpy, but that may change later) used in conjunction with end to get a subset of statistics.

For example, statistics for a particular render bin.