Jump to content
  • Advertisement
Sign in to follow this  
lomateron

Debugging with PIX question

This topic is 2139 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Just include d3d9.h and link to d3d9.lib. You can still call those functions in a DX10 app.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!