Captures the next frame of data for the GPU.
public:
HRESULT PIXGpuCaptureNextFrame(
UINT Flags,
LPCWSTR lpOutputFileName
)
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.
Type: HRESULT
One of the Direct3D 11 return codes.
Capture begins after the first Present call following PIXGpuCaptureNextFrame and continues until the end of that frame is marked by another Present call.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.