D3DPERF_SetRegion
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DPERF_SetRegion Function


Specifies to a performance profiler (such as PIX) that subsequent frames should be marked with the specified color and name. This function is not currently supported by PIX.

Syntax

void WINAPI D3DPERF_SetRegion(      

    D3DCOLOR col,     LPCWSTR wszName );

Parameters

col
A color that may be used by the profiler to show a graphical representation of the event.
wszName
The name of the region.

Return Value

None

Remarks

An application can use color to mark each level of a game as a different region in the graphical output.

Function Information

Headerd3d9.h
Import libraryd3d9.lib
Minimum operating systems Windows 98

See Also

Gathering Data in the PIX Basic View


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.