Expand Minimize

DXGI_DDI_MODE_DESC structure

The DXGI_DDI_MODE_DESC structure describes a display mode.

Syntax


typedef struct DXGI_DDI_MODE_DESC {
  UINT                         Width;
  UINT                         Height;
  DXGI_FORMAT                  Format;
  DXGI_DDI_RATIONAL            RefreshRate;
  DXGI_DDI_MODE_SCANLINE_ORDER ScanlineOrdering;
  DXGI_DDI_MODE_ROTATION       Rotation;
  DXGI_DDI_MODE_SCALING        Scaling;
} DXGI_DDI_MODE_DESC;

Members

Width

[out] The screen width of the display mode, in pixels.

Height

[out] The screen height of the display mode, in pixels.

Format

[out] A DXGI_FORMAT-typed value that indicates the pixel format of the display mode.

RefreshRate

[out] A DXGI_DDI_RATIONAL structure that indicates the refresh rate of the display mode.

ScanlineOrdering

[out] A DXGI_DDI_MODE_SCANLINE_ORDER-typed value that indicates how scan lines are ordered in the display mode.

Rotation

[out] A DXGI_DDI_MODE_ROTATION-typed value that identifies the orientation of the display mode.

Scaling

[out] A DXGI_DDI_MODE_SCALING-typed value that identifies the scaling of the display mode.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Dxgiddi.h (include D3d10umddi.h)

See also

DXGI_DDI_MODE_ROTATION
DXGI_DDI_MODE_SCALING
DXGI_DDI_MODE_SCANLINE_ORDER
DXGI_DDI_PRIMARY_DESC
DXGI_DDI_RATIONAL

 

 

Send comments about this topic to Microsoft

顯示:
© 2014 Microsoft