ID3D12DebugDevice1::GetDebugParameter method (d3d12sdklayers.h)

Gets optional device-wide Debug Layer settings.

Syntax

HRESULT GetDebugParameter(
        D3D12_DEBUG_DEVICE_PARAMETER_TYPE Type,
  [out] void                              *pData,
        UINT                              DataSize
);

Parameters

Type

Type: D3D12_DEBUG_DEVICE_PARAMETER_TYPE

Specifies a D3D12_DEBUG_DEVICE_PARAMETER_TYPE value that indicates which debug parameter data to set.

[out] pData

Type: void*

Points to the memory that will be filled with a copy of the debug parameter data. The interpretation of this data depends on the D3D12_DEBUG_DEVICE_PARAMETER_TYPE given in the Type parameter.

DataSize

Type: UINT

Size in bytes of the memory buffer pointed to by pData.

Return value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d12sdklayers.h

See also

ID3D12DebugDevice1

SetDebugParameter