• Advertisement
Sign in to follow this  

D3D12 debug layers. How to get ID3D12DebugDevice?

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