![]() |
![]() |
![]() |
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
Header d3d9.h Import library d3d9.lib Minimum operating systems Windows 98
See Also
Gathering Data in the PIX Basic View