Bewerken

Delen via


DXGI_DDI_MODE_DESC structure (dxgiddi.h)

The DXGI_DDI_MODE_DESC structure describes a display mode.

Syntax

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

Members

[out] Width

The screen width of the display mode, in pixels.

[out] Height

The screen height of the display mode, in pixels.

[out] Format

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

[out] RefreshRate

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

[out] ScanlineOrdering

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

[out] Rotation

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

[out] Scaling

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

Requirements

Requirement Value
Minimum supported client 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