ID3D12GraphicsCommandList::SetMarker method (d3d12.h)

Not intended to be called directly.  Use the PIX event runtime to insert events into a command list.

Syntax

void SetMarker(
                 UINT       Metadata,
  [in, optional] const void *pData,
                 UINT       Size
);

Parameters

Metadata

Type: UINT

Internal.

[in, optional] pData

Type: const void*

Internal.

Size

Type: UINT

Internal.

Return value

None

Remarks

This is a support method used internally by the PIX event runtime.  It is not intended to be called directly.

To insert instrumentation markers at the current location within a D3D12 command list, use the PIXSetMarker function.  This is provided by the WinPixEventRuntime NuGet package.

Requirements

Requirement Value
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll

See also

ID3D12GraphicsCommandList