DarkBASIC Professional Help File

DX11 GET SCREEN WIDTH

Retrieves the width of the screen in pixels.
This will return the with value passed to DX11 INIT and corresponds to the resolution of the back-/front buffer;
it will not change if you resize the rendering window.

Syntax

    Return Dword = DX11 GET SCREEN WIDTH()

Parameters

    This function does not take any parameters.

Returns

The horizontal resolution of the render buffer.

See also

CORE Functions Menu
DX11 Function Categories