D3DPERF_SetMarker function
Mark an instantaneous event. PIX can use this event to trigger an action.
Syntax
void WINAPI D3DPERF_SetMarker(
D3DCOLOR col,
LPCWSTR wszName
);
Parameters
col
Event color. This is the color to display the event in the event view.
wszName
Event name.
Return value
This function doesn't return a value.
Remarks
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.
Requirements
Target Platform | Windows |
Header | d3d9.h |
Library | d3d9.lib |
DLL | d3d9.dll |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for