?/TD>
Microsoft DirectX 9.0

D3DDEVINFO_D3DVERTEXSTATS Structure


Vertex statistics detailing how many triangles are getting processed and clipped.

Syntax

typedef struct _D3DDEVINFO_D3DVERTEXSTATS {
    DWORD NumRenderedTriangles;
    DWORD NumExtraClippingTriangles;
} D3DDEVINFO_D3DVERTEXSTATS;

Members

NumRenderedTriangles
Total number of triangles that are not clipped in this frame.
NumExtraClippingTriangles
Number of new triangles generated by clipping.

Remarks

D3DDEVINFO_D3DVERTEXSTATS reports the number of triangles that have been processed and clipped by the runtime's software vertex processing. Use the debug runtime and software vertex processing to get the number of non-clipped and clipped primitives for a particular scene. Primitives will typically be clipped based on a guard band (if one is present). The clipping guard band is set with parameters such as GuardBandLeft in D3DCAPS9.

Structure Information

Headerd3d9types.h
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.