Sign in to follow this  

D3D12 debug layers. How to get ID3D12DebugDevice?

Recommended Posts

Volgogradetzzz    1101



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
Batzer    592

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this