public:
HRESULT PIXGpuBeginCapture(
UINT Flags,
LPCWSTR lpOutputFileName
)
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.
Type: HRESULT
One of the Direct3D 11 return codes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.