Captures the next frame of data for the GPU.
public:
HRESULT PIXGpuCaptureNextFrame(
UINT Flags,
LPCWSTR lpOutputFileName
)
Flags
Type: UINT
[in] Flags to control this operation, as a bitwise-OR’d combination of D3D12XBOX_PIX_CAPTURE_FLAGS enumeration constants, such as for “capture all engines”.
lpOutputFileName
Type: LPCWSTR
[in] The filename of the file to store the data in.
Type: HRESULT
One of the Direct3D 12 return codes.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.