Microsoft DirectX 8.1 (C++)

D3DDISPLAYMODE

Describes the display mode.

typedef struct _D3DDISPLAYMODE {
    UINT            Width;
    UINT            Height;
    UINT            RefreshRate;
    D3DFORMAT       Format;
} D3DDISPLAYMODE;

Members

Width
Screen width, in pixels.
Height
Screen height, in pixels.
RefreshRate
Refresh rate. The value of 0 indicates an adapter default.
Format
Member of the D3DFORMAT enumerated type, describing the surface format of the display mode.

Requirements

  Header: Declared in D3d8types.h.

See Also

IDirect3D8::EnumAdapterModes, IDirect3D8::GetAdapterDisplayMode, IDirect3DDevice8::GetDisplayMode