include more low-level bindings
[clinton/guile-figl.git] / upstream-man-pages / man4 / glBlendColor.xml
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">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>1991-2006</year>
9 <holder>Silicon Graphics, Inc.</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>glBlendColor</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>glBlendColor</refname>
17 <refpurpose>set the blend color</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>C Specification</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>void <function>glBlendColor</function></funcdef>
23 <paramdef>GLfloat <parameter>red</parameter></paramdef>
24 <paramdef>GLfloat <parameter>green</parameter></paramdef>
25 <paramdef>GLfloat <parameter>blue</parameter></paramdef>
26 <paramdef>GLfloat <parameter>alpha</parameter></paramdef>
27 </funcprototype>
28 </funcsynopsis>
29 </refsynopsisdiv>
30 <!-- eqn: ignoring delim $$ -->
31 <refsect1 id="parameters"><title>Parameters</title>
32 <variablelist>
33 <varlistentry>
34 <term><parameter>red</parameter></term>
35 <term><parameter>green</parameter></term>
36 <term><parameter>blue</parameter></term>
37 <term><parameter>alpha</parameter></term>
38 <listitem>
39 <para>
40 specify the components of <constant>GL_BLEND_COLOR</constant>
41 </para>
42 </listitem>
43 </varlistentry>
44 </variablelist>
45 </refsect1>
46 <refsect1 id="description"><title>Description</title>
47 <para>
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>
51 <!-- eqn: [0,1]: -->
52 <mml:mfenced open="[" close="]">
53 <mml:mn>0</mml:mn>
54 <mml:mn>1</mml:mn>
55 </mml:mfenced>
56 </mml:math></inlineequation>
57 before being stored. See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> for a complete description of the
58 blending operations.
59 Initially the <constant>GL_BLEND_COLOR</constant> is set to (0, 0, 0, 0).
60 </para>
61 </refsect1>
62 <refsect1 id="notes"><title>Notes</title>
63 <para>
64 The type of the <parameter>red</parameter>,
65 <parameter>green</parameter>, <parameter>blue</parameter>,
66 and <parameter>alpha</parameter> parameters was changed from
67 GLclampf to GLfloat. This change is transparent to user code
68 and is described in detail on the
69 <citerefentry><refentrytitle>removedTypes</refentrytitle></citerefentry>
70 page.
71 </para>
72 </refsect1>
73 <refsect1 id="associatedgets"><title>Associated Gets</title>
74 <para>
75 <citerefentry><refentrytitle>glGet</refentrytitle></citerefentry> with an argument of <constant>GL_BLEND_COLOR</constant>
76 </para>
77 </refsect1>
78 <refsect1 id="seealso"><title>See Also</title>
79 <para>
80 <citerefentry><refentrytitle>glBlendEquation</refentrytitle></citerefentry>,
81 <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>,
82 <citerefentry><refentrytitle>glGetString</refentrytitle></citerefentry>,
83 <citerefentry><refentrytitle>removedTypes</refentrytitle></citerefentry>
84 </para>
85 </refsect1>
86 <refsect1 id="Copyright"><title>Copyright</title>
87 <para>
88 Copyright <trademark class="copyright"></trademark> 1991-2006
89 Silicon Graphics, Inc. This document is licensed under the SGI
90 Free Software B License. For details, see
91 <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
92 </para>
93 </refsect1>
94 </refentry>