Advertisement Jump to content
Sign in to follow this  

D3D12 debug layers. How to get ID3D12DebugDevice?

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



1. Documentation for ID3D12Debug says:

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


But all the examples are using


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

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, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!