Saturday, October 03, 2015

Enumerating a specific devices capabilities with D3D12


IDXGIAdapter2 *pAdapter;
LUID luid;
luid = mDevice->GetAdapterLuid();
pFactory->EnumAdapterByLuid(luid, IID_PPV_ARGS(&pAdapter));
DXGI_ADAPTER_DESC2 pDesc;
pAdapter->GetDesc2(&pDesc);
//check pDesc in the debugger, it has all you want, exercise for reader to print it out

No comments: