I'd need to know if the video chipset Direct3D runs on is from Nvidia, AMD or Intel.
Is there a way to do that?
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Sign up to join this communityI'd need to know if the video chipset Direct3D runs on is from Nvidia, AMD or Intel.
Is there a way to do that?
Ha, found it with more googling.
D3D9: call IDirect3D9::GetAdapterIdentifier
and check the VendorId
of the provided D3DADAPTER_IDENTIFIER9
structure.
D3D11: call IDXGIAdapter::GetDesc
and check the VendorId
of the provided DXGI_ADAPTER_DESC
structure.
Video chipsets vendor IDs, retrieved from this list:
In bold: the IDs mentioned in CardCaps.pdf (provided with the DirectX SDK), that add up with what Direct3D returns on actual hardware.