1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"glBlendColor">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glBlendColor
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glBlendColor
</refname>
17 <refpurpose>set the blend color
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glBlendColor
</function></funcdef>
23 <paramdef>GLclampf
<parameter>red
</parameter></paramdef>
24 <paramdef>GLclampf
<parameter>green
</parameter></paramdef>
25 <paramdef>GLclampf
<parameter>blue
</parameter></paramdef>
26 <paramdef>GLclampf
<parameter>alpha
</parameter></paramdef>
30 <!-- eqn: ignoring delim $$ -->
31 <refsect1 id=
"parameters"><title>Parameters
</title>
34 <term><parameter>red
</parameter></term>
35 <term><parameter>green
</parameter></term>
36 <term><parameter>blue
</parameter></term>
37 <term><parameter>alpha
</parameter></term>
40 specify the components of
<constant>GL_BLEND_COLOR
</constant>
46 <refsect1 id=
"description"><title>Description
</title>
48 The
<constant>GL_BLEND_COLOR
</constant> may be used to calculate the source and destination
49 blending factors. The color components are clamped to the range
50 <inlineequation><mml:math>
52 <mml:mfenced open=
"[" close=
"]">
56 </mml:math></inlineequation>
57 before being stored. See
<citerefentry><refentrytitle>glBlendFunc
</refentrytitle></citerefentry> for a complete description of the
59 Initially the
<constant>GL_BLEND_COLOR
</constant> is set to (
0,
0,
0,
0).
62 <refsect1 id=
"associatedgets"><title>Associated Gets
</title>
64 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with an argument of
<constant>GL_BLEND_COLOR
</constant>
67 <refsect1 id=
"seealso"><title>See Also
</title>
69 <citerefentry><refentrytitle>glBlendEquation
</refentrytitle></citerefentry>,
70 <citerefentry><refentrytitle>glBlendFunc
</refentrytitle></citerefentry>,
71 <citerefentry><refentrytitle>glGetString
</refentrytitle></citerefentry>
74 <refsect1 id=
"Copyright"><title>Copyright
</title>
76 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
77 Silicon Graphics, Inc. This document is licensed under the SGI
78 Free Software B License. For details, see
79 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.