Mark an instantaneous event. PIX can use this event to trigger an action.
void D3DPERF_SetMarker( D3DCOLOR col, LPCWSTR wszName );
None.
Instantaneous user events do not bracket or group other events. For example, when the user fires a weapon in a game, a "Shot Fired" event could be created by a D3DPERF_SetMarker call. To group together multiple events under a single, user-defined name, use D3DPERF_BeginEvent and D3DPERF_EndEvent rather than D3DPERF_SetMarker.
Header: Declared in D3d9.h.