I've been looking at the DirectX12 Documentation.
It uses what are called Com pointers (ComPtr
). in the guide most of the ComPtr
s have a guides showing how a certain ID3D12 Interface is initialized.
for example ID3D12CommandList
is initialized using ID3D12Device::CreateCommandList(...)
& the ID3D12Device
.
Although I'm trying to initialize the Debug
layers that come in d3d12sdkLayers.h
headers.
I can't find anywhere in the documentation that shows how to initialize any of these layers (aside from the main DebugInterface itself.
Here is the list of interfaces I'm referring to /direct3d-12-sdklayers-interfaces
for example how do I initialize the ID3D12DebugCommandList