ID3DUserDefinedAnnotation::SetMarker Method

Marks a single point of execution in code.

Syntax

public:
void SetMarker(
         LPCWSTR Name
)  

Parameters

Name
Type: LPCWSTR 

[in]

A NULL-terminated UNICODE string that contains the name of the marker. The name is not relevant to the operating system. You can choose a name that is meaningful when the calling application is running under the Microsoft Direct3D profiling tool. A NULL pointer produces undefined results.

Return value

None.

Remarks

A user can visualize the marker when the calling application is running under an enabled Microsoft Direct3D profiling tool.

SetMarker has no effect if the calling application is not running under an enabled Microsoft Direct3D profiling tool.

Requirements

Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3DUserDefinedAnnotation Members

ID3DUserDefinedAnnotation

ID3D11UserDefinedAnnotationX