Gl.ClearAccum (gb.opengl)

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

Specify clear values for the accumulation buffer.

Parameters

red, green, blue, alpha

Specify the red, green, blue, and alpha values used when the accumulation buffer is cleared. The initial values are all 0.

Description

Gl.ClearAccum specifies the red, green, blue, and alpha values used by Gl.Clear to clear the accumulation buffer.

Values specified by Gl.ClearAccum are clamped to the range -1 1 .

Errors

Gl.INVALID_OPERATION is generated if Gl.ClearAccum is executed between the execution of Gl.Begin and the corresponding execution of Gl.End.

Associated Gets

Gl.Get with argument Gl.ACCUM_CLEAR_VALUE

See Also

Gl.Accum, Gl.Clear


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