GLBasic User Manual

Main sections

BLACKSCREEN

BLACKSCREEN



This command sets the back buffer to a clear black screen. This command overwrites any changes to the back buffer that have been made with the LOADBMP or USEASBMP commands. See the 2D Graphics tutorial for more information on double buffering.

Sample:

LOADBMP "Image.bmp"
BLACKSCREEN // Black again
PRINT "Hello World", 100, 100
SHOWSCREEN
MOUSEWAIT

See also...