IDXGIOutput::GetFrameStatistics Method

Gets statistics about recently rendered frames.

On Xbox One, this method is not implemented, and returns DXGI_ERROR_UNSUPPORTED.

Syntax

public:
HRESULT GetFrameStatistics(
         DXGI_FRAME_STATISTICS *pStats
)  

Parameters

pStats
Type: DXGI_FRAME_STATISTICS *

[out] 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

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.

Requirements

Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGIOutput

IDXGIOutput Members