ID3D11DeviceContextX::PIXGpuCaptureNextFrame Method

Captures the next frame of data for the GPU.

Syntax

public:
HRESULT PIXGpuCaptureNextFrame(
         UINT Flags,
         LPCWSTR lpOutputFileName
)  

Parameters

Flags
Type: UINT 

[in] No flags are currently supported, set this to 0.

lpOutputFileName
Type: LPCWSTR 

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

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Remarks

Capture begins after the first Present call following PIXGpuCaptureNextFrame and continues until the end of that frame is marked by another Present call.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

PIX API Reference

Reference

ID3D11DeviceContextX Interface

ID3D11DeviceContextX Members