D3DDISPLAYROTATION enumeration

Specifies how the monitor being used to display a full-screen application is rotated.

Syntax

typedef enum D3DDISPLAYROTATION { 
  D3DDISPLAYROTATION_IDENTITY  = 1,
  D3DDISPLAYROTATION_90        = 2,
  D3DDISPLAYROTATION_180       = 3,
  D3DDISPLAYROTATION_270       = 4
} D3DDISPLAYROTATION;

Constants

D3DDISPLAYROTATION_IDENTITY

Display is not rotated.

D3DDISPLAYROTATION_90

Display is rotated 90 degrees.

D3DDISPLAYROTATION_180

Display is rotated 180 degrees.

D3DDISPLAYROTATION_270

Display is rotated 270 degrees.

Remarks

This enumeration is used in IDirect3D9Ex::GetAdapterDisplayModeEx, IDirect3DDevice9Ex::GetDisplayModeEx, and IDirect3DSwapChain9Ex::GetDisplayModeEx.

Applications may choose to handle monitor rotation themselves by using the D3DPRESENTFLAG_NOAUTOROTATE, in which case, the application will need to know how the monitor is rotated so that it may adjust its rendering accordingly.

Requirements

Requirement Value
Header
D3d9types.h

See also

Direct3D Enumerations