IDXGIOutput::GetFrameStatistics method (dxgi.h)
Gets statistics about recently rendered frames.
Syntax
HRESULT GetFrameStatistics(
[out] DXGI_FRAME_STATISTICS *pStats
);
Parameters
[out] pStats
Type: DXGI_FRAME_STATISTICS*
A pointer to frame statistics (see DXGI_FRAME_STATISTICS).
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it might return DXGI_ERROR_INVALID_CALL.
Remarks
This API is similar to IDXGISwapChain::GetFrameStatistics.
Note Calling this method is only supported while in full-screen mode.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |