ID3D12DebugCommandList1::GetDebugParameter method (d3d12sdklayers.h)

Gets optional Command List Debug Layer settings.

Syntax

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

Parameters

Type

Type: D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE

Specifies a D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE value that determines which debug parameter data to copy to the memory pointed to by pData.

[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_COMMAND_LIST_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

Returns S_OK if successful, otherwise E_INVALIDARG.

Requirements

Requirement Value
Target Platform Windows
Header d3d12sdklayers.h

See also

ID3D12DebugCommandList1

SetDebugParameter