ID3D12Device::GetAdapterLuid method (d3d12.h)
Gets a locally unique identifier for the current device (adapter).
Syntax
LUID GetAdapterLuid();
Return value
Type: LUID
The locally unique identifier for the adapter.
Remarks
This method returns a unique identifier for the adapter that is specific to the adapter hardware. Applications can use this identifier to define robust mappings across various APIs (Direct3D 12, DXGI).
A locally unique identifier (LUID) is a 64-bit value that is guaranteed to be unique only on the system on which it was generated. The uniqueness of a locally unique identifier (LUID) is guaranteed only until the system is restarted.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12.h |
Library | D3d12.lib |
DLL | D3d12.dll |