DarkBASIC Professional Help File

DX11 IS VALID DISPLAY MODE

This is a convenience function to check whether the specified display mode settings are valid prior to calling
DX11 SET DISPLAY MODE. You could also perform this check yourself using the DX11 GET DISPLAY MODE ???? functions.

Syntax

    Return Boolean = DX11 IS VALID DISPLAY MODE(width, height)

Parameters

    width

> Dword
> The width of the display mode to check whether it is valid.

    height

> Dword
> The height of the display mode to check whether it is valid.

Returns

true if the specified display mode is supported by the active graphics device and monitor, and false otherwise.

See also

DISPLAY Functions Menu
DX11 Function Categories