[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

glBlendColorEXT Subroutine

Purpose

Sets the blend color. This subroutine is part of OpenGL 1.2 ARB Imaging subset extension.

Library

OpenGL C bindings library: libGL.a

C Syntax

void glBlendColorEXT(GLclampf red, 
                     GLclampf green, 
                     GLclampf blue, 
                     GLclampf alpha)

Description

The GL_BLEND_COLOR_EXT may be used to calculate the source and destination blending factors. See glBlendFunc for a complete description of the blending operations. Initially the GL_BLEND_COLOR_EXT is set to (0, 0, 0, 0).

Parameters

red, green, blue, alpha Specify the components of GL_BLEND_COLOR_EXT.

Notes

The glBlendColorEXT subroutine is available only if the GL version is 1.1 or greater.

Errors

GL_INVALID_OPERATION The glBlendColorEXT is called between a call to glBegin and the corresponding call to glEnd.

Associated Gets

glGet with argument GL_BLEND_COLOR_EXT.

Related Information

The glBlendFunc subroutine, glGetString subroutine.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]