Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RwMetrics Struct Reference
[RwEngine]


Data Fields

RwUInt32  numTriangles
RwUInt32  numProcTriangles
RwUInt32  numVertices
RwUInt32  numTextureUploads
RwUInt32  sizeTextureUploads
RwUInt32  numResourceAllocs
void *  devSpecificMetrics

Detailed Description

This structure provides information about the performance of the application. The metrics are recorded only in the metrics libraries. To use metrics you should compile with the RWMETRICS preprocessor symbol defines, and link with the metrics libraries that ship with the SDK. The metrics are recorded on a per-frame basis. Each platform may provide additional information that is specific to that platform. Note that either the numTextureUploads or numResourceAllocs being non-zero can be considered as bad news and will indicate a significantly reduced rendering performance.

Field Documentation

void* devSpecificMetrics
 

Device specific metrics

RwUInt32 numProcTriangles
 

Number of mesh triangles processed

RwUInt32 numResourceAllocs
 

Number of resource blocks swapped

RwUInt32 numTextureUploads
 

Number of textures swapped

RwUInt32 numTriangles
 

Number of triangles processed

RwUInt32 numVertices
 

Number of vertices processed

RwUInt32 sizeTextureUploads
 

Size of textures swapped


Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:10 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)