Condividi tramite


DXGI_MODE_ROTATION enumeration

Flags that indicate how the back buffers should be rotated to fit the physical rotation of a monitor.

Syntax

typedef enum DXGI_MODE_ROTATION { 
  DXGI_MODE_ROTATION_UNSPECIFIED  = 0,
  DXGI_MODE_ROTATION_IDENTITY     = 1,
  DXGI_MODE_ROTATION_ROTATE90     = 2,
  DXGI_MODE_ROTATION_ROTATE180    = 3,
  DXGI_MODE_ROTATION_ROTATE270    = 4
} DXGI_MODE_ROTATION;

Constants

  • DXGI_MODE_ROTATION_UNSPECIFIED
    Unspecified rotation.

  • DXGI_MODE_ROTATION_IDENTITY
    Specifies no rotation.

  • DXGI_MODE_ROTATION_ROTATE90
    Specifies 90 degrees of rotation.

  • DXGI_MODE_ROTATION_ROTATE180
    Specifies 180 degrees of rotation.

  • DXGI_MODE_ROTATION_ROTATE270
    Specifies 270 degrees of rotation.

Requirements

Header

DXGI.h

See also

DXGI Enumerations

DXGI_OUTPUT_DESC

DXGI_OUTDUPL_DESC

IDXGISwapChain1::GetRotation

IDXGISwapChain1::SetRotation