Jump to content
  • Advertisement
Sign in to follow this  
Volgogradetzzz

D3D12 debug layers. How to get ID3D12DebugDevice?

This topic is 1019 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

Greetings.

 

1. Documentation for ID3D12Debug says:

This interface is obtained by querying it from the ID3D12Device using IUnknown::QueryInterface.

 

But all the examples are using

D3D12GetDebugInterface()

And after all how can I obtain it from a device if there're no flags anymore pointing that the device is debug?

 

2. How to get ID3D12DebugDeviceID3D12DebugCommandListID3D12DebugCommandQueue?

Share this post


Link to post
Share on other sites
Advertisement

I haven't used D3D12 yet, but i guess it will be the same as in D3D11. Meaning you call IUnknown::QueryInterface on your device, command list and command queue.

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!