Syntax
Parameters
riid [in]Type: const IID & The globally unique identifier (GUID) for the debug interface. The REFIID, or GUID, of the debug interface can be obtained by using the __uuidof() macro. For example, __uuidof(ID3D12Debug) will get the GUID of the debug interface. ppvDebug [out, optional]
Type: void ** The debug interface, as a pointer to pointer to void. See ID3D12Debug and ID3D12DebugDevice.
Return value
Type: HRESULT This method returns one of the Direct3D 12 Return Codes.Remarks
The function signature PFN_D3D12_GET_DEBUG_INTERFACE is provided as a typedef, so that you can use dynamic linking techniques (GetProcAddress) instead of statically linking.Examples
Enable the D3D12 debug layer.Requirements
Header: d3d12_xs.h or d3d12_x.hLibrary: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
