DXGI_FRAME_STATISTICS_MEDIA structure

Used to verify system approval for the app's custom present duration (custom refresh rate). Approval should be continuously verified on a frame-by-frame basis.

Syntax


typedef struct DXGI_FRAME_STATISTICS_MEDIA  : public DXGI_FRAME_STATISTICS{
  DXGI_FRAME_PRESENTATION_MODE CompositionMode;
  UINT                         ApprovedPresentDuration;
} DXGI_FRAME_STATISTICS_MEDIA;

Members

CompositionMode

Type: DXGI_FRAME_PRESENTATION_MODE

A value indicating the composition presentation mode. This value is used to determine whether the app should continue to use the decode swap chain. See DXGI_FRAME_PRESENTATION_MODE.

ApprovedPresentDuration

Type: UINT

If the system approves an app's custom present duration request, this field is set to the approved custom present duration.

If the app's custom present duration request is not approved, this field is set to zero.

Requirements

Header

Dxgi1_3.h

See also

IDXGISwapChainMedia

 

 

Community Additions

ADD
Show:
© 2014 Microsoft