ID3D11DeviceContextX::PIXGpuBeginCapture Method

Begins capture of GPU data.

Syntax

public:
HRESULT PIXGpuBeginCapture(
         UINT Flags,
         LPCWSTR lpOutputFileName
)  

Parameters

Flags
Type: UINT 

[in] Flags to control this operation, as a bitwise-OR’d combination of D3D11X_PIX_CAPTURE_FLAGS enumeration constants. To do a capture that includes the resource names from ID3D11DeviceChild::SetName and shader symbols, specify D3D11X_PIX_CAPTURE_API, which performs an API capture that collects all API arguments, in addition to GPU command buffers.

lpOutputFileName
Type: LPCWSTR 

[in] The filename of the file to store data in.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

PIX GPU Captures

Reference

ID3D11DeviceContextX Interface

ID3D11DeviceContextX Members