Gl.ClearColor (gb.opengl)

Static Sub ClearColor ( Red As Float, Green As Float, Blue As Float, Alpha As Float )

Specify clear values for the color buffers.

Parameters

red, green, blue, alpha

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.

Description

Gl.ClearColor specifies the red, green, blue, and alpha values used by Gl.Clear to clear the color buffers. Values specified by Gl.ClearColor are clamped to the range 0 1 .

Associated Gets

Gl.Get with argument Gl.COLOR_CLEAR_VALUE

See also


Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB.

➡ See original documentation