DarkBASIC Professional Help File

DX11 GET DISPLAY MODE WIDTH

Retrieves the width, in pixels, of the n:th available display mode.

Syntax

    Return Dword = DX11 GET DISPLAY MODE WIDTH(id)

Parameters

    id

> Dword
> The supported display mode to get the width of. The valid range of indices is 0..(DX11 GET DISPLAY MODE COUNT() - 1).

Returns

The width of the display mode id in pixels, or zero if there is no such display mode (ie. id is out of range).

See also

DISPLAY Functions Menu
DX11 Function Categories