Gets statistics about recently rendered frames.
On Xbox One, this method is not implemented, and returns DXGI_ERROR_UNSUPPORTED.
public:
HRESULT GetFrameStatistics(
DXGI_FRAME_STATISTICS *pStats
)
pStats
Type: DXGI_FRAME_STATISTICSÂ *
[out] A pointer to frame statistics (see DXGI_FRAME_STATISTICS).
Type: HRESULTÂ
If this function succeeds, it returns S_OK. Otherwise, it might return DXGI_ERROR_INVALID_CALL.
Xbox note: This method can only be called when this output is owned by a device.
This API is similar to IDXGISwapChain::GetFrameStatistics.
Note
Calling this method is only supported while in full-screen mode.
Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).