glActiveTexture, glBlendFunc, glCullFace, glDepthFunc, glDepthRange, glGet, glIsEnabled, glLineWidth, glLogicOp, glPointSize, glPolygonMode, glPolygonOffset, glSampleCoverage, glScissor, glStencilFunc, glStencilOp, glTexImage1D, glTexImage2D, glTexImage3D
Copyright© 1991-2006 Silicon Graphics, Inc. Copyright© 2011-2014 Khronos Group. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
Page generated by adrdox
glDisable: man4/glEnable.xml
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 and GL_MULTISAMPLE is GL_FALSE. The initial value for GL_DITHER and GL_MULTISAMPLE is GL_TRUE. Both glEnable and glDisable take a single argument, cap, which can assume one of the following values: Some of the GL's capabilities are indexed. glEnablei and glDisablei enable and disable indexed capabilities.
GL_PRIMITIVE_RESTART is available only if the GL version is 3.1 or greater. GL_TEXTURE_CUBE_MAP_SEAMLESS is available only if the GL version is 3.2 or greater. GL_PRIMITIVE_RESTART_FIXED_INDEX is available only if the GL version is 4.3 or greater. GL_DEBUG_OUTPUT and GL_DEBUG_OUTPUT_SYNCHRONOUS are available only if the GL version is 4.3 or greater. Any token accepted by glEnable or glDisable is also accepted by glEnablei and glDisablei, but if the capability is not indexed, the maximum value that index may take is zero. In general, passing an indexed capability to glEnable or glDisable will enable or disable that capability for all indices, resepectively.