<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
<html
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:mml="http://www.w3.org/1998/Math/MathML"
><head><title>glBlendEquation</title><link rel="stylesheet" href="style.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.59.1"/><link rel="home" href="index.xml" title="PyOpenGL 2.0.1.07 Man Pages"/><link rel="up" href="reference-GL.xml" title="GL"/><link rel="previous" href="glBlendColor.3G.xml" title="glBlendColor"/><link rel="next" href="glBlendFunc.3G.xml" title="glBlendFunc"/></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">glBlendEquation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="glBlendColor.3G.xml">Prev</a> </td><th width="60%" align="center">GL</th><td width="20%" align="right"> <a accesskey="n" href="glBlendFunc.3G.xml">Next</a></td></tr></table><hr/></div><div class="refentry" lang="en"><a name="glBlendEquation.3G"/><div class="titlepage"/><div class="refnamediv"><a name="glBlendEquation.3G-name"/><h2>Name</h2><p>glBlendEquation &#8212; set the blend equation</p></div><div class="refsynopsisdiv"><a name="glBlendEquation.3G-c_spec"/><h2>C Specification</h2><table class="funcprototype" border="0" cellpadding="0" cellspacing="0"><tr><td valign="top"><code>void <tt>glBlendEquation</tt></code></td><td valign="top"><code>(</code></td><td valign="top"><code>GLenum <i><tt>mode</tt></i>);</code></td></tr></table></div><div class="refsynopsisdiv"><a name="glBlendEquation.3G-python_spec"/><h2>Python Specification</h2><table class="funcprototype" border="0" cellpadding="0" cellspacing="0"><tr><td valign="top"><code><tt>glBlendEquation</tt></code></td><td valign="top"><code>(</code></td><td valign="top"><code><i><tt>mode</tt></i>) &#8594; <tt>None</tt></code></td></tr></table></div><div class="refsect1" lang="en"><a name="glBlendEquation.3G-parameters"/><h2>Parameters</h2><div class="variablelist"><dl><dt><span class="term"><i><tt>mode</tt></i></span></dt><dd>
						specifies how source and destination colors are combined. It must be <tt>GL_FUNC_ADD</tt>,
						<tt>GL_FUNC_SUBTRACT</tt>, <tt>GL_FUNC_REVERSE_SUBTRACT</tt>,
						<tt>GL_MIN</tt>, <tt>GL_MAX</tt>.
					</dd></dl></div></div><div class="refsect1" lang="en"><a name="glBlendEquation.3G-description"/><h2>Description</h2><p>
			The blend equation determines how a new pixel (the "source" color) is combined with a pixel already in the
			framebuffer (the "destination" color).
		</p><div class="variablelist"><dl><dt><span class="term"><tt>GL_MIN</tt></span></dt><dd>
						sets the blend equation so that each component of the result color is the minimum of the corresponding
						components of the source and destination colors.
					</dd><dt><span class="term"><tt>GL_MAX</tt></span></dt><dd>
						sets the blend equation so that each component of the result color is the maximum of the corresponding
						components of the source and destination colors.
					</dd></dl></div><p>
			The remaining blend equations use the source and destination blend factors specified by <a href="glBlendFunc.3G.xml"><tt>glBlendFunc</tt></a>. See <a href="glBlendFunc.3G.xml"><tt>glBlendFunc</tt></a> for a description
			of the various blend factors.
		</p><p>
			In the equations that follow, source and destination color components are referred to as <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
					<mml:mfenced separator=",">
						<mml:msub>
							<mml:mi>R</mml:mi>
							<mml:mi>s</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>G</mml:mi>
							<mml:mi>s</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>B</mml:mi>
							<mml:mi>s</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>A</mml:mi>
							<mml:mi>s</mml:mi>
						</mml:msub>
					</mml:mfenced>
				</mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
					<mml:mfenced separator=",">
						<mml:msub>
							<mml:mi>R</mml:mi>
							<mml:mi>d</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>G</mml:mi>
							<mml:mi>d</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>B</mml:mi>
							<mml:mi>d</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>A</mml:mi>
							<mml:mi>d</mml:mi>
						</mml:msub>
					</mml:mfenced>
				</mml:math> respectively. The result color is referred to as <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
					<mml:mfenced separator=",">
						<mml:msub>
							<mml:mi>R</mml:mi>
							<mml:mi>r</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>G</mml:mi>
							<mml:mi>r</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>B</mml:mi>
							<mml:mi>r</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>A</mml:mi>
							<mml:mi>r</mml:mi>
						</mml:msub>
					</mml:mfenced>
				</mml:math>. The source and destination blend factors are denoted <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
					<mml:mfenced separator=",">
						<mml:msub>
							<mml:mi>s</mml:mi>
							<mml:mi>R</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>s</mml:mi>
							<mml:mi>G</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>s</mml:mi>
							<mml:mi>B</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>s</mml:mi>
							<mml:mi>A</mml:mi>
						</mml:msub>
					</mml:mfenced>
				</mml:math> and <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
					<mml:mfenced separator=",">
						<mml:msub>
							<mml:mi>d</mml:mi>
							<mml:mi>R</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>d</mml:mi>
							<mml:mi>G</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>d</mml:mi>
							<mml:mi>B</mml:mi>
						</mml:msub>
						<mml:msub>
							<mml:mi>d</mml:mi>
							<mml:mi>A</mml:mi>
						</mml:msub>
					</mml:mfenced>
				</mml:math>, respectively. For these equations all color components are understood to have values in the range
			<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
					<mml:mfenced separator="," open="[" close="]">
						<mml:mn>0</mml:mn>
						<mml:mn>1</mml:mn>
					</mml:mfenced>
				</mml:math>.
		</p><div class="variablelist"><dl><dt><span class="term"><tt>GL_FUNC_ADD</tt></span></dt><dd><p>
						sets the blend equation so that the source and destination data are added. Each component of the source
						color is multiplied by the corresponding source factor, then each component of the destination color is
						multiplied by the corresponding destination factor. The result is the componentwise sum of the two
						products, clamped to the range <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
								<mml:mfenced separator="," open="[" close="]">
									<mml:mn>0</mml:mn>
									<mml:mn>1</mml:mn>
								</mml:mfenced>
							</mml:math>.
					</p><div class="informalequation"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" mode="display" overflow="scroll">
							<mml:mtable>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>R</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>1</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>R</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>R</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>+</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>R</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>R</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>G</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>1</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>G</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>G</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>+</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>G</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>G</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>B</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>1</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>B</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>B</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>+</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>B</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>B</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>A</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>1</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>A</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>A</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>+</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>A</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>A</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
							</mml:mtable>
						</mml:math></div></dd><dt><span class="term"><tt>GL_FUNC_SUBTRACT</tt></span></dt><dd><p>
						Is like <tt>GL_FUNC_ADD</tt> except the product of the destination factor and the destination
						color is componentwise subtracted from the product of the source factor and the source color. The result is
						clamped to the range <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
								<mml:mfenced separator="," open="[" close="]">
									<mml:mn>0</mml:mn>
									<mml:mn>1</mml:mn>
								</mml:mfenced>
							</mml:math>.
					</p><div class="informalequation"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" mode="display" overflow="scroll">
							<mml:mtable>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>R</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>0</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>R</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>R</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>-</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>R</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>R</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>G</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>0</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>G</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>G</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>-</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>G</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>G</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>B</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>0</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>B</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>B</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>-</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>B</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>B</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>A</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>0</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>A</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>A</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>-</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>A</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>A</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
							</mml:mtable>
						</mml:math></div></dd><dt><span class="term"><tt>GL_FUNC_REVERSE_SUBTRACT</tt></span></dt><dd><p>
						Is like <tt>GL_FUNC_ADD</tt> except the product of the source factor and the source color is
						componentwise subtracted from the product of the destination factor and the destination color. The result
						is clamped to the range <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
								<mml:mfenced separator="," open="[" close="]">
									<mml:mn>0</mml:mn>
									<mml:mn>1</mml:mn>
								</mml:mfenced>
							</mml:math>.
					</p><div class="informalequation"><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" mode="display" overflow="scroll">
							<mml:mtable>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>R</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>0</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>R</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>R</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>-</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>R</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>R</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>G</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>0</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>G</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>G</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>-</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>G</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>G</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>B</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>0</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>B</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>B</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>-</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>B</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>B</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
								<mml:mtr>
									<mml:mtd>
										<mml:msub>
											<mml:mi>A</mml:mi>
											<mml:mi>r</mml:mi>
										</mml:msub>
										<mml:mo>=</mml:mo>
										<mml:mi>min</mml:mi>
										<mml:mfenced separator=",">
											<mml:mn>0</mml:mn>
											<mml:mrow>
												<mml:mrow>
													<mml:msub>
														<mml:mi>A</mml:mi>
														<mml:mi>d</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>d</mml:mi>
														<mml:mi>A</mml:mi>
													</mml:msub>
												</mml:mrow>
												<mml:mo>-</mml:mo>
												<mml:mrow>
													<mml:msub>
														<mml:mi>A</mml:mi>
														<mml:mi>s</mml:mi>
													</mml:msub>
													<mml:msub>
														<mml:mi>s</mml:mi>
														<mml:mi>A</mml:mi>
													</mml:msub>
												</mml:mrow>
											</mml:mrow>
										</mml:mfenced>
									</mml:mtd>
								</mml:mtr>
							</mml:mtable>
						</mml:math></div></dd></dl></div><p>
			The <tt>GL_MIN</tt> and <tt>GL_MAX</tt> equations are useful for applications that analyze
		</p><p>
			image data (image thresholding against a constant color, for example). The <tt>GL_FUNC_ADD</tt> equation is
			useful for antialiasing and transparency, among other things.
		</p><p>
			Initially, the blend equation is set to <tt>GL_FUNC_ADD</tt>.
		</p></div><div class="refsect1" lang="en"><a name="glBlendEquation.3G-notes"/><h2>Notes</h2><p>
			<tt>glBlendEquation</tt> is part of the <tt>GL_ARB_imaging</tt> subset.
			<tt>glBlendEquation</tt> is present only if <tt>GL_ARB_imaging</tt> is returned when <a href="glGetString.3G.xml"><tt>glGetString</tt></a> is called with <tt>GL_EXTENSIONS</tt> as its argument.
		</p><p>
			The <tt>GL_MIN</tt>, and <tt>GL_MAX</tt> equations do not use the source or destination
			factors, only the source and destination colors.
		</p></div><div class="refsect1" lang="en"><a name="glBlendEquation.3G-errors"/><h2>Errors</h2><p>
			<tt>GL_INVALID_ENUM</tt> is generated if <i><tt>mode</tt></i> is not one of
			<tt>GL_FUNC_ADD</tt>, <tt>GL_FUNC_SUBTRACT</tt>, <tt>GL_FUNC_REVERSE_SUBTRACT</tt>,
			<tt>GL_MAX</tt>, or <tt>GL_MIN</tt>.
		</p><p>
			<tt>GL_INVALID_OPERATION</tt> is generated if <tt>glBlendEquation</tt> is executed between the
			execution of <a href="glBegin.3G.xml"><tt>glBegin</tt></a> and the corresponding execution of <a href="glBegin.3G.xml"><tt>glEnd</tt></a>.
		</p></div><div class="refsect1" lang="en"><a name="glBlendEquation.3G-associated_gets"/><h2>Associated Gets</h2><p>
			<tt>glGet</tt> with an argument of <tt>GL_BLEND_EQUATION</tt>
		</p></div><div class="refsect1" lang="en"><a name="glBlendEquation.3G-see_also"/><h2>See Also</h2><p>
			<span class="simplelist"><a href="glGetString.3G.xml">glGetString</a>, <a href="glBlendColor.3G.xml">glBlendColor</a>, <a href="glBlendFunc.3G.xml">glBlendFunc</a></span>
		</p></div></div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="glBlendColor.3G.xml">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference-GL.xml">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="glBlendFunc.3G.xml">Next</a></td></tr><tr><td width="40%" align="left" valign="top">glBlendColor </td><td width="20%" align="center"><a accesskey="h" href="index.xml">Home</a></td><td width="40%" align="right" valign="top"> glBlendFunc</td></tr></table></div></body></html>
