Export (0) Print
Expand All

IDXGIOutput::GetFrameStatistics method

Gets statistics about recently rendered frames.

Syntax


HRESULT GetFrameStatistics(
  [out]  DXGI_FRAME_STATISTICS *pStats
);

Parameters

pStats [out]

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

Header

DXGI.h

Library

DXGI.lib

See also

IDXGIOutput

 

 

Community Additions

ADD
Show:
© 2014 Microsoft