ID3D12CommandQueue::PIXGpuCaptureNextFrame Method

Captures the next frame of data for the GPU.

Syntax

public:
HRESULT PIXGpuCaptureNextFrame(
         UINT Flags,
         LPCWSTR lpOutputFileName
)  

Parameters

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.

Return value

Type: HRESULT 

One of the Direct3D 12 return codes.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

PIX API Reference

Reference

ID3D12CommandQueue Interface

ID3D12CommandQueue Members