MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
GLBLENDCOLOR(3G)                                              GLBLENDCOLOR(3G)



NAME
       glBlendColor - set the blend color


C SPECIFICATION
       void glBlendColor( GLclampf red,
                          GLclampf green,
                          GLclampf blue,
                          GLclampf alpha )


PARAMETERS
       red, green, blue, alpha
                             specify the components of GLBLENDCOLOR

DESCRIPTION
       The  GLBLENDCOLOR may be used to calculate the source and destination
       blending factors. The color components are clamped to the range  [0, 1]
       before  being stored. See glBlendFunc for a complete description of the
       blending operations.  Initially the GLBLENDCOLOR is set to (0, 0,  0,
       0).

NOTES
       glBlendColor  is  part  of  the  GLARBimaging subset. glBlendColor is
       present only if GLARBimaging is returned when glGetString  is  called
       with GLEXTENSIONS as its argument.

ERORS
       GLINVALIDOPERATION  is  generated if glBlendColor is executed between
       the execution of glBegin and the corresponding execution of glEnd.


ASOCIATED GETS
       glGet with an argument of GLBLENDCOLOR

SEE ALSO
       glBlendEquation, glBlendFunc, glGetString



                                                              GLBLENDCOLOR(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™