(0) exportieren Drucken
Alle erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

ID3D11DeviceContext2::BeginEventInt method

Allows applications to annotate the beginning of a range of graphics commands.

Syntax


void BeginEventInt(
  LPCWSTR pLabel,
  INT Data
);

Parameters

pLabel

An optional string that will be logged to ETW when ETW logging is active. If ‘#d’ appears in the string, it will be replaced by the value of the Data parameter similar to the way printf works.

Data

A signed data value that will be logged to ETW when ETW logging is active.

Return value

This method does not return a value.

Remarks

BeginEventInt allows applications to annotate the beginning of a range of graphics commands, in order to provide more context to what the GPU is executing. When ETW logging (or a supported tool) is enabled, an additional marker is correlated between the CPU and GPU timelines. The pLabel and Data value are logged to ETW. When the appropriate ETW logging is not enabled, this method does nothing.

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

IDL

D3d11_2.idl

See also

ID3D11DeviceContext2

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft