set_mode


Description:

public bool set_mode (GraphicsMode mode, ...) throws Error

Set the graphics mode.

If a driver has not already been set, this will attempt to load the best available driver (the one with the most modes). The driver will then try to find the mode that best fits the size and color depth parameters. The exact behavior will depend on the video driver.

Parameters:

mode

The graphics mode.

...

Extra parameters determined by mode.

error

Error pointer.

Returns:

true on success, otherwise false.


Namespace: Grx
Package: grx-3.0