I need to debug with PIX an special frame that runs some special code just one time.
I need to capture a frame like f12 does. The frame i need to capture runs just one time in special occasions, so i need to trigger the capture frame when that special thing happens.
Then i saw the PIX functions:
int D3DPERF_BeginEvent()
void D3DPERF_SetMarker()
and that I can trigger the capture frame when using those functions but then I saw that the requirement to use the function was to have in the header "d3d9.h".
I am using directx 10, Is there any way I can capture the frame?