*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> glClearColor (3)              
Title
Content
Arch
Section
 

glClearColor(3G)

Contents


NAME    [Toc]    [Back]

       glClearColor - specify clear values for the color buffers

SYNOPSIS    [Toc]    [Back]

       void glClearColor(
               GLclampf red,
               GLclampf green,
               GLclampf blue,
               GLclampf alpha );

PARAMETERS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

       glClearColor()  specifies  the red, green, blue, and alpha
       values used by glClear() to clear the color buffers.  Values
  specified  by glClearColor() are clamped to the range
       [0, 1].

ERRORS    [Toc]    [Back]

       GL_INVALID_OPERATION is  generated  if  glClearColor()  is
       executed between the execution of glBegin() and the corresponding
 execution of glEnd().

ASSOCIATED GETS    [Toc]    [Back]

       glGet() with argument GL_COLOR_CLEAR_VALUE

SEE ALSO    [Toc]    [Back]

      
      
       glClear(3)



                                                 glClearColor(3G)
[ Back ]
 Similar pages
Name OS Title
glClearIndex Tru64 specify the clear value for the color index buffers
glclearindex IRIX specify the clear value for the color index buffers
glClear Tru64 clear buffers to preset values
glclear IRIX clear buffers to preset values
DXmColorMixSetNewColor Tru64 Sets the new color red, green, and blue values in the color mixing widget.
DXmColorMixGetNewColor Tru64 Retrieves (returns) the color mixing widget's current new color red, green, and blue values.
glDrawBuffer Tru64 specify which color buffers are to be drawn into
gldrawbuffer IRIX specify which color buffers are to be drawn into
mgx OpenBSD SMS MGX and MGXPlus accelerated 24-bit color frame buffers
mgx OpenBSD SMS MGX and MGXPlus accelerated 24-bit color frame buffers
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service