Microsoft SDK for Java

getTrianglesDrawn

This method of the Direct3dRMDevice Class retrieves the number of triangles drawn to a device since its creation. This method is a convenience function.

Syntax

public int getTrianglesDrawn();

Return Value

Returns the number of triangles.

Remarks

The number of triangles includes those that were passed to the renderer, but were not drawn because they were backfacing. The number does not include triangles that were rejected for lying outside of the viewing frustum.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.