ID3D11DeviceContextX::PIXSetMarker Method

Inserts a marker into the GPU timeline in the PIX System Timing Capture window, when a particular user-defined event occurs.

Syntax

public:
void PIXSetMarker(
         LPCWSTR Name
)  

Parameters

Name
Type: LPCWSTR 

[in] The name to use to describe the event, as a Unicode string. If the event name is not available at compile time, convert the event name to Unicode at runtime, before passing the event name.

Return value

None.

Remarks

The event is shown as having zero duration, and is represented by a single line in the PIX System Timing Capture window.

This member method has fewer parameters than the PIXSetMarker function, which additionally supports setting the color in the timing chart and constructing a multi-part name of the event.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceContextX Interface

ID3D11DeviceContextX Members