Glenable - HP b2600 Reference Manual

Opengl 1.1 reference
Hide thumbs Also See for b2600:
Table of Contents

glEnable

glEnable, glDisable: enable or disable server-side GL capabilities.
C Specification
void glEnable(
void glDisable(
Parameters
cap
Description
glEnable and glDisable enable and disable various capabilities. Use glIsEnabled or
glGet to determine the current setting of any capability. The initial value for each
capability with the exception of GL_DITHER is GL_FALSE. The initial value for
GL_DITHER is GL_TRUE.
Both glEnable and glDisable take a single argument, cap, which can assume one of the
following values:
GL_ALPHA_TEST
If enabled, do alpha testing. See glAlphaFunc.
GL_AUTO_NORMAL
If enabled, generate normal vectors when either GL_MAP2_VERTEX_3 or
GL_MAP2_VERTEX_4 is used to generate vertices. See glMap2.
GL_BLEND
If enabled, blend the incoming RGBA color values with the values in the color buffers.
See glBlendFunc.
GL_CLIP_PLANEi
If enabled, clip geometry against user-defined clipping plane i. See glClipPlane.
GL_COLOR_LOGIC_OP
If enabled, apply the currently selected logical operation to the incoming RGBA color and
color buffer values. See glLogicOp.
GL_COLOR_MATERIAL
If enabled, have one or more material parameters track the current color. See
glColorMaterial.
GL_CULL_FACE
If enabled, cull polygons based on their winding in window coordinates. See glCullFace.
GL_DEPTH_TEST
Chapter 5
GLenum cap)
GLenum cap)
Specifies a symbolic constant indicating a GL capability.
E
glEnable
131

Hide quick links:

Table of Contents
loading

Table of Contents