From 40f29f52bc0a12d928ecb8943db2564adf129f1a Mon Sep 17 00:00:00 2001 From: Matthias Reitinger Date: Sun, 4 Oct 2015 04:05:31 +0200 Subject: [PATCH] Remove obsolete table attributes --- es1/glActiveTexture.xhtml | 2 +- es1/glAlphaFunc.xhtml | 6 +- es1/glBindBuffer.xhtml | 26 +++--- es1/glBindTexture.xhtml | 4 +- es1/glBlendFunc.xhtml | 4 +- es1/glBufferData.xhtml | 2 +- es1/glBufferSubData.xhtml | 2 +- es1/glClear.xhtml | 4 +- es1/glClearColor.xhtml | 4 +- es1/glClearDepth.xhtml | 4 +- es1/glClearStencil.xhtml | 2 +- es1/glClientActiveTexture.xhtml | 2 +- es1/glClipPlane.xhtml | 2 +- es1/glColor.xhtml | 4 +- es1/glColorMask.xhtml | 4 +- es1/glColorPointer.xhtml | 4 +- es1/glCompressedTexImage2D.xhtml | 2 +- es1/glCompressedTexSubImage2D.xhtml | 2 +- es1/glCopyTexImage2D.xhtml | 2 +- es1/glCopyTexSubImage2D.xhtml | 2 +- es1/glCullFace.xhtml | 4 +- es1/glDeleteBuffers.xhtml | 4 +- es1/glDeleteTextures.xhtml | 4 +- es1/glDepthFunc.xhtml | 4 +- es1/glDepthMask.xhtml | 4 +- es1/glDepthRange.xhtml | 2 +- es1/glDrawArrays.xhtml | 4 +- es1/glDrawElements.xhtml | 4 +- es1/glEnable.xhtml | 32 ++++---- es1/glEnableClientState.xhtml | 8 +- es1/glFinish.xhtml | 6 +- es1/glFlush.xhtml | 4 +- es1/glFog.xhtml | 4 +- es1/glFrontFace.xhtml | 4 +- es1/glFrustum.xhtml | 2 +- es1/glGenBuffers.xhtml | 6 +- es1/glGenTextures.xhtml | 4 +- es1/glGet.xhtml | 2 +- es1/glGetBufferParameteriv.xhtml | 8 +- es1/glGetClipPlane.xhtml | 2 +- es1/glGetError.xhtml | 4 +- es1/glGetLight.xhtml | 2 +- es1/glGetMaterial.xhtml | 18 ++--- es1/glGetPointerv.xhtml | 14 ++-- es1/glGetString.xhtml | 8 +- es1/glGetTexEnv.xhtml | 2 +- es1/glGetTexParameter.xhtml | 4 +- es1/glHint.xhtml | 4 +- es1/glIsBuffer.xhtml | 4 +- es1/glIsEnabled.xhtml | 4 +- es1/glIsTexture.xhtml | 4 +- es1/glLight.xhtml | 4 +- es1/glLightModel.xhtml | 8 +- es1/glLineWidth.xhtml | 2 +- es1/glLoadIdentity.xhtml | 2 +- es1/glLoadMatrix.xhtml | 2 +- es1/glLogicOp.xhtml | 4 +- es1/glMaterial.xhtml | 6 +- es1/glMatrixMode.xhtml | 14 ++-- es1/glMultMatrix.xhtml | 2 +- es1/glMultiTexCoord.xhtml | 2 +- es1/glNormal.xhtml | 4 +- es1/glNormalPointer.xhtml | 4 +- es1/glOrtho.xhtml | 2 +- es1/glPixelStorei.xhtml | 6 +- es1/glPointParameter.xhtml | 6 +- es1/glPointSize.xhtml | 2 +- es1/glPointSizePointerOES.xhtml | 8 +- es1/glPolygonOffset.xhtml | 2 +- es1/glPushMatrix.xhtml | 4 +- es1/glReadPixels.xhtml | 2 +- es1/glRotate.xhtml | 2 +- es1/glSampleCoverage.xhtml | 4 +- es1/glScale.xhtml | 2 +- es1/glScissor.xhtml | 4 +- es1/glShadeModel.xhtml | 4 +- es1/glStencilFunc.xhtml | 2 +- es1/glStencilMask.xhtml | 6 +- es1/glStencilOp.xhtml | 2 +- es1/glTexCoordPointer.xhtml | 4 +- es1/glTexEnv.xhtml | 16 ++-- es1/glTexImage2D.xhtml | 2 +- es1/glTexParameter.xhtml | 4 +- es1/glTexSubImage2D.xhtml | 2 +- es1/glTranslate.xhtml | 2 +- es1/glVertexPointer.xhtml | 4 +- es1/glViewport.xhtml | 2 +- es2/glActiveTexture.xhtml | 2 +- es2/glAttachShader.xhtml | 16 ++-- es2/glBindAttribLocation.xhtml | 8 +- es2/glBindBuffer.xhtml | 24 +++--- es2/glBindFramebuffer.xhtml | 30 +++---- es2/glBindRenderbuffer.xhtml | 14 ++-- es2/glBindTexture.xhtml | 6 +- es2/glBlendColor.xhtml | 2 +- es2/glBlendEquation.xhtml | 4 +- es2/glBlendEquationSeparate.xhtml | 4 +- es2/glBlendFunc.xhtml | 4 +- es2/glBlendFuncSeparate.xhtml | 4 +- es2/glBufferData.xhtml | 2 +- es2/glBufferSubData.xhtml | 2 +- es2/glCheckFramebufferStatus.xhtml | 24 +++--- es2/glClear.xhtml | 4 +- es2/glClearColor.xhtml | 2 +- es2/glClearDepthf.xhtml | 2 +- es2/glClearStencil.xhtml | 2 +- es2/glColorMask.xhtml | 4 +- es2/glCompileShader.xhtml | 12 +-- es2/glCompressedTexImage2D.xhtml | 2 +- es2/glCompressedTexSubImage2D.xhtml | 2 +- es2/glCopyTexImage2D.xhtml | 2 +- es2/glCopyTexSubImage2D.xhtml | 2 +- es2/glCreateProgram.xhtml | 8 +- es2/glCreateShader.xhtml | 8 +- es2/glCullFace.xhtml | 4 +- es2/glDeleteBuffers.xhtml | 8 +- es2/glDeleteFramebuffers.xhtml | 8 +- es2/glDeleteProgram.xhtml | 8 +- es2/glDeleteRenderbuffers.xhtml | 10 +-- es2/glDeleteShader.xhtml | 8 +- es2/glDeleteTextures.xhtml | 4 +- es2/glDepthFunc.xhtml | 6 +- es2/glDepthMask.xhtml | 4 +- es2/glDepthRangef.xhtml | 2 +- es2/glDetachShader.xhtml | 8 +- es2/glDrawArrays.xhtml | 14 ++-- es2/glDrawElements.xhtml | 14 ++-- es2/glEnable.xhtml | 6 +- es2/glEnableVertexAttribArray.xhtml | 8 +- es2/glFinish.xhtml | 4 +- es2/glFlush.xhtml | 4 +- es2/glFramebufferRenderbuffer.xhtml | 32 ++++---- es2/glFramebufferTexture2D.xhtml | 44 +++++----- es2/glFrontFace.xhtml | 4 +- es2/glGenBuffers.xhtml | 8 +- es2/glGenFramebuffers.xhtml | 8 +- es2/glGenRenderbuffers.xhtml | 8 +- es2/glGenTextures.xhtml | 4 +- es2/glGenerateMipmap.xhtml | 12 +-- es2/glGet.xhtml | 2 +- es2/glGetActiveAttrib.xhtml | 8 +- es2/glGetActiveUniform.xhtml | 8 +- es2/glGetAttachedShaders.xhtml | 8 +- es2/glGetAttribLocation.xhtml | 8 +- es2/glGetBufferParameteriv.xhtml | 10 +-- es2/glGetError.xhtml | 8 +- ...lGetFramebufferAttachmentParameteriv.xhtml | 48 +++++------ es2/glGetProgramInfoLog.xhtml | 8 +- es2/glGetProgramiv.xhtml | 8 +- es2/glGetRenderbufferParameteriv.xhtml | 40 +++++----- es2/glGetShaderInfoLog.xhtml | 8 +- es2/glGetShaderPrecisionFormat.xhtml | 2 +- es2/glGetShaderSource.xhtml | 8 +- es2/glGetShaderiv.xhtml | 20 ++--- es2/glGetString.xhtml | 4 +- es2/glGetTexParameter.xhtml | 2 +- es2/glGetUniform.xhtml | 8 +- es2/glGetUniformLocation.xhtml | 8 +- es2/glGetVertexAttrib.xhtml | 14 ++-- es2/glGetVertexAttribPointerv.xhtml | 10 +-- es2/glHint.xhtml | 4 +- es2/glIsBuffer.xhtml | 8 +- es2/glIsEnabled.xhtml | 8 +- es2/glIsFramebuffer.xhtml | 8 +- es2/glIsProgram.xhtml | 16 ++-- es2/glIsRenderbuffer.xhtml | 8 +- es2/glIsShader.xhtml | 16 ++-- es2/glIsTexture.xhtml | 4 +- es2/glLineWidth.xhtml | 2 +- es2/glLinkProgram.xhtml | 18 ++--- es2/glPixelStorei.xhtml | 8 +- es2/glPolygonOffset.xhtml | 2 +- es2/glReadPixels.xhtml | 2 +- es2/glReleaseShaderCompiler.xhtml | 10 +-- es2/glRenderbufferStorage.xhtml | 22 ++--- es2/glSampleCoverage.xhtml | 2 +- es2/glScissor.xhtml | 4 +- es2/glShaderBinary.xhtml | 16 ++-- es2/glShaderSource.xhtml | 14 ++-- es2/glStencilFunc.xhtml | 2 +- es2/glStencilFuncSeparate.xhtml | 2 +- es2/glStencilMask.xhtml | 2 +- es2/glStencilMaskSeparate.xhtml | 2 +- es2/glStencilOp.xhtml | 2 +- es2/glStencilOpSeparate.xhtml | 2 +- es2/glTexImage2D.xhtml | 2 +- es2/glTexParameter.xhtml | 4 +- es2/glTexSubImage2D.xhtml | 2 +- es2/glUniform.xhtml | 16 ++-- es2/glUseProgram.xhtml | 8 +- es2/glValidateProgram.xhtml | 8 +- es2/glVertexAttrib.xhtml | 12 +-- es2/glVertexAttribPointer.xhtml | 16 ++-- es2/glViewport.xhtml | 2 +- gl2/glAccum.xhtml | 2 +- gl2/glActiveTexture.xhtml | 2 +- gl2/glAlphaFunc.xhtml | 2 +- gl2/glAreTexturesResident.xhtml | 4 +- gl2/glArrayElement.xhtml | 4 +- gl2/glAttachShader.xhtml | 8 +- gl2/glBegin.xhtml | 4 +- gl2/glBeginQuery.xhtml | 10 +-- gl2/glBindAttribLocation.xhtml | 8 +- gl2/glBindBuffer.xhtml | 50 ++++++------ gl2/glBindTexture.xhtml | 4 +- gl2/glBitmap.xhtml | 2 +- gl2/glBlendColor.xhtml | 2 +- gl2/glBlendEquation.xhtml | 4 +- gl2/glBlendEquationSeparate.xhtml | 4 +- gl2/glBlendFunc.xhtml | 4 +- gl2/glBlendFuncSeparate.xhtml | 4 +- gl2/glBufferData.xhtml | 2 +- gl2/glBufferSubData.xhtml | 2 +- gl2/glCallList.xhtml | 4 +- gl2/glCallLists.xhtml | 2 +- gl2/glClear.xhtml | 4 +- gl2/glClearAccum.xhtml | 2 +- gl2/glClearColor.xhtml | 2 +- gl2/glClearDepth.xhtml | 2 +- gl2/glClearIndex.xhtml | 2 +- gl2/glClearStencil.xhtml | 2 +- gl2/glClientActiveTexture.xhtml | 2 +- gl2/glClipPlane.xhtml | 2 +- gl2/glColor.xhtml | 4 +- gl2/glColorMask.xhtml | 4 +- gl2/glColorMaterial.xhtml | 4 +- gl2/glColorPointer.xhtml | 6 +- gl2/glColorSubTable.xhtml | 2 +- gl2/glColorTable.xhtml | 8 +- gl2/glColorTableParameter.xhtml | 4 +- gl2/glCompileShader.xhtml | 8 +- gl2/glCompressedTexImage1D.xhtml | 2 +- gl2/glCompressedTexImage2D.xhtml | 2 +- gl2/glCompressedTexImage3D.xhtml | 2 +- gl2/glCompressedTexSubImage1D.xhtml | 2 +- gl2/glCompressedTexSubImage2D.xhtml | 2 +- gl2/glCompressedTexSubImage3D.xhtml | 2 +- gl2/glConvolutionFilter1D.xhtml | 22 ++--- gl2/glConvolutionFilter2D.xhtml | 22 ++--- gl2/glConvolutionParameter.xhtml | 4 +- gl2/glCopyColorSubTable.xhtml | 2 +- gl2/glCopyColorTable.xhtml | 4 +- gl2/glCopyConvolutionFilter1D.xhtml | 16 ++-- gl2/glCopyConvolutionFilter2D.xhtml | 16 ++-- gl2/glCopyPixels.xhtml | 2 +- gl2/glCopyTexImage1D.xhtml | 2 +- gl2/glCopyTexImage2D.xhtml | 2 +- gl2/glCopyTexSubImage1D.xhtml | 2 +- gl2/glCopyTexSubImage2D.xhtml | 2 +- gl2/glCopyTexSubImage3D.xhtml | 2 +- gl2/glCreateProgram.xhtml | 8 +- gl2/glCreateShader.xhtml | 8 +- gl2/glCullFace.xhtml | 4 +- gl2/glDeleteBuffers.xhtml | 8 +- gl2/glDeleteLists.xhtml | 2 +- gl2/glDeleteProgram.xhtml | 8 +- gl2/glDeleteQueries.xhtml | 8 +- gl2/glDeleteShader.xhtml | 8 +- gl2/glDeleteTextures.xhtml | 4 +- gl2/glDepthFunc.xhtml | 4 +- gl2/glDepthMask.xhtml | 4 +- gl2/glDepthRange.xhtml | 2 +- gl2/glDetachShader.xhtml | 8 +- gl2/glDrawArrays.xhtml | 4 +- gl2/glDrawBuffer.xhtml | 2 +- gl2/glDrawBuffers.xhtml | 8 +- gl2/glDrawElements.xhtml | 4 +- gl2/glDrawPixels.xhtml | 4 +- gl2/glDrawRangeElements.xhtml | 2 +- gl2/glEdgeFlag.xhtml | 6 +- gl2/glEdgeFlagPointer.xhtml | 6 +- gl2/glEnable.xhtml | 24 +++--- gl2/glEnableClientState.xhtml | 6 +- gl2/glEnableVertexAttribArray.xhtml | 8 +- gl2/glEvalCoord.xhtml | 4 +- gl2/glEvalMesh.xhtml | 4 +- gl2/glEvalPoint.xhtml | 2 +- gl2/glFeedbackBuffer.xhtml | 4 +- gl2/glFinish.xhtml | 4 +- gl2/glFlush.xhtml | 4 +- gl2/glFog.xhtml | 4 +- gl2/glFogCoord.xhtml | 6 +- gl2/glFogCoordPointer.xhtml | 6 +- gl2/glFrontFace.xhtml | 4 +- gl2/glFrustum.xhtml | 2 +- gl2/glGenBuffers.xhtml | 8 +- gl2/glGenLists.xhtml | 2 +- gl2/glGenQueries.xhtml | 10 +-- gl2/glGenTextures.xhtml | 4 +- gl2/glGet.xhtml | 2 +- gl2/glGetActiveAttrib.xhtml | 8 +- gl2/glGetActiveUniform.xhtml | 8 +- gl2/glGetAttachedShaders.xhtml | 8 +- gl2/glGetAttribLocation.xhtml | 8 +- gl2/glGetBufferParameteriv.xhtml | 20 ++--- gl2/glGetBufferPointerv.xhtml | 12 +-- gl2/glGetBufferSubData.xhtml | 22 ++--- gl2/glGetClipPlane.xhtml | 2 +- gl2/glGetColorTable.xhtml | 12 +-- gl2/glGetColorTableParameter.xhtml | 6 +- gl2/glGetCompressedTexImage.xhtml | 2 +- gl2/glGetConvolutionFilter.xhtml | 12 +-- gl2/glGetConvolutionParameter.xhtml | 4 +- gl2/glGetError.xhtml | 4 +- gl2/glGetHistogram.xhtml | 12 +-- gl2/glGetHistogramParameter.xhtml | 6 +- gl2/glGetLight.xhtml | 2 +- gl2/glGetMap.xhtml | 2 +- gl2/glGetMaterial.xhtml | 2 +- gl2/glGetMinmax.xhtml | 12 +-- gl2/glGetMinmaxParameter.xhtml | 6 +- gl2/glGetPixelMap.xhtml | 14 ++-- gl2/glGetPointerv.xhtml | 8 +- gl2/glGetPolygonStipple.xhtml | 2 +- gl2/glGetProgram.xhtml | 8 +- gl2/glGetProgramInfoLog.xhtml | 8 +- gl2/glGetQueryObject.xhtml | 16 ++-- gl2/glGetQueryiv.xhtml | 12 +-- gl2/glGetSeparableFilter.xhtml | 12 +-- gl2/glGetShader.xhtml | 8 +- gl2/glGetShaderInfoLog.xhtml | 8 +- gl2/glGetShaderSource.xhtml | 8 +- gl2/glGetString.xhtml | 4 +- gl2/glGetTexEnv.xhtml | 2 +- gl2/glGetTexGen.xhtml | 4 +- gl2/glGetTexImage.xhtml | 2 +- gl2/glGetTexLevelParameter.xhtml | 2 +- gl2/glGetTexParameter.xhtml | 2 +- gl2/glGetUniform.xhtml | 8 +- gl2/glGetUniformLocation.xhtml | 8 +- gl2/glGetVertexAttrib.xhtml | 12 +-- gl2/glGetVertexAttribPointerv.xhtml | 10 +-- gl2/glHint.xhtml | 6 +- gl2/glHistogram.xhtml | 2 +- gl2/glIndex.xhtml | 6 +- gl2/glIndexMask.xhtml | 2 +- gl2/glIndexPointer.xhtml | 6 +- gl2/glInitNames.xhtml | 4 +- gl2/glInterleavedArrays.xhtml | 4 +- gl2/glIsBuffer.xhtml | 8 +- gl2/glIsEnabled.xhtml | 12 +-- gl2/glIsList.xhtml | 4 +- gl2/glIsProgram.xhtml | 16 ++-- gl2/glIsQuery.xhtml | 8 +- gl2/glIsShader.xhtml | 16 ++-- gl2/glIsTexture.xhtml | 4 +- gl2/glLight.xhtml | 4 +- gl2/glLightModel.xhtml | 4 +- gl2/glLineStipple.xhtml | 2 +- gl2/glLineWidth.xhtml | 2 +- gl2/glLinkProgram.xhtml | 8 +- gl2/glListBase.xhtml | 4 +- gl2/glLoadIdentity.xhtml | 2 +- gl2/glLoadMatrix.xhtml | 2 +- gl2/glLoadName.xhtml | 4 +- gl2/glLoadTransposeMatrix.xhtml | 2 +- gl2/glLogicOp.xhtml | 6 +- gl2/glMap1.xhtml | 2 +- gl2/glMap2.xhtml | 2 +- gl2/glMapBuffer.xhtml | 36 ++++----- gl2/glMapGrid.xhtml | 2 +- gl2/glMaterial.xhtml | 4 +- gl2/glMatrixMode.xhtml | 4 +- gl2/glMinmax.xhtml | 4 +- gl2/glMultMatrix.xhtml | 2 +- gl2/glMultTransposeMatrix.xhtml | 2 +- gl2/glMultiDrawArrays.xhtml | 4 +- gl2/glMultiDrawElements.xhtml | 4 +- gl2/glMultiTexCoord.xhtml | 4 +- gl2/glNewList.xhtml | 6 +- gl2/glNormal.xhtml | 4 +- gl2/glNormalPointer.xhtml | 6 +- gl2/glOrtho.xhtml | 2 +- gl2/glPassThrough.xhtml | 4 +- gl2/glPixelMap.xhtml | 4 +- gl2/glPixelStore.xhtml | 4 +- gl2/glPixelTransfer.xhtml | 4 +- gl2/glPixelZoom.xhtml | 2 +- gl2/glPointParameter.xhtml | 4 +- gl2/glPointSize.xhtml | 2 +- gl2/glPolygonMode.xhtml | 4 +- gl2/glPolygonOffset.xhtml | 2 +- gl2/glPolygonStipple.xhtml | 2 +- gl2/glPrioritizeTextures.xhtml | 2 +- gl2/glPushAttrib.xhtml | 12 +-- gl2/glPushClientAttrib.xhtml | 8 +- gl2/glPushMatrix.xhtml | 4 +- gl2/glPushName.xhtml | 6 +- gl2/glRasterPos.xhtml | 4 +- gl2/glReadBuffer.xhtml | 4 +- gl2/glReadPixels.xhtml | 4 +- gl2/glRect.xhtml | 4 +- gl2/glRenderMode.xhtml | 4 +- gl2/glResetHistogram.xhtml | 4 +- gl2/glResetMinmax.xhtml | 4 +- gl2/glRotate.xhtml | 2 +- gl2/glSampleCoverage.xhtml | 2 +- gl2/glScale.xhtml | 2 +- gl2/glScissor.xhtml | 4 +- gl2/glSecondaryColor.xhtml | 4 +- gl2/glSecondaryColorPointer.xhtml | 6 +- gl2/glSelectBuffer.xhtml | 2 +- gl2/glSeparableFilter2D.xhtml | 22 ++--- gl2/glShadeModel.xhtml | 4 +- gl2/glShaderSource.xhtml | 8 +- gl2/glStencilFunc.xhtml | 2 +- gl2/glStencilFuncSeparate.xhtml | 2 +- gl2/glStencilMask.xhtml | 2 +- gl2/glStencilMaskSeparate.xhtml | 2 +- gl2/glStencilOp.xhtml | 2 +- gl2/glStencilOpSeparate.xhtml | 2 +- gl2/glTexCoord.xhtml | 4 +- gl2/glTexCoordPointer.xhtml | 8 +- gl2/glTexEnv.xhtml | 16 ++-- gl2/glTexGen.xhtml | 4 +- gl2/glTexImage1D.xhtml | 2 +- gl2/glTexImage2D.xhtml | 2 +- gl2/glTexImage3D.xhtml | 2 +- gl2/glTexParameter.xhtml | 6 +- gl2/glTexSubImage1D.xhtml | 2 +- gl2/glTexSubImage2D.xhtml | 2 +- gl2/glTexSubImage3D.xhtml | 2 +- gl2/glTranslate.xhtml | 2 +- gl2/glUniform.xhtml | 18 ++--- gl2/glUseProgram.xhtml | 8 +- gl2/glValidateProgram.xhtml | 8 +- gl2/glVertex.xhtml | 4 +- gl2/glVertexAttrib.xhtml | 10 +-- gl2/glVertexAttribPointer.xhtml | 22 ++--- gl2/glVertexPointer.xhtml | 6 +- gl2/glViewport.xhtml | 2 +- gl2/glWindowPos.xhtml | 4 +- gl2/glXChooseFBConfig.xhtml | 80 +++++++++---------- gl2/glXChooseVisual.xhtml | 10 +-- gl2/glXCopyContext.xhtml | 6 +- gl2/glXCreateContext.xhtml | 10 +-- gl2/glXCreateGLXPixmap.xhtml | 6 +- gl2/glXCreateNewContext.xhtml | 6 +- gl2/glXCreatePbuffer.xhtml | 10 +-- gl2/glXCreatePixmap.xhtml | 4 +- gl2/glXCreateWindow.xhtml | 4 +- gl2/glXDestroyContext.xhtml | 6 +- gl2/glXDestroyGLXPixmap.xhtml | 4 +- gl2/glXDestroyPbuffer.xhtml | 4 +- gl2/glXDestroyPixmap.xhtml | 4 +- gl2/glXDestroyWindow.xhtml | 4 +- gl2/glXFreeContextEXT.xhtml | 10 +-- gl2/glXGetClientString.xhtml | 20 ++--- gl2/glXGetConfig.xhtml | 18 ++--- gl2/glXGetContextIDEXT.xhtml | 4 +- gl2/glXGetCurrentContext.xhtml | 4 +- gl2/glXGetCurrentDisplay.xhtml | 10 +-- gl2/glXGetCurrentDrawable.xhtml | 4 +- gl2/glXGetCurrentReadDrawable.xhtml | 4 +- gl2/glXGetFBConfigAttrib.xhtml | 36 ++++----- gl2/glXGetFBConfigs.xhtml | 4 +- gl2/glXGetProcAddress.xhtml | 4 +- gl2/glXGetSelectedEvent.xhtml | 6 +- gl2/glXGetVisualFromFBConfig.xhtml | 8 +- gl2/glXImportContextEXT.xhtml | 4 +- gl2/glXIsDirect.xhtml | 4 +- gl2/glXMakeContextCurrent.xhtml | 6 +- gl2/glXMakeCurrent.xhtml | 4 +- gl2/glXQueryContext.xhtml | 4 +- gl2/glXQueryContextInfoEXT.xhtml | 4 +- gl2/glXQueryDrawable.xhtml | 6 +- gl2/glXQueryExtension.xhtml | 4 +- gl2/glXQueryExtensionsString.xhtml | 16 ++-- gl2/glXQueryServerString.xhtml | 10 +-- gl2/glXQueryVersion.xhtml | 6 +- gl2/glXSelectEvent.xhtml | 38 ++++----- gl2/glXSwapBuffers.xhtml | 4 +- gl2/glXUseXFont.xhtml | 2 +- gl2/glXWaitGL.xhtml | 4 +- gl2/glXWaitX.xhtml | 4 +- gl2/gluBeginCurve.xhtml | 16 ++-- gl2/gluBeginPolygon.xhtml | 12 +-- gl2/gluBeginSurface.xhtml | 14 ++-- gl2/gluBeginTrim.xhtml | 28 +++---- gl2/gluBuild1DMipmapLevels.xhtml | 2 +- gl2/gluBuild1DMipmaps.xhtml | 2 +- gl2/gluBuild2DMipmapLevels.xhtml | 2 +- gl2/gluBuild2DMipmaps.xhtml | 2 +- gl2/gluBuild3DMipmapLevels.xhtml | 2 +- gl2/gluBuild3DMipmaps.xhtml | 2 +- gl2/gluCheckExtension.xhtml | 10 +-- gl2/gluCylinder.xhtml | 2 +- gl2/gluDeleteNurbsRenderer.xhtml | 6 +- gl2/gluDeleteQuadric.xhtml | 6 +- gl2/gluDeleteTess.xhtml | 4 +- gl2/gluDisk.xhtml | 2 +- gl2/gluErrorString.xhtml | 10 +-- gl2/gluGetNurbsProperty.xhtml | 14 ++-- gl2/gluGetString.xhtml | 20 ++--- gl2/gluGetTessProperty.xhtml | 14 ++-- gl2/gluLoadSamplingMatrices.xhtml | 8 +- gl2/gluLookAt.xhtml | 2 +- gl2/gluNewNurbsRenderer.xhtml | 4 +- gl2/gluNewQuadric.xhtml | 4 +- gl2/gluNewTess.xhtml | 4 +- gl2/gluNextContour.xhtml | 26 +++--- gl2/gluNurbsCallback.xhtml | 24 +++--- gl2/gluNurbsCallbackData.xhtml | 4 +- gl2/gluNurbsCallbackDataEXT.xhtml | 4 +- gl2/gluNurbsCurve.xhtml | 24 +++--- gl2/gluNurbsProperty.xhtml | 60 +++++++------- gl2/gluNurbsSurface.xhtml | 2 +- gl2/gluOrtho2D.xhtml | 2 +- gl2/gluPartialDisk.xhtml | 2 +- gl2/gluPerspective.xhtml | 2 +- gl2/gluPickMatrix.xhtml | 12 +-- gl2/gluProject.xhtml | 2 +- gl2/gluPwlCurve.xhtml | 20 ++--- gl2/gluQuadricCallback.xhtml | 6 +- gl2/gluQuadricDrawStyle.xhtml | 6 +- gl2/gluQuadricNormals.xhtml | 4 +- gl2/gluQuadricOrientation.xhtml | 6 +- gl2/gluQuadricTexture.xhtml | 8 +- gl2/gluScaleImage.xhtml | 28 +++---- gl2/gluSphere.xhtml | 2 +- gl2/gluTessBeginContour.xhtml | 6 +- gl2/gluTessBeginPolygon.xhtml | 16 ++-- gl2/gluTessCallback.xhtml | 72 ++++++++--------- gl2/gluTessEndPolygon.xhtml | 2 +- gl2/gluTessNormal.xhtml | 12 +-- gl2/gluTessProperty.xhtml | 18 ++--- gl2/gluTessVertex.xhtml | 12 +-- gl2/gluUnProject.xhtml | 2 +- gl2/gluUnProject4.xhtml | 2 +- gl3/glAttachShader.xhtml | 8 +- gl3/glBeginConditionalRender.xhtml | 10 +-- gl3/glBeginTransformFeedback.xhtml | 14 ++-- gl3/glBindAttribLocation.xhtml | 8 +- gl3/glBindBuffer.xhtml | 40 +++++----- gl3/glBindBufferBase.xhtml | 8 +- gl3/glBindBufferRange.xhtml | 8 +- gl3/glBindFragDataLocation.xhtml | 8 +- gl3/glBindFragDataLocationIndexed.xhtml | 8 +- gl3/glBindFramebuffer.xhtml | 4 +- gl3/glBindRenderbuffer.xhtml | 4 +- gl3/glBindSampler.xhtml | 8 +- gl3/glBindTexture.xhtml | 6 +- gl3/glBindVertexArray.xhtml | 4 +- gl3/glBlendColor.xhtml | 2 +- gl3/glBlendEquation.xhtml | 2 +- gl3/glBlendEquationSeparate.xhtml | 4 +- gl3/glBlendFunc.xhtml | 4 +- gl3/glBlendFuncSeparate.xhtml | 4 +- gl3/glBlitFramebuffer.xhtml | 4 +- gl3/glBufferData.xhtml | 2 +- gl3/glBufferSubData.xhtml | 2 +- gl3/glCheckFramebufferStatus.xhtml | 4 +- gl3/glClampColor.xhtml | 8 +- gl3/glClearBuffer.xhtml | 10 +-- gl3/glClearColor.xhtml | 2 +- gl3/glClientWaitSync.xhtml | 4 +- gl3/glColorMask.xhtml | 4 +- gl3/glCompressedTexImage1D.xhtml | 8 +- gl3/glCompressedTexImage2D.xhtml | 8 +- gl3/glCompressedTexImage3D.xhtml | 8 +- gl3/glCompressedTexSubImage1D.xhtml | 2 +- gl3/glCompressedTexSubImage2D.xhtml | 2 +- gl3/glCompressedTexSubImage3D.xhtml | 2 +- gl3/glCopyBufferSubData.xhtml | 8 +- gl3/glCopyTexImage1D.xhtml | 2 +- gl3/glCopyTexImage2D.xhtml | 2 +- gl3/glCopyTexSubImage1D.xhtml | 2 +- gl3/glCopyTexSubImage2D.xhtml | 2 +- gl3/glCopyTexSubImage3D.xhtml | 2 +- gl3/glCreateProgram.xhtml | 8 +- gl3/glCreateShader.xhtml | 8 +- gl3/glCullFace.xhtml | 4 +- gl3/glDeleteBuffers.xhtml | 8 +- gl3/glDeleteFramebuffers.xhtml | 8 +- gl3/glDeleteQueries.xhtml | 8 +- gl3/glDeleteRenderbuffers.xhtml | 8 +- gl3/glDeleteSamplers.xhtml | 8 +- gl3/glDeleteSync.xhtml | 8 +- gl3/glDeleteTextures.xhtml | 4 +- gl3/glDeleteVertexArrays.xhtml | 8 +- gl3/glDepthRange.xhtml | 2 +- gl3/glDetachShader.xhtml | 8 +- gl3/glDrawArrays.xhtml | 4 +- gl3/glDrawArraysInstanced.xhtml | 10 +-- gl3/glDrawBuffers.xhtml | 8 +- gl3/glDrawElements.xhtml | 4 +- gl3/glDrawElementsBaseVertex.xhtml | 8 +- gl3/glDrawElementsInstanced.xhtml | 8 +- gl3/glDrawElementsInstancedBaseVertex.xhtml | 8 +- gl3/glDrawRangeElements.xhtml | 2 +- gl3/glDrawRangeElementsBaseVertex.xhtml | 8 +- gl3/glEnableVertexAttribArray.xhtml | 8 +- gl3/glFenceSync.xhtml | 10 +-- gl3/glFlush.xhtml | 4 +- gl3/glFlushMappedBufferRange.xhtml | 8 +- gl3/glFramebufferRenderbuffer.xhtml | 8 +- gl3/glFramebufferTexture.xhtml | 8 +- gl3/glFramebufferTextureLayer.xhtml | 8 +- gl3/glFrontFace.xhtml | 4 +- gl3/glGenBuffers.xhtml | 8 +- gl3/glGenFramebuffers.xhtml | 8 +- gl3/glGenRenderbuffers.xhtml | 8 +- gl3/glGenSamplers.xhtml | 8 +- gl3/glGenTextures.xhtml | 4 +- gl3/glGenVertexArrays.xhtml | 8 +- gl3/glGenerateMipmap.xhtml | 2 +- gl3/glGet.xhtml | 4 +- gl3/glGetActiveAttrib.xhtml | 10 +-- gl3/glGetActiveUniform.xhtml | 8 +- gl3/glGetActiveUniformBlock.xhtml | 8 +- gl3/glGetActiveUniformBlockName.xhtml | 8 +- gl3/glGetActiveUniformName.xhtml | 8 +- gl3/glGetActiveUniformsiv.xhtml | 8 +- gl3/glGetAttachedShaders.xhtml | 8 +- gl3/glGetAttribLocation.xhtml | 8 +- gl3/glGetBufferParameter.xhtml | 18 ++--- gl3/glGetBufferPointerv.xhtml | 8 +- gl3/glGetBufferSubData.xhtml | 18 ++--- gl3/glGetCompressedTexImage.xhtml | 2 +- gl3/glGetFragDataIndex.xhtml | 8 +- gl3/glGetFragDataLocation.xhtml | 8 +- gl3/glGetFramebufferAttachmentParameter.xhtml | 8 +- gl3/glGetMultisample.xhtml | 8 +- gl3/glGetProgram.xhtml | 8 +- gl3/glGetProgramInfoLog.xhtml | 8 +- gl3/glGetQueryObject.xhtml | 18 ++--- gl3/glGetQueryiv.xhtml | 8 +- gl3/glGetRenderbufferParameter.xhtml | 8 +- gl3/glGetSamplerParameter.xhtml | 2 +- gl3/glGetShader.xhtml | 8 +- gl3/glGetShaderInfoLog.xhtml | 8 +- gl3/glGetShaderSource.xhtml | 8 +- gl3/glGetString.xhtml | 4 +- gl3/glGetSync.xhtml | 8 +- gl3/glGetTexImage.xhtml | 2 +- gl3/glGetTexLevelParameter.xhtml | 2 +- gl3/glGetTexParameter.xhtml | 2 +- gl3/glGetTransformFeedbackVarying.xhtml | 6 +- gl3/glGetUniform.xhtml | 8 +- gl3/glGetUniformBlockIndex.xhtml | 8 +- gl3/glGetUniformIndices.xhtml | 8 +- gl3/glGetUniformLocation.xhtml | 8 +- gl3/glGetVertexAttrib.xhtml | 14 ++-- gl3/glGetVertexAttribPointerv.xhtml | 10 +-- gl3/glIsEnabled.xhtml | 14 ++-- gl3/glIsFramebuffer.xhtml | 8 +- gl3/glIsRenderbuffer.xhtml | 8 +- gl3/glIsSampler.xhtml | 8 +- gl3/glIsSync.xhtml | 8 +- gl3/glIsVertexArray.xhtml | 8 +- gl3/glLineWidth.xhtml | 2 +- gl3/glLogicOp.xhtml | 4 +- gl3/glMapBuffer.xhtml | 30 +++---- gl3/glMapBufferRange.xhtml | 8 +- gl3/glMultiDrawArrays.xhtml | 4 +- gl3/glMultiDrawElements.xhtml | 4 +- gl3/glMultiDrawElementsBaseVertex.xhtml | 8 +- gl3/glPixelStore.xhtml | 4 +- gl3/glPointParameter.xhtml | 8 +- gl3/glPointSize.xhtml | 4 +- gl3/glPolygonMode.xhtml | 4 +- gl3/glPolygonOffset.xhtml | 2 +- gl3/glPrimitiveRestartIndex.xhtml | 8 +- gl3/glProvokingVertex.xhtml | 10 +-- gl3/glQueryCounter.xhtml | 8 +- gl3/glReadPixels.xhtml | 4 +- gl3/glRenderbufferStorage.xhtml | 8 +- gl3/glRenderbufferStorageMultisample.xhtml | 8 +- gl3/glSampleCoverage.xhtml | 2 +- gl3/glSampleMaski.xhtml | 8 +- gl3/glSamplerParameter.xhtml | 6 +- gl3/glScissor.xhtml | 4 +- gl3/glShaderSource.xhtml | 8 +- gl3/glStencilFunc.xhtml | 2 +- gl3/glStencilFuncSeparate.xhtml | 2 +- gl3/glStencilMaskSeparate.xhtml | 2 +- gl3/glStencilOp.xhtml | 2 +- gl3/glStencilOpSeparate.xhtml | 2 +- gl3/glTexBuffer.xhtml | 4 +- gl3/glTexImage1D.xhtml | 2 +- gl3/glTexImage2D.xhtml | 2 +- gl3/glTexImage2DMultisample.xhtml | 8 +- gl3/glTexImage3D.xhtml | 2 +- gl3/glTexImage3DMultisample.xhtml | 8 +- gl3/glTexParameter.xhtml | 6 +- gl3/glTexSubImage1D.xhtml | 2 +- gl3/glTexSubImage2D.xhtml | 2 +- gl3/glTexSubImage3D.xhtml | 2 +- gl3/glTransformFeedbackVaryings.xhtml | 8 +- gl3/glUniform.xhtml | 16 ++-- gl3/glUniformBlockBinding.xhtml | 8 +- gl3/glUseProgram.xhtml | 8 +- gl3/glValidateProgram.xhtml | 8 +- gl3/glVertexAttrib.xhtml | 28 +++---- gl3/glVertexAttribDivisor.xhtml | 8 +- gl3/glVertexAttribPointer.xhtml | 10 +-- gl3/glViewport.xhtml | 2 +- gl3/glWaitSync.xhtml | 8 +- html/copy/style.css | 6 ++ 699 files changed, 2434 insertions(+), 2428 deletions(-) diff --git a/es1/glActiveTexture.xhtml b/es1/glActiveTexture.xhtml index d63369ce..95b51c82 100644 --- a/es1/glActiveTexture.xhtml +++ b/es1/glActiveTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glActiveTexture — select server-side active texture unit

C Specification

void glActiveTexture(GLenum texture);
 

Parameters

+

Name

glActiveTexture — select server-side active texture unit

C Specification

void glActiveTexture(GLenum texture);
 

Parameters

texture

Specifies which texture unit to make active. The diff --git a/es1/glAlphaFunc.xhtml b/es1/glAlphaFunc.xhtml index 18a69615..1f578ce8 100644 --- a/es1/glAlphaFunc.xhtml +++ b/es1/glAlphaFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glAlphaFunc — specify the alpha test function

C Specification

void glAlphaFunc(GLenum func,
 GLclampf ref);
 
void glAlphaFuncx(GLenum func,
 GLclampx ref);
 

Parameters

+

Name

glAlphaFunc — specify the alpha test function

C Specification

void glAlphaFunc(GLenum func,
 GLclampf ref);
 
void glAlphaFuncx(GLenum func,
 GLclampx ref);
 

Parameters

func

Specifies the alpha comparison function. Symbolic constants @@ -29,7 +29,7 @@ glEnable and glDisable with argument GL_ALPHA_TEST. - Alpha testing is initially disabled. When disabled, it is as if the comparison + Alpha testing is initially disabled. When disabled, it is as if the comparison always passes.

@@ -87,4 +87,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glBindBuffer.xhtml b/es1/glBindBuffer.xhtml index 6d1aad04..56f82c1c 100644 --- a/es1/glBindBuffer.xhtml +++ b/es1/glBindBuffer.xhtml @@ -1,8 +1,8 @@ -

Name

glBindBuffer — bind a named buffer to a target

C Specification

void glBindBuffer(GLenum target,
 GLuint buffer);
 

Parameters

+

Name

glBindBuffer — bind a named buffer to a target

C Specification

void glBindBuffer(GLenum target,
 GLuint buffer);
 

Parameters

target

Specifies the target to which the buffer is bound. - The symbolic constant must be + The symbolic constant must be GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER.

@@ -14,7 +14,7 @@ with target set to GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER - and buffer set to the name of the new buffer object + and buffer set to the name of the new buffer object binds the buffer object name to the target. When a buffer object is bound to a target, the previous binding for that target is automatically broken.

@@ -39,21 +39,21 @@ GL_READ_WRITE access and GL_STATIC_DRAW usage.

While a non-zero buffer object name is bound, GL operations on the target to which it is - bound affect the bound buffer object, and queries of the target to which it is bound return state + bound affect the bound buffer object, and queries of the target to which it is bound return state from the bound buffer object. While buffer object name zero is bound, as in the initial state, - attempts to modify or query state on the target to which it is bound generates an + attempts to modify or query state on the target to which it is bound generates an GL_INVALID_OPERATION error.

- When vertex array pointer state is changed, for example by a call to - glNormalPointer, - the current buffer object binding (GL_ARRAY_BUFFER_BINDING) is copied into the - corresponding client state for the vertex array type being changed, for example - GL_NORMAL_ARRAY_BUFFER_BINDING. While a non-zero buffer object is bound to the + When vertex array pointer state is changed, for example by a call to + glNormalPointer, + the current buffer object binding (GL_ARRAY_BUFFER_BINDING) is copied into the + corresponding client state for the vertex array type being changed, for example + GL_NORMAL_ARRAY_BUFFER_BINDING. While a non-zero buffer object is bound to the GL_ARRAY_BUFFER target, the vertex array pointer parameter that is traditionally interpreted as a pointer to client-side memory is instead interpreted as an offset within the buffer object measured in basic machine units.

- While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, + While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, the indices parameter of glDrawElements that is traditionally interpreted as a pointer to client-side memory is instead interpreted as an offset within the @@ -69,7 +69,7 @@

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable values.

Associated Gets

glGet - with argument GL_ARRAY_BUFFER_BINDING or + with argument GL_ARRAY_BUFFER_BINDING or GL_ELEMENT_ARRAY_BUFFER_BINDING

See Also

glBufferData, @@ -81,4 +81,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glBindTexture.xhtml b/es1/glBindTexture.xhtml index da7db70c..3e248c21 100644 --- a/es1/glBindTexture.xhtml +++ b/es1/glBindTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glBindTexture — bind a named texture to a texturing target

C Specification

void glBindTexture(GLenum target,
 GLuint texture);
 

Parameters

+

Name

glBindTexture — bind a named texture to a texturing target

C Specification

void glBindTexture(GLenum target,
 GLuint texture);
 

Parameters

target

Specifies the target to which the texture is bound. Must be GL_TEXTURE_2D.

@@ -51,4 +51,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glBlendFunc.xhtml b/es1/glBlendFunc.xhtml index 25ce0fed..267da76d 100644 --- a/es1/glBlendFunc.xhtml +++ b/es1/glBlendFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendFunc — specify pixel arithmetic

C Specification

void glBlendFunc(GLenum sfactor,
 GLenum dfactor);
 

Parameters

+

Name

glBlendFunc — specify pixel arithmetic

C Specification

void glBlendFunc(GLenum sfactor,
 GLenum dfactor);
 

Parameters

sfactor

Specifies how the red, green, blue, and alpha @@ -102,7 +102,7 @@ fA ), represent either source or destination factors. All scale - factors have range [0, 1].

Parameter + factors have range [0, 1].

Parameter ( fR, fG, diff --git a/es1/glBufferData.xhtml b/es1/glBufferData.xhtml index a5a61a3a..081f1c73 100644 --- a/es1/glBufferData.xhtml +++ b/es1/glBufferData.xhtml @@ -1,4 +1,4 @@ -

Name

glBufferData — creates and initializes a buffer object's data store.

C Specification

void glBufferData(GLenum target,
 GLsizeiptr size,
 const GLvoid * data,
 GLenum usage);
 

Parameters

+

Name

glBufferData — creates and initializes a buffer object's data store.

C Specification

void glBufferData(GLenum target,
 GLsizeiptr size,
 const GLvoid * data,
 GLenum usage);
 

Parameters

target

Specifies the target buffer object. The symbolic constant must be diff --git a/es1/glBufferSubData.xhtml b/es1/glBufferSubData.xhtml index b5c8117a..1a527ef3 100644 --- a/es1/glBufferSubData.xhtml +++ b/es1/glBufferSubData.xhtml @@ -1,4 +1,4 @@ -

Name

glBufferSubData — updates a subset of a buffer object's data store.

C Specification

void glBufferSubData(GLenum target,
 GLintptr offset,
 GLsizeiptr size,
 const GLvoid * data);
 

Parameters

+

Name

glBufferSubData — updates a subset of a buffer object's data store.

C Specification

void glBufferSubData(GLenum target,
 GLintptr offset,
 GLsizeiptr size,
 const GLvoid * data);
 

Parameters

target

Specifies the target buffer object. The symbolic constant must be diff --git a/es1/glClear.xhtml b/es1/glClear.xhtml index 6220f4fa..840c5162 100644 --- a/es1/glClear.xhtml +++ b/es1/glClear.xhtml @@ -1,4 +1,4 @@ -

Name

glClear — clear buffers to preset values

C Specification

void glClear(GLbitfield mask);
 

Parameters

+

Name

glClear — clear buffers to preset values

C Specification

void glClear(GLbitfield mask);
 

Parameters

mask

Bitwise OR of masks that indicate the buffers to be cleared. Valid masks are @@ -48,4 +48,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glClearColor.xhtml b/es1/glClearColor.xhtml index 0bf97c1c..7d1bc8f6 100644 --- a/es1/glClearColor.xhtml +++ b/es1/glClearColor.xhtml @@ -1,4 +1,4 @@ -

Name

glClearColor — specify clear values for the color buffer

C Specification

void glClearColor(GLclampf red,
 GLclampf green,
 GLclampf blue,
 GLclampf alpha);
 
void glClearColorx(GLclampx red,
 GLclampx green,
 GLclampx blue,
 GLclampx alpha);
 

Parameters

+

Name

glClearColor — specify clear values for the color buffer

C Specification

void glClearColor(GLclampf red,
 GLclampf green,
 GLclampf blue,
 GLclampf alpha);
 
void glClearColorx(GLclampx red,
 GLclampx green,
 GLclampx blue,
 GLclampx alpha);
 

Parameters

red, green, blue, @@ -23,4 +23,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glClearDepth.xhtml b/es1/glClearDepth.xhtml index ad82cabf..ce7fa561 100644 --- a/es1/glClearDepth.xhtml +++ b/es1/glClearDepth.xhtml @@ -1,4 +1,4 @@ -

Name

glClearDepth — specify the clear value for the depth buffer

C Specification

void glClearDepthf(GLclampf depth);
 
void glClearDepthx(GLclampx depth);
 

Parameters

+

Name

glClearDepth — specify the clear value for the depth buffer

C Specification

void glClearDepthf(GLclampf depth);
 
void glClearDepthx(GLclampx depth);
 

Parameters

depth

Specifies the depth value used when the depth buffer is cleared. The initial value is 1.

Description

@@ -19,4 +19,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glClearStencil.xhtml b/es1/glClearStencil.xhtml index 04a34031..be28831d 100644 --- a/es1/glClearStencil.xhtml +++ b/es1/glClearStencil.xhtml @@ -1,4 +1,4 @@ -

Name

glClearStencil — specify the clear value for the stencil buffer

C Specification

void glClearStencil(GLint s);
 

Parameters

+

Name

glClearStencil — specify the clear value for the stencil buffer

C Specification

void glClearStencil(GLint s);
 

Parameters

s

Specifies the index used when the stencil buffer is cleared. The initial value is 0.

Description

glClearStencil diff --git a/es1/glClientActiveTexture.xhtml b/es1/glClientActiveTexture.xhtml index e9a97492..1d803ab9 100644 --- a/es1/glClientActiveTexture.xhtml +++ b/es1/glClientActiveTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glClientActiveTexture — select client-side active texture unit

C Specification

void glClientActiveTexture(GLenum texture);
 

Parameters

+

Name

glClientActiveTexture — select client-side active texture unit

C Specification

void glClientActiveTexture(GLenum texture);
 

Parameters

texture

Specifies which texture unit to make active. The diff --git a/es1/glClipPlane.xhtml b/es1/glClipPlane.xhtml index bebd3fa5..49167c53 100644 --- a/es1/glClipPlane.xhtml +++ b/es1/glClipPlane.xhtml @@ -1,5 +1,5 @@

Name

glClipPlane — specify a plane against which all geometry is - clipped

C Specification

void glClipPlanef(GLenum plane,
 const GLfloat *equation);
 
void glClipPlanex(GLenum plane,
 const GLfixed *equation);
 

Parameters

plane

Specifies which clipping plane is being positioned. Symbolic + clipped

C Specification

void glClipPlanef(GLenum plane,
 const GLfloat *equation);
 
void glClipPlanex(GLenum plane,
 const GLfixed *equation);
 

Parameters

plane

Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES diff --git a/es1/glColor.xhtml b/es1/glColor.xhtml index 6654b3ef..4882da75 100644 --- a/es1/glColor.xhtml +++ b/es1/glColor.xhtml @@ -1,4 +1,4 @@ -

Name

glColor — set the current color

C Specification

void glColor4f(GLfloat red,
 GLfloat green,
 GLfloat blue,
 GLfloat alpha);
 
void glColor4x(GLfixed red,
 GLfixed green,
 GLfixed blue,
 GLfixed alpha);
 
void glColor4ub(GLubyte red,
 GLubyte green,
 GLubyte blue,
 GLubyte alpha);
 

Parameters

+

Name

glColor — set the current color

C Specification

void glColor4f(GLfloat red,
 GLfloat green,
 GLfloat blue,
 GLfloat alpha);
 
void glColor4x(GLfixed red,
 GLfixed green,
 GLfixed blue,
 GLfixed alpha);
 
void glColor4ub(GLubyte red,
 GLubyte green,
 GLubyte blue,
 GLubyte alpha);
 

Parameters

red, green, blue, @@ -24,4 +24,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glColorMask.xhtml b/es1/glColorMask.xhtml index 430928b2..21ef484d 100644 --- a/es1/glColorMask.xhtml +++ b/es1/glColorMask.xhtml @@ -1,5 +1,5 @@

Name

glColorMask — enable and disable writing of color buffer - components

C Specification

void glColorMask(GLboolean red,
 GLboolean green,
 GLboolean blue,
 GLboolean alpha);
 

Parameters

+ components

C Specification

void glColorMask(GLboolean red,
 GLboolean green,
 GLboolean blue,
 GLboolean alpha);
 

Parameters

red, green, blue, @@ -29,4 +29,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glColorPointer.xhtml b/es1/glColorPointer.xhtml index 838a7fc4..8b7e61d1 100644 --- a/es1/glColorPointer.xhtml +++ b/es1/glColorPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glColorPointer — define an array of colors

C Specification

void glColorPointer(GLint size,
 GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

+

Name

glColorPointer — define an array of colors

C Specification

void glColorPointer(GLint size,
 GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

size

Specifies the number of components per color. Must be 4. The initial value is 4.

@@ -76,4 +76,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glCompressedTexImage2D.xhtml b/es1/glCompressedTexImage2D.xhtml index 5fa822fc..ae6f0a9a 100644 --- a/es1/glCompressedTexImage2D.xhtml +++ b/es1/glCompressedTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexImage2D — specify a two-dimensional compressed texture image

C Specification

void glCompressedTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLsizei imageSize,
 const GLvoid * data);
 

Parameters

+

Name

glCompressedTexImage2D — specify a two-dimensional compressed texture image

C Specification

void glCompressedTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLsizei imageSize,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D.

diff --git a/es1/glCompressedTexSubImage2D.xhtml b/es1/glCompressedTexSubImage2D.xhtml index 068f8265..9232ed44 100644 --- a/es1/glCompressedTexSubImage2D.xhtml +++ b/es1/glCompressedTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexSubImage2D — specify a two-dimensional compressed texture subimage

C Specification

void glCompressedTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLsizei imageSize,
 const GLvoid * data);
 

Parameters

+

Name

glCompressedTexSubImage2D — specify a two-dimensional compressed texture subimage

C Specification

void glCompressedTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLsizei imageSize,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D.

diff --git a/es1/glCopyTexImage2D.xhtml b/es1/glCopyTexImage2D.xhtml index a2ae8921..ed7c7c97 100644 --- a/es1/glCopyTexImage2D.xhtml +++ b/es1/glCopyTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexImage2D — specify a two-dimensional texture image with pixels from the color buffer

C Specification

void glCopyTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLint border);
 

Parameters

+

Name

glCopyTexImage2D — specify a two-dimensional texture image with pixels from the color buffer

C Specification

void glCopyTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLint border);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D.

diff --git a/es1/glCopyTexSubImage2D.xhtml b/es1/glCopyTexSubImage2D.xhtml index 50312531..d539a103 100644 --- a/es1/glCopyTexSubImage2D.xhtml +++ b/es1/glCopyTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexSubImage2D — specify a two-dimensional texture subimage with pixels from the color buffer

C Specification

void glCopyTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

+

Name

glCopyTexSubImage2D — specify a two-dimensional texture subimage with pixels from the color buffer

C Specification

void glCopyTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D.

diff --git a/es1/glCullFace.xhtml b/es1/glCullFace.xhtml index 18fbf5a2..61bb0c86 100644 --- a/es1/glCullFace.xhtml +++ b/es1/glCullFace.xhtml @@ -1,5 +1,5 @@

Name

glCullFace — specify whether front- or back-facing polygons are - culled

C Specification

void glCullFace(GLenum mode);
 

Parameters

+ culled

C Specification

void glCullFace(GLenum mode);
 

Parameters

mode

Specifies whether front- or back-facing polygons are culled. Symbolic constants @@ -37,4 +37,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glDeleteBuffers.xhtml b/es1/glDeleteBuffers.xhtml index 5e9aa7b3..a79ceda7 100644 --- a/es1/glDeleteBuffers.xhtml +++ b/es1/glDeleteBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteBuffers — delete named buffer objects

C Specification

void glDeleteBuffers(GLsizei n,
 const GLuint * buffers);
 

Parameters

+

Name

glDeleteBuffers — delete named buffer objects

C Specification

void glDeleteBuffers(GLsizei n,
 const GLuint * buffers);
 

Parameters

n

Specifies the number of buffer objects to be deleted.

@@ -34,4 +34,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glDeleteTextures.xhtml b/es1/glDeleteTextures.xhtml index 6b6d8a39..10d1ad2c 100644 --- a/es1/glDeleteTextures.xhtml +++ b/es1/glDeleteTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteTextures — delete named textures

C Specification

void glDeleteTextures(GLsizei n,
 const GLuint * textures);
 

Parameters

+

Name

glDeleteTextures — delete named textures

C Specification

void glDeleteTextures(GLsizei n,
 const GLuint * textures);
 

Parameters

n

Specifies the number of textures to be deleted.

@@ -26,4 +26,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glDepthFunc.xhtml b/es1/glDepthFunc.xhtml index 0047b28d..869282ae 100644 --- a/es1/glDepthFunc.xhtml +++ b/es1/glDepthFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthFunc — specify the value used for depth buffer comparisons

C Specification

void glDepthFunc(GLenum func);
 

Parameters

+

Name

glDepthFunc — specify the value used for depth buffer comparisons

C Specification

void glDepthFunc(GLenum func);
 

Parameters

func

Specifies the depth comparison function. Symbolic constants GL_NEVER, @@ -57,4 +57,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glDepthMask.xhtml b/es1/glDepthMask.xhtml index 3c9c480f..5d69cf87 100644 --- a/es1/glDepthMask.xhtml +++ b/es1/glDepthMask.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthMask — enable or disable writing into the depth buffer

C Specification

void glDepthMask(GLboolean flag);
 

Parameters

+

Name

glDepthMask — enable or disable writing into the depth buffer

C Specification

void glDepthMask(GLboolean flag);
 

Parameters

flag

Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, @@ -19,4 +19,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glDepthRange.xhtml b/es1/glDepthRange.xhtml index 309358e3..05003278 100644 --- a/es1/glDepthRange.xhtml +++ b/es1/glDepthRange.xhtml @@ -1,5 +1,5 @@

Name

glDepthRange — specify mapping of depth values from normalized - device coordinates to window coordinates

C Specification

void glDepthRangef(GLclampf near,
 GLclampf far);
 
void glDepthRangex(GLclampx near,
 GLclampx far);
 

Parameters

+ device coordinates to window coordinates

C Specification

void glDepthRangef(GLclampf near,
 GLclampf far);
 
void glDepthRangex(GLclampx near,
 GLclampx far);
 

Parameters

near

Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.

diff --git a/es1/glDrawArrays.xhtml b/es1/glDrawArrays.xhtml index ca9faae5..40c04745 100644 --- a/es1/glDrawArrays.xhtml +++ b/es1/glDrawArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawArrays — render primitives from array data

C Specification

void glDrawArrays(GLenum mode,
 GLint first,
 GLsizei count);
 

Parameters

+

Name

glDrawArrays — render primitives from array data

C Specification

void glDrawArrays(GLenum mode,
 GLint first,
 GLsizei count);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants @@ -48,4 +48,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glDrawElements.xhtml b/es1/glDrawElements.xhtml index 0ddd01b3..994414b8 100644 --- a/es1/glDrawElements.xhtml +++ b/es1/glDrawElements.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawElements — render primitives from array data

C Specification

void glDrawElements(GLenum mode,
 GLsizei count,
 GLenum type,
 const GLvoid * indices);
 

Parameters

+

Name

glDrawElements — render primitives from array data

C Specification

void glDrawElements(GLenum mode,
 GLsizei count,
 GLenum type,
 const GLvoid * indices);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants @@ -55,4 +55,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glEnable.xhtml b/es1/glEnable.xhtml index af094457..b1919414 100644 --- a/es1/glEnable.xhtml +++ b/es1/glEnable.xhtml @@ -1,9 +1,9 @@ -

Name

glEnable — enable or disable server-side GL capabilities

C Specification

void glEnable(GLenum cap);
 
void glDisable(GLenum cap);
 

Parameters

+

Name

glEnable — enable or disable server-side GL capabilities

C Specification

void glEnable(GLenum cap);
 
void glDisable(GLenum cap);
 

Parameters

cap

Specifies a symbolic constant indicating a GL capability.

Description

glEnable and glDisable - enable and disable various capabilities. Use - glIsEnabled or - glGet to determine the + 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 @@ -26,8 +26,8 @@ operation to the computed fragment color and color buffer values. See glLogicOp.

GL_CLIP_PLANEi -

If enabled, clip geometry against user-defined clipping plane - i. See +

If enabled, clip geometry against user-defined clipping plane + i. See glClipPlane.

GL_COLOR_MATERIAL

If enabled, have ambient and diffuse material @@ -69,11 +69,11 @@ Otherwise, draw aliased lines. See glLineWidth.

GL_MULTISAMPLE -

If enabled, use multiple fragment samples in computing the final color +

If enabled, use multiple fragment samples in computing the final color of a pixel. See glSampleCoverage.

GL_NORMALIZE -

If enabled, normal vectors are normalized to unit length after +

If enabled, normal vectors are normalized to unit length after transformation and before lighting. This method is generally less efficient than GL_RESCALE_NORMAL. See glNormal and @@ -104,16 +104,16 @@ glNormal and glNormalPointer.

GL_SAMPLE_ALPHA_TO_COVERAGE -

If enabled, compute a temporary coverage value where each bit is - determined by the alpha value at the corresponding sample location. The +

If enabled, compute a temporary coverage value where each bit is + determined by the alpha value at the corresponding sample location. The temporary coverage value is then ANDed with the fragment coverage value.

GL_SAMPLE_ALPHA_TO_ONE -

If enabled, each sample alpha value is replaced by the maximum +

If enabled, each sample alpha value is replaced by the maximum representable alpha value.

GL_SAMPLE_COVERAGE -

If enabled, the fragment's coverage is ANDed with the temporary - coverage value. If GL_SAMPLE_COVERAGE_INVERT is set to - GL_TRUE, invert the coverage value. See +

If enabled, the fragment's coverage is ANDed with the temporary + coverage value. If GL_SAMPLE_COVERAGE_INVERT is set to + GL_TRUE, invert the coverage value. See glSampleCoverage.

GL_SCISSOR_TEST

If enabled, discard fragments that are outside the @@ -134,7 +134,7 @@ glCompressedTexImage2D, and glCopyTexImage2D.

Notes

- GL_CLIP_PLANEi and + GL_CLIP_PLANEi and GL_POINT_SPRITE_OES are only supported if the GL version is 1.1 or greater.

Errors

GL_INVALID_ENUM is generated if @@ -176,4 +176,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glEnableClientState.xhtml b/es1/glEnableClientState.xhtml index 9e8d60b2..00847290 100644 --- a/es1/glEnableClientState.xhtml +++ b/es1/glEnableClientState.xhtml @@ -1,15 +1,15 @@ -

Name

glEnableClientState — enable or disable client-side capability

C Specification

void glEnableClientState(GLenum array);
 
void glDisableClientState(GLenum array);
 

Parameters

+

Name

glEnableClientState — enable or disable client-side capability

C Specification

void glEnableClientState(GLenum array);
 
void glDisableClientState(GLenum array);
 

Parameters

array

Specifies the capability to enable or disable. Symbolic constants GL_COLOR_ARRAY, - + GL_NORMAL_ARRAY, GL_POINT_SIZE_ARRAY_OES, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY - + are accepted.

Description

glEnableClientState and @@ -74,4 +74,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glFinish.xhtml b/es1/glFinish.xhtml index 06c1e838..2259e603 100644 --- a/es1/glFinish.xhtml +++ b/es1/glFinish.xhtml @@ -1,11 +1,11 @@ -

Name

glFinish — block until all GL execution is complete

C Specification

void glFinish(void); 
 

Description

+

Name

glFinish — block until all GL execution is complete

C Specification

void glFinish(void); 
 

Description

glFinish does not return until the effects of all previously called GL commands are complete. Such effects include all changes to GL client and server state as well as all changes to the frame buffer contents.

Notes

glFinish is NOT required before a call to eglSwapBuffers - or glReadPixels. + or glReadPixels. glFinish can take some time and for performance reasons it is best to use this function infrequently and only when necessary. @@ -18,4 +18,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glFlush.xhtml b/es1/glFlush.xhtml index cf6ba84c..60e2dde2 100644 --- a/es1/glFlush.xhtml +++ b/es1/glFlush.xhtml @@ -1,4 +1,4 @@ -

Name

glFlush — force execution of GL commands in finite time

C Specification

void glFlush(void); 
 

Description

Different GL implementations may buffer commands in +

Name

glFlush — force execution of GL commands in finite time

C Specification

void glFlush(void); 
 

Description

Different GL implementations may buffer commands in several different locations, including the GL client, the GL server, and the graphics accelerator. glFlush empties all of these buffers, @@ -21,4 +21,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glFog.xhtml b/es1/glFog.xhtml index e330d527..c3d0f18d 100644 --- a/es1/glFog.xhtml +++ b/es1/glFog.xhtml @@ -1,4 +1,4 @@ -

Name

glFog — specify fog parameters

C Specification

void glFogf(GLenum pname,
 GLfloat param);
 
void glFogx(GLenum pname,
 GLfixed param);
 

Parameters

+

Name

glFog — specify fog parameters

C Specification

void glFogf(GLenum pname,
 GLfloat param);
 
void glFogx(GLenum pname,
 GLfixed param);
 

Parameters

pname

Specifies a single-valued fog parameter. GL_FOG_MODE, @@ -9,7 +9,7 @@

Specifies the value that pname - will be set to.

C Specification

void glFogfv(GLenum pname,
 const GLfloat * params);
 
void glFogxv(GLenum pname,
 const GLfixed * params);
 

Parameters

+ will be set to.

C Specification

void glFogfv(GLenum pname,
 const GLfloat * params);
 
void glFogxv(GLenum pname,
 const GLfixed * params);
 

Parameters

pname

Specifies a fog parameter. GL_FOG_MODE, diff --git a/es1/glFrontFace.xhtml b/es1/glFrontFace.xhtml index 3bfe2c20..fac871c6 100644 --- a/es1/glFrontFace.xhtml +++ b/es1/glFrontFace.xhtml @@ -1,4 +1,4 @@ -

Name

glFrontFace — define front- and back-facing polygons

C Specification

void glFrontFace(GLenum mode);
 

Parameters

+

Name

glFrontFace — define front- and back-facing polygons

C Specification

void glFrontFace(GLenum mode);
 

Parameters

mode

Specifies the orientation of front-facing polygons. GL_CW and @@ -37,4 +37,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glFrustum.xhtml b/es1/glFrustum.xhtml index d19f0146..e81c23b0 100644 --- a/es1/glFrustum.xhtml +++ b/es1/glFrustum.xhtml @@ -1,4 +1,4 @@ -

Name

glFrustum — multiply the current matrix by a perspective matrix

C Specification

void glFrustumf(GLfloat left,
 GLfloat right,
 GLfloat bottom,
 GLfloat top,
 GLfloat near,
 GLfloat far);
 
void glFrustumx(GLfixed left,
 GLfixed right,
 GLfixed bottom,
 GLfixed top,
 GLfixed near,
 GLfixed far);
 

Parameters

+

Name

glFrustum — multiply the current matrix by a perspective matrix

C Specification

void glFrustumf(GLfloat left,
 GLfloat right,
 GLfloat bottom,
 GLfloat top,
 GLfloat near,
 GLfloat far);
 
void glFrustumx(GLfixed left,
 GLfixed right,
 GLfixed bottom,
 GLfixed top,
 GLfixed near,
 GLfixed far);
 

Parameters

left, right

Specify the coordinates for the left and right diff --git a/es1/glGenBuffers.xhtml b/es1/glGenBuffers.xhtml index b930f82f..fc1370db 100644 --- a/es1/glGenBuffers.xhtml +++ b/es1/glGenBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenBuffers — generate buffer object names

C Specification

void glGenBuffers(GLsizei n,
 GLuint * buffers);
 

Parameters

+

Name

glGenBuffers — generate buffer object names

C Specification

void glGenBuffers(GLsizei n,
 GLuint * buffers);
 

Parameters

n

Specifies the number of buffer object names to be generated.

buffers @@ -10,7 +10,7 @@ was in use immediately before the call to glGenBuffers.

Buffer object names returned by a call to glGenBuffers are not returned by subsequent calls, unless they are first deleted with glDeleteBuffers.

No buffer objects are associated with the returned buffer object names - until they are first bound by calling + until they are first bound by calling glBindBuffer.

Errors

GL_INVALID_VALUE is generated if n is negative.

Associated Gets

glIsBuffer @@ -24,4 +24,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glGenTextures.xhtml b/es1/glGenTextures.xhtml index 225fee43..64f1962e 100644 --- a/es1/glGenTextures.xhtml +++ b/es1/glGenTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glGenTextures — generate texture names

C Specification

void glGenTextures(GLsizei n,
 GLuint * textures);
 

Parameters

+

Name

glGenTextures — generate texture names

C Specification

void glGenTextures(GLsizei n,
 GLuint * textures);
 

Parameters

n

Specifies the number of texture names to be generated.

textures @@ -29,4 +29,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glGet.xhtml b/es1/glGet.xhtml index 3eefacc1..6b2f3932 100644 --- a/es1/glGet.xhtml +++ b/es1/glGet.xhtml @@ -1,4 +1,4 @@ -

Name

glGet — return the value or values of a selected parameter

C Specification

void glGetBooleanv(GLenum pname,
 GLboolean * params);
 
void glGetFixedv(GLenum pname,
 GLfixed * params);
 
void glGetFloatv(GLenum pname,
 GLfloat * params);
 
void glGetIntegerv(GLenum pname,
 GLint * params);
 

Parameters

+

Name

glGet — return the value or values of a selected parameter

C Specification

void glGetBooleanv(GLenum pname,
 GLboolean * params);
 
void glGetFixedv(GLenum pname,
 GLfixed * params);
 
void glGetFloatv(GLenum pname,
 GLfloat * params);
 
void glGetIntegerv(GLenum pname,
 GLint * params);
 

Parameters

pname

Specifies the parameter value to be returned. The symbolic constants in the list below are accepted.

diff --git a/es1/glGetBufferParameteriv.xhtml b/es1/glGetBufferParameteriv.xhtml index ed18e6d1..a8306e58 100644 --- a/es1/glGetBufferParameteriv.xhtml +++ b/es1/glGetBufferParameteriv.xhtml @@ -1,8 +1,8 @@ -

Name

glGetBufferParameteriv — return parameters of a buffer object

C Specification

void glGetBufferParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 

Parameters

+

Name

glGetBufferParameteriv — return parameters of a buffer object

C Specification

void glGetBufferParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 

Parameters

target

Specifies the target buffer object. - The symbolic constant must be GL_ARRAY_BUFFER or + The symbolic constant must be GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER.

pname @@ -18,7 +18,7 @@

pname names a specific buffer object parameter, as follows:

GL_BUFFER_SIZE

- params returns the size of the buffer object, measured in bytes. + params returns the size of the buffer object, measured in bytes. The initial value is 0.

GL_BUFFER_USAGE

params returns the buffer object's usage pattern. The initial value is @@ -39,4 +39,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glGetClipPlane.xhtml b/es1/glGetClipPlane.xhtml index b8218292..52755f0a 100644 --- a/es1/glGetClipPlane.xhtml +++ b/es1/glGetClipPlane.xhtml @@ -1,5 +1,5 @@

Name

glGetClipPlane — return the coefficients of the specified clipping - plane

C Specification

void glGetClipPlanef(GLenum plane,
 GLfloat *equation);
 
void glGetClipPlanex(GLenum plane,
 GLfixed *equation);
 

Parameters

plane

Specifies a clipping plane. The number of clipping planes + plane

C Specification

void glGetClipPlanef(GLenum plane,
 GLfloat *equation);
 
void glGetClipPlanex(GLenum plane,
 GLfixed *equation);
 

Parameters

plane

Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. Symbolic names of the form GL_CLIP_PLANE i, where diff --git a/es1/glGetError.xhtml b/es1/glGetError.xhtml index 58f6483d..950236fd 100644 --- a/es1/glGetError.xhtml +++ b/es1/glGetError.xhtml @@ -1,4 +1,4 @@ -

Name

glGetError — return error information

C Specification

GLenum glGetError(void); 
 

Description

+

Name

glGetError — return error information

C Specification

GLenum glGetError(void); 
 

Description

glGetError returns the value of the error flag. Each detectable error is assigned a numeric code and symbolic name. When an error @@ -63,4 +63,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glGetLight.xhtml b/es1/glGetLight.xhtml index d1884854..421e7c1a 100644 --- a/es1/glGetLight.xhtml +++ b/es1/glGetLight.xhtml @@ -1,4 +1,4 @@ -

Name

glGetLight — return light source parameter values

C Specification

void glGetLightfv(GLenum light,
 GLenum pname,
 GLfloat * params);
 
void glGetLightxv(GLenum light,
 GLenum pname,
 GLfixed * params);
 

Parameters

+

Name

glGetLight — return light source parameter values

C Specification

void glGetLightfv(GLenum light,
 GLenum pname,
 GLfloat * params);
 
void glGetLightxv(GLenum light,
 GLenum pname,
 GLfixed * params);
 

Parameters

light

Specifies a light source. The number of possible diff --git a/es1/glGetMaterial.xhtml b/es1/glGetMaterial.xhtml index 88ad5590..df256219 100644 --- a/es1/glGetMaterial.xhtml +++ b/es1/glGetMaterial.xhtml @@ -1,4 +1,4 @@ -

Name

glGetMaterial — return material parameters values

C Specification

void glGetMaterialfv(GLenum face,
 GLenum pname,
 GLfloat * params);
 
void glGetMaterialxv(GLenum face,
 GLenum pname,
 GLfixed * params);
 

Parameters

+

Name

glGetMaterial — return material parameters values

C Specification

void glGetMaterialfv(GLenum face,
 GLenum pname,
 GLfloat * params);
 
void glGetMaterialxv(GLenum face,
 GLenum pname,
 GLfixed * params);
 

Parameters

face

Specifies which of the two materials is being @@ -32,7 +32,7 @@ returns four fixed-point or floating-point values that specify the ambient RGBA reflectance of the material. The values are not clamped. The initial ambient reflectance - + is (0.2, 0.2, 0.2, 1.0).

GL_DIFFUSE @@ -41,7 +41,7 @@ returns four fixed-point or floating-point values that specify the diffuse RGBA reflectance of the material. The values are not clamped. The initial diffuse reflectance - + is (0.8, 0.8, 0.8, 1.0).

GL_SPECULAR @@ -50,7 +50,7 @@ returns four fixed-point or floating-point values that specify the specular RGBA reflectance of the material. The values are not clamped. The initial specular reflectance - + is (0, 0, 0, 1).

GL_EMISSION @@ -59,7 +59,7 @@ returns four fixed-point or floating-point values that specify the RGBA emitted light intensity of the material. The values are not clamped. The initial emission intensity - + is (0, 0, 0, 1).

GL_SHININESS @@ -68,16 +68,16 @@ returns a single fixed-point or floating-point value that specifies the RGBA specular exponent of the material. The initial specular exponent - + is 0.

Notes

If an error is generated, no change is made to the contents of params.

In OpenGL ES there is only one material shared by the front and back. - Therefore querying + Therefore querying GL_FRONT - and querying + and querying GL_BACK will always return the same value. @@ -92,4 +92,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glGetPointerv.xhtml b/es1/glGetPointerv.xhtml index f66e8131..f10af4b3 100644 --- a/es1/glGetPointerv.xhtml +++ b/es1/glGetPointerv.xhtml @@ -1,15 +1,15 @@ -

Name

glGetPointerv — return the address of the specified pointer

C Specification

void glGetPointerv(GLenum pname,
 GLvoid ** params);
 

Parameters

+

Name

glGetPointerv — return the address of the specified pointer

C Specification

void glGetPointerv(GLenum pname,
 GLvoid ** params);
 

Parameters

pname

Specifies the array or buffer pointer to be returned. Accepted symbolic names are GL_COLOR_ARRAY_POINTER, - + GL_NORMAL_ARRAY_POINTER, GL_POINT_SIZE_ARRAY_POINTER_OES, GL_TEXTURE_COORD_ARRAY_POINTER, and GL_VERTEX_ARRAY_POINTER. - +

params

@@ -31,9 +31,9 @@ glBindBuffer) when the desired pointer was previously specified, the pointer returned is a byte offset into the buffer object's data store. -

Notes

+

Notes

glGetPointerv is only supported - if the OpenGL ES version number is 1.1 or greater. + if the OpenGL ES version number is 1.1 or greater.

The pointers are all client-side state.

@@ -51,10 +51,10 @@ glTexCoordPointer, glPointSizePointerOES, glVertexPointer - +

Copyright

Copyright © 2003-2004 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glGetString.xhtml b/es1/glGetString.xhtml index ba52dc3b..c4f65de2 100644 --- a/es1/glGetString.xhtml +++ b/es1/glGetString.xhtml @@ -1,5 +1,5 @@

Name

glGetString — return a string describing the current GL - connection

C Specification

const GLubyte * glGetString(GLenum name);
 

Parameters

+ connection

C Specification

const GLubyte * glGetString(GLenum name);
 

Parameters

name

Specifies a symbolic constant, one of GL_VENDOR, @@ -36,9 +36,9 @@ as extensions to the standard GL. The GL_EXTENSIONS string is a space-separated list of supported GL extensions. (Extension names never contain a space character.)

The GL_VERSION string identifies both the version number - and the profile. The form of the string is "OpenGL ES-<profile> + and the profile. The form of the string is "OpenGL ES-<profile> <major>.<minor>", where <profile> is either "CM" - (Common) or "CL" (Common-Lite), and <major> and <minor> are + (Common) or "CL" (Common-Lite), and <major> and <minor> are integers. OpenGL ES 1.0 and OpenGL ES 1.1 will both have <major> of 1 but 0 or 1 for <minor>, respectively.

All strings are null-terminated.

Notes

If an error is generated, glGetString returns NULL.

The client and server may support different versions or @@ -51,4 +51,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glGetTexEnv.xhtml b/es1/glGetTexEnv.xhtml index c6ebb160..975edb96 100644 --- a/es1/glGetTexEnv.xhtml +++ b/es1/glGetTexEnv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexEnv — return texture environment parameters

C Specification

void glGetTexEnvfv(GLenum target,
 GLenum pname,
 GLfloat * params);
 
void glGetTexEnviv(GLenum target,
 GLenum pname,
 GLint * params);
 
void glGetTexEnvxv(GLenum target,
 GLenum pname,
 GLfixed * params);
 

Parameters

target

+

Name

glGetTexEnv — return texture environment parameters

C Specification

void glGetTexEnvfv(GLenum target,
 GLenum pname,
 GLfloat * params);
 
void glGetTexEnviv(GLenum target,
 GLenum pname,
 GLint * params);
 
void glGetTexEnvxv(GLenum target,
 GLenum pname,
 GLfixed * params);
 

Parameters

target

Specifies a texture environment. May be GL_TEXTURE_ENV or GL_POINT_SPRITE_OES. diff --git a/es1/glGetTexParameter.xhtml b/es1/glGetTexParameter.xhtml index 85419f2f..b78014a9 100644 --- a/es1/glGetTexParameter.xhtml +++ b/es1/glGetTexParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexParameter — return texture parameter values

C Specification

void glGetTexParameterfv(GLenum target,
 GLenum pname,
 GLfloat * params);
 
void glGetTexParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 
void glGetTexParameterxv(GLenum target,
 GLenum pname,
 GLfixed * params);
 

Parameters

+

Name

glGetTexParameter — return texture parameter values

C Specification

void glGetTexParameterfv(GLenum target,
 GLenum pname,
 GLfloat * params);
 
void glGetTexParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 
void glGetTexParameterxv(GLenum target,
 GLenum pname,
 GLfixed * params);
 

Parameters

target

Specifies the target texture, which must be GL_TEXTURE_2D.

@@ -85,4 +85,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glHint.xhtml b/es1/glHint.xhtml index e76c8f75..a6c661df 100644 --- a/es1/glHint.xhtml +++ b/es1/glHint.xhtml @@ -1,4 +1,4 @@ -

Name

glHint — specify implementation-specific hints

C Specification

void glHint(GLenum target,
 GLenum mode);
 

Parameters

+

Name

glHint — specify implementation-specific hints

C Specification

void glHint(GLenum target,
 GLenum mode);
 

Parameters

target

Specifies a symbolic constant indicating the behavior to be controlled. @@ -73,4 +73,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glIsBuffer.xhtml b/es1/glIsBuffer.xhtml index 892de7cf..79636872 100644 --- a/es1/glIsBuffer.xhtml +++ b/es1/glIsBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glIsBuffer — determine if a name corresponds to a buffer object

C Specification

GLboolean glIsBuffer(GLuint buffer);
 

Parameters

+

Name

glIsBuffer — determine if a name corresponds to a buffer object

C Specification

GLboolean glIsBuffer(GLuint buffer);
 

Parameters

buffer

Specifies a value that may be the name of a buffer object. @@ -26,4 +26,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glIsEnabled.xhtml b/es1/glIsEnabled.xhtml index a89326de..15ef9e69 100644 --- a/es1/glIsEnabled.xhtml +++ b/es1/glIsEnabled.xhtml @@ -1,4 +1,4 @@ -

Name

glIsEnabled — test whether a capability is enabled

C Specification

GLboolean glIsEnabled(GLenum cap);
 

Parameters

+

Name

glIsEnabled — test whether a capability is enabled

C Specification

GLboolean glIsEnabled(GLenum cap);
 

Parameters

cap

Specifies a symbolic constant indicating a GL capability. @@ -8,7 +8,7 @@ capability and returns GL_FALSE otherwise.

The following capabilities are accepted for cap: -

Constant See function:
   
GL_ALPHA_TEST  +

Constant See function:
   
GL_ALPHA_TEST  glAlphaFunc
GL_BLEND  glBlendFunc, diff --git a/es1/glIsTexture.xhtml b/es1/glIsTexture.xhtml index 7de4990a..aa5684f8 100644 --- a/es1/glIsTexture.xhtml +++ b/es1/glIsTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glIsTexture — determine if a name corresponds to a texture

C Specification

GLboolean glIsTexture(GLuint texture);
 

Parameters

+

Name

glIsTexture — determine if a name corresponds to a texture

C Specification

GLboolean glIsTexture(GLuint texture);
 

Parameters

texture

Specifies a value that may be the name of a texture. @@ -26,4 +26,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glLight.xhtml b/es1/glLight.xhtml index c3b70233..12347b8b 100644 --- a/es1/glLight.xhtml +++ b/es1/glLight.xhtml @@ -1,4 +1,4 @@ -

Name

glLight — set light source parameters

C Specification

void glLightf(GLenum light,
 GLenum pname,
 GLfloat param);
 
void glLightx(GLenum light,
 GLenum pname,
 GLfixed param);
 

Parameters

+

Name

glLight — set light source parameters

C Specification

void glLightf(GLenum light,
 GLenum pname,
 GLfloat param);
 
void glLightx(GLenum light,
 GLenum pname,
 GLfixed param);
 

Parameters

light

Specifies a light. The number of lights depends on the implementation, but at least eight lights are @@ -24,7 +24,7 @@ are accepted.

param

Specifies the value that parameter pname - of light source light will be set to.

C Specification

void glLightfv(GLenum light,
 GLenum pname,
 const GLfloat * params);
 
void glLightxv(GLenum light,
 GLenum pname,
 const GLfixed * params);
 

Parameters

+ of light source light will be set to.

C Specification

void glLightfv(GLenum light,
 GLenum pname,
 const GLfloat * params);
 
void glLightxv(GLenum light,
 GLenum pname,
 const GLfixed * params);
 

Parameters

light

Specifies a light. The number of lights depends on the implementation, but at least eight lights are diff --git a/es1/glLightModel.xhtml b/es1/glLightModel.xhtml index 71832d20..78ef63e7 100644 --- a/es1/glLightModel.xhtml +++ b/es1/glLightModel.xhtml @@ -1,10 +1,10 @@ -

Name

glLightModel — set the lighting model parameters

C Specification

void glLightModelf(GLenum pname,
 GLfloat param);
 
void glLightModelx(GLenum pname,
 GLfixed param);
 

Parameters

+

Name

glLightModel — set the lighting model parameters

C Specification

void glLightModelf(GLenum pname,
 GLfloat param);
 
void glLightModelx(GLenum pname,
 GLfixed param);
 

Parameters

pname

Specifies a single-valued lighting model parameter. Must be GL_LIGHT_MODEL_TWO_SIDE.

param

Specifies the value that param - will be set to.

C Specification

void glLightModelfv(GLenum pname,
 const GLfloat * params);
 
void glLightModelxv(GLenum pname,
 const GLfixed * params);
 

Parameters

+ will be set to.

C Specification

void glLightModelfv(GLenum pname,
 const GLfloat * params);
 
void glLightModelxv(GLenum pname,
 const GLfixed * params);
 

Parameters

pname

Specifies a lighting model parameter. GL_LIGHT_MODEL_AMBIENT and @@ -33,7 +33,7 @@ Otherwise, two-sided lighting is specified. In this case, vertices of back-facing polygons have their normals reversed before the lighting equation is evaluated. Vertices of - front-facing polygons are always lighted with no change to + front-facing polygons are always lighted with no change to their normals. The initial value is 0. Note that there is only one set of material properties shared by both front- and back-facing polygons.

The lighted color of a vertex is the sum of the material @@ -65,4 +65,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glLineWidth.xhtml b/es1/glLineWidth.xhtml index 7bb3ffc4..50bdb026 100644 --- a/es1/glLineWidth.xhtml +++ b/es1/glLineWidth.xhtml @@ -1,4 +1,4 @@ -

Name

glLineWidth — specify the width of rasterized lines

C Specification

void glLineWidth(GLfloat width);
 
void glLineWidthx(GLfixed width);
 

Parameters

+

Name

glLineWidth — specify the width of rasterized lines

C Specification

void glLineWidth(GLfloat width);
 
void glLineWidthx(GLfixed width);
 

Parameters

width

Specifies the width of rasterized lines. The initial value is 1.

Description

diff --git a/es1/glLoadIdentity.xhtml b/es1/glLoadIdentity.xhtml index 4ceb7913..fcbfdecc 100644 --- a/es1/glLoadIdentity.xhtml +++ b/es1/glLoadIdentity.xhtml @@ -1,5 +1,5 @@

Name

glLoadIdentity — replace the current matrix with the identity - matrix

C Specification

void glLoadIdentity(void); 
 

Description

+ matrix

C Specification

void glLoadIdentity(void); 
 

Description

glLoadIdentity replaces the current matrix with the identity matrix. It is semantically equivalent to calling diff --git a/es1/glLoadMatrix.xhtml b/es1/glLoadMatrix.xhtml index bdd531f5..fb681560 100644 --- a/es1/glLoadMatrix.xhtml +++ b/es1/glLoadMatrix.xhtml @@ -1,5 +1,5 @@

Name

glLoadMatrix — replace the current matrix with the specified - matrix

C Specification

void glLoadMatrixf(const GLfloat * m);
 
void glLoadMatrixx(const GLfixed * m);
 

Parameters

+ matrix

C Specification

void glLoadMatrixf(const GLfloat * m);
 
void glLoadMatrixx(const GLfixed * m);
 

Parameters

m

Specifies a pointer to 16 consecutive values, which are used as the elements of a diff --git a/es1/glLogicOp.xhtml b/es1/glLogicOp.xhtml index c42a1f38..53862770 100644 --- a/es1/glLogicOp.xhtml +++ b/es1/glLogicOp.xhtml @@ -1,4 +1,4 @@ -

Name

glLogicOp — specify a logical pixel operation

C Specification

void glLogicOp(GLenum opcode);
 

Parameters

+

Name

glLogicOp — specify a logical pixel operation

C Specification

void glLogicOp(GLenum opcode);
 

Parameters

opcode

Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: @@ -27,7 +27,7 @@ glDisable with argument GL_COLOR_LOGIC_OP. Logical operation is initially disabled. -

OpcodeResulting Operation
GL_CLEAR0
GL_SET1
GL_COPYs
GL_COPY_INVERTED +

OpcodeResulting Operation
GL_CLEAR0
GL_SET1
GL_COPYs
GL_COPY_INVERTED ~s diff --git a/es1/glMaterial.xhtml b/es1/glMaterial.xhtml index 54f7ed83..1a0ed206 100644 --- a/es1/glMaterial.xhtml +++ b/es1/glMaterial.xhtml @@ -1,4 +1,4 @@ -

Name

glMaterial — specify material parameters for the lighting model

C Specification

void glMaterialf(GLenum face,
 GLenum pname,
 GLfloat param);
 
void glMaterialx(GLenum face,
 GLenum pname,
 GLfixed param);
 

Parameters

+

Name

glMaterial — specify material parameters for the lighting model

C Specification

void glMaterialf(GLenum face,
 GLenum pname,
 GLfloat param);
 
void glMaterialx(GLenum face,
 GLenum pname,
 GLfixed param);
 

Parameters

face

Specifies which face or faces are being updated. Must be GL_FRONT_AND_BACK.

@@ -8,7 +8,7 @@ GL_SHININESS.

param

Specifies the value that parameter - GL_SHININESS will be set to.

C Specification

void glMaterialfv(GLenum face,
 GLenum pname,
 const GLfloat * params);
 
void glMaterialxv(GLenum face,
 GLenum pname,
 const GLfixed * params);
 

Parameters

+ GL_SHININESS will be set to.

C Specification

void glMaterialfv(GLenum face,
 GLenum pname,
 const GLfloat * params);
 
void glMaterialxv(GLenum face,
 GLenum pname,
 const GLfixed * params);
 

Parameters

face

Specifies which face or faces are being updated. Must be GL_FRONT_AND_BACK. @@ -125,4 +125,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glMatrixMode.xhtml b/es1/glMatrixMode.xhtml index 6f7b8696..95af09d3 100644 --- a/es1/glMatrixMode.xhtml +++ b/es1/glMatrixMode.xhtml @@ -1,4 +1,4 @@ -

Name

glMatrixMode — specify which matrix is the current matrix

C Specification

void glMatrixMode(GLenum mode);
 

Parameters

+

Name

glMatrixMode — specify which matrix is the current matrix

C Specification

void glMatrixMode(GLenum mode);
 

Parameters

mode

Specifies which matrix stack is the target for @@ -7,7 +7,7 @@ GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. - + The initial value is GL_MODELVIEW.

Description

glMatrixMode sets the current matrix mode. @@ -25,16 +25,16 @@ mode is not an accepted value.

Associated Gets

glGet with argument GL_MATRIX_MODE

See Also

- + glLoadMatrix, - - + + glMultMatrix, glPushMatrix - +

Copyright

Copyright © 2003-2004 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glMultMatrix.xhtml b/es1/glMultMatrix.xhtml index b6265a15..86f87021 100644 --- a/es1/glMultMatrix.xhtml +++ b/es1/glMultMatrix.xhtml @@ -1,5 +1,5 @@

Name

glMultMatrix — multiply the current matrix with the specified - matrix

C Specification

void glMultMatrixf(const GLfloat * m);
 
void glMultMatrixx(const GLfixed * m);
 

Parameters

+ matrix

C Specification

void glMultMatrixf(const GLfloat * m);
 
void glMultMatrixx(const GLfixed * m);
 

Parameters

m

Points to 16 consecutive values that are used as the elements of a diff --git a/es1/glMultiTexCoord.xhtml b/es1/glMultiTexCoord.xhtml index 1691f0c8..241468c1 100644 --- a/es1/glMultiTexCoord.xhtml +++ b/es1/glMultiTexCoord.xhtml @@ -1,4 +1,4 @@ -

Name

glMultiTexCoord — set the current texture coordinates

C Specification

void glMultiTexCoord4f(GLenum target,
 GLfloat s,
 GLfloat t,
 GLfloat r,
 GLfloat q);
 
void glMultiTexCoord4x(GLenum target,
 GLfixed s,
 GLfixed t,
 GLfixed r,
 GLfixed q);
 

Parameters

+

Name

glMultiTexCoord — set the current texture coordinates

C Specification

void glMultiTexCoord4f(GLenum target,
 GLfloat s,
 GLfloat t,
 GLfloat r,
 GLfloat q);
 
void glMultiTexCoord4x(GLenum target,
 GLfixed s,
 GLfixed t,
 GLfixed r,
 GLfixed q);
 

Parameters

target

Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation diff --git a/es1/glNormal.xhtml b/es1/glNormal.xhtml index 31590a0f..a5f4c2c1 100644 --- a/es1/glNormal.xhtml +++ b/es1/glNormal.xhtml @@ -1,4 +1,4 @@ -

Name

glNormal — set the current normal vector

C Specification

void glNormal3f(GLfloat nx,
 GLfloat ny,
 GLfloat nz);
 
void glNormal3x(GLfixed nx,
 GLfixed ny,
 GLfixed nz);
 

Parameters

+

Name

glNormal — set the current normal vector

C Specification

void glNormal3f(GLfloat nx,
 GLfloat ny,
 GLfloat nz);
 
void glNormal3x(GLfixed nx,
 GLfixed ny,
 GLfixed nz);
 

Parameters

nx, ny, nz @@ -40,4 +40,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glNormalPointer.xhtml b/es1/glNormalPointer.xhtml index ca37e3e3..947a0cf9 100644 --- a/es1/glNormalPointer.xhtml +++ b/es1/glNormalPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glNormalPointer — define an array of normals

C Specification

void glNormalPointer(GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

+

Name

glNormalPointer — define an array of normals

C Specification

void glNormalPointer(GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

type

Specifies the data type of each coordinate in the array. Symbolic constants @@ -65,4 +65,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glOrtho.xhtml b/es1/glOrtho.xhtml index 2c0f9ec2..909d7ff2 100644 --- a/es1/glOrtho.xhtml +++ b/es1/glOrtho.xhtml @@ -1,5 +1,5 @@

Name

glOrtho — multiply the current matrix with an orthographic - matrix

C Specification

void glOrthof(GLfloat left,
 GLfloat right,
 GLfloat bottom,
 GLfloat top,
 GLfloat near,
 GLfloat far);
 
void glOrthox(GLfixed left,
 GLfixed right,
 GLfixed bottom,
 GLfixed top,
 GLfixed near,
 GLfixed far);
 

Parameters

+ matrix

C Specification

void glOrthof(GLfloat left,
 GLfloat right,
 GLfloat bottom,
 GLfloat top,
 GLfloat near,
 GLfloat far);
 
void glOrthox(GLfixed left,
 GLfixed right,
 GLfixed bottom,
 GLfixed top,
 GLfixed near,
 GLfixed far);
 

Parameters

left, right

Specify the coordinates for the left and right diff --git a/es1/glPixelStorei.xhtml b/es1/glPixelStorei.xhtml index 725e0705..52d7c41f 100644 --- a/es1/glPixelStorei.xhtml +++ b/es1/glPixelStorei.xhtml @@ -1,4 +1,4 @@ -

Name

glPixelStorei — set pixel storage modes

C Specification

void glPixelStorei(GLenum pname,
 GLint param);
 

Parameters

+

Name

glPixelStorei — set pixel storage modes

C Specification

void glPixelStorei(GLenum pname,
 GLint param);
 

Parameters

pname

Specifies the symbolic name of the parameter to be set. GL_PACK_ALIGNMENT @@ -48,7 +48,7 @@

Errors

GL_INVALID_ENUM is generated if pname is not an accepted value.

GL_INVALID_VALUE is generated if alignment is specified as other than 1, 2, 4, or 8.

Associated Gets

- glGet with argument + glGet with argument GL_PACK_ALIGNMENT or GL_UNPACK_ALIGNMENT

See Also

glReadPixels, @@ -61,4 +61,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glPointParameter.xhtml b/es1/glPointParameter.xhtml index 1cefb432..1116f4e8 100644 --- a/es1/glPointParameter.xhtml +++ b/es1/glPointParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glPointParameter — specify parameters for point rasterization

C Specification

void glPointParameterf(GLenum pname,
 GLfloat param);
 
void glPointParameterx(GLenum pname,
 GLfixed param);
 

Parameters

+

Name

glPointParameter — specify parameters for point rasterization

C Specification

void glPointParameterf(GLenum pname,
 GLfloat param);
 
void glPointParameterx(GLenum pname,
 GLfixed param);
 

Parameters

pname

Specifies the single-valued parameter to be updated. @@ -10,7 +10,7 @@ param

Specifies the value that the parameter will be set to. -

C Specification

void glPointParameterfv(GLenum pname,
 const GLfloat * params);
 
void glPointParameterxv(GLenum pname,
 const GLfixed * params);
 

Parameters

+

C Specification

void glPointParameterfv(GLenum pname,
 const GLfloat * params);
 
void glPointParameterxv(GLenum pname,
 const GLfixed * params);
 

Parameters

pname

Specifies the parameter to be updated. @@ -100,4 +100,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glPointSize.xhtml b/es1/glPointSize.xhtml index 7ca41fb9..04a90b95 100644 --- a/es1/glPointSize.xhtml +++ b/es1/glPointSize.xhtml @@ -1,4 +1,4 @@ -

Name

glPointSize — specify the diameter of rasterized points

C Specification

void glPointSize(GLfloat size);
 
void glPointSizex(GLfixed size);
 

Parameters

+

Name

glPointSize — specify the diameter of rasterized points

C Specification

void glPointSize(GLfloat size);
 
void glPointSizex(GLfixed size);
 

Parameters

size

Specifies the diameter of rasterized points. The initial value is 1.

Description

glPointSize diff --git a/es1/glPointSizePointerOES.xhtml b/es1/glPointSizePointerOES.xhtml index 6af4a96c..1cd31646 100644 --- a/es1/glPointSizePointerOES.xhtml +++ b/es1/glPointSizePointerOES.xhtml @@ -1,4 +1,4 @@ -

Name

glPointSizePointerOES — define an array of point sizes

C Specification

void glPointSizePointerOES(GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

+

Name

glPointSizePointerOES — define an array of point sizes

C Specification

void glPointSizePointerOES(GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

type

Specifies the data type of each point size in the @@ -60,9 +60,9 @@ with the argument GL_POINT_SIZE_ARRAY_OES. The point size array is initially disabled. -

Notes

+

Notes

glPointSizePointerOES is only supported - if the OpenGL ES version number is 1.1 or greater. + if the OpenGL ES version number is 1.1 or greater.

If point size array is enabled, the point size defined by @@ -87,4 +87,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glPolygonOffset.xhtml b/es1/glPolygonOffset.xhtml index 0fed1c31..c2b269c7 100644 --- a/es1/glPolygonOffset.xhtml +++ b/es1/glPolygonOffset.xhtml @@ -1,5 +1,5 @@

Name

glPolygonOffset — set the scale and units used to calculate depth - values

C Specification

void glPolygonOffset(GLfloat factor,
 GLfloat units);
 
void glPolygonOffsetx(GLfixed factor,
 GLfixed units);
 

Parameters

+ values

C Specification

void glPolygonOffset(GLfloat factor,
 GLfloat units);
 
void glPolygonOffsetx(GLfixed factor,
 GLfixed units);
 

Parameters

factor

Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value diff --git a/es1/glPushMatrix.xhtml b/es1/glPushMatrix.xhtml index be38c6c8..ccb2f29a 100644 --- a/es1/glPushMatrix.xhtml +++ b/es1/glPushMatrix.xhtml @@ -1,4 +1,4 @@ -

Name

glPushMatrix, glPopMatrix — push and pop the current matrix stack

C Specification

void glPushMatrix(void); 
 
void glPopMatrix(void); 
 

Description

+

Name

glPushMatrix, glPopMatrix — push and pop the current matrix stack

C Specification

void glPushMatrix(void); 
 
void glPopMatrix(void); 
 

Description

There is a stack of matrices for each of the matrix modes. In GL_MODELVIEW mode, the stack depth is at least 16. In the other modes, @@ -54,4 +54,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glReadPixels.xhtml b/es1/glReadPixels.xhtml index db09c9fc..fb15ed52 100644 --- a/es1/glReadPixels.xhtml +++ b/es1/glReadPixels.xhtml @@ -1,4 +1,4 @@ -

Name

glReadPixels — read a block of pixels from the color buffer

C Specification

void glReadPixels(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 GLvoid * pixels);
 

Parameters

+

Name

glReadPixels — read a block of pixels from the color buffer

C Specification

void glReadPixels(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 GLvoid * pixels);
 

Parameters

x, y

Specify the window coordinates of the first pixel that is read from the color buffer. This location is the diff --git a/es1/glRotate.xhtml b/es1/glRotate.xhtml index 16c1c4ae..9bfd9d4d 100644 --- a/es1/glRotate.xhtml +++ b/es1/glRotate.xhtml @@ -1,4 +1,4 @@ -

Name

glRotate — multiply the current matrix by a rotation matrix

C Specification

void glRotatef(GLfloat angle,
 GLfloat x,
 GLfloat y,
 GLfloat z);
 
void glRotatex(GLfixed angle,
 GLfixed x,
 GLfixed y,
 GLfixed z);
 

Parameters

+

Name

glRotate — multiply the current matrix by a rotation matrix

C Specification

void glRotatef(GLfloat angle,
 GLfloat x,
 GLfloat y,
 GLfloat z);
 
void glRotatex(GLfixed angle,
 GLfixed x,
 GLfixed y,
 GLfixed z);
 

Parameters

angle

Specifies the angle of rotation, in degrees.

x, diff --git a/es1/glSampleCoverage.xhtml b/es1/glSampleCoverage.xhtml index 17d3faa5..d502bd67 100644 --- a/es1/glSampleCoverage.xhtml +++ b/es1/glSampleCoverage.xhtml @@ -1,4 +1,4 @@ -

Name

glSampleCoverage — specify mask to modify multisampled pixel fragments

C Specification

void glSampleCoverage(GLclampf value,
 GLboolean invert);
 
void glSampleCoveragex(GLclampx value,
 GLboolean invert);
 

Parameters

+

Name

glSampleCoverage — specify mask to modify multisampled pixel fragments

C Specification

void glSampleCoverage(GLclampf value,
 GLboolean invert);
 
void glSampleCoveragex(GLclampx value,
 GLboolean invert);
 

Parameters

value

Specifies the coverage of the modification mask. The value is clamped to the range [0, 1], where 0 represents @@ -68,4 +68,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glScale.xhtml b/es1/glScale.xhtml index c4f12255..a20934dd 100644 --- a/es1/glScale.xhtml +++ b/es1/glScale.xhtml @@ -1,5 +1,5 @@

Name

glScale — multiply the current matrix by a general scaling - matrix

C Specification

void glScalef(GLfloat x,
 GLfloat y,
 GLfloat z);
 
void glScalex(GLfixed x,
 GLfixed y,
 GLfixed z);
 

Parameters

+ matrix

C Specification

void glScalef(GLfloat x,
 GLfloat y,
 GLfloat z);
 
void glScalex(GLfixed x,
 GLfixed y,
 GLfixed z);
 

Parameters

x, y, z diff --git a/es1/glScissor.xhtml b/es1/glScissor.xhtml index 93c91b9c..1e305829 100644 --- a/es1/glScissor.xhtml +++ b/es1/glScissor.xhtml @@ -1,4 +1,4 @@ -

Name

glScissor — define the scissor box

C Specification

void glScissor(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

+

Name

glScissor — define the scissor box

C Specification

void glScissor(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

Specify the lower left corner of the scissor box, in pixels. The initial value is (0, 0).

@@ -35,4 +35,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glShadeModel.xhtml b/es1/glShadeModel.xhtml index 6f0fd570..1831b46d 100644 --- a/es1/glShadeModel.xhtml +++ b/es1/glShadeModel.xhtml @@ -1,4 +1,4 @@ -

Name

glShadeModel — select flat or smooth shading

C Specification

void glShadeModel(GLenum mode);
 

Parameters

+

Name

glShadeModel — select flat or smooth shading

C Specification

void glShadeModel(GLenum mode);
 

Parameters

mode

Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and @@ -35,7 +35,7 @@ in the following table. This is the last vertex to specify the polygon.

-

+

Primitive Type of Polygon i diff --git a/es1/glStencilFunc.xhtml b/es1/glStencilFunc.xhtml index 40fca811..7ab4bd6c 100644 --- a/es1/glStencilFunc.xhtml +++ b/es1/glStencilFunc.xhtml @@ -1,5 +1,5 @@

Name

glStencilFunc — set function and reference value for stencil - testing

C Specification

void glStencilFunc(GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

+ testing

C Specification

void glStencilFunc(GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

func

Specifies the test function. Eight tokens are valid: GL_NEVER, diff --git a/es1/glStencilMask.xhtml b/es1/glStencilMask.xhtml index ff324f18..6276ac6b 100644 --- a/es1/glStencilMask.xhtml +++ b/es1/glStencilMask.xhtml @@ -1,5 +1,5 @@

Name

glStencilMask — control the writing of individual bits in the - stencil planes

C Specification

void glStencilMask(GLuint mask);
 

Parameters

+ stencil planes

C Specification

void glStencilMask(GLuint mask);
 

Parameters

mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. The initial value @@ -14,7 +14,7 @@ corresponding bit is write-protected. Initially, all bits are enabled for writing.

Associated Gets

glGet - with argument GL_STENCIL_WRITEMASK or + with argument GL_STENCIL_WRITEMASK or GL_STENCIL_BITS

See Also

glClear, @@ -28,4 +28,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glStencilOp.xhtml b/es1/glStencilOp.xhtml index 6f6295b7..a85af562 100644 --- a/es1/glStencilOp.xhtml +++ b/es1/glStencilOp.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilOp — set stencil test actions

C Specification

void glStencilOp(GLenum fail,
 GLenum zfail,
 GLenum zpass);
 

Parameters

+

Name

glStencilOp — set stencil test actions

C Specification

void glStencilOp(GLenum fail,
 GLenum zfail,
 GLenum zpass);
 

Parameters

fail

Specifies the action to take when the stencil test fails. Six symbolic constants are accepted: diff --git a/es1/glTexCoordPointer.xhtml b/es1/glTexCoordPointer.xhtml index 195f026d..86cc6181 100644 --- a/es1/glTexCoordPointer.xhtml +++ b/es1/glTexCoordPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glTexCoordPointer — define an array of texture coordinates

C Specification

void glTexCoordPointer(GLint size,
 GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

+

Name

glTexCoordPointer — define an array of texture coordinates

C Specification

void glTexCoordPointer(GLint size,
 GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

size

Specifies the number of coordinates per array element. Must be 2, 3 or 4. The initial value is 4.

@@ -80,4 +80,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glTexEnv.xhtml b/es1/glTexEnv.xhtml index 6a943731..38f97579 100644 --- a/es1/glTexEnv.xhtml +++ b/es1/glTexEnv.xhtml @@ -1,4 +1,4 @@ -

Name

glTexEnv — set texture environment parameters

C Specification

void glTexEnvf(GLenum target,
 GLenum pname,
 GLfloat param);
 
void glTexEnvi(GLenum target,
 GLenum pname,
 GLint param);
 
void glTexEnvx(GLenum target,
 GLenum pname,
 GLfixed param);
 

Parameters

target

+

Name

glTexEnv — set texture environment parameters

C Specification

void glTexEnvf(GLenum target,
 GLenum pname,
 GLfloat param);
 
void glTexEnvi(GLenum target,
 GLenum pname,
 GLint param);
 
void glTexEnvx(GLenum target,
 GLenum pname,
 GLfixed param);
 

Parameters

target

Specifies a texture environment. May be GL_TEXTURE_ENV or GL_POINT_SPRITE_OES.

pname

@@ -30,7 +30,7 @@ GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. -

C Specification

void glTexEnvfv(GLenum target,
 GLenum pname,
 const GLfloat * params);
 
void glTexEnviv(GLenum target,
 GLenum pname,
 const GLint * params);
 
void glTexEnvxv(GLenum target,
 GLenum pname,
 const GLfixed * params);
 

Parameters

target

+

C Specification

void glTexEnvfv(GLenum target,
 GLenum pname,
 const GLfloat * params);
 
void glTexEnviv(GLenum target,
 GLenum pname,
 const GLint * params);
 
void glTexEnvxv(GLenum target,
 GLenum pname,
 const GLfixed * params);
 

Parameters

target

Specifies a texture environment. May be GL_TEXTURE_ENV or GL_POINT_SPRITE_OES.

pname

@@ -106,7 +106,7 @@ s are used by the texture functions described below.

-

+

Texture Base Internal Format C @@ -200,7 +200,7 @@ v indicates a value produced by the texture function.

-

+

Texture Base Internal Format Value @@ -965,7 +965,7 @@ GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_SUBTRACT, GL_DOT3_RGB, or GL_DOT3_RGBA.

-

+

GL_COMBINE_RGB Texture Function @@ -1152,7 +1152,7 @@ GL_SUBTRACT. The following table describes how alpha values are combined:

-

+

GL_COMBINE_ALPHA Texture Function @@ -1307,7 +1307,7 @@ Arg2 based upon the RGB sources and operands:

-

+

GL_SRCn_RGB GL_OPERANDn_RGB @@ -1624,7 +1624,7 @@ Arg2 based upon the alpha sources and operands:

-

+

GL_SRCn_ALPHA GL_OPERANDn_ALPHA diff --git a/es1/glTexImage2D.xhtml b/es1/glTexImage2D.xhtml index c4218f42..ea052758 100644 --- a/es1/glTexImage2D.xhtml +++ b/es1/glTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage2D — specify a two-dimensional texture image

C Specification

void glTexImage2D(GLenum target,
 GLint level,
 GLint internalformat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * pixels);
 

Parameters

+

Name

glTexImage2D — specify a two-dimensional texture image

C Specification

void glTexImage2D(GLenum target,
 GLint level,
 GLint internalformat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * pixels);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D.

diff --git a/es1/glTexParameter.xhtml b/es1/glTexParameter.xhtml index 8b2a2750..463b1ae8 100644 --- a/es1/glTexParameter.xhtml +++ b/es1/glTexParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glTexParameter — set texture parameters

C Specification

void glTexParameterf(GLenum target,
 GLenum pname,
 GLfloat param);
 
void glTexParameteri(GLenum target,
 GLenum pname,
 GLint param);
 
void glTexParameterx(GLenum target,
 GLenum pname,
 GLfixed param);
 

Parameters

+

Name

glTexParameter — set texture parameters

C Specification

void glTexParameterf(GLenum target,
 GLenum pname,
 GLfloat param);
 
void glTexParameteri(GLenum target,
 GLenum pname,
 GLint param);
 
void glTexParameterx(GLenum target,
 GLenum pname,
 GLfixed param);
 

Parameters

target

Specifies the target texture, which must be GL_TEXTURE_2D.

@@ -11,7 +11,7 @@ GL_TEXTURE_WRAP_T, or GL_GENERATE_MIPMAP.

param -

Specifies the value of pname.

C Specification

void glTexParameterfv(GLenum target,
 GLenum pname,
 GLfloat * params);
 
void glTexParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 
void glTexParameterxv(GLenum target,
 GLenum pname,
 GLfixed * params);
 

Parameters

+

Specifies the value of pname.

C Specification

void glTexParameterfv(GLenum target,
 GLenum pname,
 GLfloat * params);
 
void glTexParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 
void glTexParameterxv(GLenum target,
 GLenum pname,
 GLfixed * params);
 

Parameters

target

Specifies the target texture, which must be GL_TEXTURE_2D.

diff --git a/es1/glTexSubImage2D.xhtml b/es1/glTexSubImage2D.xhtml index 6b9f7deb..6029c663 100644 --- a/es1/glTexSubImage2D.xhtml +++ b/es1/glTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexSubImage2D — specify a two-dimensional texture subimage

C Specification

void glTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 const GLvoid * pixels);
 

Parameters

+

Name

glTexSubImage2D — specify a two-dimensional texture subimage

C Specification

void glTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 const GLvoid * pixels);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D.

diff --git a/es1/glTranslate.xhtml b/es1/glTranslate.xhtml index 4836c45a..119c05d7 100644 --- a/es1/glTranslate.xhtml +++ b/es1/glTranslate.xhtml @@ -1,4 +1,4 @@ -

Name

glTranslate — multiply the current matrix by a translation matrix

C Specification

void glTranslatef(GLfloat x,
 GLfloat y,
 GLfloat z);
 
void glTranslatex(GLfixed x,
 GLfixed y,
 GLfixed z);
 

Parameters

+

Name

glTranslate — multiply the current matrix by a translation matrix

C Specification

void glTranslatef(GLfloat x,
 GLfloat y,
 GLfloat z);
 
void glTranslatex(GLfixed x,
 GLfixed y,
 GLfixed z);
 

Parameters

x, y, z diff --git a/es1/glVertexPointer.xhtml b/es1/glVertexPointer.xhtml index 8f44fb4c..c7b99b3e 100644 --- a/es1/glVertexPointer.xhtml +++ b/es1/glVertexPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glVertexPointer — define an array of vertex coordinates

C Specification

void glVertexPointer(GLint size,
 GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

+

Name

glVertexPointer — define an array of vertex coordinates

C Specification

void glVertexPointer(GLint size,
 GLenum type,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

size

Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.

@@ -74,4 +74,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es1/glViewport.xhtml b/es1/glViewport.xhtml index b3ac0e34..5d9e84dc 100644 --- a/es1/glViewport.xhtml +++ b/es1/glViewport.xhtml @@ -1,4 +1,4 @@ -

Name

glViewport — set the viewport

C Specification

void glViewport(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

+

Name

glViewport — set the viewport

C Specification

void glViewport(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

Specify the lower left corner of the viewport diff --git a/es2/glActiveTexture.xhtml b/es2/glActiveTexture.xhtml index 49c96ba7..c58a060c 100644 --- a/es2/glActiveTexture.xhtml +++ b/es2/glActiveTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glActiveTexture — select active texture unit

C Specification

void glActiveTexture(GLenum texture);
 

Parameters

texture

+

Name

glActiveTexture — select active texture unit

C Specification

void glActiveTexture(GLenum texture);
 

Parameters

texture

Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 8. texture must be one of diff --git a/es2/glAttachShader.xhtml b/es2/glAttachShader.xhtml index 4f3f2354..34c764b6 100644 --- a/es2/glAttachShader.xhtml +++ b/es2/glAttachShader.xhtml @@ -1,4 +1,4 @@ -

Name

glAttachShader — attach a shader object to a program object

C Specification

void glAttachShader(GLuint program,
 GLuint shader);
 

Parameters

program

Specifies the program object to which a shader +

Name

glAttachShader — attach a shader object to a program object

C Specification

void glAttachShader(GLuint program,
 GLuint shader);
 

Parameters

program

Specifies the program object to which a shader object will be attached.

shader

Specifies the shader object that is to be attached.

Description

In order to create an executable, there must be a way to specify the list of things that will be linked together. Program objects provide this mechanism. Shaders that are to be linked @@ -13,8 +13,8 @@ program object. It is permissible to attach a shader object to a program object before source code has been loaded into the shader object or before the shader object has been compiled. - Multiple shader objects of the same type may not be attached to - a single program object. However, a single shader object may be + Multiple shader objects of the same type may not be attached to + a single program object. However, a single shader object may be attached to more than one program object. If a shader object is deleted while it is attached to a program object, it will be flagged for deletion, @@ -27,8 +27,8 @@ program is not a program object.

GL_INVALID_OPERATION is generated if shader is not a shader object.

GL_INVALID_OPERATION is generated if shader is already attached to - program, or if another shader object of - the same type as shader is already attached + program, or if another shader object of + the same type as shader is already attached to program.

Associated Gets

glGetAttachedShaders with the handle of a valid program object

glIsProgram

glIsShader

{$pipelinestall}{$examples} @@ -37,8 +37,8 @@ glLinkProgram, glShaderSource, glShaderBinary

\ No newline at end of file +

diff --git a/es2/glBindAttribLocation.xhtml b/es2/glBindAttribLocation.xhtml index 863c4db5..7ad1e240 100644 --- a/es2/glBindAttribLocation.xhtml +++ b/es2/glBindAttribLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glBindAttribLocation — associate a generic vertex attribute index with a named attribute variable

C Specification

void glBindAttribLocation(GLuint program,
 GLuint index,
 const GLchar *name);
 

Parameters

program

Specifies the handle of the program object in +

Name

glBindAttribLocation — associate a generic vertex attribute index with a named attribute variable

C Specification

void glBindAttribLocation(GLuint program,
 GLuint index,
 const GLchar *name);
 

Parameters

program

Specifies the handle of the program object in which the association is to be made.

index

Specifies the index of the generic vertex attribute to be bound.

name

Specifies a null terminated string containing the name of the vertex shader attribute variable to @@ -93,8 +93,8 @@ glUseProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/es2/glBindBuffer.xhtml b/es2/glBindBuffer.xhtml index 27ede407..6df121c5 100644 --- a/es2/glBindBuffer.xhtml +++ b/es2/glBindBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glBindBuffer — bind a named buffer object

C Specification

void glBindBuffer(GLenum target,
 GLuint buffer);
 

Parameters

target

+

Name

glBindBuffer — bind a named buffer object

C Specification

void glBindBuffer(GLenum target,
 GLuint buffer);
 

Parameters

target

Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER or @@ -26,21 +26,21 @@ GL_STATIC_DRAW usage.

While a non-zero buffer object name is bound, GL operations on the target to which it is - bound affect the bound buffer object, and queries of the target to which it is bound return state + bound affect the bound buffer object, and queries of the target to which it is bound return state from the bound buffer object. While buffer object name zero is bound, as in the initial state, - attempts to modify or query state on the target to which it is bound generates an + attempts to modify or query state on the target to which it is bound generates an GL_INVALID_OPERATION error.

- When vertex array pointer state is changed by a call to - glVertexAttribPointer, - the current buffer object binding (GL_ARRAY_BUFFER_BINDING) is copied into the - corresponding client state for the vertex attrib array being changed, one of the indexed - GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGs. While a non-zero buffer object is bound to the + When vertex array pointer state is changed by a call to + glVertexAttribPointer, + the current buffer object binding (GL_ARRAY_BUFFER_BINDING) is copied into the + corresponding client state for the vertex attrib array being changed, one of the indexed + GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGs. While a non-zero buffer object is bound to the GL_ARRAY_BUFFER target, the vertex array pointer parameter that is traditionally interpreted as a pointer to client-side memory is instead interpreted as an offset within the buffer object measured in basic machine units.

- While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, + While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, the indices parameter of glDrawElements that is traditionally interpreted as a pointer to client-side memory is instead interpreted as an offset within the buffer object measured in basic machine units. @@ -67,8 +67,8 @@ glGet, glIsBuffer

\ No newline at end of file +

diff --git a/es2/glBindFramebuffer.xhtml b/es2/glBindFramebuffer.xhtml index 488e8f7c..15f9941f 100644 --- a/es2/glBindFramebuffer.xhtml +++ b/es2/glBindFramebuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glBindFramebuffer — bind a named framebuffer object

C Specification

void glBindFramebuffer(GLenum target,
 GLuint framebuffer);
 

Parameters

target

+

Name

glBindFramebuffer — bind a named framebuffer object

C Specification

void glBindFramebuffer(GLenum target,
 GLuint framebuffer);
 

Parameters

target

Specifies the target to which the framebuffer object is bound. The symbolic constant must be GL_FRAMEBUFFER. @@ -20,23 +20,23 @@

The state of a framebuffer object immediately after it is first bound is three attachment points (GL_COLOR_ATTACHMENT0, - GL_DEPTH_ATTACHMENT, and - GL_STENCIL_ATTACHMENT) each with + GL_DEPTH_ATTACHMENT, and + GL_STENCIL_ATTACHMENT) each with GL_NONE as the object type.

While a non-zero framebuffer object name is bound, GL operations on target GL_FRAMEBUFFER affect the bound framebuffer object, and queries of target GL_FRAMEBUFFER or of framebuffer details such as GL_DEPTH_BITS - return state from the bound framebuffer object. While framebuffer object + return state from the bound framebuffer object. While framebuffer object name zero is bound, as in the initial state, attempts to modify or query - state on target GL_FRAMEBUFFER generates an + state on target GL_FRAMEBUFFER generates an GL_INVALID_OPERATION error.

While a non-zero framebuffer object name is bound, all rendering to the framebuffer (with glDrawArrays and glDrawElements) - and reading from the framebuffer (with + and reading from the framebuffer (with glReadPixels, glCopyTexImage2D, or glCopyTexSubImage2D) @@ -55,8 +55,8 @@ ownership test always succeeds (i.e. they own all their pixels). Fourth, there are no visible color buffer bitplanes, only a single "off-screen" color image attachment, so there is no sense of front and back buffers - or swapping. Finally, there is no multisample buffer, so the value of - the implementation-dependent state variables + or swapping. Finally, there is no multisample buffer, so the value of + the implementation-dependent state variables GL_SAMPLES and GL_SAMPLE_BUFFERS are both zero for application created framebuffer objects.

@@ -66,10 +66,10 @@

Notes

Queries of implementation-dependent pixel depths and related state are derived from the currently bound framebuffer object. These include - GL_RED_BITS, GL_GREEN_BITS, - GL_BLUE_BITS, GL_ALPHA_BITS, - GL_DEPTH_BITS, GL_STENCIL_BITS, - GL_IMPLEMENTATION_COLOR_READ_TYPE, + GL_RED_BITS, GL_GREEN_BITS, + GL_BLUE_BITS, GL_ALPHA_BITS, + GL_DEPTH_BITS, GL_STENCIL_BITS, + GL_IMPLEMENTATION_COLOR_READ_TYPE, GL_IMPLEMENTATION_COLOR_READ_FORMAT, GL_SAMPLES, and GL_SAMPLE_BUFFERS.

\ No newline at end of file +

diff --git a/es2/glBindRenderbuffer.xhtml b/es2/glBindRenderbuffer.xhtml index 14a1c1dd..d9d713c5 100644 --- a/es2/glBindRenderbuffer.xhtml +++ b/es2/glBindRenderbuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glBindRenderbuffer — bind a named renderbuffer object

C Specification

void glBindRenderbuffer(GLenum target,
 GLuint renderbuffer);
 

Parameters

target

+

Name

glBindRenderbuffer — bind a named renderbuffer object

C Specification

void glBindRenderbuffer(GLenum target,
 GLuint renderbuffer);
 

Parameters

target

Specifies the target to which the renderbuffer object is bound. The symbolic constant must be GL_RENDERBUFFER. @@ -18,7 +18,7 @@ is automatically broken.

Renderbuffer object names are unsigned integers. The value zero is reserved, but there is no default renderbuffer object. - Instead, renderbuffer set to zero effectively unbinds any renderbuffer object previously bound. + Instead, renderbuffer set to zero effectively unbinds any renderbuffer object previously bound. Renderbuffer object names and the corresponding renderbuffer object contents are local to the shared object space of the current GL rendering context.

@@ -31,9 +31,9 @@ While a non-zero renderbuffer object name is bound, GL operations on target GL_RENDERBUFFER affect the bound renderbuffer object, and queries of target GL_RENDERBUFFER - return state from the bound renderbuffer object. While renderbuffer object + return state from the bound renderbuffer object. While renderbuffer object name zero is bound, as in the initial state, attempts to modify or query - state on target GL_RENDERBUFFER generates an + state on target GL_RENDERBUFFER generates an GL_INVALID_OPERATION error.

A renderbuffer object binding created with glBindRenderbuffer remains active until a different @@ -54,8 +54,8 @@ glIsRenderbuffer, glRenderbufferStorage

\ No newline at end of file +

diff --git a/es2/glBindTexture.xhtml b/es2/glBindTexture.xhtml index 43f4368f..04860e17 100644 --- a/es2/glBindTexture.xhtml +++ b/es2/glBindTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glBindTexture — bind a named texture to a texturing target

C Specification

void glBindTexture(GLenum target,
 GLuint texture);
 

Parameters

target

+

Name

glBindTexture — bind a named texture to a texturing target

C Specification

void glBindTexture(GLenum target,
 GLuint texture);
 

Parameters

target

Specifies the target of the active texture unit to which the texture is bound. Must be either GL_TEXTURE_2D or @@ -30,7 +30,7 @@

While a texture is bound, GL operations on the target to which it is bound affect the bound texture, and queries of the target to which it - is bound return state from the bound texture. + is bound return state from the bound texture. In effect, the texture targets become aliases for the textures currently bound to them, and the texture name zero refers to the default textures that were bound to them at initialization. @@ -66,4 +66,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glBlendColor.xhtml b/es2/glBlendColor.xhtml index d27efe81..46bd5397 100644 --- a/es2/glBlendColor.xhtml +++ b/es2/glBlendColor.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendColor — set the blend color

C Specification

void glBlendColor(GLclampf red,
 GLclampf green,
 GLclampf blue,
 GLclampf alpha);
 

Parameters

red, green, blue, alpha

+

Name

glBlendColor — set the blend color

C Specification

void glBlendColor(GLclampf red,
 GLclampf green,
 GLclampf blue,
 GLclampf alpha);
 

Parameters

red, green, blue, alpha

specify the components of GL_BLEND_COLOR

Description

The GL_BLEND_COLOR may be used to calculate the source and destination diff --git a/es2/glBlendEquation.xhtml b/es2/glBlendEquation.xhtml index 2a4b04f0..8a0333e3 100644 --- a/es2/glBlendEquation.xhtml +++ b/es2/glBlendEquation.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendEquation — specify the equation used for both the RGB blend equation and the Alpha blend equation

C Specification

void glBlendEquation(GLenum mode);
 

Parameters

mode

+

Name

glBlendEquation — specify the equation used for both the RGB blend equation and the Alpha blend equation

C Specification

void glBlendEquation(GLenum mode);
 

Parameters

mode

specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, or GL_FUNC_REVERSE_SUBTRACT. @@ -117,7 +117,7 @@ . -

+

Mode RGB Components diff --git a/es2/glBlendEquationSeparate.xhtml b/es2/glBlendEquationSeparate.xhtml index d416e38b..69b856fb 100644 --- a/es2/glBlendEquationSeparate.xhtml +++ b/es2/glBlendEquationSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendEquationSeparate — set the RGB blend equation and the alpha blend equation separately

C Specification

void glBlendEquationSeparate(GLenum modeRGB,
 GLenum modeAlpha);
 

Parameters

modeRGB

+

Name

glBlendEquationSeparate — set the RGB blend equation and the alpha blend equation separately

C Specification

void glBlendEquationSeparate(GLenum modeRGB,
 GLenum modeAlpha);
 

Parameters

modeRGB

specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, or GL_FUNC_REVERSE_SUBTRACT. @@ -121,7 +121,7 @@ . -

+

Mode RGB Components diff --git a/es2/glBlendFunc.xhtml b/es2/glBlendFunc.xhtml index 5c016bca..f607374a 100644 --- a/es2/glBlendFunc.xhtml +++ b/es2/glBlendFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendFunc — specify pixel arithmetic

C Specification

void glBlendFunc(GLenum sfactor,
 GLenum dfactor);
 

Parameters

sfactor

+

Name

glBlendFunc — specify pixel arithmetic

C Specification

void glBlendFunc(GLenum sfactor,
 GLenum dfactor);
 

Parameters

sfactor

Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: @@ -239,7 +239,7 @@ .

-

+

Parameter diff --git a/es2/glBlendFuncSeparate.xhtml b/es2/glBlendFuncSeparate.xhtml index 099fce04..500b73c1 100644 --- a/es2/glBlendFuncSeparate.xhtml +++ b/es2/glBlendFuncSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendFuncSeparate — specify pixel arithmetic for RGB and alpha components separately

C Specification

void glBlendFuncSeparate(GLenum srcRGB,
 GLenum dstRGB,
 GLenum srcAlpha,
 GLenum dstAlpha);
 

Parameters

srcRGB

+

Name

glBlendFuncSeparate — specify pixel arithmetic for RGB and alpha components separately

C Specification

void glBlendFuncSeparate(GLenum srcRGB,
 GLenum dstRGB,
 GLenum srcAlpha,
 GLenum dstAlpha);
 

Parameters

srcRGB

Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, @@ -229,7 +229,7 @@ .

-

+

Parameter RGB Factor diff --git a/es2/glBufferData.xhtml b/es2/glBufferData.xhtml index b6cf3b18..802d406f 100644 --- a/es2/glBufferData.xhtml +++ b/es2/glBufferData.xhtml @@ -1,4 +1,4 @@ -

Name

glBufferData — create and initialize a buffer object's data store

C Specification

void glBufferData(GLenum target,
 GLsizeiptr size,
 const GLvoid * data,
 GLenum usage);
 

Parameters

target

+

Name

glBufferData — create and initialize a buffer object's data store

C Specification

void glBufferData(GLenum target,
 GLsizeiptr size,
 const GLvoid * data,
 GLenum usage);
 

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER. diff --git a/es2/glBufferSubData.xhtml b/es2/glBufferSubData.xhtml index 3d727076..11e5ec29 100644 --- a/es2/glBufferSubData.xhtml +++ b/es2/glBufferSubData.xhtml @@ -1,4 +1,4 @@ -

Name

glBufferSubData — update a subset of a buffer object's data store

C Specification

void glBufferSubData(GLenum target,
 GLintptr offset,
 GLsizeiptr size,
 const GLvoid * data);
 

Parameters

target

+

Name

glBufferSubData — update a subset of a buffer object's data store

C Specification

void glBufferSubData(GLenum target,
 GLintptr offset,
 GLsizeiptr size,
 const GLvoid * data);
 

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER. diff --git a/es2/glCheckFramebufferStatus.xhtml b/es2/glCheckFramebufferStatus.xhtml index 5fffdb30..add50dec 100644 --- a/es2/glCheckFramebufferStatus.xhtml +++ b/es2/glCheckFramebufferStatus.xhtml @@ -1,4 +1,4 @@ -

Name

glCheckFramebufferStatus — return the framebuffer completeness status of a framebuffer object

C Specification

GLenum glCheckFramebufferStatus(GLenum target);
 

Parameters

target

+

Name

glCheckFramebufferStatus — return the framebuffer completeness status of a framebuffer object

C Specification

GLenum glCheckFramebufferStatus(GLenum target);
 

Parameters

target

Specifies the target framebuffer object. The symbolic constant must be GL_FRAMEBUFFER.

Description

@@ -7,16 +7,16 @@ framebuffer is framebuffer complete, and if not, which of the rules of framebuffer completeness is violated.

- If the framebuffer is complete, then - GL_FRAMEBUFFER_COMPLETE is returned. + If the framebuffer is complete, then + GL_FRAMEBUFFER_COMPLETE is returned. If the framebuffer is not complete, the return values are as follows:

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Not all framebuffer attachment points are framebuffer attachment complete. This means that at least one - attachment point with a renderbuffer or texture + attachment point with a renderbuffer or texture attached has its attached object no longer in existence - or has an attached image with a width or height of - zero, or the color attachment point has a + or has an attached image with a width or height of + zero, or the color attachment point has a non-color-renderable image attached, or the depth attachment point has a non-depth-renderable image attached, or the stencil attachment point has a @@ -26,7 +26,7 @@ GL_RGB5_A1, and GL_RGB565. GL_DEPTH_COMPONENT16 is the only - depth-renderable format. + depth-renderable format. GL_STENCIL_INDEX8 is the only stencil-renderable format.

GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

@@ -38,7 +38,7 @@ images violates an implementation-dependent set of restrictions.

- If the currently bound framebuffer is not framebuffer complete, + If the currently bound framebuffer is not framebuffer complete, then it is an error to attempt to use the framebuffer for writing or reading. This means that rendering commands (glClear, @@ -55,7 +55,7 @@ call glCheckFramebufferStatus to see if the framebuffer is complete prior to rendering. This is because some implementations may not support rendering to particular combinations - of internal formats. In this case, + of internal formats. In this case, GL_FRAMEBUFFER_UNSUPPORTED is returned.

@@ -77,8 +77,8 @@ glReadPixels, glRenderbufferStorage

\ No newline at end of file +

diff --git a/es2/glClear.xhtml b/es2/glClear.xhtml index 8689cf9b..2cce749c 100644 --- a/es2/glClear.xhtml +++ b/es2/glClear.xhtml @@ -1,4 +1,4 @@ -

Name

glClear — clear buffers to preset values

C Specification

void glClear(GLbitfield mask);
 

Parameters

mask

+

Name

glClear — clear buffers to preset values

C Specification

void glClear(GLbitfield mask);
 

Parameters

mask

Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, @@ -59,4 +59,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glClearColor.xhtml b/es2/glClearColor.xhtml index a64f5d4b..a982ebdd 100644 --- a/es2/glClearColor.xhtml +++ b/es2/glClearColor.xhtml @@ -1,4 +1,4 @@ -

Name

glClearColor — specify clear values for the color buffers

C Specification

void glClearColor(GLclampf red,
 GLclampf green,
 GLclampf blue,
 GLclampf alpha);
 

Parameters

red, green, blue, alpha

+

Name

glClearColor — specify clear values for the color buffers

C Specification

void glClearColor(GLclampf red,
 GLclampf green,
 GLclampf blue,
 GLclampf alpha);
 

Parameters

red, green, blue, alpha

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. diff --git a/es2/glClearDepthf.xhtml b/es2/glClearDepthf.xhtml index 28ff860c..b082b67a 100644 --- a/es2/glClearDepthf.xhtml +++ b/es2/glClearDepthf.xhtml @@ -1,4 +1,4 @@ -

Name

glClearDepthf — specify the clear value for the depth buffer

C Specification

void glClearDepthf(GLclampf depth);
 

Parameters

depth

+

Name

glClearDepthf — specify the clear value for the depth buffer

C Specification

void glClearDepthf(GLclampf depth);
 

Parameters

depth

Specifies the depth value used when the depth buffer is cleared. The initial value is 1.

Description

diff --git a/es2/glClearStencil.xhtml b/es2/glClearStencil.xhtml index d3cba282..73559009 100644 --- a/es2/glClearStencil.xhtml +++ b/es2/glClearStencil.xhtml @@ -1,4 +1,4 @@ -

Name

glClearStencil — specify the clear value for the stencil buffer

C Specification

void glClearStencil(GLint s);
 

Parameters

s

+

Name

glClearStencil — specify the clear value for the stencil buffer

C Specification

void glClearStencil(GLint s);
 

Parameters

s

Specifies the index used when the stencil buffer is cleared. The initial value is 0.

Description

diff --git a/es2/glColorMask.xhtml b/es2/glColorMask.xhtml index 48b660ec..94ee88f3 100644 --- a/es2/glColorMask.xhtml +++ b/es2/glColorMask.xhtml @@ -1,4 +1,4 @@ -

Name

glColorMask — enable and disable writing of frame buffer color components

C Specification

void glColorMask(GLboolean red,
 GLboolean green,
 GLboolean blue,
 GLboolean alpha);
 

Parameters

red, green, blue, alpha

+

Name

glColorMask — enable and disable writing of frame buffer color components

C Specification

void glColorMask(GLboolean red,
 GLboolean green,
 GLboolean blue,
 GLboolean alpha);
 

Parameters

red, green, blue, alpha

Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, @@ -28,4 +28,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glCompileShader.xhtml b/es2/glCompileShader.xhtml index 8a4588f0..e8388143 100644 --- a/es2/glCompileShader.xhtml +++ b/es2/glCompileShader.xhtml @@ -1,5 +1,5 @@ -

Name

glCompileShader — compile a shader object

C Specification

void glCompileShader(GLuint shader);
 

Parameters

shader

Specifies the shader object to be - compiled.

Description

For implementations that support a shader compiler, +

Name

glCompileShader — compile a shader object

C Specification

void glCompileShader(GLuint shader);
 

Parameters

shader

Specifies the shader object to be + compiled.

Description

For implementations that support a shader compiler, glCompileShader compiles the source code strings that have been stored in the shader object specified by shader.

The compilation status will be stored as part of the @@ -16,7 +16,7 @@ information log by calling glGetShaderInfoLog.

Notes

Shader compiler support is optional, and thus must be queried before use by calling glGet - with argument GL_SHADER_COMPILER. glShaderSource, + with argument GL_SHADER_COMPILER. glShaderSource, glCompileShader, glGetShaderPrecisionFormat, and glReleaseShaderCompiler will each generate GL_INVALID_OPERATION on implementations @@ -37,8 +37,8 @@ glReleaseShaderCompiler, glShaderSource, glGetShaderPrecisionFormat

\ No newline at end of file +

diff --git a/es2/glCompressedTexImage2D.xhtml b/es2/glCompressedTexImage2D.xhtml index 0efc8902..de561330 100644 --- a/es2/glCompressedTexImage2D.xhtml +++ b/es2/glCompressedTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexImage2D — specify a two-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLsizei imageSize,
 const GLvoid * data);
 

Parameters

target

+

Name

glCompressedTexImage2D — specify a two-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLsizei imageSize,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture of the active texture unit. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/es2/glCompressedTexSubImage2D.xhtml b/es2/glCompressedTexSubImage2D.xhtml index 498b2f02..d4d2cb78 100644 --- a/es2/glCompressedTexSubImage2D.xhtml +++ b/es2/glCompressedTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexSubImage2D — specify a two-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLsizei imageSize,
 const GLvoid * data);
 

Parameters

target

+

Name

glCompressedTexSubImage2D — specify a two-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLsizei imageSize,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture of the active texture unit. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/es2/glCopyTexImage2D.xhtml b/es2/glCopyTexImage2D.xhtml index 39ea5a98..db02c746 100644 --- a/es2/glCopyTexImage2D.xhtml +++ b/es2/glCopyTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexImage2D — copy pixels into a 2D texture image

C Specification

void glCopyTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLint border);
 

Parameters

target

+

Name

glCopyTexImage2D — copy pixels into a 2D texture image

C Specification

void glCopyTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLint border);
 

Parameters

target

Specifies the target texture of the active texture unit. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/es2/glCopyTexSubImage2D.xhtml b/es2/glCopyTexSubImage2D.xhtml index 32d4b209..8218663f 100644 --- a/es2/glCopyTexSubImage2D.xhtml +++ b/es2/glCopyTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexSubImage2D — copy a two-dimensional texture subimage

C Specification

void glCopyTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

+

Name

glCopyTexSubImage2D — copy a two-dimensional texture subimage

C Specification

void glCopyTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

target

Specifies the target texture of the active texture unit. Must be GL_TEXTURE_2D, diff --git a/es2/glCreateProgram.xhtml b/es2/glCreateProgram.xhtml index c28eddcb..2ee7c248 100644 --- a/es2/glCreateProgram.xhtml +++ b/es2/glCreateProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glCreateProgram — create a program object

C Specification

GLuint glCreateProgram(void);
 

Description

glCreateProgram creates an empty +

Name

glCreateProgram — create a program object

C Specification

GLuint glCreateProgram(void);
 

Description

glCreateProgram creates an empty program object and returns a non-zero value by which it can be referenced. A program object is an object to which shader objects can be attached. This provides a mechanism to specify @@ -52,8 +52,8 @@ glUniform, glUseProgram, glValidateProgram

\ No newline at end of file +

diff --git a/es2/glCreateShader.xhtml b/es2/glCreateShader.xhtml index 85e61a3e..4b2ef5ff 100644 --- a/es2/glCreateShader.xhtml +++ b/es2/glCreateShader.xhtml @@ -1,4 +1,4 @@ -

Name

glCreateShader — create a shader object

C Specification

GLuint glCreateShader(GLenum shaderType);
 

Parameters

shaderType

Specifies the type of shader to be created. +

Name

glCreateShader — create a shader object

C Specification

GLuint glCreateShader(GLenum shaderType);
 

Parameters

shaderType

Specifies the type of shader to be created. Must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.

Description

glCreateShader creates an empty shader object and returns a non-zero value by which it can be @@ -34,8 +34,8 @@ glShaderSource, glShaderBinary

\ No newline at end of file +

diff --git a/es2/glCullFace.xhtml b/es2/glCullFace.xhtml index 27a4fdaf..9b585fcc 100644 --- a/es2/glCullFace.xhtml +++ b/es2/glCullFace.xhtml @@ -1,4 +1,4 @@ -

Name

glCullFace — specify whether front- or back-facing polygons can be culled

C Specification

void glCullFace(GLenum mode);
 

Parameters

mode

+

Name

glCullFace — specify whether front- or back-facing polygons can be culled

C Specification

void glCullFace(GLenum mode);
 

Parameters

mode

Specifies whether front- or back-facing polygons are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. @@ -33,4 +33,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glDeleteBuffers.xhtml b/es2/glDeleteBuffers.xhtml index 135b5c7b..1758882d 100644 --- a/es2/glDeleteBuffers.xhtml +++ b/es2/glDeleteBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteBuffers — delete named buffer objects

C Specification

void glDeleteBuffers(GLsizei n,
 const GLuint * buffers);
 

Parameters

n

+

Name

glDeleteBuffers — delete named buffer objects

C Specification

void glDeleteBuffers(GLsizei n,
 const GLuint * buffers);
 

Parameters

n

Specifies the number of buffer objects to be deleted.

buffers

Specifies an array of buffer objects to be deleted. @@ -22,8 +22,8 @@ glGenBuffers, glIsBuffer

\ No newline at end of file +

diff --git a/es2/glDeleteFramebuffers.xhtml b/es2/glDeleteFramebuffers.xhtml index 2e787dbe..4e5d74a8 100644 --- a/es2/glDeleteFramebuffers.xhtml +++ b/es2/glDeleteFramebuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteFramebuffers — delete named framebuffer objects

C Specification

void glDeleteFramebuffers(GLsizei n,
 const GLuint * framebuffers);
 

Parameters

n

+

Name

glDeleteFramebuffers — delete named framebuffer objects

C Specification

void glDeleteFramebuffers(GLsizei n,
 const GLuint * framebuffers);
 

Parameters

n

Specifies the number of framebuffer objects to be deleted.

framebuffers

Specifies an array of framebuffer objects to be deleted. @@ -22,8 +22,8 @@ glGenFramebuffers, glIsFramebuffer

\ No newline at end of file +

diff --git a/es2/glDeleteProgram.xhtml b/es2/glDeleteProgram.xhtml index 9f72c129..7e71e3ce 100644 --- a/es2/glDeleteProgram.xhtml +++ b/es2/glDeleteProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteProgram — delete a program object

C Specification

void glDeleteProgram(GLuint program);
 

Parameters

program

Specifies the program object to be +

Name

glDeleteProgram — delete a program object

C Specification

void glDeleteProgram(GLuint program);
 

Parameters

program

Specifies the program object to be deleted.

Description

glDeleteProgram frees the memory and invalidates the name associated with the program object specified by program. This command @@ -27,8 +27,8 @@ glDetachShader, glUseProgram

\ No newline at end of file +

diff --git a/es2/glDeleteRenderbuffers.xhtml b/es2/glDeleteRenderbuffers.xhtml index b62671a0..83e224be 100644 --- a/es2/glDeleteRenderbuffers.xhtml +++ b/es2/glDeleteRenderbuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteRenderbuffers — delete named renderbuffer objects

C Specification

void glDeleteRenderbuffers(GLsizei n,
 const GLuint * renderbuffers);
 

Parameters

n

+

Name

glDeleteRenderbuffers — delete named renderbuffer objects

C Specification

void glDeleteRenderbuffers(GLsizei n,
 const GLuint * renderbuffers);
 

Parameters

n

Specifies the number of renderbuffer objects to be deleted.

renderbuffers

Specifies an array of renderbuffer objects to be deleted. @@ -11,7 +11,7 @@ to 0 (the absence of any renderbuffer object). Additionally, special care must be taken when deleting a renderbuffer object if the image of the renderbuffer is attached to a framebuffer object. In this case, if the deleted renderbuffer object is - attached to the currently bound framebuffer object, it is + attached to the currently bound framebuffer object, it is automatically detached. However, attachments to any other framebuffer objects are the responsibility of the application.

@@ -28,8 +28,8 @@ glGenRenderbuffers, glIsRenderbuffer

\ No newline at end of file +

diff --git a/es2/glDeleteShader.xhtml b/es2/glDeleteShader.xhtml index b3382343..894a95c9 100644 --- a/es2/glDeleteShader.xhtml +++ b/es2/glDeleteShader.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteShader — delete a shader object

C Specification

void glDeleteShader(GLuint shader);
 

Parameters

shader

Specifies the shader object to be deleted.

Description

glDeleteShader frees the memory and +

Name

glDeleteShader — delete a shader object

C Specification

void glDeleteShader(GLuint shader);
 

Parameters

shader

Specifies the shader object to be deleted.

Description

glDeleteShader frees the memory and invalidates the name associated with the shader object specified by shader. This command effectively undoes the effects of a call to @@ -23,8 +23,8 @@ glCreateShader, glDetachShader, glUseProgram

\ No newline at end of file +

diff --git a/es2/glDeleteTextures.xhtml b/es2/glDeleteTextures.xhtml index a5b8fbbe..fddca67f 100644 --- a/es2/glDeleteTextures.xhtml +++ b/es2/glDeleteTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteTextures — delete named textures

C Specification

void glDeleteTextures(GLsizei n,
 const GLuint * textures);
 

Parameters

n

+

Name

glDeleteTextures — delete named textures

C Specification

void glDeleteTextures(GLsizei n,
 const GLuint * textures);
 

Parameters

n

Specifies the number of textures to be deleted.

textures

Specifies an array of textures to be deleted. @@ -26,4 +26,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glDepthFunc.xhtml b/es2/glDepthFunc.xhtml index 88712b32..00fb6692 100644 --- a/es2/glDepthFunc.xhtml +++ b/es2/glDepthFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthFunc — specify the value used for depth buffer comparisons

C Specification

void glDepthFunc(GLenum func);
 

Parameters

func

+

Name

glDepthFunc — specify the value used for depth buffer comparisons

C Specification

void glDepthFunc(GLenum func);
 

Parameters

func

Specifies the depth comparison function. Symbolic constants GL_NEVER, @@ -38,7 +38,7 @@ Always passes.

The initial value of func is GL_LESS. - Initially, depth testing is disabled. If depth testing is disabled or no depth + Initially, depth testing is disabled. If depth testing is disabled or no depth buffer exists, it is as if the depth test always passes.

Notes

Even if the depth buffer exists and the depth mask is non-zero, the @@ -60,4 +60,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glDepthMask.xhtml b/es2/glDepthMask.xhtml index f4ebd93c..ea63899e 100644 --- a/es2/glDepthMask.xhtml +++ b/es2/glDepthMask.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthMask — enable or disable writing into the depth buffer

C Specification

void glDepthMask(GLboolean flag);
 

Parameters

flag

+

Name

glDepthMask — enable or disable writing into the depth buffer

C Specification

void glDepthMask(GLboolean flag);
 

Parameters

flag

Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. @@ -24,4 +24,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glDepthRangef.xhtml b/es2/glDepthRangef.xhtml index 361faa12..13011c09 100644 --- a/es2/glDepthRangef.xhtml +++ b/es2/glDepthRangef.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthRangef — specify mapping of depth values from normalized device coordinates to window coordinates

C Specification

void glDepthRangef(GLclampf nearVal,
 GLclampf farVal);
 

Parameters

nearVal

+

Name

glDepthRangef — specify mapping of depth values from normalized device coordinates to window coordinates

C Specification

void glDepthRangef(GLclampf nearVal,
 GLclampf farVal);
 

Parameters

nearVal

Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.

farVal

diff --git a/es2/glDetachShader.xhtml b/es2/glDetachShader.xhtml index 9a2dd438..27ad4551 100644 --- a/es2/glDetachShader.xhtml +++ b/es2/glDetachShader.xhtml @@ -1,4 +1,4 @@ -

Name

glDetachShader — detach a shader object from a program object

C Specification

void glDetachShader(GLuint program,
 GLuint shader);
 

Parameters

program

Specifies the program object from which to +

Name

glDetachShader — detach a shader object from a program object

C Specification

void glDetachShader(GLuint program,
 GLuint shader);
 

Parameters

program

Specifies the program object from which to detach the shader object.

shader

Specifies the shader object to be detached.

Description

glDetachShader detaches the shader object specified by shader from the @@ -20,8 +20,8 @@ GL_DELETE_STATUS

glIsProgram

glIsShader

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/es2/glDrawArrays.xhtml b/es2/glDrawArrays.xhtml index bddcf596..413209ee 100644 --- a/es2/glDrawArrays.xhtml +++ b/es2/glDrawArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawArrays — render primitives from array data

C Specification

void glDrawArrays(GLenum mode,
 GLint first,
 GLsizei count);
 

Parameters

mode

+

Name

glDrawArrays — render primitives from array data

C Specification

void glDrawArrays(GLenum mode,
 GLint first,
 GLsizei count);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -15,8 +15,8 @@

Description

glDrawArrays specifies multiple geometric primitives with very few subroutine calls. Instead of calling a GL procedure - to pass each individual vertex attribute, you can use - glVertexAttribPointer + to pass each individual vertex attribute, you can use + glVertexAttribPointer to prespecify separate arrays of vertices, normals, and colors and use them to construct a sequence of primitives with a single call to glDrawArrays. @@ -32,7 +32,7 @@ and glDisableVertexAttribArray.

Notes

- If the current program object, as set by + If the current program object, as set by glUseProgram, is invalid, rendering results are undefined. However, no error is generated for this case. @@ -41,8 +41,8 @@

GL_INVALID_VALUE is generated if count is negative.

- GL_INVALID_FRAMEBUFFER_OPERATION is generated if - the currently bound framebuffer is not framebuffer complete (i.e. the + GL_INVALID_FRAMEBUFFER_OPERATION is generated if + the currently bound framebuffer is not framebuffer complete (i.e. the return value from glCheckFramebufferStatus is not GL_FRAMEBUFFER_COMPLETE).

@@ -59,4 +59,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glDrawElements.xhtml b/es2/glDrawElements.xhtml index 156cb9fb..00e9ccb4 100644 --- a/es2/glDrawElements.xhtml +++ b/es2/glDrawElements.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawElements — render primitives from array data

C Specification

void glDrawElements(GLenum mode,
 GLsizei count,
 GLenum type,
 const GLvoid * indices);
 

Parameters

mode

+

Name

glDrawElements — render primitives from array data

C Specification

void glDrawElements(GLenum mode,
 GLsizei count,
 GLenum type,
 const GLvoid * indices);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -18,8 +18,8 @@

Description

glDrawElements specifies multiple geometric primitives with very few subroutine calls. Instead of calling a GL function - to pass each vertex attribute, you can use - glVertexAttribPointer + to pass each vertex attribute, you can use + glVertexAttribPointer to prespecify separate arrays of vertex attributes and use them to construct a sequence of primitives with a single call to glDrawElements. @@ -35,7 +35,7 @@ and glDisableVertexAttribArray.

Notes

- If the current program object, as set by + If the current program object, as set by glUseProgram, is invalid, rendering results are undefined. However, no error is generated for this case. @@ -47,8 +47,8 @@

GL_INVALID_VALUE is generated if count is negative.

- GL_INVALID_FRAMEBUFFER_OPERATION is generated if - the currently bound framebuffer is not framebuffer complete (i.e. the + GL_INVALID_FRAMEBUFFER_OPERATION is generated if + the currently bound framebuffer is not framebuffer complete (i.e. the return value from glCheckFramebufferStatus is not GL_FRAMEBUFFER_COMPLETE).

@@ -65,4 +65,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glEnable.xhtml b/es2/glEnable.xhtml index d6ec813a..84f97da8 100644 --- a/es2/glEnable.xhtml +++ b/es2/glEnable.xhtml @@ -1,6 +1,6 @@ -

Name

glEnable — enable or disable server-side GL capabilities

C Specification

void glEnable(GLenum cap);
 

Parameters

cap

+

Name

glEnable — enable or disable server-side GL capabilities

C Specification

void glEnable(GLenum cap);
 

Parameters

cap

Specifies a symbolic constant indicating a GL capability. -

C Specification

void glDisable(GLenum cap);
 

Parameters

cap

+

C Specification

void glDisable(GLenum cap);
 

Parameters

cap

Specifies a symbolic constant indicating a GL capability.

Description

glEnable and glDisable enable and disable various capabilities. @@ -81,4 +81,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glEnableVertexAttribArray.xhtml b/es2/glEnableVertexAttribArray.xhtml index 3c4576c3..99664af0 100644 --- a/es2/glEnableVertexAttribArray.xhtml +++ b/es2/glEnableVertexAttribArray.xhtml @@ -1,4 +1,4 @@ -

Name

glEnableVertexAttribArray — enable or disable a generic vertex attribute array

C Specification

void glEnableVertexAttribArray(GLuint index);
 
void glDisableVertexAttribArray(GLuint index);
 

Parameters

index

Specifies the index of the generic vertex +

Name

glEnableVertexAttribArray — enable or disable a generic vertex attribute array

C Specification

void glEnableVertexAttribArray(GLuint index);
 
void glDisableVertexAttribArray(GLuint index);
 

Parameters

index

Specifies the index of the generic vertex attribute to be enabled or disabled.

Description

glEnableVertexAttribArray enables the generic vertex attribute array specified by index. @@ -24,8 +24,8 @@ glDrawElements, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/es2/glFinish.xhtml b/es2/glFinish.xhtml index a2326a39..5968b62f 100644 --- a/es2/glFinish.xhtml +++ b/es2/glFinish.xhtml @@ -1,4 +1,4 @@ -

Name

glFinish — block until all GL execution is complete

C Specification

void glFinish( void);
 

Description

+

Name

glFinish — block until all GL execution is complete

C Specification

void glFinish( void);
 

Description

glFinish does not return until the effects of all previously called GL commands are complete. Such effects include all changes to GL state, @@ -15,4 +15,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glFlush.xhtml b/es2/glFlush.xhtml index 327df587..09255dc9 100644 --- a/es2/glFlush.xhtml +++ b/es2/glFlush.xhtml @@ -1,4 +1,4 @@ -

Name

glFlush — force execution of GL commands in finite time

C Specification

void glFlush( void);
 

Description

+

Name

glFlush — force execution of GL commands in finite time

C Specification

void glFlush( void);
 

Description

Different GL implementations buffer commands in several different locations, including network buffers and the graphics accelerator itself. glFlush empties all of these buffers, @@ -28,4 +28,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glFramebufferRenderbuffer.xhtml b/es2/glFramebufferRenderbuffer.xhtml index 1c7cca15..710690c0 100644 --- a/es2/glFramebufferRenderbuffer.xhtml +++ b/es2/glFramebufferRenderbuffer.xhtml @@ -1,34 +1,34 @@ -

Name

glFramebufferRenderbuffer — attach a renderbuffer object to a framebuffer object

C Specification

void glFramebufferRenderbuffer(GLenum target,
 GLenum attachment,
 GLenum renderbuffertarget,
 GLuint renderbuffer);
 

Parameters

target

Specifies the framebuffer target. The symbolic constant must be - GL_FRAMEBUFFER.

attachment

Specifies the attachment point to which +

Name

glFramebufferRenderbuffer — attach a renderbuffer object to a framebuffer object

C Specification

void glFramebufferRenderbuffer(GLenum target,
 GLenum attachment,
 GLenum renderbuffertarget,
 GLuint renderbuffer);
 

Parameters

target

Specifies the framebuffer target. The symbolic constant must be + GL_FRAMEBUFFER.

attachment

Specifies the attachment point to which renderbuffer should be attached. Must be one of the following symbolic constants: GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT, or GL_STENCIL_ATTACHMENT.

renderbuffertarget

Specifies the renderbuffer target. The symbolic constant must be - GL_RENDERBUFFER.

renderbuffer

Specifies the renderbuffer object that is to be attached.

Description

glFramebufferRenderbuffer attaches the - renderbuffer specified by renderbuffer as + GL_RENDERBUFFER.

renderbuffer

Specifies the renderbuffer object that is to be attached.

Description

glFramebufferRenderbuffer attaches the + renderbuffer specified by renderbuffer as one of the logical buffers of the currently bound framebuffer object. attachment specifies whether the renderbuffer - should be attached to the framebuffer object's color, depth, or + should be attached to the framebuffer object's color, depth, or stencil buffer. A renderbuffer may not be attached to the default framebuffer object name 0.

If renderbuffer is not 0, the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE for the specified attachment point is set to GL_RENDERBUFFER and the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME - is set to renderbuffer. + is set to renderbuffer. GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL and GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE are - set to the default values 0 and GL_TEXTURE_CUBE_MAP_POSITIVE_X, + set to the default values 0 and GL_TEXTURE_CUBE_MAP_POSITIVE_X, respectively. Any previous attachment to the attachment logical buffer of the currently bound framebuffer object is broken.

If renderbuffer is 0, the current image, if any, attached to the attachment logical buffer of the currently bound - framebuffer object is detached. The value of - GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is set to - GL_NONE. The value of + framebuffer object is detached. The value of + GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is set to + GL_NONE. The value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME is set to 0. GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL and GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE are - set to the default values 0 and GL_TEXTURE_CUBE_MAP_POSITIVE_X, + set to the default values 0 and GL_TEXTURE_CUBE_MAP_POSITIVE_X, respectively.

Notes

If a renderbuffer object is deleted while its image is attached to the currently bound framebuffer, then it is as if glFramebufferRenderbuffer @@ -36,7 +36,7 @@ point to which this image was attached in the currently bound framebuffer object. In other words, the renderbuffer image is detached from the currently bound framebuffer. Note that the renderbuffer image is specifically not - detached from any non-bound framebuffers. Detaching the image from any non-bound + detached from any non-bound framebuffers. Detaching the image from any non-bound framebuffers is the responsibility of the application.

Errors

GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER.

GL_INVALID_ENUM is generated if @@ -44,7 +44,7 @@ renderbuffer is not 0.

GL_INVALID_ENUM is generated if attachment is not an accepted attachment point.

GL_INVALID_OPERATION is generated if the default framebuffer object name 0 is bound.

GL_INVALID_OPERATION is generated if - renderbuffer is neither 0 nor the name of an existing + renderbuffer is neither 0 nor the name of an existing renderbuffer object.

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/es2/glFramebufferTexture2D.xhtml b/es2/glFramebufferTexture2D.xhtml index 82204710..d5059b84 100644 --- a/es2/glFramebufferTexture2D.xhtml +++ b/es2/glFramebufferTexture2D.xhtml @@ -1,4 +1,4 @@ -

Name

glFramebufferTexture2D — attach a texture image to a framebuffer object

C Specification

void glFramebufferTexture2D(GLenum target,
 GLenum attachment,
 GLenum textarget,
 GLuint texture,
 GLint level);
 

Parameters

target

Specifies the framebuffer target. The symbolic constant must be +

Name

glFramebufferTexture2D — attach a texture image to a framebuffer object

C Specification

void glFramebufferTexture2D(GLenum target,
 GLenum attachment,
 GLenum textarget,
 GLuint texture,
 GLint level);
 

Parameters

target

Specifies the framebuffer target. The symbolic constant must be GL_FRAMEBUFFER.

attachment

Specifies the attachment point to which an image from texture should be attached. Must be one of the following symbolic constants: @@ -13,37 +13,37 @@ GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.

texture

Specifies the texture object whose image is to be attached.

level

Specifies the mipmap level of the texture image to be attached, - which must be 0.

Description

glFramebufferTexture2D attaches the - texture image specified by texture and - level as + which must be 0.

Description

glFramebufferTexture2D attaches the + texture image specified by texture and + level as one of the logical buffers of the currently bound framebuffer object. attachment specifies whether the texture image - should be attached to the framebuffer object's color, depth, or + should be attached to the framebuffer object's color, depth, or stencil buffer. A texture image may not be attached to the default framebuffer object name 0.

If texture is not 0, the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE for the specified attachment point is set to GL_TEXTURE, the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME - is set to texture, and the value of + is set to texture, and the value of GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL is set to level. If texture is a cube map - texture, the value of GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE + texture, the value of GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE is set to textarget; otherwise it is set to the default value - GL_TEXTURE_CUBE_MAP_POSITIVE_X. Any previous attachment to the - attachment logical buffer of the currently bound framebuffer + GL_TEXTURE_CUBE_MAP_POSITIVE_X. Any previous attachment to the + attachment logical buffer of the currently bound framebuffer object is broken.

If texture is 0, the current image, if any, attached to the attachment logical buffer of the currently bound - framebuffer object is detached. The value of - GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is set to - GL_NONE. The value of + framebuffer object is detached. The value of + GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is set to + GL_NONE. The value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME is set to 0. GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL and GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE are - set to the default values 0 and GL_TEXTURE_CUBE_MAP_POSITIVE_X, + set to the default values 0 and GL_TEXTURE_CUBE_MAP_POSITIVE_X, respectively.

Notes

Special precautions need to be taken to avoid attaching a texture image to the currently bound framebuffer while the texture object is currently bound and - potentially sampled by the current vertex or fragment shader. Doing so could lead to + potentially sampled by the current vertex or fragment shader. Doing so could lead to the creation of a "feedback loop" between the writing of pixels by rendering operations and the simultaneous reading of those same pixels when used as texels in the currently bound texture. In this scenario, the framebuffer will be considered @@ -56,7 +56,7 @@ point to which this image was attached in the currently bound framebuffer object. In other words, the texture image is detached from the currently bound framebuffer. Note that the texture image is specifically not - detached from any non-bound framebuffers. Detaching the image from any non-bound + detached from any non-bound framebuffers. Detaching the image from any non-bound framebuffers is the responsibility of the application.

Errors

GL_INVALID_ENUM is generated if target is not GL_FRAMEBUFFER.

GL_INVALID_ENUM is generated if @@ -66,11 +66,11 @@ level is not 0 and texture is not 0.

GL_INVALID_OPERATION is generated if the default framebuffer object name 0 is bound.

GL_INVALID_OPERATION is generated if - texture is neither 0 nor the name of an existing + texture is neither 0 nor the name of an existing texture object.

GL_INVALID_OPERATION is generated if - texture is the name of an existing two-dimensional - texture object but textarget is not - GL_TEXTURE_2D or if texture is + texture is the name of an existing two-dimensional + texture object but textarget is not + GL_TEXTURE_2D or if texture is the name of an existing cube map texture object but textarget is GL_TEXTURE_2D.

{$pipelinestall}{$examples} @@ -83,8 +83,8 @@ glGenerateMipmap, glGetFramebufferAttachmentParameteriv, glTexImage2D

\ No newline at end of file +

diff --git a/es2/glFrontFace.xhtml b/es2/glFrontFace.xhtml index b5516e74..eacd4e9f 100644 --- a/es2/glFrontFace.xhtml +++ b/es2/glFrontFace.xhtml @@ -1,4 +1,4 @@ -

Name

glFrontFace — define front- and back-facing polygons

C Specification

void glFrontFace(GLenum mode);
 

Parameters

mode

+

Name

glFrontFace — define front- and back-facing polygons

C Specification

void glFrontFace(GLenum mode);
 

Parameters

mode

Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. @@ -41,4 +41,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glGenBuffers.xhtml b/es2/glGenBuffers.xhtml index 326530b9..6962f4ec 100644 --- a/es2/glGenBuffers.xhtml +++ b/es2/glGenBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenBuffers — generate buffer object names

C Specification

void glGenBuffers(GLsizei n,
 GLuint * buffers);
 

Parameters

n

+

Name

glGenBuffers — generate buffer object names

C Specification

void glGenBuffers(GLsizei n,
 GLuint * buffers);
 

Parameters

n

Specifies the number of buffer object names to be generated.

buffers

Specifies an array in which the generated buffer object names are stored. @@ -25,8 +25,8 @@ glDeleteBuffers, glGet

\ No newline at end of file +

diff --git a/es2/glGenFramebuffers.xhtml b/es2/glGenFramebuffers.xhtml index fdcdfe55..6e97cc0c 100644 --- a/es2/glGenFramebuffers.xhtml +++ b/es2/glGenFramebuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenFramebuffers — generate framebuffer object names

C Specification

void glGenFramebuffers(GLsizei n,
 GLuint * framebuffers);
 

Parameters

n

+

Name

glGenFramebuffers — generate framebuffer object names

C Specification

void glGenFramebuffers(GLsizei n,
 GLuint * framebuffers);
 

Parameters

n

Specifies the number of framebuffer object names to be generated.

framebuffers

Specifies an array in which the generated framebuffer object names are stored. @@ -25,8 +25,8 @@ glDeleteFramebuffers, glIsFramebuffer

\ No newline at end of file +

diff --git a/es2/glGenRenderbuffers.xhtml b/es2/glGenRenderbuffers.xhtml index 5759ea03..6f55650e 100644 --- a/es2/glGenRenderbuffers.xhtml +++ b/es2/glGenRenderbuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenRenderbuffers — generate renderbuffer object names

C Specification

void glGenRenderbuffers(GLsizei n,
 GLuint * renderbuffers);
 

Parameters

n

+

Name

glGenRenderbuffers — generate renderbuffer object names

C Specification

void glGenRenderbuffers(GLsizei n,
 GLuint * renderbuffers);
 

Parameters

n

Specifies the number of renderbuffer object names to be generated.

renderbuffers

Specifies an array in which the generated renderbuffer object names are stored. @@ -25,8 +25,8 @@ glDeleteRenderbuffers, glIsRenderbuffer

\ No newline at end of file +

diff --git a/es2/glGenTextures.xhtml b/es2/glGenTextures.xhtml index 89aa97d1..9001425a 100644 --- a/es2/glGenTextures.xhtml +++ b/es2/glGenTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glGenTextures — generate texture names

C Specification

void glGenTextures(GLsizei n,
 GLuint * textures);
 

Parameters

n

+

Name

glGenTextures — generate texture names

C Specification

void glGenTextures(GLsizei n,
 GLuint * textures);
 

Parameters

n

Specifies the number of texture names to be generated.

textures

Specifies an array in which the generated texture names are stored. @@ -34,4 +34,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glGenerateMipmap.xhtml b/es2/glGenerateMipmap.xhtml index 94aca829..6bdaad66 100644 --- a/es2/glGenerateMipmap.xhtml +++ b/es2/glGenerateMipmap.xhtml @@ -1,4 +1,4 @@ -

Name

glGenerateMipmap — generate a complete set of mipmaps for a texture object

C Specification

void glGenerateMipmap(GLenum target);
 

Parameters

target

Specifies the texture target of the active texture unit to which the texture object +

Name

glGenerateMipmap — generate a complete set of mipmaps for a texture object

C Specification

void glGenerateMipmap(GLenum target);
 

Parameters

target

Specifies the texture target of the active texture unit to which the texture object is bound whose mipmaps will be generated. Must be one of the following symbolic constants: GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP.

Description

glGenerateMipmap computes a complete set @@ -7,10 +7,10 @@ regardless of previous contents. The zero level texture image is left unchanged.

The internal formats of the derived mipmap arrays all match those of the zero level texture image. The dimensions of the derived arrays are computed by halving the width and height of the zero level texture image, then in turn halving - the dimensions of each array level until the 1x1 dimension texture image is + the dimensions of each array level until the 1x1 dimension texture image is reached.

The contents of the derived arrays are computed by repeated filtered reduction of the zero level array. No particular filter algorithm is required, though a - box filter is recommended. + box filter is recommended. glHint may be called to express a preference for speed or quality of filtering.

Errors

GL_INVALID_ENUM is generated if target is not GL_TEXTURE_2D or @@ -25,8 +25,8 @@ glHint, glTexImage2D, glTexParameter

\ No newline at end of file +

diff --git a/es2/glGet.xhtml b/es2/glGet.xhtml index f8724d31..5a8faa5d 100644 --- a/es2/glGet.xhtml +++ b/es2/glGet.xhtml @@ -1,4 +1,4 @@ -

Name

glGet — return the value or values of a selected parameter

C Specification

void glGetBooleanv(GLenum pname,
 GLboolean * params);
 

C Specification

void glGetFloatv(GLenum pname,
 GLfloat * params);
 

C Specification

void glGetIntegerv(GLenum pname,
 GLint * params);
 

Parameters

pname

+

Name

glGet — return the value or values of a selected parameter

C Specification

void glGetBooleanv(GLenum pname,
 GLboolean * params);
 

C Specification

void glGetFloatv(GLenum pname,
 GLfloat * params);
 

C Specification

void glGetIntegerv(GLenum pname,
 GLint * params);
 

Parameters

pname

Specifies the parameter value to be returned. The symbolic constants in the list below are accepted.

params

diff --git a/es2/glGetActiveAttrib.xhtml b/es2/glGetActiveAttrib.xhtml index c59afc78..82e29be8 100644 --- a/es2/glGetActiveAttrib.xhtml +++ b/es2/glGetActiveAttrib.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveAttrib — return information about an active attribute variable

C Specification

void glGetActiveAttrib(GLuint program,
 GLuint index,
 GLsizei bufSize,
 GLsizei *length,
 GLint *size,
 GLenum *type,
 GLchar *name);
 

Parameters

program

Specifies the program object to be +

Name

glGetActiveAttrib — return information about an active attribute variable

C Specification

void glGetActiveAttrib(GLuint program,
 GLuint index,
 GLsizei bufSize,
 GLsizei *length,
 GLint *size,
 GLenum *type,
 GLchar *name);
 

Parameters

program

Specifies the program object to be queried.

index

Specifies the index of the attribute variable to be queried.

bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer @@ -82,8 +82,8 @@ glLinkProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/es2/glGetActiveUniform.xhtml b/es2/glGetActiveUniform.xhtml index 600bb491..9df7b3f6 100644 --- a/es2/glGetActiveUniform.xhtml +++ b/es2/glGetActiveUniform.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveUniform — return information about an active uniform variable

C Specification

void glGetActiveUniform(GLuint program,
 GLuint index,
 GLsizei bufSize,
 GLsizei *length,
 GLint *size,
 GLenum *type,
 GLchar *name);
 

Parameters

program

Specifies the program object to be +

Name

glGetActiveUniform — return information about an active uniform variable

C Specification

void glGetActiveUniform(GLuint program,
 GLuint index,
 GLsizei bufSize,
 GLsizei *length,
 GLint *size,
 GLenum *type,
 GLchar *name);
 

Parameters

program

Specifies the program object to be queried.

index

Specifies the index of the uniform variable to be queried.

bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer @@ -126,8 +126,8 @@ glLinkProgram, glUniform, glUseProgram

\ No newline at end of file +

diff --git a/es2/glGetAttachedShaders.xhtml b/es2/glGetAttachedShaders.xhtml index 90257c40..f1a213a9 100644 --- a/es2/glGetAttachedShaders.xhtml +++ b/es2/glGetAttachedShaders.xhtml @@ -1,4 +1,4 @@ -

Name

glGetAttachedShaders — return the handles of the shader objects attached to a program object

C Specification

void glGetAttachedShaders(GLuint program,
 GLsizei maxCount,
 GLsizei *count,
 GLuint *shaders);
 

Parameters

program

Specifies the program object to be +

Name

glGetAttachedShaders — return the handles of the shader objects attached to a program object

C Specification

void glGetAttachedShaders(GLuint program,
 GLsizei maxCount,
 GLsizei *count,
 GLuint *shaders);
 

Parameters

program

Specifies the program object to be queried.

maxCount

Specifies the size of the array for storing the returned object names.

count

Returns the number of names actually returned in shaders.

shaders

Specifies an array that is used to return the @@ -31,8 +31,8 @@

\ No newline at end of file +

diff --git a/es2/glGetAttribLocation.xhtml b/es2/glGetAttribLocation.xhtml index fd1aa29e..54916860 100644 --- a/es2/glGetAttribLocation.xhtml +++ b/es2/glGetAttribLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glGetAttribLocation — return the location of an attribute variable

C Specification

GLint glGetAttribLocation(GLuint program,
 const GLchar *name);
 

Parameters

program

Specifies the program object to be +

Name

glGetAttribLocation — return the location of an attribute variable

C Specification

GLint glGetAttribLocation(GLuint program,
 const GLchar *name);
 

Parameters

program

Specifies the program object to be queried.

name

Points to a null terminated string containing the name of the attribute variable whose location is to be queried.

Description

glGetAttribLocation queries the @@ -38,8 +38,8 @@ glLinkProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/es2/glGetBufferParameteriv.xhtml b/es2/glGetBufferParameteriv.xhtml index a731bcea..1257dfd3 100644 --- a/es2/glGetBufferParameteriv.xhtml +++ b/es2/glGetBufferParameteriv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetBufferParameteriv — return parameters of a buffer object

C Specification

void glGetBufferParameteriv(GLenum target,
 GLenum value,
 GLint * data);
 

Parameters

target

+

Name

glGetBufferParameteriv — return parameters of a buffer object

C Specification

void glGetBufferParameteriv(GLenum target,
 GLenum value,
 GLint * data);
 

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER. @@ -13,7 +13,7 @@

value names a specific buffer object parameter, as follows:

GL_BUFFER_SIZE

- params returns the size of the buffer object, measured in bytes. + params returns the size of the buffer object, measured in bytes. The initial value is 0.

GL_BUFFER_USAGE

params returns the buffer object's usage pattern. The initial value is @@ -32,8 +32,8 @@ glBindBuffer, glBufferData

\ No newline at end of file +

diff --git a/es2/glGetError.xhtml b/es2/glGetError.xhtml index 38c981eb..e9cddc9e 100644 --- a/es2/glGetError.xhtml +++ b/es2/glGetError.xhtml @@ -1,4 +1,4 @@ -

Name

glGetError — return error information

C Specification

GLenum glGetError( void);
 

Description

+

Name

glGetError — return error information

C Specification

GLenum glGetError( void);
 

Description

glGetError returns the value of the error flag. Each detectable error is assigned a numeric code and symbolic name. When an error occurs, @@ -42,8 +42,8 @@ and has no other side effect than to set the error flag.

GL_INVALID_FRAMEBUFFER_OPERATION

The command is trying to render to or read from the framebuffer - while the currently bound framebuffer is not framebuffer - complete (i.e. the return value from + while the currently bound framebuffer is not framebuffer + complete (i.e. the return value from glCheckFramebufferStatus is not GL_FRAMEBUFFER_COMPLETE). The offending command is ignored @@ -70,4 +70,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glGetFramebufferAttachmentParameteriv.xhtml b/es2/glGetFramebufferAttachmentParameteriv.xhtml index 36a24186..e2a5a605 100644 --- a/es2/glGetFramebufferAttachmentParameteriv.xhtml +++ b/es2/glGetFramebufferAttachmentParameteriv.xhtml @@ -1,10 +1,10 @@ -

Name

glGetFramebufferAttachmentParameteriv — return attachment parameters of a framebuffer object

C Specification

void glGetFramebufferAttachmentParameteriv(GLenum target,
 GLenum attachment,
 GLenum pname,
 GLint * params);
 

Parameters

target

+

Name

glGetFramebufferAttachmentParameteriv — return attachment parameters of a framebuffer object

C Specification

void glGetFramebufferAttachmentParameteriv(GLenum target,
 GLenum attachment,
 GLenum pname,
 GLint * params);
 

Parameters

target

Specifies the target framebuffer object. The symbolic constant must be GL_FRAMEBUFFER.

attachment

Specifies the symbolic name of a framebuffer object attachment point. Accepted values are GL_COLOR_ATTACHMENT0, - GL_DEPTH_ATTACHMENT, and + GL_DEPTH_ATTACHMENT, and GL_STENCIL_ATTACHMENT.

pname

Specifies the symbolic name of a framebuffer object attachment parameter. @@ -15,44 +15,44 @@

params

Returns the requested parameter.

Description

- glGetFramebufferAttachmentParameteriv - returns in params a selected attachment - parameter of the attachpoint point attachment + glGetFramebufferAttachmentParameteriv + returns in params a selected attachment + parameter of the attachpoint point attachment of the currently bound framebuffer object.

pname names a specific framebuffer object attachment parameter, as follows:

GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

- params returns the type of - object which contains the attached image, either - GL_RENDERBUFFER, - GL_TEXTURE, or if no image is + params returns the type of + object which contains the attached image, either + GL_RENDERBUFFER, + GL_TEXTURE, or if no image is attached, GL_NONE. The initial value is GL_NONE.

GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

If the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE - is GL_RENDERBUFFER, - params returns the name of + is GL_RENDERBUFFER, + params returns the name of the renderbuffer object which contains the attached image. If the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE - is GL_TEXTURE, - params returns the name of + is GL_TEXTURE, + params returns the name of the texture object which contains the attached image. The initial value is zero.

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

If the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE - is GL_TEXTURE, - params returns the mipmap level of + is GL_TEXTURE, + params returns the mipmap level of the texture object which contains the attached image. The initial value is zero.

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

If the value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE - is GL_TEXTURE and + is GL_TEXTURE and GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME - is the name of a cube-map texture, - params returns the cube map - face of the cube-map texture object which contains - the attached image. If the attached image is from a - texture object but not a cube-map, params + is the name of a cube-map texture, + params returns the cube map + face of the cube-map texture object which contains + the attached image. If the attached image is from a + texture object but not a cube-map, params returns 0. The initial value is GL_TEXTURE_CUBE_MAP_POSITIVE_X.

\ No newline at end of file +

diff --git a/es2/glGetProgramInfoLog.xhtml b/es2/glGetProgramInfoLog.xhtml index 6836b8eb..0bb4e2a6 100644 --- a/es2/glGetProgramInfoLog.xhtml +++ b/es2/glGetProgramInfoLog.xhtml @@ -1,4 +1,4 @@ -

Name

glGetProgramInfoLog — return the information log for a program object

C Specification

void glGetProgramInfoLog(GLuint program,
 GLsizei maxLength,
 GLsizei *length,
 GLchar *infoLog);
 

Parameters

program

Specifies the program object whose information +

Name

glGetProgramInfoLog — return the information log for a program object

C Specification

void glGetProgramInfoLog(GLuint program,
 GLsizei maxLength,
 GLsizei *length,
 GLchar *infoLog);
 

Parameters

program

Specifies the program object whose information log is to be queried.

maxLength

Specifies the size of the character buffer for storing the returned information log.

length

Returns the length of the string returned in infoLog (excluding the null @@ -41,8 +41,8 @@ glGetShaderInfoLog, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/es2/glGetProgramiv.xhtml b/es2/glGetProgramiv.xhtml index 55542818..ee14a607 100644 --- a/es2/glGetProgramiv.xhtml +++ b/es2/glGetProgramiv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetProgramiv — return a parameter from a program object

C Specification

void glGetProgramiv(GLuint program,
 GLenum pname,
 GLint *params);
 

Parameters

program

Specifies the program object to be +

Name

glGetProgramiv — return a parameter from a program object

C Specification

void glGetProgramiv(GLuint program,
 GLenum pname,
 GLint *params);
 

Parameters

program

Specifies the program object to be queried.

pname

Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, @@ -69,8 +69,8 @@ glGetShaderiv, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/es2/glGetRenderbufferParameteriv.xhtml b/es2/glGetRenderbufferParameteriv.xhtml index 66b25cc2..f340e3fb 100644 --- a/es2/glGetRenderbufferParameteriv.xhtml +++ b/es2/glGetRenderbufferParameteriv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetRenderbufferParameteriv — return parameters of a renderbuffer object

C Specification

void glGetRenderbufferParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 

Parameters

target

+

Name

glGetRenderbufferParameteriv — return parameters of a renderbuffer object

C Specification

void glGetRenderbufferParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 

Parameters

target

Specifies the target renderbuffer object. The symbolic constant must be GL_RENDERBUFFER.

pname

@@ -15,8 +15,8 @@

params

Returns the requested parameter.

Description

- glGetRenderbufferParameteriv returns in - params a selected parameter of the + glGetRenderbufferParameteriv returns in + params a selected parameter of the currently bound renderbuffer object.

pname names a specific renderbuffer object parameter, as follows: @@ -33,37 +33,37 @@ of the image of the currently bound renderbuffer. The initial value is GL_RGBA4.

GL_RENDERBUFFER_RED_SIZE

- params returns the resolution in bits - for the red component of the image of the currently + params returns the resolution in bits + for the red component of the image of the currently bound renderbuffer. The initial value is 0.

GL_RENDERBUFFER_GREEN_SIZE

- params returns the resolution in bits - for the green component of the image of the currently + params returns the resolution in bits + for the green component of the image of the currently bound renderbuffer. The initial value is 0.

GL_RENDERBUFFER_BLUE_SIZE

- params returns the resolution in bits - for the blue component of the image of the currently + params returns the resolution in bits + for the blue component of the image of the currently bound renderbuffer. The initial value is 0.

GL_RENDERBUFFER_ALPHA_SIZE

- params returns the resolution in bits - for the alpha component of the image of the currently + params returns the resolution in bits + for the alpha component of the image of the currently bound renderbuffer. The initial value is 0.

GL_RENDERBUFFER_DEPTH_SIZE

- params returns the resolution in bits - for the depth component of the image of the currently + params returns the resolution in bits + for the depth component of the image of the currently bound renderbuffer. The initial value is 0.

GL_RENDERBUFFER_STENCIL_SIZE

- params returns the resolution in bits - for the stencil component of the image of the currently + params returns the resolution in bits + for the stencil component of the image of the currently bound renderbuffer. The initial value is 0.

Notes

- The resolution of components reported by + The resolution of components reported by glGetRenderbufferParameteriv are the actual resolutions at which the components are stored, which may be different than those requested by the internalformat @@ -74,7 +74,7 @@

Errors

GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.

- GL_INVALID_ENUM is generated if pname is not + GL_INVALID_ENUM is generated if pname is not GL_RENDERBUFFER_WIDTH, GL_RENDERBUFFER_HEIGHT, GL_RENDERBUFFER_INTERNAL_FORMAT, @@ -92,8 +92,8 @@ glBindRenderBuffer, glRenderbufferStorage

\ No newline at end of file +

diff --git a/es2/glGetShaderInfoLog.xhtml b/es2/glGetShaderInfoLog.xhtml index e6844aad..7554c45f 100644 --- a/es2/glGetShaderInfoLog.xhtml +++ b/es2/glGetShaderInfoLog.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderInfoLog — return the information log for a shader object

C Specification

void glGetShaderInfoLog(GLuint shader,
 GLsizei maxLength,
 GLsizei *length,
 GLchar *infoLog);
 

Parameters

shader

Specifies the shader object whose information +

Name

glGetShaderInfoLog — return the information log for a shader object

C Specification

void glGetShaderInfoLog(GLuint shader,
 GLsizei maxLength,
 GLsizei *length,
 GLchar *infoLog);
 

Parameters

shader

Specifies the shader object whose information log is to be queried.

maxLength

Specifies the size of the character buffer for storing the returned information log.

length

Returns the length of the string returned in infoLog (excluding the null @@ -38,8 +38,8 @@ glGetProgramInfoLog, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/es2/glGetShaderPrecisionFormat.xhtml b/es2/glGetShaderPrecisionFormat.xhtml index eec4087e..4f308765 100644 --- a/es2/glGetShaderPrecisionFormat.xhtml +++ b/es2/glGetShaderPrecisionFormat.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderPrecisionFormat — return the range and precision for different shader numeric formats

C Specification

void glGetShaderPrecisionFormat(GLenum shaderType,
 GLenum precisionType,
 GLint *range,
 GLint *precision);
 

Parameters

shaderType

Specifies the type of shader to query. +

Name

glGetShaderPrecisionFormat — return the range and precision for different shader numeric formats

C Specification

void glGetShaderPrecisionFormat(GLenum shaderType,
 GLenum precisionType,
 GLint *range,
 GLint *precision);
 

Parameters

shaderType

Specifies the type of shader to query. Must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.

precisionType

Specifies the numeric format to query, corresponding to a shader precision qualifier and variable type. Must be one of GL_LOW_FLOAT, GL_MEDIUM_FLOAT, diff --git a/es2/glGetShaderSource.xhtml b/es2/glGetShaderSource.xhtml index 9860366a..26d16575 100644 --- a/es2/glGetShaderSource.xhtml +++ b/es2/glGetShaderSource.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderSource — return the source code string from a shader object

C Specification

void glGetShaderSource(GLuint shader,
 GLsizei bufSize,
 GLsizei *length,
 GLchar *source);
 

Parameters

shader

Specifies the shader object to be +

Name

glGetShaderSource — return the source code string from a shader object

C Specification

void glGetShaderSource(GLuint shader,
 GLsizei bufSize,
 GLsizei *length,
 GLchar *source);
 

Parameters

shader

Specifies the shader object to be queried.

bufSize

Specifies the size of the character buffer for storing the returned source code string.

length

Returns the length of the string returned in source (excluding the null @@ -31,8 +31,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/es2/glGetShaderiv.xhtml b/es2/glGetShaderiv.xhtml index e43bce94..54e20724 100644 --- a/es2/glGetShaderiv.xhtml +++ b/es2/glGetShaderiv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderiv — return a parameter from a shader object

C Specification

void glGetShaderiv(GLuint shader,
 GLenum pname,
 GLint *params);
 

Parameters

shader

Specifies the shader object to be +

Name

glGetShaderiv — return a parameter from a shader object

C Specification

void glGetShaderiv(GLuint shader,
 GLenum pname,
 GLint *params);
 

Parameters

shader

Specifies the shader object to be queried.

pname

Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, @@ -17,19 +17,19 @@ GL_TRUE if shader is currently flagged for deletion, and GL_FALSE - otherwise.

GL_COMPILE_STATUS

For implementations that support a shader compiler, + otherwise.

GL_COMPILE_STATUS

For implementations that support a shader compiler, params returns GL_TRUE if the last compile operation on shader was successful, and GL_FALSE - otherwise.

GL_INFO_LOG_LENGTH

For implementations that support a shader compiler, + otherwise.

GL_INFO_LOG_LENGTH

For implementations that support a shader compiler, params returns the number of characters in the information log for shader including the null termination character (i.e., the size of the character buffer required to store the information log). If shader has no - information log, a value of 0 is returned.

GL_SHADER_SOURCE_LENGTH

For implementations that support a shader compiler, + information log, a value of 0 is returned.

GL_SHADER_SOURCE_LENGTH

For implementations that support a shader compiler, params returns the length of the concatenation of the source strings that make up the shader source for the @@ -39,12 +39,12 @@ source). If no source code exists, 0 is returned.

Notes

Shader compiler support is optional, and thus must be queried before use by calling glGet - with argument GL_SHADER_COMPILER. glShaderSource, - glCompileShader, + with argument GL_SHADER_COMPILER. glShaderSource, + glCompileShader, glGetShaderPrecisionFormat, and glReleaseShaderCompiler will each generate GL_INVALID_OPERATION on implementations - that do not support a shader compiler, as will glGetShaderiv queries of + that do not support a shader compiler, as will glGetShaderiv queries of GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, and GL_SHADER_SOURCE_LENGTH. Such implementations instead offer the glShaderBinary @@ -68,8 +68,8 @@ glGetProgramiv, glShaderSource, glShaderBinary

\ No newline at end of file +

diff --git a/es2/glGetString.xhtml b/es2/glGetString.xhtml index 679cdc09..bdb8bde5 100644 --- a/es2/glGetString.xhtml +++ b/es2/glGetString.xhtml @@ -1,4 +1,4 @@ -

Name

glGetString — return a string describing the current GL connection

C Specification

const GLubyte* glGetString(GLenum name);
 

Parameters

name

+

Name

glGetString — return a string describing the current GL connection

C Specification

const GLubyte* glGetString(GLenum name);
 

Parameters

name

Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS.

Description

@@ -51,4 +51,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glGetTexParameter.xhtml b/es2/glGetTexParameter.xhtml index 71a5330c..e2104aa3 100644 --- a/es2/glGetTexParameter.xhtml +++ b/es2/glGetTexParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexParameter — return texture parameter values

C Specification

void glGetTexParameterfv(GLenum target,
 GLenum pname,
 GLfloat * params);
 
void glGetTexParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 

Parameters

target

+

Name

glGetTexParameter — return texture parameter values

C Specification

void glGetTexParameterfv(GLenum target,
 GLenum pname,
 GLfloat * params);
 
void glGetTexParameteriv(GLenum target,
 GLenum pname,
 GLint * params);
 

Parameters

target

Specifies the symbolic name of the target texture of the active texture unit. GL_TEXTURE_2D and GL_TEXTURE_CUBE_MAP diff --git a/es2/glGetUniform.xhtml b/es2/glGetUniform.xhtml index bfeb0ebc..7ba05aa3 100644 --- a/es2/glGetUniform.xhtml +++ b/es2/glGetUniform.xhtml @@ -1,4 +1,4 @@ -

Name

glGetUniform — return the value of a uniform variable

C Specification

void glGetUniformfv(GLuint program,
 GLint location,
 GLfloat *params);
 
void glGetUniformiv(GLuint program,
 GLint location,
 GLint *params);
 

Parameters

program

Specifies the program object to be +

Name

glGetUniform — return the value of a uniform variable

C Specification

void glGetUniformfv(GLuint program,
 GLint location,
 GLfloat *params);
 
void glGetUniformiv(GLuint program,
 GLint location,
 GLint *params);
 

Parameters

program

Specifies the program object to be queried.

location

Specifies the location of the uniform variable to be queried.

params

Returns the value of the specified uniform variable.

Description

glGetUniform returns in @@ -47,8 +47,8 @@

\ No newline at end of file +

diff --git a/es2/glGetUniformLocation.xhtml b/es2/glGetUniformLocation.xhtml index 38a78a01..2ea8cb43 100644 --- a/es2/glGetUniformLocation.xhtml +++ b/es2/glGetUniformLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glGetUniformLocation — return the location of a uniform variable

C Specification

GLint glGetUniformLocation(GLuint program,
 const GLchar *name);
 

Parameters

program

Specifies the program object to be +

Name

glGetUniformLocation — return the location of a uniform variable

C Specification

GLint glGetUniformLocation(GLuint program,
 const GLchar *name);
 

Parameters

program

Specifies the program object to be queried.

name

Points to a null terminated string containing the name of the uniform variable whose location is to be queried.

Description

glGetUniformLocation returns an @@ -52,8 +52,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/es2/glGetVertexAttrib.xhtml b/es2/glGetVertexAttrib.xhtml index 533d1eab..dbdcb347 100644 --- a/es2/glGetVertexAttrib.xhtml +++ b/es2/glGetVertexAttrib.xhtml @@ -1,4 +1,4 @@ -

Name

glGetVertexAttrib — return a generic vertex attribute parameter

C Specification

void glGetVertexAttribfv(GLuint index,
 GLenum pname,
 GLfloat *params);
 
void glGetVertexAttribiv(GLuint index,
 GLenum pname,
 GLint *params);
 

Parameters

index

Specifies the generic vertex attribute +

Name

glGetVertexAttrib — return a generic vertex attribute parameter

C Specification

void glGetVertexAttribfv(GLuint index,
 GLenum pname,
 GLfloat *params);
 
void glGetVertexAttribiv(GLuint index,
 GLenum pname,
 GLint *params);
 

Parameters

index

Specifies the generic vertex attribute parameter to be queried.

pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, @@ -13,8 +13,8 @@ is specified by index, and the parameter to be queried is specified by pname.

The accepted parameter names are as follows:

GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

params returns a single value, the name of the buffer object currently bound to - the binding point corresponding to generic vertex attribute array - index. If no buffer object is bound, + the binding point corresponding to generic vertex attribute array + index. If no buffer object is bound, 0 is returned. The initial value is 0.

GL_VERTEX_ATTRIB_ARRAY_ENABLED

params returns a single value that is non-zero (true) if the vertex attribute array for index is @@ -47,7 +47,7 @@ otherwise. The initial value is GL_FALSE.

GL_CURRENT_VERTEX_ATTRIB

params returns four values that represent the current value for the - generic vertex attribute specified by index. + generic vertex attribute specified by index. The initial value is (0,0,0,1).

All of the parameters except GL_CURRENT_VERTEX_ATTRIB represent client-side state.

Notes

If an error is generated, no change is made to the contents of params.

Errors

GL_INVALID_ENUM is generated if @@ -64,8 +64,8 @@ glEnableVertexAttribArray, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/es2/glGetVertexAttribPointerv.xhtml b/es2/glGetVertexAttribPointerv.xhtml index 7f4e8f3e..39c0690e 100644 --- a/es2/glGetVertexAttribPointerv.xhtml +++ b/es2/glGetVertexAttribPointerv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetVertexAttribPointerv — return the address of the specified generic vertex attribute pointer

C Specification

void glGetVertexAttribPointerv(GLuint index,
 GLenum pname,
 GLvoid **pointer);
 

Parameters

index

Specifies the generic vertex attribute +

Name

glGetVertexAttribPointerv — return the address of the specified generic vertex attribute pointer

C Specification

void glGetVertexAttribPointerv(GLuint index,
 GLenum pname,
 GLvoid **pointer);
 

Parameters

index

Specifies the generic vertex attribute parameter to be returned.

pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.

pointer

Returns the pointer value.

Description

glGetVertexAttribPointerv returns @@ -6,7 +6,7 @@ vertex attribute to be queried, pname is a symbolic constant indicating the pointer to be returned, and params is a pointer to a location in - which to place the returned data.

If a non-zero named buffer object was bound to the GL_ARRAY_BUFFER target + which to place the returned data.

If a non-zero named buffer object was bound to the GL_ARRAY_BUFFER target (see glBindBuffer) when the desired pointer was previously specified, the pointer returned is a byte offset into the buffer object's data store.

Notes

The pointer returned is client-side state.

The initial value for each pointer is 0.

Errors

GL_INVALID_ENUM @@ -18,8 +18,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/es2/glHint.xhtml b/es2/glHint.xhtml index a230b17b..72091dfd 100644 --- a/es2/glHint.xhtml +++ b/es2/glHint.xhtml @@ -1,4 +1,4 @@ -

Name

glHint — specify implementation-specific hints

C Specification

void glHint(GLenum target,
 GLenum mode);
 

Parameters

target

+

Name

glHint — specify implementation-specific hints

C Specification

void glHint(GLenum target,
 GLenum mode);
 

Parameters

target

Specifies a symbolic constant indicating the behavior to be controlled. GL_GENERATE_MIPMAP_HINT is accepted.

mode

@@ -46,4 +46,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glIsBuffer.xhtml b/es2/glIsBuffer.xhtml index 9e5a3d91..e684bdf6 100644 --- a/es2/glIsBuffer.xhtml +++ b/es2/glIsBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glIsBuffer — determine if a name corresponds to a buffer object

C Specification

GLboolean glIsBuffer(GLuint buffer);
 

Parameters

buffer

+

Name

glIsBuffer — determine if a name corresponds to a buffer object

C Specification

GLboolean glIsBuffer(GLuint buffer);
 

Parameters

buffer

Specifies a value that may be the name of a buffer object.

Description

glIsBuffer returns GL_TRUE if buffer is currently the name of a buffer object. @@ -15,8 +15,8 @@ glGenBuffers, glGet

\ No newline at end of file +

diff --git a/es2/glIsEnabled.xhtml b/es2/glIsEnabled.xhtml index 40850de7..3c381fd8 100644 --- a/es2/glIsEnabled.xhtml +++ b/es2/glIsEnabled.xhtml @@ -1,4 +1,4 @@ -

Name

glIsEnabled — test whether a capability is enabled

C Specification

GLboolean glIsEnabled(GLenum cap);
 

Parameters

cap

+

Name

glIsEnabled — test whether a capability is enabled

C Specification

GLboolean glIsEnabled(GLenum cap);
 

Parameters

cap

Specifies a symbolic constant indicating a GL capability.

Description

glIsEnabled returns GL_TRUE if cap is an enabled capability @@ -8,7 +8,7 @@

The following capabilities are accepted for cap:

-

+

Constant See @@ -29,7 +29,7 @@ glEnable
- GL_POLYGON_OFFSET_FILL + GL_POLYGON_OFFSET_FILL glPolygonOffset
@@ -64,4 +64,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glIsFramebuffer.xhtml b/es2/glIsFramebuffer.xhtml index 71346de5..f1da398a 100644 --- a/es2/glIsFramebuffer.xhtml +++ b/es2/glIsFramebuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glIsFramebuffer — determine if a name corresponds to a framebuffer object

C Specification

GLboolean glIsFramebuffer(GLuint framebuffer);
 

Parameters

framebuffer

+

Name

glIsFramebuffer — determine if a name corresponds to a framebuffer object

C Specification

GLboolean glIsFramebuffer(GLuint framebuffer);
 

Parameters

framebuffer

Specifies a value that may be the name of a framebuffer object.

Description

glIsFramebuffer returns GL_TRUE if framebuffer is currently the name of a framebuffer object. @@ -14,8 +14,8 @@ glDeleteFramebuffers, glGenFramebuffers

\ No newline at end of file +

diff --git a/es2/glIsProgram.xhtml b/es2/glIsProgram.xhtml index fb0afc75..c7751921 100644 --- a/es2/glIsProgram.xhtml +++ b/es2/glIsProgram.xhtml @@ -1,20 +1,20 @@ -

Name

glIsProgram — determine if a name corresponds to a program object

C Specification

GLboolean glIsProgram(GLuint program);
 

Parameters

program

Specifies a potential program object.

Description

glIsProgram returns +

Name

glIsProgram — determine if a name corresponds to a program object

C Specification

GLboolean glIsProgram(GLuint program);
 

Parameters

program

Specifies a potential program object.

Description

glIsProgram returns GL_TRUE if program - is the name of a program object previously created with - glCreateProgram + is the name of a program object previously created with + glCreateProgram and not yet deleted with glDeleteProgram. If program is zero or a non-zero value that - is not the name of a program object, or if an error occurs, + is not the name of a program object, or if an error occurs, glIsProgram returns GL_FALSE.

Notes

No error is generated if program is not a valid program object name.

A program object marked for deletion with glDeleteProgram - but still in use as part of current rendering state is still considered + but still in use as part of current rendering state is still considered a program object and glIsProgram will return GL_TRUE.

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/es2/glIsRenderbuffer.xhtml b/es2/glIsRenderbuffer.xhtml index ec4f34dc..e2b5e009 100644 --- a/es2/glIsRenderbuffer.xhtml +++ b/es2/glIsRenderbuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glIsRenderbuffer — determine if a name corresponds to a renderbuffer object

C Specification

GLboolean glIsRenderbuffer(GLuint renderbuffer);
 

Parameters

renderbuffer

+

Name

glIsRenderbuffer — determine if a name corresponds to a renderbuffer object

C Specification

GLboolean glIsRenderbuffer(GLuint renderbuffer);
 

Parameters

renderbuffer

Specifies a value that may be the name of a renderbuffer object.

Description

glIsRenderbuffer returns GL_TRUE if renderbuffer is currently the name of a renderbuffer object. @@ -14,8 +14,8 @@ glDeleteRenderbuffers, glGenRenderbuffers

\ No newline at end of file +

diff --git a/es2/glIsShader.xhtml b/es2/glIsShader.xhtml index 2fc31731..bce96901 100644 --- a/es2/glIsShader.xhtml +++ b/es2/glIsShader.xhtml @@ -1,20 +1,20 @@ -

Name

glIsShader — determine if a name corresponds to a shader object

C Specification

GLboolean glIsShader(GLuint shader);
 

Parameters

shader

Specifies a potential shader object.

Description

glIsShader returns +

Name

glIsShader — determine if a name corresponds to a shader object

C Specification

GLboolean glIsShader(GLuint shader);
 

Parameters

shader

Specifies a potential shader object.

Description

glIsShader returns GL_TRUE if shader is - the name of a shader object previously created with - glCreateShader - and not yet deleted with glDeleteShader. + the name of a shader object previously created with + glCreateShader + and not yet deleted with glDeleteShader. If shader is zero or a non-zero value that is not the name of a shader object, or if an error occurs, glIsShader returns GL_FALSE.

Notes

No error is generated if shader is not a valid shader object name.

A shader object marked for deletion with glDeleteShader - but still attached to a program object is still considered + but still attached to a program object is still considered a shader object and glIsShader will return GL_TRUE.

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/es2/glIsTexture.xhtml b/es2/glIsTexture.xhtml index f0832e53..6bc9d61b 100644 --- a/es2/glIsTexture.xhtml +++ b/es2/glIsTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glIsTexture — determine if a name corresponds to a texture

C Specification

GLboolean glIsTexture(GLuint texture);
 

Parameters

texture

+

Name

glIsTexture — determine if a name corresponds to a texture

C Specification

GLboolean glIsTexture(GLuint texture);
 

Parameters

texture

Specifies a value that may be the name of a texture.

Description

glIsTexture returns GL_TRUE if texture is currently the name of a texture. @@ -23,4 +23,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glLineWidth.xhtml b/es2/glLineWidth.xhtml index c34a6f71..075af781 100644 --- a/es2/glLineWidth.xhtml +++ b/es2/glLineWidth.xhtml @@ -1,4 +1,4 @@ -

Name

glLineWidth — specify the width of rasterized lines

C Specification

void glLineWidth(GLfloat width);
 

Parameters

width

+

Name

glLineWidth — specify the width of rasterized lines

C Specification

void glLineWidth(GLfloat width);
 

Parameters

width

Specifies the width of rasterized lines. The initial value is 1.

Description

diff --git a/es2/glLinkProgram.xhtml b/es2/glLinkProgram.xhtml index b1457b8c..8f5f022e 100644 --- a/es2/glLinkProgram.xhtml +++ b/es2/glLinkProgram.xhtml @@ -1,9 +1,9 @@ -

Name

glLinkProgram — link a program object

C Specification

void glLinkProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object to be linked.

Description

glLinkProgram links the program - object specified by program. A shader object - of type GL_VERTEX_SHADER attached to +

Name

glLinkProgram — link a program object

C Specification

void glLinkProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object to be linked.

Description

glLinkProgram links the program + object specified by program. A shader object + of type GL_VERTEX_SHADER attached to program is used to create an executable that will run on the programmable vertex - processor. A shader object of type GL_FRAGMENT_SHADER + processor. A shader object of type GL_FRAGMENT_SHADER attached to program is used to create an executable that will run on the programmable fragment processor.

The status of the link operation will be stored as part of @@ -25,7 +25,7 @@ one at this time.

Linking of a program object can fail for a number of reasons as specified in the OpenGL ES Shading Language Specification. The following lists some of the - conditions that will cause a link error.

  • A vertex shader and a fragment shader are not both + conditions that will cause a link error.

    • A vertex shader and a fragment shader are not both present in the program object.

    • The number of active attribute variables supported by the implementation has been exceeded.

    • The storage limit for uniform variables has been exceeded.

    • The number of active uniform variables supported @@ -35,7 +35,7 @@ declared at all) in the vertex shader.

    • A reference to a function or variable name is unresolved.

    • A shared global is declared with two different types or two different initial values.

    • One or more of the attached shader objects has not - been successfully compiled (via glCompileShader) + been successfully compiled (via glCompileShader) or loaded with a pre-compiled shader binary (via glShaderBinary).

    • Binding a generic attribute matrix caused some rows of the matrix to fall outside the allowed maximum of GL_MAX_VERTEX_ATTRIBS.

    • Not enough contiguous vertex attribute slots could @@ -98,8 +98,8 @@ glUniform, glUseProgram, glValidateProgram

\ No newline at end of file +

diff --git a/es2/glPixelStorei.xhtml b/es2/glPixelStorei.xhtml index 5cd091c7..27681535 100644 --- a/es2/glPixelStorei.xhtml +++ b/es2/glPixelStorei.xhtml @@ -1,4 +1,4 @@ -

Name

glPixelStorei — set pixel storage modes

C Specification

void glPixelStorei(GLenum pname,
 GLint param);
 

Parameters

pname

+

Name

glPixelStorei — set pixel storage modes

C Specification

void glPixelStorei(GLenum pname,
 GLint param);
 

Parameters

pname

Specifies the symbolic name of the parameter to be set. One value affects the packing of pixel data into memory: GL_PACK_ALIGNMENT. @@ -38,7 +38,7 @@ and range of valid values for each storage parameter that can be set with glPixelStorei.

-

+

pname Type @@ -69,7 +69,7 @@

GL_INVALID_VALUE is generated if alignment is specified as other than 1, 2, 4, or 8.

Associated Gets

- glGet with argument + glGet with argument GL_PACK_ALIGNMENT or GL_UNPACK_ALIGNMENT

{$pipelinestall}{$examples} @@ -82,4 +82,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glPolygonOffset.xhtml b/es2/glPolygonOffset.xhtml index a7a3dcff..a878c315 100644 --- a/es2/glPolygonOffset.xhtml +++ b/es2/glPolygonOffset.xhtml @@ -1,4 +1,4 @@ -

Name

glPolygonOffset — set the scale and units used to calculate depth values

C Specification

void glPolygonOffset(GLfloat factor,
 GLfloat units);
 

Parameters

factor

+

Name

glPolygonOffset — set the scale and units used to calculate depth values

C Specification

void glPolygonOffset(GLfloat factor,
 GLfloat units);
 

Parameters

factor

Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.

units

diff --git a/es2/glReadPixels.xhtml b/es2/glReadPixels.xhtml index 95d2e097..e3bab284 100644 --- a/es2/glReadPixels.xhtml +++ b/es2/glReadPixels.xhtml @@ -1,4 +1,4 @@ -

Name

glReadPixels — read a block of pixels from the frame buffer

C Specification

void glReadPixels(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 GLvoid * data);
 

Parameters

x, y

+

Name

glReadPixels — read a block of pixels from the frame buffer

C Specification

void glReadPixels(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 GLvoid * data);
 

Parameters

x, y

Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. diff --git a/es2/glReleaseShaderCompiler.xhtml b/es2/glReleaseShaderCompiler.xhtml index b4227493..9b8f14c4 100644 --- a/es2/glReleaseShaderCompiler.xhtml +++ b/es2/glReleaseShaderCompiler.xhtml @@ -1,4 +1,4 @@ -

Name

glReleaseShaderCompiler — release resources allocated by the shader compiler

C Specification

void glReleaseShaderCompiler( void);
 

Description

For implementations that support a shader compiler, +

Name

glReleaseShaderCompiler — release resources allocated by the shader compiler

C Specification

void glReleaseShaderCompiler( void);
 

Description

For implementations that support a shader compiler, glReleaseShaderCompiler frees resources allocated by the shader compiler. This is a hint from the application that additional shader compilations are unlikely to occur, at least for some period of time, @@ -7,7 +7,7 @@ is made after a call to glReleaseShaderCompiler, the shader compiler must be restored to service the compilation request as if glReleaseShaderCompiler had never been called.

Notes

Shader compiler support is optional, and thus must be queried before use by calling glGet - with argument GL_SHADER_COMPILER. glShaderSource, + with argument GL_SHADER_COMPILER. glShaderSource, glCompileShader, glGetShaderPrecisionFormat, and glReleaseShaderCompiler will @@ -20,8 +20,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/es2/glRenderbufferStorage.xhtml b/es2/glRenderbufferStorage.xhtml index 0c2fe404..5a9e1db2 100644 --- a/es2/glRenderbufferStorage.xhtml +++ b/es2/glRenderbufferStorage.xhtml @@ -1,10 +1,10 @@ -

Name

glRenderbufferStorage — create and initialize a renderbuffer object's data store

C Specification

void glRenderbufferStorage(GLenum target,
 GLenum internalformat,
 GLsizei width,
 GLsizei height);
 

Parameters

target

Specifies the renderbuffer target. The symbolic constant must be - GL_RENDERBUFFER.

internalformat

Specifies the color-renderable, depth-renderable, or +

Name

glRenderbufferStorage — create and initialize a renderbuffer object's data store

C Specification

void glRenderbufferStorage(GLenum target,
 GLenum internalformat,
 GLsizei width,
 GLsizei height);
 

Parameters

target

Specifies the renderbuffer target. The symbolic constant must be + GL_RENDERBUFFER.

internalformat

Specifies the color-renderable, depth-renderable, or stencil-renderable format of the renderbuffer. Must be one of the - following symbolic constants: - GL_RGBA4, - GL_RGB565, - GL_RGB5_A1, + following symbolic constants: + GL_RGBA4, + GL_RGB565, + GL_RGB5_A1, GL_DEPTH_COMPONENT16, or GL_STENCIL_INDEX8.

width

Specifies the width of the renderbuffer in pixels.

height

Specifies the height of the renderbuffer in pixels.

Description

glRenderbufferStorage establishes the data storage, format, and dimensions of a renderbuffer object's image. Any @@ -17,10 +17,10 @@ component of the allocated image can be queried with glGetRenderbufferParameteriv.

Errors

GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.

GL_INVALID_ENUM is generated if - internalformat is not an accepted format.

GL_INVALID_VALUE is generated if + internalformat is not an accepted format.

GL_INVALID_VALUE is generated if width or height is less than zero or greater than GL_MAX_RENDERBUFFER_SIZE.

GL_OUT_OF_MEMORY is generated if the implementation is - unable to create a data store with the requested + unable to create a data store with the requested width and height.

GL_INVALID_OPERATION is generated if the reserved renderbuffer object name 0 is bound.

{$pipelinestall}{$examples} @@ -30,8 +30,8 @@ glGenRenderbuffers, glGetRenderbufferParameteriv, glIsRenderbuffer

\ No newline at end of file +

diff --git a/es2/glSampleCoverage.xhtml b/es2/glSampleCoverage.xhtml index 7198e109..ac70132a 100644 --- a/es2/glSampleCoverage.xhtml +++ b/es2/glSampleCoverage.xhtml @@ -1,4 +1,4 @@ -

Name

glSampleCoverage — specify multisample coverage parameters

C Specification

void glSampleCoverage(GLclampf value,
 GLboolean invert);
 

Parameters

value

+

Name

glSampleCoverage — specify multisample coverage parameters

C Specification

void glSampleCoverage(GLclampf value,
 GLboolean invert);
 

Parameters

value

Specify a single floating-point sample coverage value. The value is clamped to the range diff --git a/es2/glScissor.xhtml b/es2/glScissor.xhtml index 1abc6796..1a15015b 100644 --- a/es2/glScissor.xhtml +++ b/es2/glScissor.xhtml @@ -1,4 +1,4 @@ -

Name

glScissor — define the scissor box

C Specification

void glScissor(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

+

Name

glScissor — define the scissor box

C Specification

void glScissor(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

Specify the lower left corner of the scissor box. Initially (0, 0).

width, height

@@ -43,4 +43,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/es2/glShaderBinary.xhtml b/es2/glShaderBinary.xhtml index 771037ae..f79533aa 100644 --- a/es2/glShaderBinary.xhtml +++ b/es2/glShaderBinary.xhtml @@ -1,6 +1,6 @@ -

Name

glShaderBinary — load a precompiled shader binary

C Specification

void glShaderBinary(GLsizei n,
 const GLuint *shaders,
 GLenum binaryformat,
 const void *binary,
 GLsizei length);
 

Parameters

n

Specifies the number of shader object handles +

Name

glShaderBinary — load a precompiled shader binary

C Specification

void glShaderBinary(GLsizei n,
 const GLuint *shaders,
 GLenum binaryformat,
 const void *binary,
 GLsizei length);
 

Parameters

n

Specifies the number of shader object handles present in shaders.

shaders

Specifies a pointer to an array of shader object handles into - which the shader binary will be loaded.

binaryformat

Specifies the shader binary format.

binary

Specifies a pointer to the shader binary data in client memory.

length

Specifies the length of the shader binary data in bytes.

Description

For implementations that support them, + which the shader binary will be loaded.

binaryformat

Specifies the shader binary format.

binary

Specifies a pointer to the shader binary data in client memory.

length

Specifies the length of the shader binary data in bytes.

Description

For implementations that support them, glShaderBinary loads precompiled shader binaries. shaders contains a list of n shader object handles. Each handle refers to a unique shader type (vertex shader or @@ -20,7 +20,7 @@ objects for which the binary was being loaded will not be restored.

Notes

Shader binary support is optional and thus must be queried before use by calling glGet with arguments GL_NUM_SHADER_BINARY_FORMATS and - GL_SHADER_BINARY_FORMATS. glShaderBinary + GL_SHADER_BINARY_FORMATS. glShaderBinary generates GL_INVALID_OPERATION on implementations that do not support any shader binary formats. Such implementations instead offer the glShaderSource @@ -28,7 +28,7 @@ require that an optimized pair of vertex and fragment shader binaries that were compiled together to be specified to glLinkProgram. - Not specifying an optimized pair my cause + Not specifying an optimized pair my cause glLinkProgram to fail. Such a restriction, if it exists, will be documented in the extension specification defining binaryformat.

OpenGL copies the shader binary data when @@ -38,7 +38,7 @@ binaryformat is not a supported format returned in GL_SHADER_BINARY_FORMATS.

GL_INVALID_VALUE is generated if any value in shaders is not a vlue generated by OpenGL.

GL_INVALID_VALUE is generated if the format of the - data pointed to by binary does not match + data pointed to by binary does not match binaryformat.

GL_INVALID_VALUE is generated if n or length is negative.

GL_INVALID_OPERATION is generated if any value in shaders is not a shader object, or if there @@ -50,8 +50,8 @@

\ No newline at end of file +

diff --git a/es2/glShaderSource.xhtml b/es2/glShaderSource.xhtml index 7ee3b740..94f42c78 100644 --- a/es2/glShaderSource.xhtml +++ b/es2/glShaderSource.xhtml @@ -1,10 +1,10 @@ -

Name

glShaderSource — replace the source code in a shader object

C Specification

void glShaderSource(GLuint shader,
 GLsizei count,
 const GLchar * const *string,
 const GLint *length);
 

Parameters

shader

Specifies the handle of the shader object +

Name

glShaderSource — replace the source code in a shader object

C Specification

void glShaderSource(GLuint shader,
 GLsizei count,
 const GLchar * const *string,
 const GLint *length);
 

Parameters

shader

Specifies the handle of the shader object whose source code is to be replaced.

count

Specifies the number of elements in the string and length arrays.

string

Specifies an array of pointers to strings containing the source code to be loaded into the - shader.

length

Specifies an array of string lengths.

Description

For implementations that support a shader compiler, + shader.

length

Specifies an array of string lengths.

Description

For implementations that support a shader compiler, glShaderSource sets the source code in shader to the source code in the array of strings specified by string. Any @@ -23,8 +23,8 @@ not scanned or parsed at this time; they are simply copied into the specified shader object.

Notes

Shader compiler support is optional, and thus must be queried before use by calling glGet - with argument GL_SHADER_COMPILER. glShaderSource, - glCompileShader, + with argument GL_SHADER_COMPILER. glShaderSource, + glCompileShader, glGetShaderPrecisionFormat, and glReleaseShaderCompiler will each generate GL_INVALID_OPERATION on implementations @@ -48,8 +48,8 @@ glGetShaderPrecisionFormat, glCreateShader, glDeleteShader

\ No newline at end of file +

diff --git a/es2/glStencilFunc.xhtml b/es2/glStencilFunc.xhtml index 54d2b0de..862fadd3 100644 --- a/es2/glStencilFunc.xhtml +++ b/es2/glStencilFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilFunc — set front and back function and reference value for stencil testing

C Specification

void glStencilFunc(GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

func

+

Name

glStencilFunc — set front and back function and reference value for stencil testing

C Specification

void glStencilFunc(GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

func

Specifies the test function. Eight symbolic constants are valid: GL_NEVER, diff --git a/es2/glStencilFuncSeparate.xhtml b/es2/glStencilFuncSeparate.xhtml index ac6cada6..3cbf867e 100644 --- a/es2/glStencilFuncSeparate.xhtml +++ b/es2/glStencilFuncSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilFuncSeparate — set front and/or back function and reference value for stencil testing

C Specification

void glStencilFuncSeparate(GLenum face,
 GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

face

+

Name

glStencilFuncSeparate — set front and/or back function and reference value for stencil testing

C Specification

void glStencilFuncSeparate(GLenum face,
 GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/es2/glStencilMask.xhtml b/es2/glStencilMask.xhtml index 264f3b24..7fb2425c 100644 --- a/es2/glStencilMask.xhtml +++ b/es2/glStencilMask.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilMask — control the front and back writing of individual bits in the stencil planes

C Specification

void glStencilMask(GLuint mask);
 

Parameters

mask

+

Name

glStencilMask — control the front and back writing of individual bits in the stencil planes

C Specification

void glStencilMask(GLuint mask);
 

Parameters

mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. diff --git a/es2/glStencilMaskSeparate.xhtml b/es2/glStencilMaskSeparate.xhtml index 9916c803..095c4b7b 100644 --- a/es2/glStencilMaskSeparate.xhtml +++ b/es2/glStencilMaskSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilMaskSeparate — control the front and/or back writing of individual bits in the stencil planes

C Specification

void glStencilMaskSeparate(GLenum face,
 GLuint mask);
 

Parameters

face

+

Name

glStencilMaskSeparate — control the front and/or back writing of individual bits in the stencil planes

C Specification

void glStencilMaskSeparate(GLenum face,
 GLuint mask);
 

Parameters

face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/es2/glStencilOp.xhtml b/es2/glStencilOp.xhtml index 5e22941c..e427e01c 100644 --- a/es2/glStencilOp.xhtml +++ b/es2/glStencilOp.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilOp — set front and back stencil test actions

C Specification

void glStencilOp(GLenum sfail,
 GLenum dpfail,
 GLenum dppass);
 

Parameters

sfail

+

Name

glStencilOp — set front and back stencil test actions

C Specification

void glStencilOp(GLenum sfail,
 GLenum dpfail,
 GLenum dppass);
 

Parameters

sfail

Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, diff --git a/es2/glStencilOpSeparate.xhtml b/es2/glStencilOpSeparate.xhtml index c2a89598..84ca1966 100644 --- a/es2/glStencilOpSeparate.xhtml +++ b/es2/glStencilOpSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilOpSeparate — set front and/or back stencil test actions

C Specification

void glStencilOpSeparate(GLenum face,
 GLenum sfail,
 GLenum dpfail,
 GLenum dppass);
 

Parameters

face

+

Name

glStencilOpSeparate — set front and/or back stencil test actions

C Specification

void glStencilOpSeparate(GLenum face,
 GLenum sfail,
 GLenum dpfail,
 GLenum dppass);
 

Parameters

face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/es2/glTexImage2D.xhtml b/es2/glTexImage2D.xhtml index 2f42ee1c..7cc68792 100644 --- a/es2/glTexImage2D.xhtml +++ b/es2/glTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage2D — specify a two-dimensional texture image

C Specification

void glTexImage2D(GLenum target,
 GLint level,
 GLint internalformat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

+

Name

glTexImage2D — specify a two-dimensional texture image

C Specification

void glTexImage2D(GLenum target,
 GLint level,
 GLint internalformat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture of the active texture unit. Must be GL_TEXTURE_2D, diff --git a/es2/glTexParameter.xhtml b/es2/glTexParameter.xhtml index a8097112..dce6b228 100644 --- a/es2/glTexParameter.xhtml +++ b/es2/glTexParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glTexParameter — set texture parameters

C Specification

void glTexParameterf(GLenum target,
 GLenum pname,
 GLfloat param);
 
void glTexParameteri(GLenum target,
 GLenum pname,
 GLint param);
 

Parameters

target

+

Name

glTexParameter — set texture parameters

C Specification

void glTexParameterf(GLenum target,
 GLenum pname,
 GLfloat param);
 
void glTexParameteri(GLenum target,
 GLenum pname,
 GLint param);
 

Parameters

target

Specifies the target texture of the active texture unit, which must be either GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP. @@ -11,7 +11,7 @@ GL_TEXTURE_WRAP_T.

param

Specifies the value of pname. -

C Specification

void glTexParameterfv(GLenum target,
 GLenum pname,
 const GLfloat * params);
 
void glTexParameteriv(GLenum target,
 GLenum pname,
 const GLint * params);
 

Parameters

target

+

C Specification

void glTexParameterfv(GLenum target,
 GLenum pname,
 const GLfloat * params);
 
void glTexParameteriv(GLenum target,
 GLenum pname,
 const GLint * params);
 

Parameters

target

Specifies the target texture of the active texture unit, which must be either GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP. diff --git a/es2/glTexSubImage2D.xhtml b/es2/glTexSubImage2D.xhtml index 06b84b1c..02ffafdd 100644 --- a/es2/glTexSubImage2D.xhtml +++ b/es2/glTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexSubImage2D — specify a two-dimensional texture subimage

C Specification

void glTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

+

Name

glTexSubImage2D — specify a two-dimensional texture subimage

C Specification

void glTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture of the active texture unit. Must be GL_TEXTURE_2D, diff --git a/es2/glUniform.xhtml b/es2/glUniform.xhtml index ec53d924..efa6ce03 100644 --- a/es2/glUniform.xhtml +++ b/es2/glUniform.xhtml @@ -1,18 +1,18 @@ -

Name

glUniform — specify the value of a uniform variable for the current program object

C Specification

void glUniform1f(GLint location,
 GLfloat v0);
 
void glUniform2f(GLint location,
 GLfloat v0,
 GLfloat v1);
 
void glUniform3f(GLint location,
 GLfloat v0,
 GLfloat v1,
 GLfloat v2);
 
void glUniform4f(GLint location,
 GLfloat v0,
 GLfloat v1,
 GLfloat v2,
 GLfloat v3);
 
void glUniform1i(GLint location,
 GLint v0);
 
void glUniform2i(GLint location,
 GLint v0,
 GLint v1);
 
void glUniform3i(GLint location,
 GLint v0,
 GLint v1,
 GLint v2);
 
void glUniform4i(GLint location,
 GLint v0,
 GLint v1,
 GLint v2,
 GLint v3);
 

Parameters

location

Specifies the location of the uniform variable +

Name

glUniform — specify the value of a uniform variable for the current program object

C Specification

void glUniform1f(GLint location,
 GLfloat v0);
 
void glUniform2f(GLint location,
 GLfloat v0,
 GLfloat v1);
 
void glUniform3f(GLint location,
 GLfloat v0,
 GLfloat v1,
 GLfloat v2);
 
void glUniform4f(GLint location,
 GLfloat v0,
 GLfloat v1,
 GLfloat v2,
 GLfloat v3);
 
void glUniform1i(GLint location,
 GLint v0);
 
void glUniform2i(GLint location,
 GLint v0,
 GLint v1);
 
void glUniform3i(GLint location,
 GLint v0,
 GLint v1,
 GLint v2);
 
void glUniform4i(GLint location,
 GLint v0,
 GLint v1,
 GLint v2,
 GLint v3);
 

Parameters

location

Specifies the location of the uniform variable to be modified.

v0, v1, v2, v3

Specifies the new values to be used for the - specified uniform variable.

C Specification

void glUniform1fv(GLint location,
 GLsizei count,
 const GLfloat *value);
 
void glUniform2fv(GLint location,
 GLsizei count,
 const GLfloat *value);
 
void glUniform3fv(GLint location,
 GLsizei count,
 const GLfloat *value);
 
void glUniform4fv(GLint location,
 GLsizei count,
 const GLfloat *value);
 
void glUniform1iv(GLint location,
 GLsizei count,
 const GLint *value);
 
void glUniform2iv(GLint location,
 GLsizei count,
 const GLint *value);
 
void glUniform3iv(GLint location,
 GLsizei count,
 const GLint *value);
 
void glUniform4iv(GLint location,
 GLsizei count,
 const GLint *value);
 

Parameters

location

Specifies the location of the uniform value to + specified uniform variable.

C Specification

void glUniform1fv(GLint location,
 GLsizei count,
 const GLfloat *value);
 
void glUniform2fv(GLint location,
 GLsizei count,
 const GLfloat *value);
 
void glUniform3fv(GLint location,
 GLsizei count,
 const GLfloat *value);
 
void glUniform4fv(GLint location,
 GLsizei count,
 const GLfloat *value);
 
void glUniform1iv(GLint location,
 GLsizei count,
 const GLint *value);
 
void glUniform2iv(GLint location,
 GLsizei count,
 const GLint *value);
 
void glUniform3iv(GLint location,
 GLsizei count,
 const GLint *value);
 
void glUniform4iv(GLint location,
 GLsizei count,
 const GLint *value);
 

Parameters

location

Specifies the location of the uniform value to be modified.

count

Specifies the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.

value

Specifies a pointer to an array of count values that will be used to update the specified uniform - variable.

C Specification

void glUniformMatrix2fv(GLint location,
 GLsizei count,
 GLboolean transpose,
 const GLfloat *value);
 
void glUniformMatrix3fv(GLint location,
 GLsizei count,
 GLboolean transpose,
 const GLfloat *value);
 
void glUniformMatrix4fv(GLint location,
 GLsizei count,
 GLboolean transpose,
 const GLfloat *value);
 

Parameters

location

Specifies the location of the uniform value to + variable.

C Specification

void glUniformMatrix2fv(GLint location,
 GLsizei count,
 GLboolean transpose,
 const GLfloat *value);
 
void glUniformMatrix3fv(GLint location,
 GLsizei count,
 GLboolean transpose,
 const GLfloat *value);
 
void glUniformMatrix4fv(GLint location,
 GLsizei count,
 GLboolean transpose,
 const GLfloat *value);
 

Parameters

location

Specifies the location of the uniform value to be modified.

count

Specifies the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is @@ -83,14 +83,14 @@ variable array of type vec3). The number of elements of the uniform variable array to be modified is specified by count

The commands - glUniformMatrix{2|3|4}fv + glUniformMatrix{2|3|4}fv are used to modify a matrix or an array of matrices. The numbers in the command name are interpreted as the dimensionality of the matrix. The number 2 indicates a 2 × 2 matrix (i.e., 4 values), the number 3 indicates a 3 × 3 matrix (i.e., 9 values), and the number 4 indicates a 4 × 4 matrix (i.e., 16 - values). + values). Each matrix is assumed to be supplied in column major order. The count argument indicates the number of matrices to be passed. A count @@ -143,8 +143,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/es2/glUseProgram.xhtml b/es2/glUseProgram.xhtml index a396322f..0039cfd9 100644 --- a/es2/glUseProgram.xhtml +++ b/es2/glUseProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glUseProgram — install a program object as part of current rendering state

C Specification

void glUseProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object +

Name

glUseProgram — install a program object as part of current rendering state

C Specification

void glUseProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object whose executables are to be used as part of current rendering state.

Description

glUseProgram installs the program object specified by program as part of @@ -72,8 +72,8 @@ glUniform, glValidateProgram, glVertexAttrib

\ No newline at end of file +

diff --git a/es2/glValidateProgram.xhtml b/es2/glValidateProgram.xhtml index 8d97a18a..202b1aae 100644 --- a/es2/glValidateProgram.xhtml +++ b/es2/glValidateProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glValidateProgram — validate a program object

C Specification

void glValidateProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object to +

Name

glValidateProgram — validate a program object

C Specification

void glValidateProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object to be validated.

Description

glValidateProgram checks to see whether the executables contained in program can execute given the current @@ -46,8 +46,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/es2/glVertexAttrib.xhtml b/es2/glVertexAttrib.xhtml index df11c610..7957668d 100644 --- a/es2/glVertexAttrib.xhtml +++ b/es2/glVertexAttrib.xhtml @@ -1,11 +1,11 @@ -

Name

glVertexAttrib — specify the value of a generic vertex attribute

C Specification

void glVertexAttrib1f(GLuint index,
 GLfloat v0);
 
void glVertexAttrib2f(GLuint index,
 GLfloat v0,
 GLfloat v1);
 
void glVertexAttrib3f(GLuint index,
 GLfloat v0,
 GLfloat v1,
 GLfloat v2);
 
void glVertexAttrib4f(GLuint index,
 GLfloat v0,
 GLfloat v1,
 GLfloat v2,
 GLfloat v3);
 

Parameters

index

Specifies the index of the generic vertex +

Name

glVertexAttrib — specify the value of a generic vertex attribute

C Specification

void glVertexAttrib1f(GLuint index,
 GLfloat v0);
 
void glVertexAttrib2f(GLuint index,
 GLfloat v0,
 GLfloat v1);
 
void glVertexAttrib3f(GLuint index,
 GLfloat v0,
 GLfloat v1,
 GLfloat v2);
 
void glVertexAttrib4f(GLuint index,
 GLfloat v0,
 GLfloat v1,
 GLfloat v2,
 GLfloat v3);
 

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

v0, v1, v2, v3

Specifies the new values to be used for the - specified vertex attribute.

C Specification

void glVertexAttrib1fv(GLuint index,
 const GLfloat *v);
 
void glVertexAttrib2fv(GLuint index,
 const GLfloat *v);
 
void glVertexAttrib3fv(GLuint index,
 const GLfloat *v);
 
void glVertexAttrib4fv(GLuint index,
 const GLfloat *v);
 

Parameters

index

Specifies the index of the generic vertex + specified vertex attribute.

C Specification

void glVertexAttrib1fv(GLuint index,
 const GLfloat *v);
 
void glVertexAttrib2fv(GLuint index,
 const GLfloat *v);
 
void glVertexAttrib3fv(GLuint index,
 const GLfloat *v);
 
void glVertexAttrib4fv(GLuint index,
 const GLfloat *v);
 

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

v

Specifies a pointer to an array of values to be used for the generic vertex attribute.

Description

The glVertexAttrib family of entry points @@ -51,7 +51,7 @@ user-defined attribute variable in a vertex shader is part of the state of a program object, but the current value of the generic vertex attribute is not. The value of each generic - vertex attribute is part of current state and it is maintained + vertex attribute is part of current state and it is maintained even if a different program object is used.

An application may freely modify generic vertex attributes that are not bound to a named vertex shader attribute variable. These values are simply maintained as part of current state and @@ -81,8 +81,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/es2/glVertexAttribPointer.xhtml b/es2/glVertexAttribPointer.xhtml index 5a235589..bb186c2d 100644 --- a/es2/glVertexAttribPointer.xhtml +++ b/es2/glVertexAttribPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glVertexAttribPointer — define an array of generic vertex attribute data

C Specification

void glVertexAttribPointer(GLuint index,
 GLint size,
 GLenum type,
 GLboolean normalized,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

index

Specifies the index of the generic vertex +

Name

glVertexAttribPointer — define an array of generic vertex attribute data

C Specification

void glVertexAttribPointer(GLuint index,
 GLint size,
 GLenum type,
 GLboolean normalized,
 GLsizei stride,
 const GLvoid * pointer);
 

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

type

Specifies the data type of each component in @@ -26,13 +26,13 @@ of each component, and stride specifies the byte stride from one attribute to the next, allowing vertices and attributes to be packed into a single array or - stored in separate arrays. + stored in separate arrays. If set to GL_TRUE, normalized indicates that values stored in an integer format are to be mapped to the range [-1,1] (for signed values) or [0,1] (for unsigned values) when they are accessed and converted to floating point. Otherwise, values will - be converted to floats directly without normalization.

If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + be converted to floats directly without normalization.

If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a generic vertex attribute array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as generic vertex attribute array @@ -48,7 +48,7 @@ glDisableVertexAttribArray with index. If enabled, the generic vertex attribute array is used when - glDrawArrays or + glDrawArrays or glDrawElements is called.

Notes

Each generic vertex attribute array is initially disabled and isn't accessed when @@ -67,7 +67,7 @@ with arguments index and GL_VERTEX_ATTRIB_ARRAY_TYPE

glGetVertexAttrib with arguments index and GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

glGetVertexAttrib with arguments index and GL_VERTEX_ATTRIB_ARRAY_STRIDE

glGetVertexAttrib - with arguments index and GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

glGet with argument + with arguments index and GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

glGet with argument GL_ARRAY_BUFFER_BINDING

glGetVertexAttribPointerv with arguments index and GL_VERTEX_ATTRIB_ARRAY_POINTER

\ No newline at end of file +

diff --git a/es2/glViewport.xhtml b/es2/glViewport.xhtml index 14b04fc1..1bf77479 100644 --- a/es2/glViewport.xhtml +++ b/es2/glViewport.xhtml @@ -1,4 +1,4 @@ -

Name

glViewport — set the viewport

C Specification

void glViewport(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

+

Name

glViewport — set the viewport

C Specification

void glViewport(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).

width, height

diff --git a/gl2/glAccum.xhtml b/gl2/glAccum.xhtml index 2435deea..4e8ac4eb 100644 --- a/gl2/glAccum.xhtml +++ b/gl2/glAccum.xhtml @@ -1,4 +1,4 @@ -

Name

glAccum — operate on the accumulation buffer

C Specification

void glAccum(GLenum  op,
 GLfloat  value);

Parameters

op

+

Name

glAccum — operate on the accumulation buffer

C Specification

void glAccum(GLenum  op,
 GLfloat  value);

Parameters

op

Specifies the accumulation buffer operation. Symbolic constants GL_ACCUM, diff --git a/gl2/glActiveTexture.xhtml b/gl2/glActiveTexture.xhtml index 0d8ba0f2..83871865 100644 --- a/gl2/glActiveTexture.xhtml +++ b/gl2/glActiveTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glActiveTexture — select active texture unit

C Specification

void glActiveTexture(GLenum  texture);

Parameters

texture

+

Name

glActiveTexture — select active texture unit

C Specification

void glActiveTexture(GLenum  texture);

Parameters

texture

Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of diff --git a/gl2/glAlphaFunc.xhtml b/gl2/glAlphaFunc.xhtml index 3cdf8fc7..d1882e7d 100644 --- a/gl2/glAlphaFunc.xhtml +++ b/gl2/glAlphaFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glAlphaFunc — specify the alpha test function

C Specification

void glAlphaFunc(GLenum  func,
 GLclampf  ref);

Parameters

func

+

Name

glAlphaFunc — specify the alpha test function

C Specification

void glAlphaFunc(GLenum  func,
 GLclampf  ref);

Parameters

func

Specifies the alpha comparison function. Symbolic constants GL_NEVER, diff --git a/gl2/glAreTexturesResident.xhtml b/gl2/glAreTexturesResident.xhtml index 849b89d1..3bd252c3 100644 --- a/gl2/glAreTexturesResident.xhtml +++ b/gl2/glAreTexturesResident.xhtml @@ -1,4 +1,4 @@ -

Name

glAreTexturesResident — determine if textures are loaded in texture memory

C Specification

GLboolean glAreTexturesResident(GLsizei  n,
 const GLuint *  textures,
 GLboolean *  residences);

Parameters

n

+

Name

glAreTexturesResident — determine if textures are loaded in texture memory

C Specification

GLboolean glAreTexturesResident(GLsizei  n,
 const GLuint *  textures,
 GLboolean *  residences);

Parameters

n

Specifies the number of textures to be queried.

textures

Specifies an array containing the names of the textures to be queried. @@ -69,4 +69,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glArrayElement.xhtml b/gl2/glArrayElement.xhtml index 25f66ac4..850e804a 100644 --- a/gl2/glArrayElement.xhtml +++ b/gl2/glArrayElement.xhtml @@ -1,4 +1,4 @@ -

Name

glArrayElement — render a vertex using the specified vertex array element

C Specification

void glArrayElement(GLint  i);

Parameters

i

+

Name

glArrayElement — render a vertex using the specified vertex array element

C Specification

void glArrayElement(GLint  i);

Parameters

i

Specifies an index into the enabled vertex data arrays.

Description

glArrayElement commands are used within glBegin/glEnd pairs to @@ -56,4 +56,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glAttachShader.xhtml b/gl2/glAttachShader.xhtml index 6b75b96e..f5547d50 100644 --- a/gl2/glAttachShader.xhtml +++ b/gl2/glAttachShader.xhtml @@ -1,4 +1,4 @@ -

Name

glAttachShader — Attaches a shader object to a program object

C Specification

void glAttachShader(GLuint  program,
 GLuint  shader);

Parameters

program

Specifies the program object to which a shader +

Name

glAttachShader — Attaches a shader object to a program object

C Specification

void glAttachShader(GLuint  program,
 GLuint  shader);

Parameters

program

Specifies the program object to which a shader object will be attached.

shader

Specifies the shader object that is to be attached.

Description

In order to create an executable, there must be a way to specify the list of things that will be linked together. Program objects provide this mechanism. Shaders that are to be linked @@ -40,8 +40,8 @@ glDetachShader, glLinkProgram, glShaderSource

\ No newline at end of file +

diff --git a/gl2/glBegin.xhtml b/gl2/glBegin.xhtml index 679fd77d..f362b848 100644 --- a/gl2/glBegin.xhtml +++ b/gl2/glBegin.xhtml @@ -1,4 +1,4 @@ -

Name

glBegin — delimit the vertices of a primitive or a group of like primitives

C Specification

void glBegin(GLenum  mode);

Parameters

mode

+

Name

glBegin — delimit the vertices of a primitive or a group of like primitives

C Specification

void glBegin(GLenum  mode);

Parameters

mode

Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd. Ten symbolic constants are accepted: @@ -12,7 +12,7 @@ GL_QUADS, GL_QUAD_STRIP, and GL_POLYGON. -

C Specification

void glEnd( void);

Description

+

C Specification

void glEnd( void);

Description

glBegin and glEnd delimit the vertices that define a primitive or a group of like primitives. glBegin accepts a single argument that specifies in which of ten ways the diff --git a/gl2/glBeginQuery.xhtml b/gl2/glBeginQuery.xhtml index 979fc196..de4c9c6a 100644 --- a/gl2/glBeginQuery.xhtml +++ b/gl2/glBeginQuery.xhtml @@ -1,10 +1,10 @@ -

Name

glBeginQuery — delimit the boundaries of a query object

C Specification

void glBeginQuery(GLenum  target,
 GLuint  id);

Parameters

target

+

Name

glBeginQuery — delimit the boundaries of a query object

C Specification

void glBeginQuery(GLenum  target,
 GLuint  id);

Parameters

target

Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED.

id

Specifies the name of a query object. -

C Specification

void glEndQuery(GLenum  target);

Parameters

target

+

C Specification

void glEndQuery(GLenum  target);

Parameters

target

Specifies the target type of query object to be concluded. The symbolic constant must be GL_SAMPLES_PASSED.

Description

@@ -61,8 +61,8 @@ glGetQueryObject, glIsQuery

\ No newline at end of file +

diff --git a/gl2/glBindAttribLocation.xhtml b/gl2/glBindAttribLocation.xhtml index 507cd9c0..d2489cd5 100644 --- a/gl2/glBindAttribLocation.xhtml +++ b/gl2/glBindAttribLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glBindAttribLocation — Associates a generic vertex attribute index with a named attribute variable

C Specification

void glBindAttribLocation(GLuint  program,
 GLuint  index,
 const GLchar * name);

Parameters

program

Specifies the handle of the program object in +

Name

glBindAttribLocation — Associates a generic vertex attribute index with a named attribute variable

C Specification

void glBindAttribLocation(GLuint  program,
 GLuint  index,
 const GLchar * name);

Parameters

program

Specifies the handle of the program object in which the association is to be made.

index

Specifies the index of the generic vertex attribute to be bound.

name

Specifies a null terminated string containing the name of the vertex shader attribute variable to @@ -99,8 +99,8 @@ glUseProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl2/glBindBuffer.xhtml b/gl2/glBindBuffer.xhtml index 3d6cef39..ae849445 100644 --- a/gl2/glBindBuffer.xhtml +++ b/gl2/glBindBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glBindBuffer — bind a named buffer object

C Specification

void glBindBuffer(GLenum  target,
 GLuint  buffer);

Parameters

target

+

Name

glBindBuffer — bind a named buffer object

C Specification

void glBindBuffer(GLenum  target,
 GLuint  buffer);

Parameters

target

Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, @@ -31,42 +31,42 @@ GL_READ_WRITE access and GL_STATIC_DRAW usage.

While a non-zero buffer object name is bound, GL operations on the target to which it is - bound affect the bound buffer object, and queries of the target to which it is bound return state + bound affect the bound buffer object, and queries of the target to which it is bound return state from the bound buffer object. While buffer object name zero is bound, as in the initial state, - attempts to modify or query state on the target to which it is bound generates an + attempts to modify or query state on the target to which it is bound generates an GL_INVALID_OPERATION error.

- When vertex array pointer state is changed, for example by a call to - glNormalPointer, - the current buffer object binding (GL_ARRAY_BUFFER_BINDING) is copied into the - corresponding client state for the vertex array type being changed, for example - GL_NORMAL_ARRAY_BUFFER_BINDING. While a non-zero buffer object is bound to the + When vertex array pointer state is changed, for example by a call to + glNormalPointer, + the current buffer object binding (GL_ARRAY_BUFFER_BINDING) is copied into the + corresponding client state for the vertex array type being changed, for example + GL_NORMAL_ARRAY_BUFFER_BINDING. While a non-zero buffer object is bound to the GL_ARRAY_BUFFER target, the vertex array pointer parameter that is traditionally interpreted as a pointer to client-side memory is instead interpreted as an offset within the buffer object measured in basic machine units.

- While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, - the indices parameter of glDrawElements, - glDrawRangeElements, or + While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, + the indices parameter of glDrawElements, + glDrawRangeElements, or glMultiDrawElements that is traditionally interpreted as a pointer to client-side memory is instead interpreted as an offset within the buffer object measured in basic machine units.

- While a non-zero buffer object is bound to the GL_PIXEL_PACK_BUFFER target, - the following commands are affected: glGetCompressedTexImage, + While a non-zero buffer object is bound to the GL_PIXEL_PACK_BUFFER target, + the following commands are affected: glGetCompressedTexImage, glGetConvolutionFilter, glGetHistogram, glGetMinmax, glGetPixelMap, glGetPolygonStipple, glGetSeparableFilter, - glGetTexImage, and - glReadPixels. The pointer parameter that is - traditionally interpreted as a pointer to client-side memory where the pixels are to be packed is instead + glGetTexImage, and + glReadPixels. The pointer parameter that is + traditionally interpreted as a pointer to client-side memory where the pixels are to be packed is instead interpreted as an offset within the buffer object measured in basic machine units.

- While a non-zero buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target, - the following commands are affected: glBitmap, + While a non-zero buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target, + the following commands are affected: glBitmap, glColorSubTable, glColorTable, glCompressedTexImage1D, @@ -85,9 +85,9 @@ glTexImage2D, glTexImage3D, glTexSubImage1D, - glTexSubImage2D, and - glTexSubImage3D. The pointer parameter that is - traditionally interpreted as a pointer to client-side memory from which the pixels are to be unpacked is + glTexSubImage2D, and + glTexSubImage3D. The pointer parameter that is + traditionally interpreted as a pointer to client-side memory from which the pixels are to be unpacked is instead interpreted as an offset within the buffer object measured in basic machine units.

A buffer object binding created with glBindBuffer remains active until a different @@ -100,7 +100,7 @@

Notes

glBindBuffer is available only if the GL version is 1.5 or greater.

- GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are + GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available only if the GL version is 2.1 or greater.

Errors

GL_INVALID_ENUM is generated if target is not one of the allowable @@ -125,8 +125,8 @@ glGet, glIsBuffer

\ No newline at end of file +

diff --git a/gl2/glBindTexture.xhtml b/gl2/glBindTexture.xhtml index 4f76aaa5..29485bbb 100644 --- a/gl2/glBindTexture.xhtml +++ b/gl2/glBindTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glBindTexture — bind a named texture to a texturing target

C Specification

void glBindTexture(GLenum  target,
 GLuint  texture);

Parameters

target

+

Name

glBindTexture — bind a named texture to a texturing target

C Specification

void glBindTexture(GLenum  target,
 GLuint  texture);

Parameters

target

Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, @@ -94,4 +94,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glBitmap.xhtml b/gl2/glBitmap.xhtml index 2151fae2..bcdfde53 100644 --- a/gl2/glBitmap.xhtml +++ b/gl2/glBitmap.xhtml @@ -1,4 +1,4 @@ -

Name

glBitmap — draw a bitmap

C Specification

void glBitmap(GLsizei  width,
 GLsizei  height,
 GLfloat  xorig,
 GLfloat  yorig,
 GLfloat  xmove,
 GLfloat  ymove,
 const GLubyte *  bitmap);

Parameters

width, height

+

Name

glBitmap — draw a bitmap

C Specification

void glBitmap(GLsizei  width,
 GLsizei  height,
 GLfloat  xorig,
 GLfloat  yorig,
 GLfloat  xmove,
 GLfloat  ymove,
 const GLubyte *  bitmap);

Parameters

width, height

Specify the pixel width and height of the bitmap image.

xorig, yorig

Specify the location of the origin in the bitmap image. diff --git a/gl2/glBlendColor.xhtml b/gl2/glBlendColor.xhtml index 508094ba..9f17fcc1 100644 --- a/gl2/glBlendColor.xhtml +++ b/gl2/glBlendColor.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendColor — set the blend color

C Specification

void glBlendColor(GLclampf  red,
 GLclampf  green,
 GLclampf  blue,
 GLclampf  alpha);

Parameters

red, green, blue, alpha

+

Name

glBlendColor — set the blend color

C Specification

void glBlendColor(GLclampf  red,
 GLclampf  green,
 GLclampf  blue,
 GLclampf  alpha);

Parameters

red, green, blue, alpha

specify the components of GL_BLEND_COLOR

Description

The GL_BLEND_COLOR may be used to calculate the source and destination diff --git a/gl2/glBlendEquation.xhtml b/gl2/glBlendEquation.xhtml index 5f8ec643..610e380e 100644 --- a/gl2/glBlendEquation.xhtml +++ b/gl2/glBlendEquation.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendEquation — specify the equation used for both the RGB blend equation and the Alpha blend equation

C Specification

void glBlendEquation(GLenum  mode);

Parameters

mode

+

Name

glBlendEquation — specify the equation used for both the RGB blend equation and the Alpha blend equation

C Specification

void glBlendEquation(GLenum  mode);

Parameters

mode

specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. @@ -117,7 +117,7 @@ . -

+

Mode RGB Components diff --git a/gl2/glBlendEquationSeparate.xhtml b/gl2/glBlendEquationSeparate.xhtml index 99f3be0e..18048706 100644 --- a/gl2/glBlendEquationSeparate.xhtml +++ b/gl2/glBlendEquationSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendEquationSeparate — set the RGB blend equation and the alpha blend equation separately

C Specification

void glBlendEquationSeparate(GLenum  modeRGB,
 GLenum  modeAlpha);

Parameters

modeRGB

+

Name

glBlendEquationSeparate — set the RGB blend equation and the alpha blend equation separately

C Specification

void glBlendEquationSeparate(GLenum  modeRGB,
 GLenum  modeAlpha);

Parameters

modeRGB

specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. @@ -121,7 +121,7 @@ . -

+

Mode RGB Components diff --git a/gl2/glBlendFunc.xhtml b/gl2/glBlendFunc.xhtml index 5b6c6f3f..d7a04746 100644 --- a/gl2/glBlendFunc.xhtml +++ b/gl2/glBlendFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendFunc — specify pixel arithmetic

C Specification

void glBlendFunc(GLenum  sfactor,
 GLenum  dfactor);

Parameters

sfactor

+

Name

glBlendFunc — specify pixel arithmetic

C Specification

void glBlendFunc(GLenum  sfactor,
 GLenum  dfactor);

Parameters

sfactor

Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: @@ -239,7 +239,7 @@ .

-

+

Parameter diff --git a/gl2/glBlendFuncSeparate.xhtml b/gl2/glBlendFuncSeparate.xhtml index 18d05d49..901af21a 100644 --- a/gl2/glBlendFuncSeparate.xhtml +++ b/gl2/glBlendFuncSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendFuncSeparate — specify pixel arithmetic for RGB and alpha components separately

C Specification

void glBlendFuncSeparate(GLenum  srcRGB,
 GLenum  dstRGB,
 GLenum  srcAlpha,
 GLenum  dstAlpha);

Parameters

srcRGB

+

Name

glBlendFuncSeparate — specify pixel arithmetic for RGB and alpha components separately

C Specification

void glBlendFuncSeparate(GLenum  srcRGB,
 GLenum  dstRGB,
 GLenum  srcAlpha,
 GLenum  dstAlpha);

Parameters

srcRGB

Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, @@ -229,7 +229,7 @@ .

-

+

Parameter RGB Factor diff --git a/gl2/glBufferData.xhtml b/gl2/glBufferData.xhtml index f0f942ad..55573ea6 100644 --- a/gl2/glBufferData.xhtml +++ b/gl2/glBufferData.xhtml @@ -1,4 +1,4 @@ -

Name

glBufferData — creates and initializes a buffer object's data store

C Specification

void glBufferData(GLenum  target,
 GLsizeiptr  size,
 const GLvoid *  data,
 GLenum  usage);

Parameters

target

+

Name

glBufferData — creates and initializes a buffer object's data store

C Specification

void glBufferData(GLenum  target,
 GLsizeiptr  size,
 const GLvoid *  data,
 GLenum  usage);

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, diff --git a/gl2/glBufferSubData.xhtml b/gl2/glBufferSubData.xhtml index 3ba939d1..4b636c01 100644 --- a/gl2/glBufferSubData.xhtml +++ b/gl2/glBufferSubData.xhtml @@ -1,4 +1,4 @@ -

Name

glBufferSubData — updates a subset of a buffer object's data store

C Specification

void glBufferSubData(GLenum  target,
 GLintptr  offset,
 GLsizeiptr  size,
 const GLvoid *  data);

Parameters

target

+

Name

glBufferSubData — updates a subset of a buffer object's data store

C Specification

void glBufferSubData(GLenum  target,
 GLintptr  offset,
 GLsizeiptr  size,
 const GLvoid *  data);

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, diff --git a/gl2/glCallList.xhtml b/gl2/glCallList.xhtml index df9245c7..b21ec661 100644 --- a/gl2/glCallList.xhtml +++ b/gl2/glCallList.xhtml @@ -1,4 +1,4 @@ -

Name

glCallList — execute a display list

C Specification

void glCallList(GLuint  list);

Parameters

list

+

Name

glCallList — execute a display list

C Specification

void glCallList(GLuint  list);

Parameters

list

Specifies the integer name of the display list to be executed.

Description

glCallList causes the named display list to be executed. @@ -45,4 +45,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glCallLists.xhtml b/gl2/glCallLists.xhtml index 898d2eda..9ff8a775 100644 --- a/gl2/glCallLists.xhtml +++ b/gl2/glCallLists.xhtml @@ -1,4 +1,4 @@ -

Name

glCallLists — execute a list of display lists

C Specification

void glCallLists(GLsizei  n,
 GLenum  type,
 const GLvoid *  lists);

Parameters

n

+

Name

glCallLists — execute a list of display lists

C Specification

void glCallLists(GLsizei  n,
 GLenum  type,
 const GLvoid *  lists);

Parameters

n

Specifies the number of display lists to be executed.

type

Specifies the type of values in lists. diff --git a/gl2/glClear.xhtml b/gl2/glClear.xhtml index 72b601df..d8a6a324 100644 --- a/gl2/glClear.xhtml +++ b/gl2/glClear.xhtml @@ -1,4 +1,4 @@ -

Name

glClear — clear buffers to preset values

C Specification

void glClear(GLbitfield  mask);

Parameters

mask

+

Name

glClear — clear buffers to preset values

C Specification

void glClear(GLbitfield  mask);

Parameters

mask

Bitwise OR of masks that indicate the buffers to be cleared. The four masks are GL_COLOR_BUFFER_BIT, @@ -77,4 +77,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glClearAccum.xhtml b/gl2/glClearAccum.xhtml index 310527ee..e3b92243 100644 --- a/gl2/glClearAccum.xhtml +++ b/gl2/glClearAccum.xhtml @@ -1,4 +1,4 @@ -

Name

glClearAccum — specify clear values for the accumulation buffer

C Specification

void glClearAccum(GLfloat  red,
 GLfloat  green,
 GLfloat  blue,
 GLfloat  alpha);

Parameters

red, green, blue, alpha

+

Name

glClearAccum — specify clear values for the accumulation buffer

C Specification

void glClearAccum(GLfloat  red,
 GLfloat  green,
 GLfloat  blue,
 GLfloat  alpha);

Parameters

red, green, blue, alpha

Specify the red, green, blue, and alpha values used when the accumulation buffer is cleared. The initial values are all 0. diff --git a/gl2/glClearColor.xhtml b/gl2/glClearColor.xhtml index 1f1743de..89a09e98 100644 --- a/gl2/glClearColor.xhtml +++ b/gl2/glClearColor.xhtml @@ -1,4 +1,4 @@ -

Name

glClearColor — specify clear values for the color buffers

C Specification

void glClearColor(GLclampf  red,
 GLclampf  green,
 GLclampf  blue,
 GLclampf  alpha);

Parameters

red, green, blue, alpha

+

Name

glClearColor — specify clear values for the color buffers

C Specification

void glClearColor(GLclampf  red,
 GLclampf  green,
 GLclampf  blue,
 GLclampf  alpha);

Parameters

red, green, blue, alpha

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. diff --git a/gl2/glClearDepth.xhtml b/gl2/glClearDepth.xhtml index 9610c874..804b9da7 100644 --- a/gl2/glClearDepth.xhtml +++ b/gl2/glClearDepth.xhtml @@ -1,4 +1,4 @@ -

Name

glClearDepth — specify the clear value for the depth buffer

C Specification

void glClearDepth(GLclampd  depth);

Parameters

depth

+

Name

glClearDepth — specify the clear value for the depth buffer

C Specification

void glClearDepth(GLclampd  depth);

Parameters

depth

Specifies the depth value used when the depth buffer is cleared. The initial value is 1.

Description

diff --git a/gl2/glClearIndex.xhtml b/gl2/glClearIndex.xhtml index a20329e7..6924b4b7 100644 --- a/gl2/glClearIndex.xhtml +++ b/gl2/glClearIndex.xhtml @@ -1,4 +1,4 @@ -

Name

glClearIndex — specify the clear value for the color index buffers

C Specification

void glClearIndex(GLfloat  c);

Parameters

c

+

Name

glClearIndex — specify the clear value for the color index buffers

C Specification

void glClearIndex(GLfloat  c);

Parameters

c

Specifies the index used when the color index buffers are cleared. The initial value is 0.

Description

diff --git a/gl2/glClearStencil.xhtml b/gl2/glClearStencil.xhtml index 5a08e322..4ef1c1c4 100644 --- a/gl2/glClearStencil.xhtml +++ b/gl2/glClearStencil.xhtml @@ -1,4 +1,4 @@ -

Name

glClearStencil — specify the clear value for the stencil buffer

C Specification

void glClearStencil(GLint  s);

Parameters

s

+

Name

glClearStencil — specify the clear value for the stencil buffer

C Specification

void glClearStencil(GLint  s);

Parameters

s

Specifies the index used when the stencil buffer is cleared. The initial value is 0.

Description

diff --git a/gl2/glClientActiveTexture.xhtml b/gl2/glClientActiveTexture.xhtml index baf533ea..0ea13644 100644 --- a/gl2/glClientActiveTexture.xhtml +++ b/gl2/glClientActiveTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glClientActiveTexture — select active texture unit

C Specification

void glClientActiveTexture(GLenum  texture);

Parameters

texture

+

Name

glClientActiveTexture — select active texture unit

C Specification

void glClientActiveTexture(GLenum  texture);

Parameters

texture

Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of diff --git a/gl2/glClipPlane.xhtml b/gl2/glClipPlane.xhtml index 5656bf99..bc35737d 100644 --- a/gl2/glClipPlane.xhtml +++ b/gl2/glClipPlane.xhtml @@ -1,4 +1,4 @@ -

Name

glClipPlane — specify a plane against which all geometry is clipped

C Specification

void glClipPlane(GLenum  plane,
 const GLdouble *  equation);

Parameters

plane

+

Name

glClipPlane — specify a plane against which all geometry is clipped

C Specification

void glClipPlane(GLenum  plane,
 const GLdouble *  equation);

Parameters

plane

Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES diff --git a/gl2/glColor.xhtml b/gl2/glColor.xhtml index f8e817f7..0602d2cb 100644 --- a/gl2/glColor.xhtml +++ b/gl2/glColor.xhtml @@ -1,9 +1,9 @@ -

Name

glColor — set the current color

C Specification

void glColor3b(GLbyte  red,
 GLbyte  green,
 GLbyte  blue);
void glColor3s(GLshort  red,
 GLshort  green,
 GLshort  blue);
void glColor3i(GLint  red,
 GLint  green,
 GLint  blue);
void glColor3f(GLfloat  red,
 GLfloat  green,
 GLfloat  blue);
void glColor3d(GLdouble  red,
 GLdouble  green,
 GLdouble  blue);
void glColor3ub(GLubyte  red,
 GLubyte  green,
 GLubyte  blue);
void glColor3us(GLushort  red,
 GLushort  green,
 GLushort  blue);
void glColor3ui(GLuint  red,
 GLuint  green,
 GLuint  blue);
void glColor4b(GLbyte  red,
 GLbyte  green,
 GLbyte  blue,
 GLbyte  alpha);
void glColor4s(GLshort  red,
 GLshort  green,
 GLshort  blue,
 GLshort  alpha);
void glColor4i(GLint  red,
 GLint  green,
 GLint  blue,
 GLint  alpha);
void glColor4f(GLfloat  red,
 GLfloat  green,
 GLfloat  blue,
 GLfloat  alpha);
void glColor4d(GLdouble  red,
 GLdouble  green,
 GLdouble  blue,
 GLdouble  alpha);
void glColor4ub(GLubyte  red,
 GLubyte  green,
 GLubyte  blue,
 GLubyte  alpha);
void glColor4us(GLushort  red,
 GLushort  green,
 GLushort  blue,
 GLushort  alpha);
void glColor4ui(GLuint  red,
 GLuint  green,
 GLuint  blue,
 GLuint  alpha);

Parameters

red, green, blue

+

Name

glColor — set the current color

C Specification

void glColor3b(GLbyte  red,
 GLbyte  green,
 GLbyte  blue);
void glColor3s(GLshort  red,
 GLshort  green,
 GLshort  blue);
void glColor3i(GLint  red,
 GLint  green,
 GLint  blue);
void glColor3f(GLfloat  red,
 GLfloat  green,
 GLfloat  blue);
void glColor3d(GLdouble  red,
 GLdouble  green,
 GLdouble  blue);
void glColor3ub(GLubyte  red,
 GLubyte  green,
 GLubyte  blue);
void glColor3us(GLushort  red,
 GLushort  green,
 GLushort  blue);
void glColor3ui(GLuint  red,
 GLuint  green,
 GLuint  blue);
void glColor4b(GLbyte  red,
 GLbyte  green,
 GLbyte  blue,
 GLbyte  alpha);
void glColor4s(GLshort  red,
 GLshort  green,
 GLshort  blue,
 GLshort  alpha);
void glColor4i(GLint  red,
 GLint  green,
 GLint  blue,
 GLint  alpha);
void glColor4f(GLfloat  red,
 GLfloat  green,
 GLfloat  blue,
 GLfloat  alpha);
void glColor4d(GLdouble  red,
 GLdouble  green,
 GLdouble  blue,
 GLdouble  alpha);
void glColor4ub(GLubyte  red,
 GLubyte  green,
 GLubyte  blue,
 GLubyte  alpha);
void glColor4us(GLushort  red,
 GLushort  green,
 GLushort  blue,
 GLushort  alpha);
void glColor4ui(GLuint  red,
 GLuint  green,
 GLuint  blue,
 GLuint  alpha);

Parameters

red, green, blue

Specify new red, green, and blue values for the current color.

alpha

Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. -

C Specification

void glColor3bv(const GLbyte *  v);
void glColor3sv(const GLshort *  v);
void glColor3iv(const GLint *  v);
void glColor3fv(const GLfloat *  v);
void glColor3dv(const GLdouble *  v);
void glColor3ubv(const GLubyte *  v);
void glColor3usv(const GLushort *  v);
void glColor3uiv(const GLuint *  v);
void glColor4bv(const GLbyte *  v);
void glColor4sv(const GLshort *  v);
void glColor4iv(const GLint *  v);
void glColor4fv(const GLfloat *  v);
void glColor4dv(const GLdouble *  v);
void glColor4ubv(const GLubyte *  v);
void glColor4usv(const GLushort *  v);
void glColor4uiv(const GLuint *  v);

Parameters

v

+

C Specification

void glColor3bv(const GLbyte *  v);
void glColor3sv(const GLshort *  v);
void glColor3iv(const GLint *  v);
void glColor3fv(const GLfloat *  v);
void glColor3dv(const GLdouble *  v);
void glColor3ubv(const GLubyte *  v);
void glColor3usv(const GLushort *  v);
void glColor3uiv(const GLuint *  v);
void glColor4bv(const GLbyte *  v);
void glColor4sv(const GLshort *  v);
void glColor4iv(const GLint *  v);
void glColor4fv(const GLfloat *  v);
void glColor4dv(const GLdouble *  v);
void glColor4ubv(const GLubyte *  v);
void glColor4usv(const GLushort *  v);
void glColor4uiv(const GLuint *  v);

Parameters

v

Specifies a pointer to an array that contains red, green, blue, and (sometimes) alpha values.

Description

diff --git a/gl2/glColorMask.xhtml b/gl2/glColorMask.xhtml index e8a4cbc0..20c19e3f 100644 --- a/gl2/glColorMask.xhtml +++ b/gl2/glColorMask.xhtml @@ -1,4 +1,4 @@ -

Name

glColorMask — enable and disable writing of frame buffer color components

C Specification

void glColorMask(GLboolean  red,
 GLboolean  green,
 GLboolean  blue,
 GLboolean  alpha);

Parameters

red, green, blue, alpha

+

Name

glColorMask — enable and disable writing of frame buffer color components

C Specification

void glColorMask(GLboolean  red,
 GLboolean  green,
 GLboolean  blue,
 GLboolean  alpha);

Parameters

red, green, blue, alpha

Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, @@ -39,4 +39,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glColorMaterial.xhtml b/gl2/glColorMaterial.xhtml index d9270487..0d6d7e8d 100644 --- a/gl2/glColorMaterial.xhtml +++ b/gl2/glColorMaterial.xhtml @@ -1,4 +1,4 @@ -

Name

glColorMaterial — cause a material color to track the current color

C Specification

void glColorMaterial(GLenum  face,
 GLenum  mode);

Parameters

face

+

Name

glColorMaterial — cause a material color to track the current color

C Specification

void glColorMaterial(GLenum  face,
 GLenum  mode);

Parameters

face

Specifies whether front, back, or both front and back material parameters should track the current color. @@ -74,4 +74,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glColorPointer.xhtml b/gl2/glColorPointer.xhtml index 4d0ae89f..5cfdffdf 100644 --- a/gl2/glColorPointer.xhtml +++ b/gl2/glColorPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glColorPointer — define an array of colors

C Specification

void glColorPointer(GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

size

+

Name

glColorPointer — define an array of colors

C Specification

void glColorPointer(GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

size

Specifies the number of components per color. Must be 3 or 4. The initial value is 4.

type

@@ -32,7 +32,7 @@ (Single-array storage may be more efficient on some implementations; see glInterleavedArrays.)

- If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a color array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as color vertex array @@ -116,4 +116,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glColorSubTable.xhtml b/gl2/glColorSubTable.xhtml index b8f83944..35f405c5 100644 --- a/gl2/glColorSubTable.xhtml +++ b/gl2/glColorSubTable.xhtml @@ -1,4 +1,4 @@ -

Name

glColorSubTable — respecify a portion of a color table

C Specification

void glColorSubTable(GLenum  target,
 GLsizei  start,
 GLsizei  count,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

+

Name

glColorSubTable — respecify a portion of a color table

C Specification

void glColorSubTable(GLenum  target,
 GLsizei  start,
 GLsizei  count,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or diff --git a/gl2/glColorTable.xhtml b/gl2/glColorTable.xhtml index c9a9a223..384b9fc4 100644 --- a/gl2/glColorTable.xhtml +++ b/gl2/glColorTable.xhtml @@ -1,4 +1,4 @@ -

Name

glColorTable — define a color lookup table

C Specification

void glColorTable(GLenum  target,
 GLenum  internalformat,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

+

Name

glColorTable — define a color lookup table

C Specification

void glColorTable(GLenum  target,
 GLenum  internalformat,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, @@ -131,7 +131,7 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format Red @@ -270,7 +270,7 @@ replaced by the table entry selected by that index. If the color components and contents of the table are represented as follows:

-

+

Representation Meaning @@ -317,7 +317,7 @@

then the result of color table lookup is as follows:

-

+

Resulting Texture Components
diff --git a/gl2/glColorTableParameter.xhtml b/gl2/glColorTableParameter.xhtml index ee6f3fb6..0e68cc97 100644 --- a/gl2/glColorTableParameter.xhtml +++ b/gl2/glColorTableParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glColorTableParameter — set color lookup table parameters

C Specification

void glColorTableParameterfv(GLenum  target,
 GLenum  pname,
 const GLfloat *  params);
void glColorTableParameteriv(GLenum  target,
 GLenum  pname,
 const GLint *  params);

Parameters

target

+

Name

glColorTableParameter — set color lookup table parameters

C Specification

void glColorTableParameterfv(GLenum  target,
 GLenum  pname,
 const GLfloat *  params);
void glColorTableParameteriv(GLenum  target,
 GLenum  pname,
 const GLint *  params);

Parameters

target

The target color table. Must be GL_COLOR_TABLE, @@ -54,4 +54,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glCompileShader.xhtml b/gl2/glCompileShader.xhtml index 15a6817a..9491d004 100644 --- a/gl2/glCompileShader.xhtml +++ b/gl2/glCompileShader.xhtml @@ -1,4 +1,4 @@ -

Name

glCompileShader — Compiles a shader object

C Specification

void glCompileShader(GLuint  shader);

Parameters

shader

Specifies the shader object to be +

Name

glCompileShader — Compiles a shader object

C Specification

void glCompileShader(GLuint  shader);

Parameters

shader

Specifies the shader object to be compiled.

Description

glCompileShader compiles the source code strings that have been stored in the shader object specified by shader.

The compilation status will be stored as part of the @@ -30,8 +30,8 @@

\ No newline at end of file +

diff --git a/gl2/glCompressedTexImage1D.xhtml b/gl2/glCompressedTexImage1D.xhtml index 072b4695..6132bba6 100644 --- a/gl2/glCompressedTexImage1D.xhtml +++ b/gl2/glCompressedTexImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexImage1D — specify a one-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage1D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexImage1D — specify a one-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage1D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.

level

diff --git a/gl2/glCompressedTexImage2D.xhtml b/gl2/glCompressedTexImage2D.xhtml index ffb19851..862dfe12 100644 --- a/gl2/glCompressedTexImage2D.xhtml +++ b/gl2/glCompressedTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexImage2D — specify a two-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage2D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexImage2D — specify a two-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage2D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/gl2/glCompressedTexImage3D.xhtml b/gl2/glCompressedTexImage3D.xhtml index b3252d23..3332bebb 100644 --- a/gl2/glCompressedTexImage3D.xhtml +++ b/gl2/glCompressedTexImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexImage3D — specify a three-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage3D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexImage3D — specify a three-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage3D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D.

level

diff --git a/gl2/glCompressedTexSubImage1D.xhtml b/gl2/glCompressedTexSubImage1D.xhtml index 9d001c7c..b1b03d3b 100644 --- a/gl2/glCompressedTexSubImage1D.xhtml +++ b/gl2/glCompressedTexSubImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexSubImage1D — specify a one-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage1D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLsizei  width,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexSubImage1D — specify a one-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage1D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLsizei  width,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D.

level

diff --git a/gl2/glCompressedTexSubImage2D.xhtml b/gl2/glCompressedTexSubImage2D.xhtml index 78452108..6623e2b3 100644 --- a/gl2/glCompressedTexSubImage2D.xhtml +++ b/gl2/glCompressedTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexSubImage2D — specify a two-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage2D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexSubImage2D — specify a two-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage2D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/gl2/glCompressedTexSubImage3D.xhtml b/gl2/glCompressedTexSubImage3D.xhtml index 177abb84..092c2d12 100644 --- a/gl2/glCompressedTexSubImage3D.xhtml +++ b/gl2/glCompressedTexSubImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexSubImage3D — specify a three-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage3D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  zoffset,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexSubImage3D — specify a three-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage3D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  zoffset,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D.

level

diff --git a/gl2/glConvolutionFilter1D.xhtml b/gl2/glConvolutionFilter1D.xhtml index 7e28f4bf..d3b80a02 100644 --- a/gl2/glConvolutionFilter1D.xhtml +++ b/gl2/glConvolutionFilter1D.xhtml @@ -1,4 +1,4 @@ -

Name

glConvolutionFilter1D — define a one-dimensional convolution filter

C Specification

void glConvolutionFilter1D(GLenum  target,
 GLenum  internalformat,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

+

Name

glConvolutionFilter1D — define a one-dimensional convolution filter

C Specification

void glConvolutionFilter1D(GLenum  target,
 GLenum  internalformat,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Must be GL_CONVOLUTION_1D.

internalformat

The internal format of the convolution filter kernel. @@ -88,7 +88,7 @@ processed just as if glDrawPixels were called, but processing stops after the final expansion to RGBA is completed.

- If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target (see glBindBuffer) while a convolution filter is specified, data is treated as a byte offset into the buffer object's data store.

@@ -109,7 +109,7 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format Red @@ -132,7 +132,7 @@ A - +
GL_LUMINANCE @@ -142,7 +142,7 @@ R - +
GL_LUMINANCE_ALPHA @@ -153,7 +153,7 @@ R - +
GL_INTENSITY @@ -174,7 +174,7 @@ - +
GL_RGBA @@ -187,7 +187,7 @@ A - +

The red, green, blue, alpha, luminance, and/or intensity components of the resulting pixels are stored in floating-point rather than integer @@ -247,11 +247,11 @@ GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer + GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and data is not evenly divisible + GL_PIXEL_UNPACK_BUFFER target and data is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type.

GL_INVALID_OPERATION is generated if glConvolutionFilter1D is executed @@ -273,4 +273,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glConvolutionFilter2D.xhtml b/gl2/glConvolutionFilter2D.xhtml index b9783d1c..24fc58ce 100644 --- a/gl2/glConvolutionFilter2D.xhtml +++ b/gl2/glConvolutionFilter2D.xhtml @@ -1,4 +1,4 @@ -

Name

glConvolutionFilter2D — define a two-dimensional convolution filter

C Specification

void glConvolutionFilter2D(GLenum  target,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

+

Name

glConvolutionFilter2D — define a two-dimensional convolution filter

C Specification

void glConvolutionFilter2D(GLenum  target,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Must be GL_CONVOLUTION_2D.

internalformat

The internal format of the convolution filter kernel. @@ -94,7 +94,7 @@ glDrawPixels were called, but processing stops after the final expansion to RGBA is completed.

- If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target (see glBindBuffer) while a convolution filter is specified, data is treated as a byte offset into the buffer object's data store.

@@ -115,7 +115,7 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format Red @@ -138,7 +138,7 @@ A - +
GL_LUMINANCE @@ -148,7 +148,7 @@ R - +
GL_LUMINANCE_ALPHA @@ -159,7 +159,7 @@ R - +
GL_INTENSITY @@ -180,7 +180,7 @@ - +
GL_RGBA @@ -193,7 +193,7 @@ A - +

The red, green, blue, alpha, luminance, and/or intensity components of the resulting pixels are stored in floating-point rather than integer @@ -261,11 +261,11 @@ GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer + GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and data is not evenly divisible + GL_PIXEL_UNPACK_BUFFER target and data is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type.

GL_INVALID_OPERATION is generated if glConvolutionFilter2D is executed @@ -285,4 +285,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glConvolutionParameter.xhtml b/gl2/glConvolutionParameter.xhtml index 47edefaa..d27b1dde 100644 --- a/gl2/glConvolutionParameter.xhtml +++ b/gl2/glConvolutionParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glConvolutionParameter — set convolution parameters

C Specification

void glConvolutionParameterf(GLenum  target,
 GLenum  pname,
 GLfloat  params);
void glConvolutionParameteri(GLenum  target,
 GLenum  pname,
 GLint  params);

+

Name

glConvolutionParameter — set convolution parameters

C Specification

void glConvolutionParameterf(GLenum  target,
 GLenum  pname,
 GLfloat  params);
void glConvolutionParameteri(GLenum  target,
 GLenum  pname,
 GLint  params);

Parameters

target

The target for the convolution parameter. Must be one of @@ -14,7 +14,7 @@ Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER.

-

C Specification

void glConvolutionParameterfv(GLenum  target,
 GLenum  pname,
 const GLfloat *  params);
void glConvolutionParameteriv(GLenum  target,
 GLenum  pname,
 const GLint *  params);

+

C Specification

void glConvolutionParameterfv(GLenum  target,
 GLenum  pname,
 const GLfloat *  params);
void glConvolutionParameteriv(GLenum  target,
 GLenum  pname,
 const GLint *  params);

Parameters

target

The target for the convolution parameter. Must be one of diff --git a/gl2/glCopyColorSubTable.xhtml b/gl2/glCopyColorSubTable.xhtml index 20ea70d1..381f6605 100644 --- a/gl2/glCopyColorSubTable.xhtml +++ b/gl2/glCopyColorSubTable.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyColorSubTable — respecify a portion of a color table

C Specification

void glCopyColorSubTable(GLenum  target,
 GLsizei  start,
 GLint  x,
 GLint  y,
 GLsizei  width);

Parameters

target

+

Name

glCopyColorSubTable — respecify a portion of a color table

C Specification

void glCopyColorSubTable(GLenum  target,
 GLsizei  start,
 GLint  x,
 GLint  y,
 GLsizei  width);

Parameters

target

Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or diff --git a/gl2/glCopyColorTable.xhtml b/gl2/glCopyColorTable.xhtml index 9233d39b..7c23e040 100644 --- a/gl2/glCopyColorTable.xhtml +++ b/gl2/glCopyColorTable.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyColorTable — copy pixels into a color table

C Specification

void glCopyColorTable(GLenum  target,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width);

Parameters

target

+

Name

glCopyColorTable — copy pixels into a color table

C Specification

void glCopyColorTable(GLenum  target,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width);

Parameters

target

The color table target. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, @@ -85,7 +85,7 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format Red diff --git a/gl2/glCopyConvolutionFilter1D.xhtml b/gl2/glCopyConvolutionFilter1D.xhtml index 95793fab..d334f979 100644 --- a/gl2/glCopyConvolutionFilter1D.xhtml +++ b/gl2/glCopyConvolutionFilter1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyConvolutionFilter1D — copy pixels into a one-dimensional convolution filter

C Specification

void glCopyConvolutionFilter1D(GLenum  target,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width);

Parameters

target

+

Name

glCopyConvolutionFilter1D — copy pixels into a one-dimensional convolution filter

C Specification

void glCopyConvolutionFilter1D(GLenum  target,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width);

Parameters

target

Must be GL_CONVOLUTION_1D.

internalformat

The internal format of the convolution filter kernel. @@ -77,7 +77,7 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format Red @@ -100,7 +100,7 @@ A - +
GL_LUMINANCE @@ -110,7 +110,7 @@ R - +
GL_LUMINANCE_ALPHA @@ -121,7 +121,7 @@ R - +
GL_INTENSITY @@ -142,7 +142,7 @@ - +
GL_RGBA @@ -155,7 +155,7 @@ A - +

The red, green, blue, alpha, luminance, and/or intensity components of the resulting pixels are stored in floating-point rather than integer @@ -203,4 +203,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glCopyConvolutionFilter2D.xhtml b/gl2/glCopyConvolutionFilter2D.xhtml index 65f44a01..ecfa4048 100644 --- a/gl2/glCopyConvolutionFilter2D.xhtml +++ b/gl2/glCopyConvolutionFilter2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyConvolutionFilter2D — copy pixels into a two-dimensional convolution filter

C Specification

void glCopyConvolutionFilter2D(GLenum  target,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

Parameters

target

+

Name

glCopyConvolutionFilter2D — copy pixels into a two-dimensional convolution filter

C Specification

void glCopyConvolutionFilter2D(GLenum  target,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

Parameters

target

Must be GL_CONVOLUTION_2D.

internalformat

The internal format of the convolution filter kernel. @@ -80,7 +80,7 @@ and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows:

-

+

Internal Format Red @@ -103,7 +103,7 @@ A - +
GL_LUMINANCE @@ -113,7 +113,7 @@ R - +
GL_LUMINANCE_ALPHA @@ -124,7 +124,7 @@ R - +
GL_INTENSITY @@ -145,7 +145,7 @@ - +
GL_RGBA @@ -158,7 +158,7 @@ A - +

The red, green, blue, alpha, luminance, and/or intensity components of the resulting pixels are stored in floating-point rather than integer @@ -213,4 +213,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glCopyPixels.xhtml b/gl2/glCopyPixels.xhtml index 1b1cd247..6b2b715f 100644 --- a/gl2/glCopyPixels.xhtml +++ b/gl2/glCopyPixels.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyPixels — copy pixels in the frame buffer

C Specification

void glCopyPixels(GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height,
 GLenum  type);

Parameters

x, y

+

Name

glCopyPixels — copy pixels in the frame buffer

C Specification

void glCopyPixels(GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height,
 GLenum  type);

Parameters

x, y

Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.

width, height

diff --git a/gl2/glCopyTexImage1D.xhtml b/gl2/glCopyTexImage1D.xhtml index 824737bf..c5a8b2f3 100644 --- a/gl2/glCopyTexImage1D.xhtml +++ b/gl2/glCopyTexImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexImage1D — copy pixels into a 1D texture image

C Specification

void glCopyTexImage1D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLint  border);

Parameters

target

+

Name

glCopyTexImage1D — copy pixels into a 1D texture image

C Specification

void glCopyTexImage1D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLint  border);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D.

level

diff --git a/gl2/glCopyTexImage2D.xhtml b/gl2/glCopyTexImage2D.xhtml index 3cb35c3e..80cb9aba 100644 --- a/gl2/glCopyTexImage2D.xhtml +++ b/gl2/glCopyTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexImage2D — copy pixels into a 2D texture image

C Specification

void glCopyTexImage2D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height,
 GLint  border);

Parameters

target

+

Name

glCopyTexImage2D — copy pixels into a 2D texture image

C Specification

void glCopyTexImage2D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height,
 GLint  border);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/gl2/glCopyTexSubImage1D.xhtml b/gl2/glCopyTexSubImage1D.xhtml index 1c5259f9..0952ef3c 100644 --- a/gl2/glCopyTexSubImage1D.xhtml +++ b/gl2/glCopyTexSubImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexSubImage1D — copy a one-dimensional texture subimage

C Specification

void glCopyTexSubImage1D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  x,
 GLint  y,
 GLsizei  width);

+

Name

glCopyTexSubImage1D — copy a one-dimensional texture subimage

C Specification

void glCopyTexSubImage1D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  x,
 GLint  y,
 GLsizei  width);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D. diff --git a/gl2/glCopyTexSubImage2D.xhtml b/gl2/glCopyTexSubImage2D.xhtml index fbd26070..3cc49acd 100644 --- a/gl2/glCopyTexSubImage2D.xhtml +++ b/gl2/glCopyTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexSubImage2D — copy a two-dimensional texture subimage

C Specification

void glCopyTexSubImage2D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

+

Name

glCopyTexSubImage2D — copy a two-dimensional texture subimage

C Specification

void glCopyTexSubImage2D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, diff --git a/gl2/glCopyTexSubImage3D.xhtml b/gl2/glCopyTexSubImage3D.xhtml index 608ee7a8..54750597 100644 --- a/gl2/glCopyTexSubImage3D.xhtml +++ b/gl2/glCopyTexSubImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexSubImage3D — copy a three-dimensional texture subimage

C Specification

void glCopyTexSubImage3D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  zoffset,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

+

Name

glCopyTexSubImage3D — copy a three-dimensional texture subimage

C Specification

void glCopyTexSubImage3D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  zoffset,
 GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D diff --git a/gl2/glCreateProgram.xhtml b/gl2/glCreateProgram.xhtml index ed4f8b46..2e1f821b 100644 --- a/gl2/glCreateProgram.xhtml +++ b/gl2/glCreateProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glCreateProgram — Creates a program object

C Specification

GLuint glCreateProgram( void);

Description

glCreateProgram creates an empty +

Name

glCreateProgram — Creates a program object

C Specification

GLuint glCreateProgram( void);

Description

glCreateProgram creates an empty program object and returns a non-zero value by which it can be referenced. A program object is an object to which shader objects can be attached. This provides a mechanism to specify @@ -58,8 +58,8 @@ glUniform, glUseProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl2/glCreateShader.xhtml b/gl2/glCreateShader.xhtml index e1b4e954..bfa31f8b 100644 --- a/gl2/glCreateShader.xhtml +++ b/gl2/glCreateShader.xhtml @@ -1,4 +1,4 @@ -

Name

glCreateShader — Creates a shader object

C Specification

GLuint glCreateShader(GLenum  shaderType);

Parameters

shaderType

Specifies the type of shader to be created. +

Name

glCreateShader — Creates a shader object

C Specification

GLuint glCreateShader(GLenum  shaderType);

Parameters

shaderType

Specifies the type of shader to be created. Must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.

Description

glCreateShader creates an empty shader object and returns a non-zero value by which it can be @@ -42,8 +42,8 @@ glDetachShader, glShaderSource

\ No newline at end of file +

diff --git a/gl2/glCullFace.xhtml b/gl2/glCullFace.xhtml index 77bed979..dd59e18e 100644 --- a/gl2/glCullFace.xhtml +++ b/gl2/glCullFace.xhtml @@ -1,4 +1,4 @@ -

Name

glCullFace — specify whether front- or back-facing facets can be culled

C Specification

void glCullFace(GLenum  mode);

Parameters

mode

+

Name

glCullFace — specify whether front- or back-facing facets can be culled

C Specification

void glCullFace(GLenum  mode);

Parameters

mode

Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. @@ -41,4 +41,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glDeleteBuffers.xhtml b/gl2/glDeleteBuffers.xhtml index a4a80064..dd5e88a9 100644 --- a/gl2/glDeleteBuffers.xhtml +++ b/gl2/glDeleteBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteBuffers — delete named buffer objects

C Specification

void glDeleteBuffers(GLsizei  n,
 const GLuint *  buffers);

Parameters

n

+

Name

glDeleteBuffers — delete named buffer objects

C Specification

void glDeleteBuffers(GLsizei  n,
 const GLuint *  buffers);

Parameters

n

Specifies the number of buffer objects to be deleted.

buffers

Specifies an array of buffer objects to be deleted. @@ -28,8 +28,8 @@ glGenBuffers, glGet

\ No newline at end of file +

diff --git a/gl2/glDeleteLists.xhtml b/gl2/glDeleteLists.xhtml index 16a6d04d..157ca289 100644 --- a/gl2/glDeleteLists.xhtml +++ b/gl2/glDeleteLists.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteLists — delete a contiguous group of display lists

C Specification

void glDeleteLists(GLuint  list,
 GLsizei  range);

Parameters

list

+

Name

glDeleteLists — delete a contiguous group of display lists

C Specification

void glDeleteLists(GLuint  list,
 GLsizei  range);

Parameters

list

Specifies the integer name of the first display list to delete.

range

Specifies the number of display lists to delete. diff --git a/gl2/glDeleteProgram.xhtml b/gl2/glDeleteProgram.xhtml index 5c32d588..f8e5f341 100644 --- a/gl2/glDeleteProgram.xhtml +++ b/gl2/glDeleteProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteProgram — Deletes a program object

C Specification

void glDeleteProgram(GLuint  program);

Parameters

program

Specifies the program object to be +

Name

glDeleteProgram — Deletes a program object

C Specification

void glDeleteProgram(GLuint  program);

Parameters

program

Specifies the program object to be deleted.

Description

glDeleteProgram frees the memory and invalidates the name associated with the program object specified by program. This command @@ -33,8 +33,8 @@ glDetachShader, glUseProgram

\ No newline at end of file +

diff --git a/gl2/glDeleteQueries.xhtml b/gl2/glDeleteQueries.xhtml index 61b2ccde..b893c617 100644 --- a/gl2/glDeleteQueries.xhtml +++ b/gl2/glDeleteQueries.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteQueries — delete named query objects

C Specification

void glDeleteQueries(GLsizei n,
 const GLuint * ids);
 

Parameters

n

+

Name

glDeleteQueries — delete named query objects

C Specification

void glDeleteQueries(GLsizei n,
 const GLuint * ids);
 

Parameters

n

Specifies the number of query objects to be deleted.

ids

Specifies an array of query objects to be deleted. @@ -26,8 +26,8 @@ glGetQueryiv, glGetQueryObject

\ No newline at end of file +

diff --git a/gl2/glDeleteShader.xhtml b/gl2/glDeleteShader.xhtml index fd2263c8..aadf8609 100644 --- a/gl2/glDeleteShader.xhtml +++ b/gl2/glDeleteShader.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteShader — Deletes a shader object

C Specification

void glDeleteShader(GLuint  shader);

Parameters

shader

Specifies the shader object to be deleted.

Description

glDeleteShader frees the memory and +

Name

glDeleteShader — Deletes a shader object

C Specification

void glDeleteShader(GLuint  shader);

Parameters

shader

Specifies the shader object to be deleted.

Description

glDeleteShader frees the memory and invalidates the name associated with the shader object specified by shader. This command effectively undoes the effects of a call to @@ -29,8 +29,8 @@ glCreateShader, glDetachShader, glUseProgram

\ No newline at end of file +

diff --git a/gl2/glDeleteTextures.xhtml b/gl2/glDeleteTextures.xhtml index 0a012aad..a86ff942 100644 --- a/gl2/glDeleteTextures.xhtml +++ b/gl2/glDeleteTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteTextures — delete named textures

C Specification

void glDeleteTextures(GLsizei  n,
 const GLuint *  textures);

Parameters

n

+

Name

glDeleteTextures — delete named textures

C Specification

void glDeleteTextures(GLsizei  n,
 const GLuint *  textures);

Parameters

n

Specifies the number of textures to be deleted.

textures

Specifies an array of textures to be deleted. @@ -40,4 +40,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glDepthFunc.xhtml b/gl2/glDepthFunc.xhtml index bf535e52..b2b89ea0 100644 --- a/gl2/glDepthFunc.xhtml +++ b/gl2/glDepthFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthFunc — specify the value used for depth buffer comparisons

C Specification

void glDepthFunc(GLenum  func);

Parameters

func

+

Name

glDepthFunc — specify the value used for depth buffer comparisons

C Specification

void glDepthFunc(GLenum  func);

Parameters

func

Specifies the depth comparison function. Symbolic constants GL_NEVER, @@ -64,4 +64,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glDepthMask.xhtml b/gl2/glDepthMask.xhtml index dbce47e1..23591b36 100644 --- a/gl2/glDepthMask.xhtml +++ b/gl2/glDepthMask.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthMask — enable or disable writing into the depth buffer

C Specification

void glDepthMask(GLboolean  flag);

Parameters

flag

+

Name

glDepthMask — enable or disable writing into the depth buffer

C Specification

void glDepthMask(GLboolean  flag);

Parameters

flag

Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. @@ -29,4 +29,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glDepthRange.xhtml b/gl2/glDepthRange.xhtml index 5276bfb7..baf6e6ac 100644 --- a/gl2/glDepthRange.xhtml +++ b/gl2/glDepthRange.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthRange — specify mapping of depth values from normalized device coordinates to window coordinates

C Specification

void glDepthRange(GLclampd  nearVal,
 GLclampd  farVal);

Parameters

nearVal

+

Name

glDepthRange — specify mapping of depth values from normalized device coordinates to window coordinates

C Specification

void glDepthRange(GLclampd  nearVal,
 GLclampd  farVal);

Parameters

nearVal

Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.

farVal

diff --git a/gl2/glDetachShader.xhtml b/gl2/glDetachShader.xhtml index 6f70086f..fe57752b 100644 --- a/gl2/glDetachShader.xhtml +++ b/gl2/glDetachShader.xhtml @@ -1,4 +1,4 @@ -

Name

glDetachShader — Detaches a shader object from a program object to which it is attached

C Specification

void glDetachShader(GLuint  program,
 GLuint  shader);

Parameters

program

Specifies the program object from which to +

Name

glDetachShader — Detaches a shader object from a program object to which it is attached

C Specification

void glDetachShader(GLuint  program,
 GLuint  shader);

Parameters

program

Specifies the program object from which to detach the shader object.

shader

Specifies the shader object to be detached.

Description

glDetachShader detaches the shader object specified by shader from the @@ -26,8 +26,8 @@ GL_DELETE_STATUS

glIsProgram

glIsShader

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/gl2/glDrawArrays.xhtml b/gl2/glDrawArrays.xhtml index 7866cf3f..403bb7d4 100644 --- a/gl2/glDrawArrays.xhtml +++ b/gl2/glDrawArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawArrays — render primitives from array data

C Specification

void glDrawArrays(GLenum  mode,
 GLint  first,
 GLsizei  count);

Parameters

mode

+

Name

glDrawArrays — render primitives from array data

C Specification

void glDrawArrays(GLenum  mode,
 GLint  first,
 GLsizei  count);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -77,4 +77,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glDrawBuffer.xhtml b/gl2/glDrawBuffer.xhtml index 964e5812..f42b411b 100644 --- a/gl2/glDrawBuffer.xhtml +++ b/gl2/glDrawBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawBuffer — specify which color buffers are to be drawn into

C Specification

void glDrawBuffer(GLenum  mode);

Parameters

mode

+

Name

glDrawBuffer — specify which color buffers are to be drawn into

C Specification

void glDrawBuffer(GLenum  mode);

Parameters

mode

Specifies up to four color buffers to be drawn into. Symbolic constants GL_NONE, diff --git a/gl2/glDrawBuffers.xhtml b/gl2/glDrawBuffers.xhtml index fcffcc51..f7782f80 100644 --- a/gl2/glDrawBuffers.xhtml +++ b/gl2/glDrawBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawBuffers — Specifies a list of color buffers to be drawn into

C Specification

void glDrawBuffers(GLsizei  n,
 const GLenum * bufs);

Parameters

n

Specifies the number of buffers in +

Name

glDrawBuffers — Specifies a list of color buffers to be drawn into

C Specification

void glDrawBuffers(GLsizei  n,
 const GLenum * bufs);

Parameters

n

Specifies the number of buffers in bufs.

bufs

Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.

Description

glDrawBuffers defines an array of @@ -75,8 +75,8 @@ glIndexMask, glLogicOp, glReadBuffer

\ No newline at end of file +

diff --git a/gl2/glDrawElements.xhtml b/gl2/glDrawElements.xhtml index 0d9d540d..97abf416 100644 --- a/gl2/glDrawElements.xhtml +++ b/gl2/glDrawElements.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawElements — render primitives from array data

C Specification

void glDrawElements(GLenum  mode,
 GLsizei  count,
 GLenum  type,
 const GLvoid *  indices);

Parameters

mode

+

Name

glDrawElements — render primitives from array data

C Specification

void glDrawElements(GLenum  mode,
 GLsizei  count,
 GLenum  type,
 const GLvoid *  indices);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -82,4 +82,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glDrawPixels.xhtml b/gl2/glDrawPixels.xhtml index 1bf45540..15f6be50 100644 --- a/gl2/glDrawPixels.xhtml +++ b/gl2/glDrawPixels.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawPixels — write a block of pixels to the frame buffer

C Specification

void glDrawPixels(GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

width, height

+

Name

glDrawPixels — write a block of pixels to the frame buffer

C Specification

void glDrawPixels(GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

width, height

Specify the dimensions of the pixel rectangle to be written into the frame buffer.

format

@@ -627,7 +627,7 @@ The following table summarizes the meaning of the valid constants for the type parameter:

-

+

Type Corresponding Type diff --git a/gl2/glDrawRangeElements.xhtml b/gl2/glDrawRangeElements.xhtml index a58df342..a91f2c59 100644 --- a/gl2/glDrawRangeElements.xhtml +++ b/gl2/glDrawRangeElements.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawRangeElements — render primitives from array data

C Specification

void glDrawRangeElements(GLenum  mode,
 GLuint  start,
 GLuint  end,
 GLsizei  count,
 GLenum  type,
 const GLvoid *  indices);

Parameters

mode

+

Name

glDrawRangeElements — render primitives from array data

C Specification

void glDrawRangeElements(GLenum  mode,
 GLuint  start,
 GLuint  end,
 GLsizei  count,
 GLenum  type,
 const GLvoid *  indices);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, diff --git a/gl2/glEdgeFlag.xhtml b/gl2/glEdgeFlag.xhtml index a1c55d65..553d6585 100644 --- a/gl2/glEdgeFlag.xhtml +++ b/gl2/glEdgeFlag.xhtml @@ -1,7 +1,7 @@ -

Name

glEdgeFlag — flag edges as either boundary or nonboundary

C Specification

void glEdgeFlag(GLboolean  flag);

Parameters

flag

+

Name

glEdgeFlag — flag edges as either boundary or nonboundary

C Specification

void glEdgeFlag(GLboolean  flag);

Parameters

flag

Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. -

C Specification

void glEdgeFlagv(const GLboolean *  flag);

Parameters

flag

+

C Specification

void glEdgeFlagv(const GLboolean *  flag);

Parameters

flag

Specifies a pointer to an array that contains a single boolean element, which replaces the current edge flag value.

Description

@@ -40,4 +40,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glEdgeFlagPointer.xhtml b/gl2/glEdgeFlagPointer.xhtml index 781d2f73..8ebb7051 100644 --- a/gl2/glEdgeFlagPointer.xhtml +++ b/gl2/glEdgeFlagPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glEdgeFlagPointer — define an array of edge flags

C Specification

void glEdgeFlagPointer(GLsizei  stride,
 const GLvoid *  pointer);

Parameters

stride

+

Name

glEdgeFlagPointer — define an array of edge flags

C Specification

void glEdgeFlagPointer(GLsizei  stride,
 const GLvoid *  pointer);

Parameters

stride

Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. @@ -11,7 +11,7 @@ edge flag to the next, allowing vertices and attributes to be packed into a single array or stored in separate arrays.

- If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while an edge flag array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as edge flag vertex array @@ -91,4 +91,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glEnable.xhtml b/gl2/glEnable.xhtml index 4b0d9b14..d496a95b 100644 --- a/gl2/glEnable.xhtml +++ b/gl2/glEnable.xhtml @@ -1,6 +1,6 @@ -

Name

glEnable — enable or disable server-side GL capabilities

C Specification

void glEnable(GLenum  cap);

Parameters

cap

+

Name

glEnable — enable or disable server-side GL capabilities

C Specification

void glEnable(GLenum  cap);

Parameters

cap

Specifies a symbolic constant indicating a GL capability. -

C Specification

void glDisable(GLenum  cap);

Parameters

cap

+

C Specification

void glDisable(GLenum  cap);

Parameters

cap

Specifies a symbolic constant indicating a GL capability.

Description

glEnable and glDisable enable and disable various capabilities. @@ -45,7 +45,7 @@ See glColorMaterial.

GL_COLOR_SUM

- If enabled and no fragment shader is active, + If enabled and no fragment shader is active, add the secondary color value to the computed fragment color. See glSecondaryColor.

GL_COLOR_TABLE

@@ -314,7 +314,7 @@ If enabled and no vertex shader is active, normal vectors are normalized to unit length after transformation and before lighting. This method is generally - less efficient than GL_RESCALE_NORMAL. See + less efficient than GL_RESCALE_NORMAL. See glNormal and glNormalPointer.

GL_POINT_SMOOTH

@@ -371,12 +371,12 @@ See glColorTable.

GL_RESCALE_NORMAL

- If enabled and no vertex shader is active, - normal vectors are scaled after transformation and before + If enabled and no vertex shader is active, + normal vectors are scaled after transformation and before lighting by a factor computed from the modelview matrix. If the modelview matrix scales space uniformly, this has the effect of restoring the transformed normal to unit length. This method is generally - more efficient than GL_NORMALIZE. See + more efficient than GL_NORMALIZE. See glNormal and glNormalPointer.

GL_SAMPLE_ALPHA_TO_COVERAGE

@@ -413,25 +413,25 @@ See glStencilFunc and glStencilOp.

GL_TEXTURE_1D

- If enabled and no fragment shader is active, + If enabled and no fragment shader is active, one-dimensional texturing is performed (unless two- or three-dimensional or cube-mapped texturing is also enabled). See glTexImage1D.

GL_TEXTURE_2D

- If enabled and no fragment shader is active, + If enabled and no fragment shader is active, two-dimensional texturing is performed (unless three-dimensional or cube-mapped texturing is also enabled). See glTexImage2D.

GL_TEXTURE_3D

- If enabled and no fragment shader is active, + If enabled and no fragment shader is active, three-dimensional texturing is performed (unless cube-mapped texturing is also enabled). See glTexImage3D.

GL_TEXTURE_CUBE_MAP

- If enabled and no fragment shader is active, + If enabled and no fragment shader is active, cube-mapped texturing is performed. See glTexImage2D.

GL_TEXTURE_GEN_Q

@@ -558,4 +558,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glEnableClientState.xhtml b/gl2/glEnableClientState.xhtml index e08dbca2..92db4e90 100644 --- a/gl2/glEnableClientState.xhtml +++ b/gl2/glEnableClientState.xhtml @@ -1,4 +1,4 @@ -

Name

glEnableClientState — enable or disable client-side capability

C Specification

void glEnableClientState(GLenum  cap);

Parameters

cap

+

Name

glEnableClientState — enable or disable client-side capability

C Specification

void glEnableClientState(GLenum  cap);

Parameters

cap

Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, @@ -10,7 +10,7 @@ GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted. -

C Specification

void glDisableClientState(GLenum  cap);

Parameters

cap

+

C Specification

void glDisableClientState(GLenum  cap);

Parameters

cap

Specifies the capability to disable.

Description

glEnableClientState and glDisableClientState @@ -99,4 +99,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glEnableVertexAttribArray.xhtml b/gl2/glEnableVertexAttribArray.xhtml index bc8b9cb6..c472d678 100644 --- a/gl2/glEnableVertexAttribArray.xhtml +++ b/gl2/glEnableVertexAttribArray.xhtml @@ -1,4 +1,4 @@ -

Name

glEnableVertexAttribArray — Enable or disable a generic vertex attribute array

C Specification

void glEnableVertexAttribArray(GLuint  index);
void glDisableVertexAttribArray(GLuint  index);

Parameters

index

Specifies the index of the generic vertex +

Name

glEnableVertexAttribArray — Enable or disable a generic vertex attribute array

C Specification

void glEnableVertexAttribArray(GLuint  index);
void glDisableVertexAttribArray(GLuint  index);

Parameters

index

Specifies the index of the generic vertex attribute to be enabled or disabled.

Description

glEnableVertexAttribArray enables the generic vertex attribute array specified by index. @@ -44,8 +44,8 @@ glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl2/glEvalCoord.xhtml b/gl2/glEvalCoord.xhtml index e5eeeee3..6d380da1 100644 --- a/gl2/glEvalCoord.xhtml +++ b/gl2/glEvalCoord.xhtml @@ -1,4 +1,4 @@ -

Name

glEvalCoord — evaluate enabled one- and two-dimensional maps

C Specification

void glEvalCoord1f(GLfloat  u);
void glEvalCoord1d(GLdouble  u);
void glEvalCoord2f(GLfloat  u,
 GLfloat  v);
void glEvalCoord2d(GLdouble  u,
 GLdouble  v);

Parameters

u

+

Name

glEvalCoord — evaluate enabled one- and two-dimensional maps

C Specification

void glEvalCoord1f(GLfloat  u);
void glEvalCoord1d(GLdouble  u);
void glEvalCoord2f(GLfloat  u,
 GLfloat  v);
void glEvalCoord2d(GLdouble  u,
 GLdouble  v);

Parameters

u

Specifies a value that is the domain coordinate u to the basis function @@ -9,7 +9,7 @@ to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. -

C Specification

void glEvalCoord1fv(const GLfloat *  u);
void glEvalCoord1dv(const GLdouble *  u);
void glEvalCoord2fv(const GLfloat *  u);
void glEvalCoord2dv(const GLdouble *  u);

Parameters

u

+

C Specification

void glEvalCoord1fv(const GLfloat *  u);
void glEvalCoord1dv(const GLdouble *  u);
void glEvalCoord2fv(const GLfloat *  u);
void glEvalCoord2dv(const GLdouble *  u);

Parameters

u

Specifies a pointer to an array containing either one or two domain coordinates. The first coordinate is diff --git a/gl2/glEvalMesh.xhtml b/gl2/glEvalMesh.xhtml index 35f322d2..4d9f4eae 100644 --- a/gl2/glEvalMesh.xhtml +++ b/gl2/glEvalMesh.xhtml @@ -1,4 +1,4 @@ -

Name

glEvalMesh — compute a one- or two-dimensional grid of points or lines

C Specification

void glEvalMesh1(GLenum  mode,
 GLint  i1,
 GLint  i2);

Parameters

mode

+

Name

glEvalMesh — compute a one- or two-dimensional grid of points or lines

C Specification

void glEvalMesh1(GLenum  mode,
 GLint  i1,
 GLint  i2);

Parameters

mode

In glEvalMesh1, specifies whether to compute a one-dimensional mesh of points or lines. Symbolic constants GL_POINT and @@ -6,7 +6,7 @@

i1, i2

Specify the first and last integer values for grid domain variable i. -

C Specification

void glEvalMesh2(GLenum  mode,
 GLint  i1,
 GLint  i2,
 GLint  j1,
 GLint  j2);

Parameters

mode

+

C Specification

void glEvalMesh2(GLenum  mode,
 GLint  i1,
 GLint  i2,
 GLint  j1,
 GLint  j2);

Parameters

mode

In glEvalMesh2, specifies whether to compute a two-dimensional mesh of points, lines, or polygons. Symbolic constants diff --git a/gl2/glEvalPoint.xhtml b/gl2/glEvalPoint.xhtml index 2325eaf7..198d4c53 100644 --- a/gl2/glEvalPoint.xhtml +++ b/gl2/glEvalPoint.xhtml @@ -1,4 +1,4 @@ -

Name

glEvalPoint — generate and evaluate a single point in a mesh

C Specification

void glEvalPoint1(GLint  i);
void glEvalPoint2(GLint  i,
 GLint  j);

Parameters

i

+

Name

glEvalPoint — generate and evaluate a single point in a mesh

C Specification

void glEvalPoint1(GLint  i);
void glEvalPoint2(GLint  i,
 GLint  j);

Parameters

i

Specifies the integer value for grid domain variable i.

j

diff --git a/gl2/glFeedbackBuffer.xhtml b/gl2/glFeedbackBuffer.xhtml index 80c9233e..02138e31 100644 --- a/gl2/glFeedbackBuffer.xhtml +++ b/gl2/glFeedbackBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glFeedbackBuffer — controls feedback mode

C Specification

void glFeedbackBuffer(GLsizei  size,
 GLenum  type,
 GLfloat *  buffer);

Parameters

size

+

Name

glFeedbackBuffer — controls feedback mode

C Specification

void glFeedbackBuffer(GLsizei  size,
 GLenum  type,
 GLfloat *  buffer);

Parameters

size

Specifies the maximum number of values that can be written into buffer.

type

Specifies a symbolic constant that describes the information @@ -153,7 +153,7 @@ and the number of values per vertex. k is 1 in color index mode and 4 in RGBA mode.

-

+

Type Coordinates diff --git a/gl2/glFinish.xhtml b/gl2/glFinish.xhtml index 4b6874a4..21d3dc31 100644 --- a/gl2/glFinish.xhtml +++ b/gl2/glFinish.xhtml @@ -1,4 +1,4 @@ -

Name

glFinish — block until all GL execution is complete

C Specification

void glFinish(  void);

Description

+

Name

glFinish — block until all GL execution is complete

C Specification

void glFinish(  void);

Description

glFinish does not return until the effects of all previously called GL commands are complete. Such effects include all changes to GL state, @@ -19,4 +19,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glFlush.xhtml b/gl2/glFlush.xhtml index 5aa1070b..324be847 100644 --- a/gl2/glFlush.xhtml +++ b/gl2/glFlush.xhtml @@ -1,4 +1,4 @@ -

Name

glFlush — force execution of GL commands in finite time

C Specification

void glFlush(  void);

Description

+

Name

glFlush — force execution of GL commands in finite time

C Specification

void glFlush(  void);

Description

Different GL implementations buffer commands in several different locations, including network buffers and the graphics accelerator itself. glFlush empties all of these buffers, @@ -32,4 +32,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glFog.xhtml b/gl2/glFog.xhtml index 21a5f76a..56a0da49 100644 --- a/gl2/glFog.xhtml +++ b/gl2/glFog.xhtml @@ -1,4 +1,4 @@ -

Name

glFog — specify fog parameters

C Specification

void glFogf(GLenum  pname,
 GLfloat  param);
void glFogi(GLenum  pname,
 GLint  param);

Parameters

pname

+

Name

glFog — specify fog parameters

C Specification

void glFogf(GLenum  pname,
 GLfloat  param);
void glFogi(GLenum  pname,
 GLint  param);

Parameters

pname

Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, @@ -9,7 +9,7 @@ are accepted.

param

Specifies the value that pname will be set to. -

C Specification

void glFogfv(GLenum  pname,
 const GLfloat *  params);
void glFogiv(GLenum  pname,
 const GLint *  params);

Parameters

pname

+

C Specification

void glFogfv(GLenum  pname,
 const GLfloat *  params);
void glFogiv(GLenum  pname,
 const GLint *  params);

Parameters

pname

Specifies a fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, diff --git a/gl2/glFogCoord.xhtml b/gl2/glFogCoord.xhtml index a4fb0f49..d063d358 100644 --- a/gl2/glFogCoord.xhtml +++ b/gl2/glFogCoord.xhtml @@ -1,6 +1,6 @@ -

Name

glFogCoord — set the current fog coordinates

C Specification

void glFogCoordd(GLdouble  coord);
void glFogCoordf(GLfloat  coord);

Parameters

coord

+

Name

glFogCoord — set the current fog coordinates

C Specification

void glFogCoordd(GLdouble  coord);
void glFogCoordf(GLfloat  coord);

Parameters

coord

Specify the fog distance. -

C Specification

void glFogCoorddv(GLdouble *  coord);
void glFogCoordfv(GLfloat *  coord);

Parameters

coord

+

C Specification

void glFogCoorddv(GLdouble *  coord);
void glFogCoordfv(GLfloat *  coord);

Parameters

coord

Specifies a pointer to an array containing a single value representing the fog distance.

Description

@@ -26,4 +26,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glFogCoordPointer.xhtml b/gl2/glFogCoordPointer.xhtml index 7445b899..56c4481c 100644 --- a/gl2/glFogCoordPointer.xhtml +++ b/gl2/glFogCoordPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glFogCoordPointer — define an array of fog coordinates

C Specification

void glFogCoordPointer(GLenum  type,
 GLsizei  stride,
 GLvoid *  pointer);

Parameters

type

+

Name

glFogCoordPointer — define an array of fog coordinates

C Specification

void glFogCoordPointer(GLenum  type,
 GLsizei  stride,
 GLvoid *  pointer);

Parameters

type

Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, @@ -18,7 +18,7 @@ the next, allowing vertices and attributes to be packed into a single array or stored in separate arrays.

- If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a fog coordinate array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as fog coordinate vertex array @@ -103,4 +103,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glFrontFace.xhtml b/gl2/glFrontFace.xhtml index a7a8898e..a13ce00a 100644 --- a/gl2/glFrontFace.xhtml +++ b/gl2/glFrontFace.xhtml @@ -1,4 +1,4 @@ -

Name

glFrontFace — define front- and back-facing polygons

C Specification

void glFrontFace(GLenum  mode);

Parameters

mode

+

Name

glFrontFace — define front- and back-facing polygons

C Specification

void glFrontFace(GLenum  mode);

Parameters

mode

Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. @@ -46,4 +46,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glFrustum.xhtml b/gl2/glFrustum.xhtml index 0ff199ad..f5cd634b 100644 --- a/gl2/glFrustum.xhtml +++ b/gl2/glFrustum.xhtml @@ -1,4 +1,4 @@ -

Name

glFrustum — multiply the current matrix by a perspective matrix

C Specification

void glFrustum(GLdouble  left,
 GLdouble  right,
 GLdouble  bottom,
 GLdouble  top,
 GLdouble  nearVal,
 GLdouble  farVal);

Parameters

left, right

+

Name

glFrustum — multiply the current matrix by a perspective matrix

C Specification

void glFrustum(GLdouble  left,
 GLdouble  right,
 GLdouble  bottom,
 GLdouble  top,
 GLdouble  nearVal,
 GLdouble  farVal);

Parameters

left, right

Specify the coordinates for the left and right vertical clipping planes.

bottom, top

Specify the coordinates for the bottom and top horizontal clipping planes. diff --git a/gl2/glGenBuffers.xhtml b/gl2/glGenBuffers.xhtml index 039f48a6..3dee9f64 100644 --- a/gl2/glGenBuffers.xhtml +++ b/gl2/glGenBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenBuffers — generate buffer object names

C Specification

void glGenBuffers(GLsizei  n,
 GLuint *  buffers);

Parameters

n

+

Name

glGenBuffers — generate buffer object names

C Specification

void glGenBuffers(GLsizei  n,
 GLuint *  buffers);

Parameters

n

Specifies the number of buffer object names to be generated.

buffers

Specifies an array in which the generated buffer object names are stored. @@ -31,8 +31,8 @@ glDeleteBuffers, glGet

\ No newline at end of file +

diff --git a/gl2/glGenLists.xhtml b/gl2/glGenLists.xhtml index 1113fa38..bd3fe023 100644 --- a/gl2/glGenLists.xhtml +++ b/gl2/glGenLists.xhtml @@ -1,4 +1,4 @@ -

Name

glGenLists — generate a contiguous set of empty display lists

C Specification

GLuint glGenLists(GLsizei  range);

Parameters

range

+

Name

glGenLists — generate a contiguous set of empty display lists

C Specification

GLuint glGenLists(GLsizei  range);

Parameters

range

Specifies the number of contiguous empty display lists to be generated.

Description

diff --git a/gl2/glGenQueries.xhtml b/gl2/glGenQueries.xhtml index 6cb924db..fed67946 100644 --- a/gl2/glGenQueries.xhtml +++ b/gl2/glGenQueries.xhtml @@ -1,4 +1,4 @@ -

Name

glGenQueries — generate query object names

C Specification

void glGenQueries(GLsizei n,
 GLuint * ids);
 

Parameters

n

+

Name

glGenQueries — generate query object names

C Specification

void glGenQueries(GLsizei n,
 GLuint * ids);
 

Parameters

n

Specifies the number of query object names to be generated.

ids

Specifies an array in which the generated query object names are stored. @@ -10,7 +10,7 @@

Query object names returned by a call to glGenQueries are not returned by subsequent calls, unless they are first deleted with - glDeleteQueries. + glDeleteQueries.

No query objects are associated with the returned query object names until they are first used by calling glBeginQuery. @@ -29,8 +29,8 @@ glDeleteQueries, glEndQuery

\ No newline at end of file +

diff --git a/gl2/glGenTextures.xhtml b/gl2/glGenTextures.xhtml index b9c49b06..d1c5b7d1 100644 --- a/gl2/glGenTextures.xhtml +++ b/gl2/glGenTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glGenTextures — generate texture names

C Specification

void glGenTextures(GLsizei  n,
 GLuint *  textures);

Parameters

n

+

Name

glGenTextures — generate texture names

C Specification

void glGenTextures(GLsizei  n,
 GLuint *  textures);

Parameters

n

Specifies the number of texture names to be generated.

textures

Specifies an array in which the generated texture names are stored. @@ -43,4 +43,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGet.xhtml b/gl2/glGet.xhtml index 6cf9227c..09f95e1f 100644 --- a/gl2/glGet.xhtml +++ b/gl2/glGet.xhtml @@ -1,4 +1,4 @@ -

Name

glGet — return the value or values of a selected parameter

C Specification

void glGetBooleanv(GLenum  pname,
 GLboolean *  params);

C Specification

void glGetDoublev(GLenum  pname,
 GLdouble *  params);

C Specification

void glGetFloatv(GLenum  pname,
 GLfloat *  params);

C Specification

void glGetIntegerv(GLenum  pname,
 GLint *  params);

Parameters

pname

+

Name

glGet — return the value or values of a selected parameter

C Specification

void glGetBooleanv(GLenum  pname,
 GLboolean *  params);

C Specification

void glGetDoublev(GLenum  pname,
 GLdouble *  params);

C Specification

void glGetFloatv(GLenum  pname,
 GLfloat *  params);

C Specification

void glGetIntegerv(GLenum  pname,
 GLint *  params);

Parameters

pname

Specifies the parameter value to be returned. The symbolic constants in the list below are accepted.

params

diff --git a/gl2/glGetActiveAttrib.xhtml b/gl2/glGetActiveAttrib.xhtml index a7068cee..473686f0 100644 --- a/gl2/glGetActiveAttrib.xhtml +++ b/gl2/glGetActiveAttrib.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveAttrib — Returns information about an active attribute variable for the specified program object

C Specification

void glGetActiveAttrib(GLuint  program,
 GLuint  index,
 GLsizei  bufSize,
 GLsizei * length,
 GLint * size,
 GLenum * type,
 GLchar * name);

Parameters

program

Specifies the program object to be +

Name

glGetActiveAttrib — Returns information about an active attribute variable for the specified program object

C Specification

void glGetActiveAttrib(GLuint  program,
 GLuint  index,
 GLsizei  bufSize,
 GLsizei * length,
 GLint * size,
 GLenum * type,
 GLchar * name);

Parameters

program

Specifies the program object to be queried.

index

Specifies the index of the attribute variable to be queried.

bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer @@ -110,8 +110,8 @@ glLinkProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl2/glGetActiveUniform.xhtml b/gl2/glGetActiveUniform.xhtml index c22eb551..96c6acbf 100644 --- a/gl2/glGetActiveUniform.xhtml +++ b/gl2/glGetActiveUniform.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveUniform — Returns information about an active uniform variable for the specified program object

C Specification

void glGetActiveUniform(GLuint  program,
 GLuint  index,
 GLsizei  bufSize,
 GLsizei * length,
 GLint * size,
 GLenum * type,
 GLchar * name);

Parameters

program

Specifies the program object to be +

Name

glGetActiveUniform — Returns information about an active uniform variable for the specified program object

C Specification

void glGetActiveUniform(GLuint  program,
 GLuint  index,
 GLsizei  bufSize,
 GLsizei * length,
 GLint * size,
 GLenum * type,
 GLchar * name);

Parameters

program

Specifies the program object to be queried.

index

Specifies the index of the uniform variable to be queried.

bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer @@ -150,8 +150,8 @@ glLinkProgram, glUniform, glUseProgram

\ No newline at end of file +

diff --git a/gl2/glGetAttachedShaders.xhtml b/gl2/glGetAttachedShaders.xhtml index a1d69cd1..71ce44e8 100644 --- a/gl2/glGetAttachedShaders.xhtml +++ b/gl2/glGetAttachedShaders.xhtml @@ -1,4 +1,4 @@ -

Name

glGetAttachedShaders — Returns the handles of the shader objects attached to a program object

C Specification

void glGetAttachedShaders(GLuint program,
 GLsizei maxCount,
 GLsizei *count,
 GLuint *shaders);
 

Parameters

program

Specifies the program object to be +

Name

glGetAttachedShaders — Returns the handles of the shader objects attached to a program object

C Specification

void glGetAttachedShaders(GLuint program,
 GLsizei maxCount,
 GLsizei *count,
 GLuint *shaders);
 

Parameters

program

Specifies the program object to be queried.

maxCount

Specifies the size of the array for storing the returned object names.

count

Returns the number of names actually returned in shaders.

shaders

Specifies an array that is used to return the @@ -37,8 +37,8 @@

\ No newline at end of file +

diff --git a/gl2/glGetAttribLocation.xhtml b/gl2/glGetAttribLocation.xhtml index 989fa106..5d0209ca 100644 --- a/gl2/glGetAttribLocation.xhtml +++ b/gl2/glGetAttribLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glGetAttribLocation — Returns the location of an attribute variable

C Specification

GLint glGetAttribLocation(GLuint  program,
 const GLchar * name);

Parameters

program

Specifies the program object to be +

Name

glGetAttribLocation — Returns the location of an attribute variable

C Specification

GLint glGetAttribLocation(GLuint  program,
 const GLchar * name);

Parameters

program

Specifies the program object to be queried.

name

Points to a null terminated string containing the name of the attribute variable whose location is to be queried.

Description

glGetAttribLocation queries the @@ -44,8 +44,8 @@ glLinkProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl2/glGetBufferParameteriv.xhtml b/gl2/glGetBufferParameteriv.xhtml index 7a857734..8405e9c9 100644 --- a/gl2/glGetBufferParameteriv.xhtml +++ b/gl2/glGetBufferParameteriv.xhtml @@ -1,12 +1,12 @@ -

Name

glGetBufferParameteriv — return parameters of a buffer object

C Specification

void glGetBufferParameteriv(GLenum  target,
 GLenum  value,
 GLint *  data);

Parameters

target

+

Name

glGetBufferParameteriv — return parameters of a buffer object

C Specification

void glGetBufferParameteriv(GLenum  target,
 GLenum  value,
 GLint *  data);

Parameters

target

Specifies the target buffer object. - The symbolic constant must be GL_ARRAY_BUFFER, + The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.

value

Specifies the symbolic name of a buffer object parameter. - Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, + Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.

data

Returns the requested parameter. @@ -16,13 +16,13 @@

value names a specific buffer object parameter, as follows:

GL_BUFFER_ACCESS

- params returns the access policy set while mapping the buffer object. + params returns the access policy set while mapping the buffer object. The initial value is GL_READ_WRITE.

GL_BUFFER_MAPPED

- params returns a flag indicating whether the buffer object is currently + params returns a flag indicating whether the buffer object is currently mapped. The initial value is GL_FALSE.

GL_BUFFER_SIZE

- params returns the size of the buffer object, measured in bytes. + params returns the size of the buffer object, measured in bytes. The initial value is 0.

GL_BUFFER_USAGE

params returns the buffer object's usage pattern. The initial value is @@ -33,7 +33,7 @@

glGetBufferParameteriv is available only if the GL version is 1.5 or greater.

- Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available + Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available only if the GL version is 2.1 or greater.

Errors

GL_INVALID_ENUM is generated if target or value is not an @@ -52,8 +52,8 @@ glMapBuffer, glUnmapBuffer

\ No newline at end of file +

diff --git a/gl2/glGetBufferPointerv.xhtml b/gl2/glGetBufferPointerv.xhtml index 473f3565..5f4492a8 100644 --- a/gl2/glGetBufferPointerv.xhtml +++ b/gl2/glGetBufferPointerv.xhtml @@ -1,6 +1,6 @@ -

Name

glGetBufferPointerv — return the pointer to a mapped buffer object's data store

C Specification

void glGetBufferPointerv(GLenum  target,
 GLenum  pname,
 GLvoid **  params);

Parameters

target

+

Name

glGetBufferPointerv — return the pointer to a mapped buffer object's data store

C Specification

void glGetBufferPointerv(GLenum  target,
 GLenum  pname,
 GLvoid **  params);

Parameters

target

Specifies the target buffer object. - The symbolic constant must be GL_ARRAY_BUFFER, + The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. @@ -19,7 +19,7 @@

glGetBufferPointerv is available only if the GL version is 1.5 or greater.

- Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available + Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available only if the GL version is 2.1 or greater.

The initial value for the pointer is NULL. @@ -38,8 +38,8 @@ glBindBuffer, glMapBuffer

\ No newline at end of file +

diff --git a/gl2/glGetBufferSubData.xhtml b/gl2/glGetBufferSubData.xhtml index 7078c127..c247e64b 100644 --- a/gl2/glGetBufferSubData.xhtml +++ b/gl2/glGetBufferSubData.xhtml @@ -1,6 +1,6 @@ -

Name

glGetBufferSubData — returns a subset of a buffer object's data store

C Specification

void glGetBufferSubData(GLenum  target,
 GLintptr  offset,
 GLsizeiptr  size,
 GLvoid *  data);

Parameters

target

+

Name

glGetBufferSubData — returns a subset of a buffer object's data store

C Specification

void glGetBufferSubData(GLenum  target,
 GLintptr  offset,
 GLsizeiptr  size,
 GLvoid *  data);

Parameters

target

Specifies the target buffer object. - The symbolic constant must be GL_ARRAY_BUFFER, + The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. @@ -12,11 +12,11 @@

data

Specifies a pointer to the location where buffer object data is returned.

Description

- glGetBufferSubData returns some or all of the data from the buffer object currently + glGetBufferSubData returns some or all of the data from the buffer object currently bound to target. Data starting at byte offset offset and extending for size bytes is copied from the data store to the memory pointed to by data. An error is thrown if the buffer object is currently mapped, or if - offset and size together define a range beyond the bounds + offset and size together define a range beyond the bounds of the buffer object's data store.

Notes

If an error is generated, @@ -24,14 +24,14 @@

glGetBufferSubData is available only if the GL version is 1.5 or greater.

- Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available + Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available only if the GL version is 2.1 or greater.

Errors

- GL_INVALID_ENUM is generated if target is not - GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, + GL_INVALID_ENUM is generated if target is not + GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.

- GL_INVALID_VALUE is generated if offset or + GL_INVALID_VALUE is generated if offset or size is negative, or if together they define a region of memory that extends beyond the buffer object's allocated data store.

@@ -52,8 +52,8 @@ glMapBuffer, glUnmapBuffer

\ No newline at end of file +

diff --git a/gl2/glGetClipPlane.xhtml b/gl2/glGetClipPlane.xhtml index 3f9324b6..bfed8c07 100644 --- a/gl2/glGetClipPlane.xhtml +++ b/gl2/glGetClipPlane.xhtml @@ -1,4 +1,4 @@ -

Name

glGetClipPlane — return the coefficients of the specified clipping plane

C Specification

void glGetClipPlane(GLenum  plane,
 GLdouble *  equation);

Parameters

plane

+

Name

glGetClipPlane — return the coefficients of the specified clipping plane

C Specification

void glGetClipPlane(GLenum  plane,
 GLdouble *  equation);

Parameters

plane

Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. diff --git a/gl2/glGetColorTable.xhtml b/gl2/glGetColorTable.xhtml index 27fe75d2..61351494 100644 --- a/gl2/glGetColorTable.xhtml +++ b/gl2/glGetColorTable.xhtml @@ -1,4 +1,4 @@ -

Name

glGetColorTable — retrieve contents of a color lookup table

C Specification

void glGetColorTable(GLenum  target,
 GLenum  format,
 GLenum  type,
 GLvoid *  table);

Parameters

target

+

Name

glGetColorTable — retrieve contents of a color lookup table

C Specification

void glGetColorTable(GLenum  target,
 GLenum  format,
 GLenum  type,
 GLvoid *  table);

Parameters

target

Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or @@ -49,7 +49,7 @@ storage modes that are applicable to glReadPixels are performed.

- If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target (see glBindBuffer) while a histogram table is requested, table is treated as a byte offset into the buffer object's data store.

@@ -58,7 +58,7 @@ format of the color lookup table, are returned as zero. The assignments of internal color components to the components requested by format are -

+

Internal Component Resulting Component @@ -123,11 +123,11 @@ GL_PIXEL_PACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer + GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer object such that the memory writes required would exceed the data store size.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and table is not evenly divisible + GL_PIXEL_PACK_BUFFER target and table is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type.

GL_INVALID_OPERATION is generated if glGetColorTable is executed @@ -147,4 +147,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetColorTableParameter.xhtml b/gl2/glGetColorTableParameter.xhtml index 61f79a7a..5e0edfd3 100644 --- a/gl2/glGetColorTableParameter.xhtml +++ b/gl2/glGetColorTableParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetColorTableParameter — get color lookup table parameters

C Specification

void glGetColorTableParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetColorTableParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetColorTableParameter — get color lookup table parameters

C Specification

void glGetColorTableParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetColorTableParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

The target color table. Must be GL_COLOR_TABLE, @@ -46,7 +46,7 @@ params must point to an array of the given length and receive the values indicated.

-

+

Parameter N @@ -122,4 +122,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetCompressedTexImage.xhtml b/gl2/glGetCompressedTexImage.xhtml index 72791974..25fb3721 100644 --- a/gl2/glGetCompressedTexImage.xhtml +++ b/gl2/glGetCompressedTexImage.xhtml @@ -1,4 +1,4 @@ -

Name

glGetCompressedTexImage — return a compressed texture image

C Specification

void glGetCompressedTexImage(GLenum  target,
 GLint  lod,
 GLvoid *  img);

Parameters

target

+

Name

glGetCompressedTexImage — return a compressed texture image

C Specification

void glGetCompressedTexImage(GLenum  target,
 GLint  lod,
 GLvoid *  img);

Parameters

target

Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/gl2/glGetConvolutionFilter.xhtml b/gl2/glGetConvolutionFilter.xhtml index b3efe95f..9870bf0a 100644 --- a/gl2/glGetConvolutionFilter.xhtml +++ b/gl2/glGetConvolutionFilter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetConvolutionFilter — get current 1D or 2D convolution filter kernel

C Specification

void glGetConvolutionFilter(GLenum  target,
 GLenum  format,
 GLenum  type,
 GLvoid *  image);

Parameters

target

+

Name

glGetConvolutionFilter — get current 1D or 2D convolution filter kernel

C Specification

void glGetConvolutionFilter(GLenum  target,
 GLenum  format,
 GLenum  type,
 GLvoid *  image);

Parameters

target

The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or @@ -49,7 +49,7 @@ No pixel transfer operations are performed on this image, but the relevant pixel storage modes are applied.

- If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target (see glBindBuffer) while a convolution filter is requested, image is treated as a byte offset into the buffer object's data store.

@@ -57,7 +57,7 @@ internal format of the filter are returned as zero. The assignments of internal color components to the components of format are as follows. -

+

Internal Component Resulting Component @@ -124,11 +124,11 @@ GL_PIXEL_PACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer + GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer object such that the memory writes required would exceed the data store size.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and image is not evenly divisible + GL_PIXEL_PACK_BUFFER target and image is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type.

GL_INVALID_OPERATION is generated if glGetConvolutionFilter is executed @@ -150,4 +150,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetConvolutionParameter.xhtml b/gl2/glGetConvolutionParameter.xhtml index 4d2761de..ba1d3cd6 100644 --- a/gl2/glGetConvolutionParameter.xhtml +++ b/gl2/glGetConvolutionParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetConvolutionParameter — get convolution parameters

C Specification

void glGetConvolutionParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetConvolutionParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetConvolutionParameter — get convolution parameters

C Specification

void glGetConvolutionParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetConvolutionParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, @@ -86,4 +86,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetError.xhtml b/gl2/glGetError.xhtml index 64e774f7..a27cdd52 100644 --- a/gl2/glGetError.xhtml +++ b/gl2/glGetError.xhtml @@ -1,4 +1,4 @@ -

Name

glGetError — return error information

C Specification

GLenum glGetError(  void);

Description

+

Name

glGetError — return error information

C Specification

GLenum glGetError(  void);

Description

glGetError returns the value of the error flag. Each detectable error is assigned a numeric code and symbolic name. When an error occurs, @@ -78,4 +78,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetHistogram.xhtml b/gl2/glGetHistogram.xhtml index 3a36710a..bee56072 100644 --- a/gl2/glGetHistogram.xhtml +++ b/gl2/glGetHistogram.xhtml @@ -1,4 +1,4 @@ -

Name

glGetHistogram — get histogram table

C Specification

void glGetHistogram(GLenum  target,
 GLboolean  reset,
 GLenum  format,
 GLenum  type,
 GLvoid *  values);

Parameters

target

+

Name

glGetHistogram — get histogram table

C Specification

void glGetHistogram(GLenum  target,
 GLboolean  reset,
 GLenum  format,
 GLenum  type,
 GLvoid *  values);

Parameters

target

Must be GL_HISTOGRAM.

reset

@@ -50,7 +50,7 @@ No pixel transfer operations are performed on this image, but pixel storage modes that are applicable to 1D images are honored.

- If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target (see glBindBuffer) while a histogram table is requested, values is treated as a byte offset into the buffer object's data store.

@@ -59,7 +59,7 @@ zero. The assignments of internal color components to the components requested by format are: -

+

Internal Component Resulting Component @@ -118,11 +118,11 @@ GL_PIXEL_PACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer + GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer object such that the memory writes required would exceed the data store size.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and values is not evenly divisible + GL_PIXEL_PACK_BUFFER target and values is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type.

GL_INVALID_OPERATION is generated if glGetHistogram is executed @@ -142,4 +142,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetHistogramParameter.xhtml b/gl2/glGetHistogramParameter.xhtml index b9709bc6..dd757a2d 100644 --- a/gl2/glGetHistogramParameter.xhtml +++ b/gl2/glGetHistogramParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetHistogramParameter — get histogram parameters

C Specification

void glGetHistogramParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetHistogramParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetHistogramParameter — get histogram parameters

C Specification

void glGetHistogramParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetHistogramParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. @@ -23,7 +23,7 @@ GL_PROXY_HISTOGRAM (to obtain information from the most recent proxy request) and one of the following values for the pname argument:

-

+

Parameter Description @@ -83,4 +83,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetLight.xhtml b/gl2/glGetLight.xhtml index 7dd09090..314b83b4 100644 --- a/gl2/glGetLight.xhtml +++ b/gl2/glGetLight.xhtml @@ -1,4 +1,4 @@ -

Name

glGetLight — return light source parameter values

C Specification

void glGetLightfv(GLenum  light,
 GLenum  pname,
 GLfloat *  params);
void glGetLightiv(GLenum  light,
 GLenum  pname,
 GLint *  params);

Parameters

light

+

Name

glGetLight — return light source parameter values

C Specification

void glGetLightfv(GLenum  light,
 GLenum  pname,
 GLfloat *  params);
void glGetLightiv(GLenum  light,
 GLenum  pname,
 GLint *  params);

Parameters

light

Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. diff --git a/gl2/glGetMap.xhtml b/gl2/glGetMap.xhtml index a9fb0785..f7cdebca 100644 --- a/gl2/glGetMap.xhtml +++ b/gl2/glGetMap.xhtml @@ -1,4 +1,4 @@ -

Name

glGetMap — return evaluator parameters

C Specification

void glGetMapdv(GLenum  target,
 GLenum  query,
 GLdouble *  v);
void glGetMapfv(GLenum  target,
 GLenum  query,
 GLfloat *  v);
void glGetMapiv(GLenum  target,
 GLenum  query,
 GLint *  v);

Parameters

target

+

Name

glGetMap — return evaluator parameters

C Specification

void glGetMapdv(GLenum  target,
 GLenum  query,
 GLdouble *  v);
void glGetMapfv(GLenum  target,
 GLenum  query,
 GLfloat *  v);
void glGetMapiv(GLenum  target,
 GLenum  query,
 GLint *  v);

Parameters

target

Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, diff --git a/gl2/glGetMaterial.xhtml b/gl2/glGetMaterial.xhtml index 586132fb..f8d38696 100644 --- a/gl2/glGetMaterial.xhtml +++ b/gl2/glGetMaterial.xhtml @@ -1,4 +1,4 @@ -

Name

glGetMaterial — return material parameters

C Specification

void glGetMaterialfv(GLenum  face,
 GLenum  pname,
 GLfloat *  params);
void glGetMaterialiv(GLenum  face,
 GLenum  pname,
 GLint *  params);

Parameters

face

+

Name

glGetMaterial — return material parameters

C Specification

void glGetMaterialfv(GLenum  face,
 GLenum  pname,
 GLfloat *  params);
void glGetMaterialiv(GLenum  face,
 GLenum  pname,
 GLint *  params);

Parameters

face

Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, diff --git a/gl2/glGetMinmax.xhtml b/gl2/glGetMinmax.xhtml index 48fe9611..56f9e054 100644 --- a/gl2/glGetMinmax.xhtml +++ b/gl2/glGetMinmax.xhtml @@ -1,4 +1,4 @@ -

Name

glGetMinmax — get minimum and maximum pixel values

C Specification

void glGetMinmax(GLenum  target,
 GLboolean  reset,
 GLenum  format,
 GLenum  types,
 GLvoid *  values);

Parameters

target

+

Name

glGetMinmax — get minimum and maximum pixel values

C Specification

void glGetMinmax(GLenum  target,
 GLboolean  reset,
 GLenum  format,
 GLenum  types,
 GLvoid *  values);

Parameters

target

Must be GL_MINMAX.

reset

@@ -52,7 +52,7 @@ The format of the return values is determined by format, and their type is determined by types.

- If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target (see glBindBuffer) while minimum and maximum pixel values are requested, values is treated as a byte offset into the buffer object's data store.

@@ -63,7 +63,7 @@ returned as zero. The assignment of internal color components to the components requested by format are as follows:

-

+

Internal Component Resulting Component @@ -126,11 +126,11 @@ GL_PIXEL_PACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer + GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer object such that the memory writes required would exceed the data store size.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and values is not evenly divisible + GL_PIXEL_PACK_BUFFER target and values is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type.

GL_INVALID_OPERATION is generated if glGetMinmax is executed @@ -150,4 +150,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetMinmaxParameter.xhtml b/gl2/glGetMinmaxParameter.xhtml index 92be359d..b4d6dd82 100644 --- a/gl2/glGetMinmaxParameter.xhtml +++ b/gl2/glGetMinmaxParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetMinmaxParameter — get minmax parameters

C Specification

void glGetMinmaxParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetMinmaxParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetMinmaxParameter — get minmax parameters

C Specification

void glGetMinmaxParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetMinmaxParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

Must be GL_MINMAX.

pname

@@ -12,7 +12,7 @@ glGetMinmaxParameter retrieves parameters for the current minmax table by setting pname to one of the following values:

-

+

Parameter Description @@ -47,4 +47,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetPixelMap.xhtml b/gl2/glGetPixelMap.xhtml index decd0bff..0b9cfdcd 100644 --- a/gl2/glGetPixelMap.xhtml +++ b/gl2/glGetPixelMap.xhtml @@ -1,4 +1,4 @@ -

Name

glGetPixelMap — return the specified pixel map

C Specification

void glGetPixelMapfv(GLenum  map,
 GLfloat *  data);
void glGetPixelMapuiv(GLenum  map,
 GLuint *  data);
void glGetPixelMapusv(GLenum  map,
 GLushort *  data);

Parameters

map

+

Name

glGetPixelMap — return the specified pixel map

C Specification

void glGetPixelMapfv(GLenum  map,
 GLfloat *  data);
void glGetPixelMapuiv(GLenum  map,
 GLuint *  data);
void glGetPixelMapusv(GLenum  map,
 GLushort *  data);

Parameters

map

Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, @@ -38,7 +38,7 @@ color components, and depth components to other values.

- If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target (see glBindBuffer) while a pixel map is requested, data is treated as a byte offset into the buffer object's data store.

@@ -63,19 +63,19 @@ GL_PIXEL_PACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer + GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer object such that the memory writes required would exceed the data store size.

GL_INVALID_OPERATION is generated by glGetPixelMapfv if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and data is not evenly divisible + GL_PIXEL_PACK_BUFFER target and data is not evenly divisible into the number of bytes needed to store in memory a GLfloat datum.

GL_INVALID_OPERATION is generated by glGetPixelMapuiv if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and data is not evenly divisible + GL_PIXEL_PACK_BUFFER target and data is not evenly divisible into the number of bytes needed to store in memory a GLuint datum.

GL_INVALID_OPERATION is generated by glGetPixelMapusv if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and data is not evenly divisible + GL_PIXEL_PACK_BUFFER target and data is not evenly divisible into the number of bytes needed to store in memory a GLushort datum.

GL_INVALID_OPERATION is generated if glGetPixelMap @@ -141,4 +141,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetPointerv.xhtml b/gl2/glGetPointerv.xhtml index c13ab214..48ab277b 100644 --- a/gl2/glGetPointerv.xhtml +++ b/gl2/glGetPointerv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetPointerv — return the address of the specified pointer

C Specification

void glGetPointerv(GLenum  pname,
 GLvoid **  params);

Parameters

pname

+

Name

glGetPointerv — return the address of the specified pointer

C Specification

void glGetPointerv(GLenum  pname,
 GLvoid **  params);

Parameters

pname

Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, @@ -21,14 +21,14 @@ location in which to place the returned data.

For all pname arguments except GL_FEEDBACK_BUFFER_POINTER and GL_SELECTION_BUFFER_POINTER, - if a non-zero named buffer object was bound to the GL_ARRAY_BUFFER target + if a non-zero named buffer object was bound to the GL_ARRAY_BUFFER target (see glBindBuffer) when the desired pointer was previously specified, the pointer returned is a byte offset into the buffer object's data store. Buffer objects are only available in OpenGL versions 1.5 and greater.

Notes

glGetPointerv is available only if the GL version is 1.1 or greater.

- GL_FOG_COORD_ARRAY_POINTER and GL_SECONDARY_COLOR_ARRAY_POINTER + GL_FOG_COORD_ARRAY_POINTER and GL_SECONDARY_COLOR_ARRAY_POINTER are available only if the GL version is 1.4 or greater.

The pointers are all client-side state. @@ -62,4 +62,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetPolygonStipple.xhtml b/gl2/glGetPolygonStipple.xhtml index 39e5464e..c9cafa33 100644 --- a/gl2/glGetPolygonStipple.xhtml +++ b/gl2/glGetPolygonStipple.xhtml @@ -1,4 +1,4 @@ -

Name

glGetPolygonStipple — return the polygon stipple pattern

C Specification

void glGetPolygonStipple(GLubyte *  pattern);

Parameters

pattern

+

Name

glGetPolygonStipple — return the polygon stipple pattern

C Specification

void glGetPolygonStipple(GLubyte *  pattern);

Parameters

pattern

Returns the stipple pattern. The initial value is all 1's.

Description

glGetPolygonStipple returns to pattern a diff --git a/gl2/glGetProgram.xhtml b/gl2/glGetProgram.xhtml index 44b0710d..a01fab25 100644 --- a/gl2/glGetProgram.xhtml +++ b/gl2/glGetProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glGetProgramiv — Returns a parameter from a program object

C Specification

void glGetProgramiv(GLuint  program,
 GLenum  pname,
 GLint * params);

Parameters

program

Specifies the program object to be +

Name

glGetProgramiv — Returns a parameter from a program object

C Specification

void glGetProgramiv(GLuint  program,
 GLenum  pname,
 GLint * params);

Parameters

program

Specifies the program object to be queried.

pname

Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, @@ -84,8 +84,8 @@ glGetShader, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl2/glGetProgramInfoLog.xhtml b/gl2/glGetProgramInfoLog.xhtml index aa56786c..23adaefb 100644 --- a/gl2/glGetProgramInfoLog.xhtml +++ b/gl2/glGetProgramInfoLog.xhtml @@ -1,4 +1,4 @@ -

Name

glGetProgramInfoLog — Returns the information log for a program object

C Specification

void glGetProgramInfoLog(GLuint  program,
 GLsizei  maxLength,
 GLsizei * length,
 GLchar * infoLog);

Parameters

program

Specifies the program object whose information +

Name

glGetProgramInfoLog — Returns the information log for a program object

C Specification

void glGetProgramInfoLog(GLuint  program,
 GLsizei  maxLength,
 GLsizei * length,
 GLchar * infoLog);

Parameters

program

Specifies the program object whose information log is to be queried.

maxLength

Specifies the size of the character buffer for storing the returned information log.

length

Returns the length of the string returned in infoLog (excluding the null @@ -47,8 +47,8 @@ glGetShaderInfoLog, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl2/glGetQueryObject.xhtml b/gl2/glGetQueryObject.xhtml index fce624c1..a7a1c781 100644 --- a/gl2/glGetQueryObject.xhtml +++ b/gl2/glGetQueryObject.xhtml @@ -1,4 +1,4 @@ -

Name

glGetQueryObject — return parameters of a query object

C Specification

void glGetQueryObjectiv(GLuint  id,
 GLenum  pname,
 GLint *  params);
void glGetQueryObjectuiv(GLuint  id,
 GLenum  pname,
 GLuint *  params);

Parameters

id

+

Name

glGetQueryObject — return parameters of a query object

C Specification

void glGetQueryObjectiv(GLuint  id,
 GLenum  pname,
 GLint *  params);
void glGetQueryObjectuiv(GLuint  id,
 GLenum  pname,
 GLuint *  params);

Parameters

id

Specifies the name of a query object.

pname

Specifies the symbolic name of a query object parameter. @@ -11,11 +11,11 @@

pname names a specific query object parameter. pname can be as follows:

GL_QUERY_RESULT

- params returns the value of the query object's passed samples counter. + params returns the value of the query object's passed samples counter. The initial value is 0.

GL_QUERY_RESULT_AVAILABLE

params returns whether the passed samples counter is immediately available. - If a delay would occur waiting for the query result, GL_FALSE is returned. + If a delay would occur waiting for the query result, GL_FALSE is returned. Otherwise, GL_TRUE is returned, which also indicates that the results of all previous queries are available as well.

Notes

@@ -25,7 +25,7 @@ glGetQueryObject implicitly flushes the GL pipeline so that any incomplete rendering delimited by the occlusion query completes in finite time.

- If multiple queries are issued using the same query object id before calling + If multiple queries are issued using the same query object id before calling glGetQueryObject, the results of the most recent query will be returned. In this case, when issuing a new query, the results of the previous query are discarded.

@@ -35,7 +35,7 @@

GL_INVALID_OPERATION is generated if id is not the name of a query object.

- GL_INVALID_OPERATION is generated if id is the name of a currently active + GL_INVALID_OPERATION is generated if id is the name of a currently active query object.

GL_INVALID_OPERATION is generated if glGetQueryObject @@ -49,8 +49,8 @@ glGetQueryiv, glIsQuery

\ No newline at end of file +

diff --git a/gl2/glGetQueryiv.xhtml b/gl2/glGetQueryiv.xhtml index dd6177bf..867b68ea 100644 --- a/gl2/glGetQueryiv.xhtml +++ b/gl2/glGetQueryiv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetQueryiv — return parameters of a query object target

C Specification

void glGetQueryiv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetQueryiv — return parameters of a query object target

C Specification

void glGetQueryiv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

Specifies a query object target. Must be GL_SAMPLES_PASSED.

pname

@@ -10,14 +10,14 @@ glGetQueryiv returns in params a selected parameter of the query object target specified by target.

- pname names a specific query object target parameter. When target is + pname names a specific query object target parameter. When target is GL_SAMPLES_PASSED, pname can be as follows:

GL_CURRENT_QUERY

params returns the name of the currently active occlusion query object. If no occlusion query is active, 0 is returned. The initial value is 0.

GL_QUERY_COUNTER_BITS

params returns the number of bits in the query counter used to accumulate passing samples. - If the number of bits returned is 0, the implementation does not support a query counter, and the results + If the number of bits returned is 0, the implementation does not support a query counter, and the results obtained from glGetQueryObject are useless.

Notes

If an error is generated, @@ -37,8 +37,8 @@ glGetQueryObject, glIsQuery

\ No newline at end of file +

diff --git a/gl2/glGetSeparableFilter.xhtml b/gl2/glGetSeparableFilter.xhtml index be7ff3c0..35f43512 100644 --- a/gl2/glGetSeparableFilter.xhtml +++ b/gl2/glGetSeparableFilter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetSeparableFilter — get separable convolution filter kernel images

C Specification

void glGetSeparableFilter(GLenum  target,
 GLenum  format,
 GLenum  type,
 GLvoid *  row,
 GLvoid *  column,
 GLvoid *  span);

Parameters

target

+

Name

glGetSeparableFilter — get separable convolution filter kernel images

C Specification

void glGetSeparableFilter(GLenum  target,
 GLenum  format,
 GLenum  type,
 GLvoid *  row,
 GLvoid *  column,
 GLvoid *  span);

Parameters

target

The separable filter to be retrieved. Must be GL_SEPARABLE_2D. @@ -54,7 +54,7 @@ No pixel transfer operations are performed on the images, but the relevant pixel storage modes are applied.

- If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target (see glBindBuffer) while a separable convolution filter is requested, row, column, and span are treated as a byte offset into the buffer object's data store.

@@ -63,7 +63,7 @@ The assignments of internal color components to the components of format are as follows:

-

+

Internal Component Resulting Component @@ -128,11 +128,11 @@ GL_PIXEL_PACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer + GL_PIXEL_PACK_BUFFER target and the data would be packed to the buffer object such that the memory writes required would exceed the data store size.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_PACK_BUFFER target and row or column is not evenly divisible + GL_PIXEL_PACK_BUFFER target and row or column is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type.

GL_INVALID_OPERATION is generated if glGetSeparableFilter is executed @@ -153,4 +153,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetShader.xhtml b/gl2/glGetShader.xhtml index d4597df4..bc31beb0 100644 --- a/gl2/glGetShader.xhtml +++ b/gl2/glGetShader.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderiv — Returns a parameter from a shader object

C Specification

void glGetShaderiv(GLuint  shader,
 GLenum  pname,
 GLint * params);

Parameters

shader

Specifies the shader object to be +

Name

glGetShaderiv — Returns a parameter from a shader object

C Specification

void glGetShaderiv(GLuint  shader,
 GLenum  pname,
 GLint * params);

Parameters

shader

Specifies the shader object to be queried.

pname

Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, @@ -55,8 +55,8 @@ glDeleteShader, glGetProgram, glShaderSource

\ No newline at end of file +

diff --git a/gl2/glGetShaderInfoLog.xhtml b/gl2/glGetShaderInfoLog.xhtml index 04ee792b..734a3ce9 100644 --- a/gl2/glGetShaderInfoLog.xhtml +++ b/gl2/glGetShaderInfoLog.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderInfoLog — Returns the information log for a shader object

C Specification

void glGetShaderInfoLog(GLuint  shader,
 GLsizei  maxLength,
 GLsizei * length,
 GLchar * infoLog);

Parameters

shader

Specifies the shader object whose information +

Name

glGetShaderInfoLog — Returns the information log for a shader object

C Specification

void glGetShaderInfoLog(GLuint  shader,
 GLsizei  maxLength,
 GLsizei * length,
 GLchar * infoLog);

Parameters

shader

Specifies the shader object whose information log is to be queried.

maxLength

Specifies the size of the character buffer for storing the returned information log.

length

Returns the length of the string returned in infoLog (excluding the null @@ -44,8 +44,8 @@ glGetProgramInfoLog, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl2/glGetShaderSource.xhtml b/gl2/glGetShaderSource.xhtml index 138287a5..d82310a1 100644 --- a/gl2/glGetShaderSource.xhtml +++ b/gl2/glGetShaderSource.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderSource — Returns the source code string from a shader object

C Specification

void glGetShaderSource(GLuint  shader,
 GLsizei  bufSize,
 GLsizei * length,
 GLchar * source);

Parameters

shader

Specifies the shader object to be +

Name

glGetShaderSource — Returns the source code string from a shader object

C Specification

void glGetShaderSource(GLuint  shader,
 GLsizei  bufSize,
 GLsizei * length,
 GLchar * source);

Parameters

shader

Specifies the shader object to be queried.

bufSize

Specifies the size of the character buffer for storing the returned source code string.

length

Returns the length of the string returned in source (excluding the null @@ -37,8 +37,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl2/glGetString.xhtml b/gl2/glGetString.xhtml index 8497d6dc..42056d16 100644 --- a/gl2/glGetString.xhtml +++ b/gl2/glGetString.xhtml @@ -1,4 +1,4 @@ -

Name

glGetString — return a string describing the current GL connection

C Specification

const GLubyte* glGetString(GLenum  name);

Parameters

name

+

Name

glGetString — return a string describing the current GL connection

C Specification

const GLubyte* glGetString(GLenum  name);

Parameters

name

Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS.

Description

@@ -72,4 +72,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetTexEnv.xhtml b/gl2/glGetTexEnv.xhtml index 8a95396d..20ebdf42 100644 --- a/gl2/glGetTexEnv.xhtml +++ b/gl2/glGetTexEnv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexEnv — return texture environment parameters

C Specification

void glGetTexEnvfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);

void glGetTexEnviv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetTexEnv — return texture environment parameters

C Specification

void glGetTexEnvfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);

void glGetTexEnviv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or diff --git a/gl2/glGetTexGen.xhtml b/gl2/glGetTexGen.xhtml index 523d7860..57e5c9fd 100644 --- a/gl2/glGetTexGen.xhtml +++ b/gl2/glGetTexGen.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexGen — return texture coordinate generation parameters

C Specification

void glGetTexGendv(GLenum  coord,
 GLenum  pname,
 GLdouble *  params);
void glGetTexGenfv(GLenum  coord,
 GLenum  pname,
 GLfloat *  params);
void glGetTexGeniv(GLenum  coord,
 GLenum  pname,
 GLint *  params);

Parameters

coord

+

Name

glGetTexGen — return texture coordinate generation parameters

C Specification

void glGetTexGendv(GLenum  coord,
 GLenum  pname,
 GLdouble *  params);
void glGetTexGenfv(GLenum  coord,
 GLenum  pname,
 GLfloat *  params);
void glGetTexGeniv(GLenum  coord,
 GLenum  pname,
 GLint *  params);

Parameters

coord

Specifies a texture coordinate. Must be GL_S, @@ -64,4 +64,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glGetTexImage.xhtml b/gl2/glGetTexImage.xhtml index 45d5a41a..6ba55f6d 100644 --- a/gl2/glGetTexImage.xhtml +++ b/gl2/glGetTexImage.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexImage — return a texture image

C Specification

void glGetTexImage(GLenum  target,
 GLint  level,
 GLenum  format,
 GLenum  type,
 GLvoid *  img);

Parameters

target

+

Name

glGetTexImage — return a texture image

C Specification

void glGetTexImage(GLenum  target,
 GLint  level,
 GLenum  format,
 GLenum  type,
 GLvoid *  img);

Parameters

target

Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/gl2/glGetTexLevelParameter.xhtml b/gl2/glGetTexLevelParameter.xhtml index 64060dd3..e15bf520 100644 --- a/gl2/glGetTexLevelParameter.xhtml +++ b/gl2/glGetTexLevelParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexLevelParameter — return texture parameter values for a specific level of detail

C Specification

void glGetTexLevelParameterfv(GLenum  target,
 GLint  level,
 GLenum  pname,
 GLfloat *  params);
void glGetTexLevelParameteriv(GLenum  target,
 GLint  level,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetTexLevelParameter — return texture parameter values for a specific level of detail

C Specification

void glGetTexLevelParameterfv(GLenum  target,
 GLint  level,
 GLenum  pname,
 GLfloat *  params);
void glGetTexLevelParameteriv(GLenum  target,
 GLint  level,
 GLenum  pname,
 GLint *  params);

Parameters

target

Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, diff --git a/gl2/glGetTexParameter.xhtml b/gl2/glGetTexParameter.xhtml index 21cb5744..cf049a07 100644 --- a/gl2/glGetTexParameter.xhtml +++ b/gl2/glGetTexParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexParameter — return texture parameter values

C Specification

void glGetTexParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetTexParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetTexParameter — return texture parameter values

C Specification

void glGetTexParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetTexParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, diff --git a/gl2/glGetUniform.xhtml b/gl2/glGetUniform.xhtml index a647a20f..b88dd25a 100644 --- a/gl2/glGetUniform.xhtml +++ b/gl2/glGetUniform.xhtml @@ -1,4 +1,4 @@ -

Name

glGetUniform — Returns the value of a uniform variable

C Specification

void glGetUniformfv(GLuint  program,
 GLint  location,
 GLfloat * params);
void glGetUniformiv(GLuint  program,
 GLint  location,
 GLint * params);

Parameters

program

Specifies the program object to be +

Name

glGetUniform — Returns the value of a uniform variable

C Specification

void glGetUniformfv(GLuint  program,
 GLint  location,
 GLfloat * params);
void glGetUniformiv(GLuint  program,
 GLint  location,
 GLint * params);

Parameters

program

Specifies the program object to be queried.

location

Specifies the location of the uniform variable to be queried.

params

Returns the value of the specified uniform variable.

Description

glGetUniform returns in @@ -53,8 +53,8 @@

\ No newline at end of file +

diff --git a/gl2/glGetUniformLocation.xhtml b/gl2/glGetUniformLocation.xhtml index f19e4dfc..4967e6ae 100644 --- a/gl2/glGetUniformLocation.xhtml +++ b/gl2/glGetUniformLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glGetUniformLocation — Returns the location of a uniform variable

C Specification

GLint glGetUniformLocation(GLuint  program,
 const GLchar * name);

Parameters

program

Specifies the program object to be +

Name

glGetUniformLocation — Returns the location of a uniform variable

C Specification

GLint glGetUniformLocation(GLuint  program,
 const GLchar * name);

Parameters

program

Specifies the program object to be queried.

name

Points to a null terminated string containing the name of the uniform variable whose location is to be queried.

Description

glGetUniformLocation returns an @@ -58,8 +58,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl2/glGetVertexAttrib.xhtml b/gl2/glGetVertexAttrib.xhtml index 7b860017..069596d0 100644 --- a/gl2/glGetVertexAttrib.xhtml +++ b/gl2/glGetVertexAttrib.xhtml @@ -1,4 +1,4 @@ -

Name

glGetVertexAttrib — Return a generic vertex attribute parameter

C Specification

void glGetVertexAttribdv(GLuint  index,
 GLenum  pname,
 GLdouble * params);
void glGetVertexAttribfv(GLuint  index,
 GLenum  pname,
 GLfloat * params);
void glGetVertexAttribiv(GLuint  index,
 GLenum  pname,
 GLint * params);

Parameters

index

Specifies the generic vertex attribute +

Name

glGetVertexAttrib — Return a generic vertex attribute parameter

C Specification

void glGetVertexAttribdv(GLuint  index,
 GLenum  pname,
 GLdouble * params);
void glGetVertexAttribfv(GLuint  index,
 GLenum  pname,
 GLfloat * params);
void glGetVertexAttribiv(GLuint  index,
 GLenum  pname,
 GLint * params);

Parameters

index

Specifies the generic vertex attribute parameter to be queried.

pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, @@ -14,8 +14,8 @@ to be queried is specified by pname.

The accepted parameter names are as follows:

GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

params returns a single value, the name of the buffer object currently bound to - the binding point corresponding to generic vertex attribute array - index. If no buffer object is bound, + the binding point corresponding to generic vertex attribute array + index. If no buffer object is bound, 0 is returned. The initial value is 0.

GL_VERTEX_ATTRIB_ARRAY_ENABLED

params returns a single value that is non-zero (true) if the vertex @@ -81,8 +81,8 @@ glEnableVertexAttribArray, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl2/glGetVertexAttribPointerv.xhtml b/gl2/glGetVertexAttribPointerv.xhtml index 9b01ec17..62e6230a 100644 --- a/gl2/glGetVertexAttribPointerv.xhtml +++ b/gl2/glGetVertexAttribPointerv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetVertexAttribPointerv — return the address of the specified generic vertex attribute pointer

C Specification

void glGetVertexAttribPointerv(GLuint  index,
 GLenum  pname,
 GLvoid ** pointer);

Parameters

index

Specifies the generic vertex attribute +

Name

glGetVertexAttribPointerv — return the address of the specified generic vertex attribute pointer

C Specification

void glGetVertexAttribPointerv(GLuint  index,
 GLenum  pname,
 GLvoid ** pointer);

Parameters

index

Specifies the generic vertex attribute parameter to be returned.

pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.

pointer

Returns the pointer value.

Description

glGetVertexAttribPointerv returns @@ -6,7 +6,7 @@ vertex attribute to be queried, pname is a symbolic constant indicating the pointer to be returned, and params is a pointer to a location in - which to place the returned data.

If a non-zero named buffer object was bound to the GL_ARRAY_BUFFER target + which to place the returned data.

If a non-zero named buffer object was bound to the GL_ARRAY_BUFFER target (see glBindBuffer) when the desired pointer was previously specified, the pointer returned is a byte offset into the buffer object's data store.

Notes

glGetVertexAttribPointerv @@ -19,8 +19,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl2/glHint.xhtml b/gl2/glHint.xhtml index dd80b2d3..2e54a2d6 100644 --- a/gl2/glHint.xhtml +++ b/gl2/glHint.xhtml @@ -1,6 +1,6 @@ -

Name

glHint — specify implementation-specific hints

C Specification

void glHint(GLenum  target,
 GLenum  mode);

Parameters

target

+

Name

glHint — specify implementation-specific hints

C Specification

void glHint(GLenum  target,
 GLenum  mode);

Parameters

target

Specifies a symbolic constant indicating the behavior to be controlled. - GL_FOG_HINT, + GL_FOG_HINT, GL_GENERATE_MIPMAP_HINT, GL_LINE_SMOOTH_HINT, GL_PERSPECTIVE_CORRECTION_HINT, @@ -110,4 +110,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glHistogram.xhtml b/gl2/glHistogram.xhtml index ca24522c..27d1826f 100644 --- a/gl2/glHistogram.xhtml +++ b/gl2/glHistogram.xhtml @@ -1,4 +1,4 @@ -

Name

glHistogram — define histogram table

C Specification

void glHistogram(GLenum  target,
 GLsizei  width,
 GLenum  internalformat,
 GLboolean  sink);

Parameters

target

+

Name

glHistogram — define histogram table

C Specification

void glHistogram(GLenum  target,
 GLsizei  width,
 GLenum  internalformat,
 GLboolean  sink);

Parameters

target

The histogram whose parameters are to be set. Must be one of GL_HISTOGRAM or diff --git a/gl2/glIndex.xhtml b/gl2/glIndex.xhtml index b6ede291..350787d4 100644 --- a/gl2/glIndex.xhtml +++ b/gl2/glIndex.xhtml @@ -1,8 +1,8 @@

Name

glIndex — set the current color index

-

C Specification

void glIndexs(GLshort  c);
void glIndexi(GLint  c);
void glIndexf(GLfloat  c);
void glIndexd(GLdouble  c);
void glIndexub(GLubyte  c);

Parameters

c

+

C Specification

void glIndexs(GLshort  c);
void glIndexi(GLint  c);
void glIndexf(GLfloat  c);
void glIndexd(GLdouble  c);
void glIndexub(GLubyte  c);

Parameters

c

Specifies the new value for the current color index.

-

C Specification

void glIndexsv(const GLshort *  c);
void glIndexiv(const GLint *  c);
void glIndexfv(const GLfloat *  c);
void glIndexdv(const GLdouble *  c);
void glIndexubv(const GLubyte *  c);

Parameters

c

+

C Specification

void glIndexsv(const GLshort *  c);
void glIndexiv(const GLint *  c);
void glIndexfv(const GLfloat *  c);
void glIndexdv(const GLdouble *  c);
void glIndexubv(const GLubyte *  c);

Parameters

c

Specifies a pointer to a one-element array that contains the new value for the current color index.

Description

@@ -41,4 +41,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glIndexMask.xhtml b/gl2/glIndexMask.xhtml index 64f7e6ca..7e48752d 100644 --- a/gl2/glIndexMask.xhtml +++ b/gl2/glIndexMask.xhtml @@ -1,4 +1,4 @@ -

Name

glIndexMask — control the writing of individual bits in the color index buffers

C Specification

void glIndexMask(GLuint  mask);

Parameters

mask

+

Name

glIndexMask — control the writing of individual bits in the color index buffers

C Specification

void glIndexMask(GLuint  mask);

Parameters

mask

Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. diff --git a/gl2/glIndexPointer.xhtml b/gl2/glIndexPointer.xhtml index 74cf0997..aa1aefd7 100644 --- a/gl2/glIndexPointer.xhtml +++ b/gl2/glIndexPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glIndexPointer — define an array of color indexes

C Specification

void glIndexPointer(GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

type

+

Name

glIndexPointer — define an array of color indexes

C Specification

void glIndexPointer(GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

type

Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, @@ -22,7 +22,7 @@ color index to the next, allowing vertices and attributes to be packed into a single array or stored in separate arrays.

- If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a color index array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as color index vertex array @@ -106,4 +106,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glInitNames.xhtml b/gl2/glInitNames.xhtml index e34ced5b..68780cd9 100644 --- a/gl2/glInitNames.xhtml +++ b/gl2/glInitNames.xhtml @@ -1,4 +1,4 @@ -

Name

glInitNames — initialize the name stack

C Specification

void glInitNames(  void);

Description

+

Name

glInitNames — initialize the name stack

C Specification

void glInitNames(  void);

Description

The name stack is used during selection mode to allow sets of rendering commands to be uniquely identified. It consists of an ordered set of unsigned integers. @@ -26,4 +26,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glInterleavedArrays.xhtml b/gl2/glInterleavedArrays.xhtml index fc925210..805772cb 100644 --- a/gl2/glInterleavedArrays.xhtml +++ b/gl2/glInterleavedArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glInterleavedArrays — simultaneously specify and enable several interleaved arrays

C Specification

void glInterleavedArrays(GLenum  format,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

format

+

Name

glInterleavedArrays — simultaneously specify and enable several interleaved arrays

C Specification

void glInterleavedArrays(GLenum  format,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

format

Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, @@ -92,4 +92,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glIsBuffer.xhtml b/gl2/glIsBuffer.xhtml index a1e48dd0..bde9b095 100644 --- a/gl2/glIsBuffer.xhtml +++ b/gl2/glIsBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glIsBuffer — determine if a name corresponds to a buffer object

C Specification

GLboolean glIsBuffer(GLuint  buffer);

Parameters

buffer

+

Name

glIsBuffer — determine if a name corresponds to a buffer object

C Specification

GLboolean glIsBuffer(GLuint  buffer);

Parameters

buffer

Specifies a value that may be the name of a buffer object.

Description

glIsBuffer returns GL_TRUE if buffer is currently the name of a buffer object. @@ -21,8 +21,8 @@ glGenBuffers, glGet

\ No newline at end of file +

diff --git a/gl2/glIsEnabled.xhtml b/gl2/glIsEnabled.xhtml index 7d3128f0..11f94297 100644 --- a/gl2/glIsEnabled.xhtml +++ b/gl2/glIsEnabled.xhtml @@ -1,4 +1,4 @@ -

Name

glIsEnabled — test whether a capability is enabled

C Specification

GLboolean glIsEnabled(GLenum  cap);

Parameters

cap

+

Name

glIsEnabled — test whether a capability is enabled

C Specification

GLboolean glIsEnabled(GLenum  cap);

Parameters

cap

Specifies a symbolic constant indicating a GL capability.

Description

glIsEnabled returns GL_TRUE if cap is an enabled capability @@ -8,7 +8,7 @@

The following capabilities are accepted for cap:

-

+

Constant See @@ -201,15 +201,15 @@ glPolygonMode
- GL_POLYGON_OFFSET_FILL + GL_POLYGON_OFFSET_FILL glPolygonOffset
- GL_POLYGON_OFFSET_LINE + GL_POLYGON_OFFSET_LINE glPolygonOffset
- GL_POLYGON_OFFSET_POINT + GL_POLYGON_OFFSET_POINT glPolygonOffset
@@ -383,4 +383,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glIsList.xhtml b/gl2/glIsList.xhtml index 809c0c25..84a8284c 100644 --- a/gl2/glIsList.xhtml +++ b/gl2/glIsList.xhtml @@ -1,4 +1,4 @@ -

Name

glIsList — determine if a name corresponds to a display list

C Specification

GLboolean glIsList(GLuint  list);

Parameters

list

+

Name

glIsList — determine if a name corresponds to a display list

C Specification

GLboolean glIsList(GLuint  list);

Parameters

list

Specifies a potential display list name.

Description

glIsList returns GL_TRUE if list is the name @@ -24,4 +24,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glIsProgram.xhtml b/gl2/glIsProgram.xhtml index ef351e6c..a722afff 100644 --- a/gl2/glIsProgram.xhtml +++ b/gl2/glIsProgram.xhtml @@ -1,14 +1,14 @@ -

Name

glIsProgram — Determines if a name corresponds to a program object

C Specification

GLboolean glIsProgram(GLuint  program);

Parameters

program

Specifies a potential program object.

Description

glIsProgram returns +

Name

glIsProgram — Determines if a name corresponds to a program object

C Specification

GLboolean glIsProgram(GLuint  program);

Parameters

program

Specifies a potential program object.

Description

glIsProgram returns GL_TRUE if program - is the name of a program object previously created with - glCreateProgram + is the name of a program object previously created with + glCreateProgram and not yet deleted with glDeleteProgram. If program is zero or a non-zero value that - is not the name of a program object, or if an error occurs, + is not the name of a program object, or if an error occurs, glIsProgram returns GL_FALSE.

Notes

glIsProgram is available only if the GL version is 2.0 or greater.

No error is generated if program is not a valid program object name.

A program object marked for deletion with glDeleteProgram - but still in use as part of current rendering state is still considered + but still in use as part of current rendering state is still considered a program object and glIsProgram will return GL_TRUE.

Errors

GL_INVALID_OPERATION is generated if glIsProgram is executed between the execution of @@ -40,8 +40,8 @@ glUniform, glUseProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl2/glIsQuery.xhtml b/gl2/glIsQuery.xhtml index 395b8637..6dc7e8ba 100644 --- a/gl2/glIsQuery.xhtml +++ b/gl2/glIsQuery.xhtml @@ -1,4 +1,4 @@ -

Name

glIsQuery — determine if a name corresponds to a query object

C Specification

GLboolean glIsQuery(GLuint  id);

Parameters

id

+

Name

glIsQuery — determine if a name corresponds to a query object

C Specification

GLboolean glIsQuery(GLuint  id);

Parameters

id

Specifies a value that may be the name of a query object.

Description

glIsQuery returns GL_TRUE if id is currently the name of a query object. @@ -21,8 +21,8 @@ glEndQuery, glGenQueries

\ No newline at end of file +

diff --git a/gl2/glIsShader.xhtml b/gl2/glIsShader.xhtml index 243edefe..7b1329ac 100644 --- a/gl2/glIsShader.xhtml +++ b/gl2/glIsShader.xhtml @@ -1,15 +1,15 @@ -

Name

glIsShader — Determines if a name corresponds to a shader object

C Specification

GLboolean glIsShader(GLuint  shader);

Parameters

shader

Specifies a potential shader object.

Description

glIsShader returns +

Name

glIsShader — Determines if a name corresponds to a shader object

C Specification

GLboolean glIsShader(GLuint  shader);

Parameters

shader

Specifies a potential shader object.

Description

glIsShader returns GL_TRUE if shader is - the name of a shader object previously created with - glCreateShader - and not yet deleted with glDeleteShader. + the name of a shader object previously created with + glCreateShader + and not yet deleted with glDeleteShader. If shader is zero or a non-zero value that is not the name of a shader object, or if an error occurs, glIsShader returns GL_FALSE.

Notes

glIsShader is available only if the GL version is 2.0 or greater.

No error is generated if shader is not a valid shader object name.

A shader object marked for deletion with glDeleteShader - but still attached to a program object is still considered + but still attached to a program object is still considered a shader object and glIsShader will return GL_TRUE.

Errors

GL_INVALID_OPERATION is generated if glIsShader is executed between the execution of @@ -29,8 +29,8 @@ glDetachShader, glLinkProgram, glShaderSource

\ No newline at end of file +

diff --git a/gl2/glIsTexture.xhtml b/gl2/glIsTexture.xhtml index e2a7d14d..cb5f3cb6 100644 --- a/gl2/glIsTexture.xhtml +++ b/gl2/glIsTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glIsTexture — determine if a name corresponds to a texture

C Specification

GLboolean glIsTexture(GLuint  texture);

Parameters

texture

+

Name

glIsTexture — determine if a name corresponds to a texture

C Specification

GLboolean glIsTexture(GLuint  texture);

Parameters

texture

Specifies a value that may be the name of a texture.

Description

glIsTexture returns GL_TRUE if texture is currently the name of a texture. @@ -32,4 +32,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glLight.xhtml b/gl2/glLight.xhtml index 45a8aeba..5df6232e 100644 --- a/gl2/glLight.xhtml +++ b/gl2/glLight.xhtml @@ -1,4 +1,4 @@ -

Name

glLight — set light source parameters

C Specification

void glLightf(GLenum  light,
 GLenum  pname,
 GLfloat  param);
void glLighti(GLenum  light,
 GLenum  pname,
 GLint  param);

Parameters

light

+

Name

glLight — set light source parameters

C Specification

void glLightf(GLenum  light,
 GLenum  pname,
 GLfloat  param);
void glLighti(GLenum  light,
 GLenum  pname,
 GLint  param);

Parameters

light

Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. @@ -15,7 +15,7 @@

param

Specifies the value that parameter pname of light source light will be set to. -

C Specification

void glLightfv(GLenum  light,
 GLenum  pname,
 const GLfloat *  params);
void glLightiv(GLenum  light,
 GLenum  pname,
 const GLint *  params);

Parameters

light

+

C Specification

void glLightfv(GLenum  light,
 GLenum  pname,
 const GLfloat *  params);
void glLightiv(GLenum  light,
 GLenum  pname,
 const GLint *  params);

Parameters

light

Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. diff --git a/gl2/glLightModel.xhtml b/gl2/glLightModel.xhtml index 3919c881..91089711 100644 --- a/gl2/glLightModel.xhtml +++ b/gl2/glLightModel.xhtml @@ -1,11 +1,11 @@ -

Name

glLightModel — set the lighting model parameters

C Specification

void glLightModelf(GLenum  pname,
 GLfloat  param);
void glLightModeli(GLenum  pname,
 GLint  param);

Parameters

pname

+

Name

glLightModel — set the lighting model parameters

C Specification

void glLightModelf(GLenum  pname,
 GLfloat  param);
void glLightModeli(GLenum  pname,
 GLint  param);

Parameters

pname

Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted.

param

Specifies the value that param will be set to. -

C Specification

void glLightModelfv(GLenum  pname,
 const GLfloat *  params);
void glLightModeliv(GLenum  pname,
 const GLint *  params);

Parameters

pname

+

C Specification

void glLightModelfv(GLenum  pname,
 const GLfloat *  params);
void glLightModeliv(GLenum  pname,
 const GLint *  params);

Parameters

pname

Specifies a lighting model parameter. GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_COLOR_CONTROL, diff --git a/gl2/glLineStipple.xhtml b/gl2/glLineStipple.xhtml index 08b40eea..3408f22b 100644 --- a/gl2/glLineStipple.xhtml +++ b/gl2/glLineStipple.xhtml @@ -1,4 +1,4 @@ -

Name

glLineStipple — specify the line stipple pattern

C Specification

void glLineStipple(GLint  factor,
 GLushort  pattern);

Parameters

factor

+

Name

glLineStipple — specify the line stipple pattern

C Specification

void glLineStipple(GLint  factor,
 GLushort  pattern);

Parameters

factor

Specifies a multiplier for each bit in the line stipple pattern. If factor is 3, for example, diff --git a/gl2/glLineWidth.xhtml b/gl2/glLineWidth.xhtml index 33cdd9c6..0a3fdb86 100644 --- a/gl2/glLineWidth.xhtml +++ b/gl2/glLineWidth.xhtml @@ -1,4 +1,4 @@ -

Name

glLineWidth — specify the width of rasterized lines

C Specification

void glLineWidth(GLfloat  width);

Parameters

width

+

Name

glLineWidth — specify the width of rasterized lines

C Specification

void glLineWidth(GLfloat  width);

Parameters

width

Specifies the width of rasterized lines. The initial value is 1.

Description

diff --git a/gl2/glLinkProgram.xhtml b/gl2/glLinkProgram.xhtml index f5c030a8..51bf3be8 100644 --- a/gl2/glLinkProgram.xhtml +++ b/gl2/glLinkProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glLinkProgram — Links a program object

C Specification

void glLinkProgram(GLuint  program);

Parameters

program

Specifies the handle of the program object to be linked.

Description

glLinkProgram links the program +

Name

glLinkProgram — Links a program object

C Specification

void glLinkProgram(GLuint  program);

Parameters

program

Specifies the handle of the program object to be linked.

Description

glLinkProgram links the program object specified by program. If any shader objects of type GL_VERTEX_SHADER are attached to program, they will be used to @@ -110,8 +110,8 @@ glUniform, glUseProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl2/glListBase.xhtml b/gl2/glListBase.xhtml index e0e2cfa1..f279686b 100644 --- a/gl2/glListBase.xhtml +++ b/gl2/glListBase.xhtml @@ -1,4 +1,4 @@ -

Name

glListBase — set the display-list base for glCallLists

C Specification

void glListBase(GLuint  base);

Parameters

base

+

Name

glListBase — set the display-list base for glCallLists

C Specification

void glListBase(GLuint  base);

Parameters

base

Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. @@ -22,4 +22,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glLoadIdentity.xhtml b/gl2/glLoadIdentity.xhtml index 2bf0fc11..b98b5d39 100644 --- a/gl2/glLoadIdentity.xhtml +++ b/gl2/glLoadIdentity.xhtml @@ -1,4 +1,4 @@ -

Name

glLoadIdentity — replace the current matrix with the identity matrix

C Specification

void glLoadIdentity(  void);

Description

+

Name

glLoadIdentity — replace the current matrix with the identity matrix

C Specification

void glLoadIdentity(  void);

Description

glLoadIdentity replaces the current matrix with the identity matrix. It is semantically equivalent to calling glLoadMatrix with the identity matrix diff --git a/gl2/glLoadMatrix.xhtml b/gl2/glLoadMatrix.xhtml index ede03e35..928b6c25 100644 --- a/gl2/glLoadMatrix.xhtml +++ b/gl2/glLoadMatrix.xhtml @@ -1,4 +1,4 @@ -

Name

glLoadMatrix — replace the current matrix with the specified matrix

C Specification

void glLoadMatrixd(const GLdouble *  m);
void glLoadMatrixf(const GLfloat *  m);

Parameters

m

+

Name

glLoadMatrix — replace the current matrix with the specified matrix

C Specification

void glLoadMatrixd(const GLdouble *  m);
void glLoadMatrixf(const GLfloat *  m);

Parameters

m

Specifies a pointer to 16 consecutive values, which are used as the elements of a diff --git a/gl2/glLoadName.xhtml b/gl2/glLoadName.xhtml index 3ceb3489..e94df236 100644 --- a/gl2/glLoadName.xhtml +++ b/gl2/glLoadName.xhtml @@ -1,4 +1,4 @@ -

Name

glLoadName — load a name onto the name stack

C Specification

void glLoadName(GLuint  name);

Parameters

name

+

Name

glLoadName — load a name onto the name stack

C Specification

void glLoadName(GLuint  name);

Parameters

name

Specifies a name that will replace the top value on the name stack.

Description

The name stack is used during selection mode to allow sets of rendering @@ -31,4 +31,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glLoadTransposeMatrix.xhtml b/gl2/glLoadTransposeMatrix.xhtml index 19d96c19..ecf8f960 100644 --- a/gl2/glLoadTransposeMatrix.xhtml +++ b/gl2/glLoadTransposeMatrix.xhtml @@ -1,4 +1,4 @@ -

Name

glLoadTransposeMatrix — replace the current matrix with the specified row-major ordered matrix

C Specification

void glLoadTransposeMatrixd(const GLdouble *  m);
void glLoadTransposeMatrixf(const GLfloat *  m);

Parameters

m

+

Name

glLoadTransposeMatrix — replace the current matrix with the specified row-major ordered matrix

C Specification

void glLoadTransposeMatrixd(const GLdouble *  m);
void glLoadTransposeMatrixf(const GLfloat *  m);

Parameters

m

Specifies a pointer to 16 consecutive values, which are used as the elements of a diff --git a/gl2/glLogicOp.xhtml b/gl2/glLogicOp.xhtml index 175c87b4..b8c40d41 100644 --- a/gl2/glLogicOp.xhtml +++ b/gl2/glLogicOp.xhtml @@ -1,4 +1,4 @@ -

Name

glLogicOp — specify a logical pixel operation for color index rendering

C Specification

void glLogicOp(GLenum  opcode);

Parameters

opcode

+

Name

glLogicOp — specify a logical pixel operation for color index rendering

C Specification

void glLogicOp(GLenum  opcode);

Parameters

opcode

Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, @@ -29,7 +29,7 @@ GL_INDEX_LOGIC_OP for color index mode. The initial value is disabled for both operations.

-

+

Opcode Resulting Operation @@ -137,4 +137,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glMap1.xhtml b/gl2/glMap1.xhtml index bc6c4c55..0862b7c5 100644 --- a/gl2/glMap1.xhtml +++ b/gl2/glMap1.xhtml @@ -1,4 +1,4 @@ -

Name

glMap1 — define a one-dimensional evaluator

C Specification

void glMap1f(GLenum  target,
 GLfloat  u1,
 GLfloat  u2,
 GLint  stride,
 GLint  order,
 const GLfloat *  points);
void glMap1d(GLenum  target,
 GLdouble  u1,
 GLdouble  u2,
 GLint  stride,
 GLint  order,
 const GLdouble *  points);

Parameters

target

+

Name

glMap1 — define a one-dimensional evaluator

C Specification

void glMap1f(GLenum  target,
 GLfloat  u1,
 GLfloat  u2,
 GLint  stride,
 GLint  order,
 const GLfloat *  points);
void glMap1d(GLenum  target,
 GLdouble  u1,
 GLdouble  u2,
 GLint  stride,
 GLint  order,
 const GLdouble *  points);

Parameters

target

Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, diff --git a/gl2/glMap2.xhtml b/gl2/glMap2.xhtml index ea6d1120..a42a3609 100644 --- a/gl2/glMap2.xhtml +++ b/gl2/glMap2.xhtml @@ -1,4 +1,4 @@ -

Name

glMap2 — define a two-dimensional evaluator

C Specification

void glMap2f(GLenum  target,
 GLfloat  u1,
 GLfloat  u2,
 GLint  ustride,
 GLint  uorder,
 GLfloat  v1,
 GLfloat  v2,
 GLint  vstride,
 GLint  vorder,
 const GLfloat *  points);
void glMap2d(GLenum  target,
 GLdouble  u1,
 GLdouble  u2,
 GLint  ustride,
 GLint  uorder,
 GLdouble  v1,
 GLdouble  v2,
 GLint  vstride,
 GLint  vorder,
 const GLdouble *  points);

Parameters

target

+

Name

glMap2 — define a two-dimensional evaluator

C Specification

void glMap2f(GLenum  target,
 GLfloat  u1,
 GLfloat  u2,
 GLint  ustride,
 GLint  uorder,
 GLfloat  v1,
 GLfloat  v2,
 GLint  vstride,
 GLint  vorder,
 const GLfloat *  points);
void glMap2d(GLenum  target,
 GLdouble  u1,
 GLdouble  u2,
 GLint  ustride,
 GLint  uorder,
 GLdouble  v1,
 GLdouble  v2,
 GLint  vstride,
 GLint  vorder,
 const GLdouble *  points);

Parameters

target

Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, diff --git a/gl2/glMapBuffer.xhtml b/gl2/glMapBuffer.xhtml index f623f6d5..c15bcfd5 100644 --- a/gl2/glMapBuffer.xhtml +++ b/gl2/glMapBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glMapBuffer — map a buffer object's data store

C Specification

void * glMapBuffer(GLenum  target,
 GLenum  access);

Parameters

target

+

Name

glMapBuffer — map a buffer object's data store

C Specification

void * glMapBuffer(GLenum  target,
 GLenum  access);

Parameters

target

Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, @@ -9,7 +9,7 @@ Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. -

C Specification

GLboolean glUnmapBuffer(GLenum  target);

Parameters

target

+

C Specification

GLboolean glUnmapBuffer(GLenum  target);

Parameters

target

Specifies the target buffer object being unmapped. The symbolic constant must be GL_ARRAY_BUFFER, @@ -17,18 +17,18 @@ GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.

Description

- glMapBuffer maps to the client's address space the entire data store of the buffer object - currently bound to target. The data can then be directly read and/or written relative to + glMapBuffer maps to the client's address space the entire data store of the buffer object + currently bound to target. The data can then be directly read and/or written relative to the returned pointer, depending on the specified access policy. If the GL is unable to - map the buffer object's data store, glMapBuffer generates an error and returns + map the buffer object's data store, glMapBuffer generates an error and returns NULL. This may occur for system-specific reasons, such as low virtual memory availability.

If a mapped data store is accessed in a way inconsistent with the specified access policy, - no error is generated, but performance may be negatively impacted and system errors, including program - termination, may result. Unlike the usage parameter of glBufferData, + no error is generated, but performance may be negatively impacted and system errors, including program + termination, may result. Unlike the usage parameter of glBufferData, access is not a hint, and does in fact constrain the usage of the mapped data store on - some GL implementations. In order to achieve the highest performance available, a buffer object's data store - should be used in ways consistent with both its specified usage and + some GL implementations. In order to achieve the highest performance available, a buffer object's data store + should be used in ways consistent with both its specified usage and access parameters.

A mapped data store must be unmapped with glUnmapBuffer before its buffer object is used. @@ -39,7 +39,7 @@ memory, such as screen mode changes. In such situations, GL_FALSE is returned and the data store contents are undefined. An application must detect this rare condition and reinitialize the data store.

- A buffer object's mapped data store is automatically unmapped when the buffer object is deleted or its data store + A buffer object's mapped data store is automatically unmapped when the buffer object is deleted or its data store is recreated with glBufferData.

Notes

If an error is generated, glMapBuffer returns NULL, and @@ -47,21 +47,21 @@

glMapBuffer and glUnmapBuffer are available only if the GL version is 1.5 or greater.

- GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are + GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available only if the GL version is 2.1 or greater.

Parameter values passed to GL commands may not be sourced from the returned pointer. No error will be generated, but results will be undefined and will likely vary across GL implementations.

Errors

- GL_INVALID_ENUM is generated if target is not - GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, + GL_INVALID_ENUM is generated if target is not + GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.

- GL_INVALID_ENUM is generated if access is not + GL_INVALID_ENUM is generated if access is not GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE.

GL_OUT_OF_MEMORY is generated when glMapBuffer is executed - if the GL is unable to map the buffer object's data store. This may occur for a variety of system-specific + if the GL is unable to map the buffer object's data store. This may occur for a variety of system-specific reasons, such as the absence of sufficient remaining virtual memory.

GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target. @@ -87,8 +87,8 @@ glBufferSubData, glDeleteBuffers

\ No newline at end of file +

diff --git a/gl2/glMapGrid.xhtml b/gl2/glMapGrid.xhtml index 38752302..adbb3db0 100644 --- a/gl2/glMapGrid.xhtml +++ b/gl2/glMapGrid.xhtml @@ -1,4 +1,4 @@ -

Name

glMapGrid — define a one- or two-dimensional mesh

C Specification

void glMapGrid1d(GLint  un,
 GLdouble  u1,
 GLdouble  u2);
void glMapGrid1f(GLint  un,
 GLfloat  u1,
 GLfloat  u2);
void glMapGrid2d(GLint  un,
 GLdouble  u1,
 GLdouble  u2,
 GLint  vn,
 GLdouble  v1,
 GLdouble  v2);
void glMapGrid2f(GLint  un,
 GLfloat  u1,
 GLfloat  u2,
 GLint  vn,
 GLfloat  v1,
 GLfloat  v2);

Parameters

un

+

Name

glMapGrid — define a one- or two-dimensional mesh

C Specification

void glMapGrid1d(GLint  un,
 GLdouble  u1,
 GLdouble  u2);
void glMapGrid1f(GLint  un,
 GLfloat  u1,
 GLfloat  u2);
void glMapGrid2d(GLint  un,
 GLdouble  u1,
 GLdouble  u2,
 GLint  vn,
 GLdouble  v1,
 GLdouble  v2);
void glMapGrid2f(GLint  un,
 GLfloat  u1,
 GLfloat  u2,
 GLint  vn,
 GLfloat  v1,
 GLfloat  v2);

Parameters

un

Specifies the number of partitions in the grid range interval [u1, u2]. Must be positive. diff --git a/gl2/glMaterial.xhtml b/gl2/glMaterial.xhtml index b7e35323..2319a83a 100644 --- a/gl2/glMaterial.xhtml +++ b/gl2/glMaterial.xhtml @@ -1,4 +1,4 @@ -

Name

glMaterial — specify material parameters for the lighting model

C Specification

void glMaterialf(GLenum  face,
 GLenum  pname,
 GLfloat  param);
void glMateriali(GLenum  face,
 GLenum  pname,
 GLint  param);

Parameters

face

+

Name

glMaterial — specify material parameters for the lighting model

C Specification

void glMaterialf(GLenum  face,
 GLenum  pname,
 GLfloat  param);
void glMateriali(GLenum  face,
 GLenum  pname,
 GLint  param);

Parameters

face

Specifies which face or faces are being updated. Must be one of GL_FRONT, @@ -10,7 +10,7 @@ Must be GL_SHININESS.

param

Specifies the value that parameter GL_SHININESS will be set to. -

C Specification

void glMaterialfv(GLenum  face,
 GLenum  pname,
 const GLfloat *  params);
void glMaterialiv(GLenum  face,
 GLenum  pname,
 const GLint *  params);

Parameters

face

+

C Specification

void glMaterialfv(GLenum  face,
 GLenum  pname,
 const GLfloat *  params);
void glMaterialiv(GLenum  face,
 GLenum  pname,
 const GLint *  params);

Parameters

face

Specifies which face or faces are being updated. Must be one of GL_FRONT, diff --git a/gl2/glMatrixMode.xhtml b/gl2/glMatrixMode.xhtml index c140944e..a9e3cdfb 100644 --- a/gl2/glMatrixMode.xhtml +++ b/gl2/glMatrixMode.xhtml @@ -1,4 +1,4 @@ -

Name

glMatrixMode — specify which matrix is the current matrix

C Specification

void glMatrixMode(GLenum  mode);

Parameters

mode

+

Name

glMatrixMode — specify which matrix is the current matrix

C Specification

void glMatrixMode(GLenum  mode);

Parameters

mode

Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: @@ -45,4 +45,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glMinmax.xhtml b/gl2/glMinmax.xhtml index 6d1b138c..900afa69 100644 --- a/gl2/glMinmax.xhtml +++ b/gl2/glMinmax.xhtml @@ -1,4 +1,4 @@ -

Name

glMinmax — define minmax table

C Specification

void glMinmax(GLenum  target,
 GLenum  internalformat,
 GLboolean  sink);

Parameters

target

+

Name

glMinmax — define minmax table

C Specification

void glMinmax(GLenum  target,
 GLenum  internalformat,
 GLboolean  sink);

Parameters

target

The minmax table whose parameters are to be set. Must be GL_MINMAX. @@ -98,4 +98,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glMultMatrix.xhtml b/gl2/glMultMatrix.xhtml index aad82b22..70decc64 100644 --- a/gl2/glMultMatrix.xhtml +++ b/gl2/glMultMatrix.xhtml @@ -1,4 +1,4 @@ -

Name

glMultMatrix — multiply the current matrix with the specified matrix

C Specification

void glMultMatrixd(const GLdouble *  m);
void glMultMatrixf(const GLfloat *  m);

Parameters

m

+

Name

glMultMatrix — multiply the current matrix with the specified matrix

C Specification

void glMultMatrixd(const GLdouble *  m);
void glMultMatrixf(const GLfloat *  m);

Parameters

m

Points to 16 consecutive values that are used as the elements of a diff --git a/gl2/glMultTransposeMatrix.xhtml b/gl2/glMultTransposeMatrix.xhtml index 12c9d91f..44168988 100644 --- a/gl2/glMultTransposeMatrix.xhtml +++ b/gl2/glMultTransposeMatrix.xhtml @@ -1,4 +1,4 @@ -

Name

glMultTransposeMatrix — multiply the current matrix with the specified row-major ordered matrix

C Specification

void glMultTransposeMatrixd(const GLdouble *  m);
void glMultTransposeMatrixf(const GLfloat *  m);

Parameters

m

+

Name

glMultTransposeMatrix — multiply the current matrix with the specified row-major ordered matrix

C Specification

void glMultTransposeMatrixd(const GLdouble *  m);
void glMultTransposeMatrixf(const GLfloat *  m);

Parameters

m

Points to 16 consecutive values that are used as the elements of a diff --git a/gl2/glMultiDrawArrays.xhtml b/gl2/glMultiDrawArrays.xhtml index cdb05ee3..81f4798d 100644 --- a/gl2/glMultiDrawArrays.xhtml +++ b/gl2/glMultiDrawArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glMultiDrawArrays — render multiple sets of primitives from array data

C Specification

void glMultiDrawArrays(GLenum  mode,
 GLint *  first,
 GLsizei *  count,
 GLsizei  primcount);

Parameters

mode

+

Name

glMultiDrawArrays — render multiple sets of primitives from array data

C Specification

void glMultiDrawArrays(GLenum  mode,
 GLint *  first,
 GLsizei *  count,
 GLsizei  primcount);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -82,4 +82,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glMultiDrawElements.xhtml b/gl2/glMultiDrawElements.xhtml index fd6fee7a..48576f3b 100644 --- a/gl2/glMultiDrawElements.xhtml +++ b/gl2/glMultiDrawElements.xhtml @@ -1,4 +1,4 @@ -

Name

glMultiDrawElements — render multiple sets of primitives by specifying indices of array data elements

C Specification

void glMultiDrawElements(GLenum  mode,
 const GLsizei *  count,
 GLenum  type,
 const GLvoid **  indices,
 GLsizei  primcount);

Parameters

mode

+

Name

glMultiDrawElements — render multiple sets of primitives by specifying indices of array data elements

C Specification

void glMultiDrawElements(GLenum  mode,
 const GLsizei *  count,
 GLenum  type,
 const GLvoid **  indices,
 GLsizei  primcount);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -77,4 +77,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glMultiTexCoord.xhtml b/gl2/glMultiTexCoord.xhtml index af53f4d2..2c290b31 100644 --- a/gl2/glMultiTexCoord.xhtml +++ b/gl2/glMultiTexCoord.xhtml @@ -1,4 +1,4 @@ -

Name

glMultiTexCoord — set the current texture coordinates

C Specification

void glMultiTexCoord1s(GLenum  target,
 GLshort  s);
void glMultiTexCoord1i(GLenum  target,
 GLint  s);
void glMultiTexCoord1f(GLenum  target,
 GLfloat  s);
void glMultiTexCoord1d(GLenum  target,
 GLdouble  s);
void glMultiTexCoord2s(GLenum  target,
 GLshort  s,
 GLshort  t);
void glMultiTexCoord2i(GLenum  target,
 GLint  s,
 GLint  t);
void glMultiTexCoord2f(GLenum  target,
 GLfloat  s,
 GLfloat  t);
void glMultiTexCoord2d(GLenum  target,
 GLdouble  s,
 GLdouble  t);
void glMultiTexCoord3s(GLenum  target,
 GLshort  s,
 GLshort  t,
 GLshort  r);
void glMultiTexCoord3i(GLenum  target,
 GLint  s,
 GLint  t,
 GLint  r);
void glMultiTexCoord3f(GLenum  target,
 GLfloat  s,
 GLfloat  t,
 GLfloat  r);
void glMultiTexCoord3d(GLenum  target,
 GLdouble  s,
 GLdouble  t,
 GLdouble  r);
void glMultiTexCoord4s(GLenum  target,
 GLshort  s,
 GLshort  t,
 GLshort  r,
 GLshort  q);
void glMultiTexCoord4i(GLenum  target,
 GLint  s,
 GLint  t,
 GLint  r,
 GLint  q);
void glMultiTexCoord4f(GLenum  target,
 GLfloat  s,
 GLfloat  t,
 GLfloat  r,
 GLfloat  q);
void glMultiTexCoord4d(GLenum  target,
 GLdouble  s,
 GLdouble  t,
 GLdouble  r,
 GLdouble  q);

Parameters

target

+

Name

glMultiTexCoord — set the current texture coordinates

C Specification

void glMultiTexCoord1s(GLenum  target,
 GLshort  s);
void glMultiTexCoord1i(GLenum  target,
 GLint  s);
void glMultiTexCoord1f(GLenum  target,
 GLfloat  s);
void glMultiTexCoord1d(GLenum  target,
 GLdouble  s);
void glMultiTexCoord2s(GLenum  target,
 GLshort  s,
 GLshort  t);
void glMultiTexCoord2i(GLenum  target,
 GLint  s,
 GLint  t);
void glMultiTexCoord2f(GLenum  target,
 GLfloat  s,
 GLfloat  t);
void glMultiTexCoord2d(GLenum  target,
 GLdouble  s,
 GLdouble  t);
void glMultiTexCoord3s(GLenum  target,
 GLshort  s,
 GLshort  t,
 GLshort  r);
void glMultiTexCoord3i(GLenum  target,
 GLint  s,
 GLint  t,
 GLint  r);
void glMultiTexCoord3f(GLenum  target,
 GLfloat  s,
 GLfloat  t,
 GLfloat  r);
void glMultiTexCoord3d(GLenum  target,
 GLdouble  s,
 GLdouble  t,
 GLdouble  r);
void glMultiTexCoord4s(GLenum  target,
 GLshort  s,
 GLshort  t,
 GLshort  r,
 GLshort  q);
void glMultiTexCoord4i(GLenum  target,
 GLint  s,
 GLint  t,
 GLint  r,
 GLint  q);
void glMultiTexCoord4f(GLenum  target,
 GLfloat  s,
 GLfloat  t,
 GLfloat  r,
 GLfloat  q);
void glMultiTexCoord4d(GLenum  target,
 GLdouble  s,
 GLdouble  t,
 GLdouble  r,
 GLdouble  q);

Parameters

target

Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of @@ -9,7 +9,7 @@ Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. -

C Specification

void glMultiTexCoord1sv(GLenum  target,
 const GLshort *  v);
void glMultiTexCoord1iv(GLenum  target,
 const GLint *  v);
void glMultiTexCoord1fv(GLenum  target,
 const GLfloat *  v);
void glMultiTexCoord1dv(GLenum  target,
 const GLdouble *  v);
void glMultiTexCoord2sv(GLenum  target,
 const GLshort *  v);
void glMultiTexCoord2iv(GLenum  target,
 const GLint *  v);
void glMultiTexCoord2fv(GLenum  target,
 const GLfloat *  v);
void glMultiTexCoord2dv(GLenum  target,
 const GLdouble *  v);
void glMultiTexCoord3sv(GLenum  target,
 const GLshort *  v);
void glMultiTexCoord3iv(GLenum  target,
 const GLint *  v);
void glMultiTexCoord3fv(GLenum  target,
 const GLfloat *  v);
void glMultiTexCoord3dv(GLenum  target,
 const GLdouble *  v);
void glMultiTexCoord4sv(GLenum  target,
 const GLshort *  v);
void glMultiTexCoord4iv(GLenum  target,
 const GLint *  v);
void glMultiTexCoord4fv(GLenum  target,
 const GLfloat *  v);
void glMultiTexCoord4dv(GLenum  target,
 const GLdouble *  v);

Parameters

target

+

C Specification

void glMultiTexCoord1sv(GLenum  target,
 const GLshort *  v);
void glMultiTexCoord1iv(GLenum  target,
 const GLint *  v);
void glMultiTexCoord1fv(GLenum  target,
 const GLfloat *  v);
void glMultiTexCoord1dv(GLenum  target,
 const GLdouble *  v);
void glMultiTexCoord2sv(GLenum  target,
 const GLshort *  v);
void glMultiTexCoord2iv(GLenum  target,
 const GLint *  v);
void glMultiTexCoord2fv(GLenum  target,
 const GLfloat *  v);
void glMultiTexCoord2dv(GLenum  target,
 const GLdouble *  v);
void glMultiTexCoord3sv(GLenum  target,
 const GLshort *  v);
void glMultiTexCoord3iv(GLenum  target,
 const GLint *  v);
void glMultiTexCoord3fv(GLenum  target,
 const GLfloat *  v);
void glMultiTexCoord3dv(GLenum  target,
 const GLdouble *  v);
void glMultiTexCoord4sv(GLenum  target,
 const GLshort *  v);
void glMultiTexCoord4iv(GLenum  target,
 const GLint *  v);
void glMultiTexCoord4fv(GLenum  target,
 const GLfloat *  v);
void glMultiTexCoord4dv(GLenum  target,
 const GLdouble *  v);

Parameters

target

Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of diff --git a/gl2/glNewList.xhtml b/gl2/glNewList.xhtml index 7c2fb70e..98433c50 100644 --- a/gl2/glNewList.xhtml +++ b/gl2/glNewList.xhtml @@ -1,11 +1,11 @@ -

Name

glNewList — create or replace a display list

C Specification

void glNewList(GLuint  list,
 GLenum  mode);

Parameters

list

+

Name

glNewList — create or replace a display list

C Specification

void glNewList(GLuint  list,
 GLenum  mode);

Parameters

list

Specifies the display-list name.

mode

Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. -

C Specification

void glEndList(  void);

Description

+

C Specification

void glEndList(  void);

Description

Display lists are groups of GL commands that have been stored for subsequent execution. Display lists are created with glNewList. @@ -128,4 +128,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glNormal.xhtml b/gl2/glNormal.xhtml index 96fb0f8e..b3499c7c 100644 --- a/gl2/glNormal.xhtml +++ b/gl2/glNormal.xhtml @@ -1,4 +1,4 @@ -

Name

glNormal — set the current normal vector

C Specification

void glNormal3b(GLbyte  nx,
 GLbyte  ny,
 GLbyte  nz);
void glNormal3d(GLdouble  nx,
 GLdouble  ny,
 GLdouble  nz);
void glNormal3f(GLfloat  nx,
 GLfloat  ny,
 GLfloat  nz);
void glNormal3i(GLint  nx,
 GLint  ny,
 GLint  nz);
void glNormal3s(GLshort  nx,
 GLshort  ny,
 GLshort  nz);

Parameters

nx, ny, nz

+

Name

glNormal — set the current normal vector

C Specification

void glNormal3b(GLbyte  nx,
 GLbyte  ny,
 GLbyte  nz);
void glNormal3d(GLdouble  nx,
 GLdouble  ny,
 GLdouble  nz);
void glNormal3f(GLfloat  nx,
 GLfloat  ny,
 GLfloat  nz);
void glNormal3i(GLint  nx,
 GLint  ny,
 GLint  nz);
void glNormal3s(GLshort  nx,
 GLshort  ny,
 GLshort  nz);

Parameters

nx, ny, nz

Specify the x, y, @@ -7,7 +7,7 @@ coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1).

-

C Specification

void glNormal3bv(const GLbyte *  v);
void glNormal3dv(const GLdouble *  v);
void glNormal3fv(const GLfloat *  v);
void glNormal3iv(const GLint *  v);
void glNormal3sv(const GLshort *  v);

Parameters

v

+

C Specification

void glNormal3bv(const GLbyte *  v);
void glNormal3dv(const GLdouble *  v);
void glNormal3fv(const GLfloat *  v);
void glNormal3iv(const GLint *  v);
void glNormal3sv(const GLshort *  v);

Parameters

v

Specifies a pointer to an array of three elements: the x, diff --git a/gl2/glNormalPointer.xhtml b/gl2/glNormalPointer.xhtml index 0df33e86..ffd75ad2 100644 --- a/gl2/glNormalPointer.xhtml +++ b/gl2/glNormalPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glNormalPointer — define an array of normals

C Specification

void glNormalPointer(GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

type

+

Name

glNormalPointer — define an array of normals

C Specification

void glNormalPointer(GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

type

Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, @@ -24,7 +24,7 @@ (Single-array storage may be more efficient on some implementations; see glInterleavedArrays.)

- If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a normal array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as normal vertex array @@ -105,4 +105,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glOrtho.xhtml b/gl2/glOrtho.xhtml index a1b6c126..b6852211 100644 --- a/gl2/glOrtho.xhtml +++ b/gl2/glOrtho.xhtml @@ -1,4 +1,4 @@ -

Name

glOrtho — multiply the current matrix with an orthographic matrix

C Specification

void glOrtho(GLdouble  left,
 GLdouble  right,
 GLdouble  bottom,
 GLdouble  top,
 GLdouble  nearVal,
 GLdouble  farVal);

Parameters

left, right

+

Name

glOrtho — multiply the current matrix with an orthographic matrix

C Specification

void glOrtho(GLdouble  left,
 GLdouble  right,
 GLdouble  bottom,
 GLdouble  top,
 GLdouble  nearVal,
 GLdouble  farVal);

Parameters

left, right

Specify the coordinates for the left and right vertical clipping planes.

bottom, top

Specify the coordinates for the bottom and top horizontal clipping planes. diff --git a/gl2/glPassThrough.xhtml b/gl2/glPassThrough.xhtml index fde5b908..e6b5019b 100644 --- a/gl2/glPassThrough.xhtml +++ b/gl2/glPassThrough.xhtml @@ -1,4 +1,4 @@ -

Name

glPassThrough — place a marker in the feedback buffer

C Specification

void glPassThrough(GLfloat  token);

Parameters

token

+

Name

glPassThrough — place a marker in the feedback buffer

C Specification

void glPassThrough(GLfloat  token);

Parameters

token

Specifies a marker value to be placed in the feedback buffer following a GL_PASS_THROUGH_TOKEN.

Description

@@ -38,4 +38,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glPixelMap.xhtml b/gl2/glPixelMap.xhtml index 3c4c01cf..026915a4 100644 --- a/gl2/glPixelMap.xhtml +++ b/gl2/glPixelMap.xhtml @@ -1,4 +1,4 @@ -

Name

glPixelMap — set up pixel transfer maps

C Specification

void glPixelMapfv(GLenum  map,
 GLsizei  mapsize,
 const GLfloat *  values);
void glPixelMapuiv(GLenum  map,
 GLsizei  mapsize,
 const GLuint *  values);
void glPixelMapusv(GLenum  map,
 GLsizei  mapsize,
 const GLushort *  values);

Parameters

map

+

Name

glPixelMap — set up pixel transfer maps

C Specification

void glPixelMapfv(GLenum  map,
 GLsizei  mapsize,
 const GLfloat *  values);
void glPixelMapuiv(GLenum  map,
 GLsizei  mapsize,
 const GLuint *  values);
void glPixelMapusv(GLenum  map,
 GLsizei  mapsize,
 const GLushort *  values);

Parameters

map

Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, @@ -121,7 +121,7 @@ GL_MAX_PIXEL_MAP_TABLE. The single maximum applies to all maps; it is at least 32. -

+

map Lookup Index diff --git a/gl2/glPixelStore.xhtml b/gl2/glPixelStore.xhtml index f6d20e65..9abae6d7 100644 --- a/gl2/glPixelStore.xhtml +++ b/gl2/glPixelStore.xhtml @@ -1,4 +1,4 @@ -

Name

glPixelStore — set pixel storage modes

C Specification

void glPixelStoref(GLenum  pname,
 GLfloat  param);
void glPixelStorei(GLenum  pname,
 GLint  param);

Parameters

pname

+

Name

glPixelStore — set pixel storage modes

C Specification

void glPixelStoref(GLenum  pname,
 GLfloat  param);
void glPixelStorei(GLenum  pname,
 GLint  param);

Parameters

pname

Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, @@ -882,7 +882,7 @@ and range of valid values for each storage parameter that can be set with glPixelStore.

-

+

pname Type diff --git a/gl2/glPixelTransfer.xhtml b/gl2/glPixelTransfer.xhtml index 2178da5c..1ea7af43 100644 --- a/gl2/glPixelTransfer.xhtml +++ b/gl2/glPixelTransfer.xhtml @@ -1,4 +1,4 @@ -

Name

glPixelTransfer — set pixel transfer modes

C Specification

void glPixelTransferf(GLenum  pname,
 GLfloat  param);
void glPixelTransferi(GLenum  pname,
 GLint  param);

Parameters

pname

+

Name

glPixelTransfer — set pixel transfer modes

C Specification

void glPixelTransferf(GLenum  pname,
 GLfloat  param);
void glPixelTransferi(GLenum  pname,
 GLint  param);

Parameters

pname

Specifies the symbolic name of the pixel transfer parameter to be set. Must be one of the following: GL_MAP_COLOR, @@ -303,7 +303,7 @@ and range of valid values for each of the pixel transfer parameters that are set with glPixelTransfer.

-

+

pname Type diff --git a/gl2/glPixelZoom.xhtml b/gl2/glPixelZoom.xhtml index 485bd649..21654fd7 100644 --- a/gl2/glPixelZoom.xhtml +++ b/gl2/glPixelZoom.xhtml @@ -1,4 +1,4 @@ -

Name

glPixelZoom — specify the pixel zoom factors

C Specification

void glPixelZoom(GLfloat  xfactor,
 GLfloat  yfactor);

Parameters

xfactor, yfactor

+

Name

glPixelZoom — specify the pixel zoom factors

C Specification

void glPixelZoom(GLfloat  xfactor,
 GLfloat  yfactor);

Parameters

xfactor, yfactor

Specify the x and diff --git a/gl2/glPointParameter.xhtml b/gl2/glPointParameter.xhtml index 88406a16..6297e990 100644 --- a/gl2/glPointParameter.xhtml +++ b/gl2/glPointParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glPointParameter — specify point parameters

C Specification

void glPointParameterf(GLenum  pname,
 GLfloat  param);

void glPointParameteri(GLenum  pname,
 GLint  param);

Parameters

pname

+

Name

glPointParameter — specify point parameters

C Specification

void glPointParameterf(GLenum  pname,
 GLfloat  param);

void glPointParameteri(GLenum  pname,
 GLint  param);

Parameters

pname

Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, @@ -7,7 +7,7 @@ are accepted.

param

Specifies the value that pname will be set to. -

C Specification

void glPointParameterfv(GLenum  pname,
 const GLfloat *  params);

void glPointParameteriv(GLenum  pname,
 const GLint *  params);

Parameters

pname

+

C Specification

void glPointParameterfv(GLenum  pname,
 const GLfloat *  params);

void glPointParameteriv(GLenum  pname,
 const GLint *  params);

Parameters

pname

Specifies a point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, diff --git a/gl2/glPointSize.xhtml b/gl2/glPointSize.xhtml index f1a12937..8c3f8b67 100644 --- a/gl2/glPointSize.xhtml +++ b/gl2/glPointSize.xhtml @@ -1,4 +1,4 @@ -

Name

glPointSize — specify the diameter of rasterized points

C Specification

void glPointSize(GLfloat  size);

Parameters

size

+

Name

glPointSize — specify the diameter of rasterized points

C Specification

void glPointSize(GLfloat  size);

Parameters

size

Specifies the diameter of rasterized points. The initial value is 1.

Description

diff --git a/gl2/glPolygonMode.xhtml b/gl2/glPolygonMode.xhtml index 94cde0ee..5f5eddaa 100644 --- a/gl2/glPolygonMode.xhtml +++ b/gl2/glPolygonMode.xhtml @@ -1,4 +1,4 @@ -

Name

glPolygonMode — select a polygon rasterization mode

C Specification

void glPolygonMode(GLenum  face,
 GLenum  mode);

Parameters

face

+

Name

glPolygonMode — select a polygon rasterization mode

C Specification

void glPolygonMode(GLenum  face,
 GLenum  mode);

Parameters

face

Specifies the polygons that mode applies to. Must be GL_FRONT for front-facing polygons, @@ -80,4 +80,4 @@ glPolygonMode(GL_FRONT, GL_ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glPolygonOffset.xhtml b/gl2/glPolygonOffset.xhtml index 1588d142..cc787f40 100644 --- a/gl2/glPolygonOffset.xhtml +++ b/gl2/glPolygonOffset.xhtml @@ -1,4 +1,4 @@ -

Name

glPolygonOffset — set the scale and units used to calculate depth values

C Specification

void glPolygonOffset(GLfloat  factor,
 GLfloat  units);

Parameters

factor

+

Name

glPolygonOffset — set the scale and units used to calculate depth values

C Specification

void glPolygonOffset(GLfloat  factor,
 GLfloat  units);

Parameters

factor

Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.

units

diff --git a/gl2/glPolygonStipple.xhtml b/gl2/glPolygonStipple.xhtml index 7e0f58a1..1368f75f 100644 --- a/gl2/glPolygonStipple.xhtml +++ b/gl2/glPolygonStipple.xhtml @@ -1,4 +1,4 @@ -

Name

glPolygonStipple — set the polygon stippling pattern

C Specification

void glPolygonStipple(const GLubyte *  pattern);

Parameters

pattern

+

Name

glPolygonStipple — set the polygon stippling pattern

C Specification

void glPolygonStipple(const GLubyte *  pattern);

Parameters

pattern

Specifies a pointer to a diff --git a/gl2/glPrioritizeTextures.xhtml b/gl2/glPrioritizeTextures.xhtml index 43df37d4..ce532364 100644 --- a/gl2/glPrioritizeTextures.xhtml +++ b/gl2/glPrioritizeTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glPrioritizeTextures — set texture residence priority

C Specification

void glPrioritizeTextures(GLsizei  n,
 const GLuint *  textures,
 const GLclampf *  priorities);

Parameters

n

+

Name

glPrioritizeTextures — set texture residence priority

C Specification

void glPrioritizeTextures(GLsizei  n,
 const GLuint *  textures,
 const GLclampf *  priorities);

Parameters

n

Specifies the number of textures to be prioritized.

textures

Specifies an array containing the names of the textures to be prioritized. diff --git a/gl2/glPushAttrib.xhtml b/gl2/glPushAttrib.xhtml index c0948850..87d4915d 100644 --- a/gl2/glPushAttrib.xhtml +++ b/gl2/glPushAttrib.xhtml @@ -1,13 +1,13 @@ -

Name

glPushAttrib — push and pop the server attribute stack

C Specification

void glPushAttrib(GLbitfield  mask);

Parameters

mask

+

Name

glPushAttrib — push and pop the server attribute stack

C Specification

void glPushAttrib(GLbitfield  mask);

Parameters

mask

Specifies a mask that indicates which attributes to save. Values for mask are listed below. -

C Specification

void glPopAttrib(  void);

Description

+

C Specification

void glPopAttrib(  void);

Description

glPushAttrib takes one argument, a mask that indicates which groups of state variables to save on the attribute stack. Symbolic constants are used to set bits in the mask. mask - is typically constructed by specifying the bitwise-or of several + is typically constructed by specifying the bitwise-or of several of these constants together. The special mask GL_ALL_ATTRIB_BITS @@ -16,7 +16,7 @@ The symbolic mask constants and their associated GL state are as follows (the second column lists which attributes are saved):

-

+

GL_ACCUM_BUFFER_BIT Accumulation buffer clear value @@ -137,7 +137,7 @@ GL_LIGHTi where 0 <= i < GL_MAX_LIGHTS - +
GL_LIGHTING flag @@ -567,4 +567,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glPushClientAttrib.xhtml b/gl2/glPushClientAttrib.xhtml index 7f3dccb2..dc7085eb 100644 --- a/gl2/glPushClientAttrib.xhtml +++ b/gl2/glPushClientAttrib.xhtml @@ -1,13 +1,13 @@ -

Name

glPushClientAttrib — push and pop the client attribute stack

C Specification

void glPushClientAttrib(GLbitfield  mask);

Parameters

mask

+

Name

glPushClientAttrib — push and pop the client attribute stack

C Specification

void glPushClientAttrib(GLbitfield  mask);

Parameters

mask

Specifies a mask that indicates which attributes to save. Values for mask are listed below. -

C Specification

void glPopClientAttrib(  void);

Description

+

C Specification

void glPopClientAttrib(  void);

Description

glPushClientAttrib takes one argument, a mask that indicates which groups of client-state variables to save on the client attribute stack. Symbolic constants are used to set bits in the mask. mask - is typically constructed by specifying the bitwise-or of several + is typically constructed by specifying the bitwise-or of several of these constants together. The special mask GL_CLIENT_ALL_ATTRIB_BITS @@ -78,4 +78,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glPushMatrix.xhtml b/gl2/glPushMatrix.xhtml index 9eab2d50..21449bf6 100644 --- a/gl2/glPushMatrix.xhtml +++ b/gl2/glPushMatrix.xhtml @@ -1,4 +1,4 @@ -

Name

glPushMatrix — push and pop the current matrix stack

C Specification

void glPushMatrix(  void);

C Specification

void glPopMatrix(  void);

Description

+

Name

glPushMatrix — push and pop the current matrix stack

C Specification

void glPushMatrix(  void);

C Specification

void glPopMatrix(  void);

Description

There is a stack of matrices for each of the matrix modes. In GL_MODELVIEW mode, the stack depth is at least 32. @@ -77,4 +77,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glPushName.xhtml b/gl2/glPushName.xhtml index f3ed1097..3dcfd57d 100644 --- a/gl2/glPushName.xhtml +++ b/gl2/glPushName.xhtml @@ -1,6 +1,6 @@ -

Name

glPushName — push and pop the name stack

C Specification

void glPushName(GLuint  name);

Parameters

name

+

Name

glPushName — push and pop the name stack

C Specification

void glPushName(GLuint  name);

Parameters

name

Specifies a name that will be pushed onto the name stack. -

C Specification

void glPopName(  void);

Description

+

C Specification

void glPopName(  void);

Description

The name stack is used during selection mode to allow sets of rendering commands to be uniquely identified. It consists of an ordered set of unsigned integers and is initially empty. @@ -47,4 +47,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glRasterPos.xhtml b/gl2/glRasterPos.xhtml index fddc0ddb..f53d13ac 100644 --- a/gl2/glRasterPos.xhtml +++ b/gl2/glRasterPos.xhtml @@ -1,4 +1,4 @@ -

Name

glRasterPos — specify the raster position for pixel operations

C Specification

void glRasterPos2s(GLshort  x,
 GLshort  y);
void glRasterPos2i(GLint  x,
 GLint  y);
void glRasterPos2f(GLfloat  x,
 GLfloat  y);
void glRasterPos2d(GLdouble  x,
 GLdouble  y);
void glRasterPos3s(GLshort  x,
 GLshort  y,
 GLshort  z);
void glRasterPos3i(GLint  x,
 GLint  y,
 GLint  z);
void glRasterPos3f(GLfloat  x,
 GLfloat  y,
 GLfloat  z);
void glRasterPos3d(GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glRasterPos4s(GLshort  x,
 GLshort  y,
 GLshort  z,
 GLshort  w);
void glRasterPos4i(GLint  x,
 GLint  y,
 GLint  z,
 GLint  w);
void glRasterPos4f(GLfloat  x,
 GLfloat  y,
 GLfloat  z,
 GLfloat  w);
void glRasterPos4d(GLdouble  x,
 GLdouble  y,
 GLdouble  z,
 GLdouble  w);

Parameters

x, y, z, w

+

Name

glRasterPos — specify the raster position for pixel operations

C Specification

void glRasterPos2s(GLshort  x,
 GLshort  y);
void glRasterPos2i(GLint  x,
 GLint  y);
void glRasterPos2f(GLfloat  x,
 GLfloat  y);
void glRasterPos2d(GLdouble  x,
 GLdouble  y);
void glRasterPos3s(GLshort  x,
 GLshort  y,
 GLshort  z);
void glRasterPos3i(GLint  x,
 GLint  y,
 GLint  z);
void glRasterPos3f(GLfloat  x,
 GLfloat  y,
 GLfloat  z);
void glRasterPos3d(GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glRasterPos4s(GLshort  x,
 GLshort  y,
 GLshort  z,
 GLshort  w);
void glRasterPos4i(GLint  x,
 GLint  y,
 GLint  z,
 GLint  w);
void glRasterPos4f(GLfloat  x,
 GLfloat  y,
 GLfloat  z,
 GLfloat  w);
void glRasterPos4d(GLdouble  x,
 GLdouble  y,
 GLdouble  z,
 GLdouble  w);

Parameters

x, y, z, w

Specify the x, y, @@ -9,7 +9,7 @@ (if present) for the raster position. -

C Specification

void glRasterPos2sv(const GLshort *  v);
void glRasterPos2iv(const GLint *  v);
void glRasterPos2fv(const GLfloat *  v);
void glRasterPos2dv(const GLdouble *  v);
void glRasterPos3sv(const GLshort *  v);
void glRasterPos3iv(const GLint *  v);
void glRasterPos3fv(const GLfloat *  v);
void glRasterPos3dv(const GLdouble *  v);
void glRasterPos4sv(const GLshort *  v);
void glRasterPos4iv(const GLint *  v);
void glRasterPos4fv(const GLfloat *  v);
void glRasterPos4dv(const GLdouble *  v);

Parameters

v

+

C Specification

void glRasterPos2sv(const GLshort *  v);
void glRasterPos2iv(const GLint *  v);
void glRasterPos2fv(const GLfloat *  v);
void glRasterPos2dv(const GLdouble *  v);
void glRasterPos3sv(const GLshort *  v);
void glRasterPos3iv(const GLint *  v);
void glRasterPos3fv(const GLfloat *  v);
void glRasterPos3dv(const GLdouble *  v);
void glRasterPos4sv(const GLshort *  v);
void glRasterPos4iv(const GLint *  v);
void glRasterPos4fv(const GLfloat *  v);
void glRasterPos4dv(const GLdouble *  v);

Parameters

v

Specifies a pointer to an array of two, three, or four elements, diff --git a/gl2/glReadBuffer.xhtml b/gl2/glReadBuffer.xhtml index 759adff5..d031d939 100644 --- a/gl2/glReadBuffer.xhtml +++ b/gl2/glReadBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glReadBuffer — select a color buffer source for pixels

C Specification

void glReadBuffer(GLenum  mode);

Parameters

mode

+

Name

glReadBuffer — select a color buffer source for pixels

C Specification

void glReadBuffer(GLenum  mode);

Parameters

mode

Specifies a color buffer. Accepted values are GL_FRONT_LEFT, @@ -64,4 +64,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glReadPixels.xhtml b/gl2/glReadPixels.xhtml index 6ed25c1e..d35567c3 100644 --- a/gl2/glReadPixels.xhtml +++ b/gl2/glReadPixels.xhtml @@ -1,4 +1,4 @@ -

Name

glReadPixels — read a block of pixels from the frame buffer

C Specification

void glReadPixels(GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 GLvoid *  data);

Parameters

x, y

+

Name

glReadPixels — read a block of pixels from the frame buffer

C Specification

void glReadPixels(GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 GLvoid *  data);

Parameters

x, y

Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. @@ -267,7 +267,7 @@ (or converted to the client's single-precision floating-point format if it is different from the one used by the GL).

-

+

type Index Mask diff --git a/gl2/glRect.xhtml b/gl2/glRect.xhtml index fad3910f..fccec328 100644 --- a/gl2/glRect.xhtml +++ b/gl2/glRect.xhtml @@ -1,8 +1,8 @@ -

Name

glRect — draw a rectangle

C Specification

void glRectd(GLdouble  x1,
 GLdouble  y1,
 GLdouble  x2,
 GLdouble  y2);
void glRectf(GLfloat  x1,
 GLfloat  y1,
 GLfloat  x2,
 GLfloat  y2);
void glRecti(GLint  x1,
 GLint  y1,
 GLint  x2,
 GLint  y2);
void glRects(GLshort  x1,
 GLshort  y1,
 GLshort  x2,
 GLshort  y2);

Parameters

x1, y1

+

Name

glRect — draw a rectangle

C Specification

void glRectd(GLdouble  x1,
 GLdouble  y1,
 GLdouble  x2,
 GLdouble  y2);
void glRectf(GLfloat  x1,
 GLfloat  y1,
 GLfloat  x2,
 GLfloat  y2);
void glRecti(GLint  x1,
 GLint  y1,
 GLint  x2,
 GLint  y2);
void glRects(GLshort  x1,
 GLshort  y1,
 GLshort  x2,
 GLshort  y2);

Parameters

x1, y1

Specify one vertex of a rectangle.

x2, y2

Specify the opposite vertex of the rectangle. -

C Specification

void glRectdv(const GLdouble *  v1,
 const GLdouble *  v2);
void glRectfv(const GLfloat *  v1,
 const GLfloat *  v2);
void glRectiv(const GLint *  v1,
 const GLint *  v2);
void glRectsv(const GLshort *  v1,
 const GLshort *  v2);

Parameters

v1

+

C Specification

void glRectdv(const GLdouble *  v1,
 const GLdouble *  v2);
void glRectfv(const GLfloat *  v1,
 const GLfloat *  v2);
void glRectiv(const GLint *  v1,
 const GLint *  v2);
void glRectsv(const GLshort *  v1,
 const GLshort *  v2);

Parameters

v1

Specifies a pointer to one vertex of a rectangle.

v2

Specifies a pointer to the opposite vertex of the rectangle. diff --git a/gl2/glRenderMode.xhtml b/gl2/glRenderMode.xhtml index 6c8fdfa5..f49fbaca 100644 --- a/gl2/glRenderMode.xhtml +++ b/gl2/glRenderMode.xhtml @@ -1,4 +1,4 @@ -

Name

glRenderMode — set rasterization mode

C Specification

GLint glRenderMode(GLenum  mode);

Parameters

mode

+

Name

glRenderMode — set rasterization mode

C Specification

GLint glRenderMode(GLenum  mode);

Parameters

mode

Specifies the rasterization mode. Three values are accepted: GL_RENDER, @@ -84,4 +84,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glResetHistogram.xhtml b/gl2/glResetHistogram.xhtml index f1b5eb0b..e54b2135 100644 --- a/gl2/glResetHistogram.xhtml +++ b/gl2/glResetHistogram.xhtml @@ -1,4 +1,4 @@ -

Name

glResetHistogram — reset histogram table entries to zero

C Specification

void glResetHistogram(GLenum  target);

Parameters

target

+

Name

glResetHistogram — reset histogram table entries to zero

C Specification

void glResetHistogram(GLenum  target);

Parameters

target

Must be GL_HISTOGRAM.

Description

@@ -21,4 +21,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glResetMinmax.xhtml b/gl2/glResetMinmax.xhtml index f3256eaa..505f2e56 100644 --- a/gl2/glResetMinmax.xhtml +++ b/gl2/glResetMinmax.xhtml @@ -1,4 +1,4 @@ -

Name

glResetMinmax — reset minmax table entries to initial values

C Specification

void glResetMinmax(GLenum  target);

Parameters

target

+

Name

glResetMinmax — reset minmax table entries to initial values

C Specification

void glResetMinmax(GLenum  target);

Parameters

target

Must be GL_MINMAX.

Description

@@ -24,4 +24,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glRotate.xhtml b/gl2/glRotate.xhtml index ed69d7a7..eeab13f0 100644 --- a/gl2/glRotate.xhtml +++ b/gl2/glRotate.xhtml @@ -1,4 +1,4 @@ -

Name

glRotate — multiply the current matrix by a rotation matrix

C Specification

void glRotated(GLdouble  angle,
 GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glRotatef(GLfloat  angle,
 GLfloat  x,
 GLfloat  y,
 GLfloat  z);

Parameters

angle

+

Name

glRotate — multiply the current matrix by a rotation matrix

C Specification

void glRotated(GLdouble  angle,
 GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glRotatef(GLfloat  angle,
 GLfloat  x,
 GLfloat  y,
 GLfloat  z);

Parameters

angle

Specifies the angle of rotation, in degrees.

x, y, z

Specify the x, y, and z coordinates of a vector, respectively. diff --git a/gl2/glSampleCoverage.xhtml b/gl2/glSampleCoverage.xhtml index 07da2eeb..f7237e27 100644 --- a/gl2/glSampleCoverage.xhtml +++ b/gl2/glSampleCoverage.xhtml @@ -1,4 +1,4 @@ -

Name

glSampleCoverage — specify multisample coverage parameters

C Specification

void glSampleCoverage(GLclampf  value,
 GLboolean  invert);

Parameters

value

+

Name

glSampleCoverage — specify multisample coverage parameters

C Specification

void glSampleCoverage(GLclampf  value,
 GLboolean  invert);

Parameters

value

Specify a single floating-point sample coverage value. The value is clamped to the range diff --git a/gl2/glScale.xhtml b/gl2/glScale.xhtml index 04933b6d..6ac43c3c 100644 --- a/gl2/glScale.xhtml +++ b/gl2/glScale.xhtml @@ -1,4 +1,4 @@ -

Name

glScale — multiply the current matrix by a general scaling matrix

C Specification

void glScaled(GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glScalef(GLfloat  x,
 GLfloat  y,
 GLfloat  z);

Parameters

x, y, z

+

Name

glScale — multiply the current matrix by a general scaling matrix

C Specification

void glScaled(GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glScalef(GLfloat  x,
 GLfloat  y,
 GLfloat  z);

Parameters

x, y, z

Specify scale factors along the x, y, and z axes, respectively.

Description

glScale produces a nonuniform scaling along the x, y, and diff --git a/gl2/glScissor.xhtml b/gl2/glScissor.xhtml index e2e7c18b..53a429fd 100644 --- a/gl2/glScissor.xhtml +++ b/gl2/glScissor.xhtml @@ -1,4 +1,4 @@ -

Name

glScissor — define the scissor box

C Specification

void glScissor(GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

Parameters

x, y

+

Name

glScissor — define the scissor box

C Specification

void glScissor(GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

Parameters

x, y

Specify the lower left corner of the scissor box. Initially (0, 0).

width, height

@@ -47,4 +47,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glSecondaryColor.xhtml b/gl2/glSecondaryColor.xhtml index 083297fb..4c748249 100644 --- a/gl2/glSecondaryColor.xhtml +++ b/gl2/glSecondaryColor.xhtml @@ -1,6 +1,6 @@ -

Name

glSecondaryColor — set the current secondary color

C Specification

void glSecondaryColor3b(GLbyte  red,
 GLbyte  green,
 GLbyte  blue);
void glSecondaryColor3s(GLshort  red,
 GLshort  green,
 GLshort  blue);
void glSecondaryColor3i(GLint  red,
 GLint  green,
 GLint  blue);
void glSecondaryColor3f(GLfloat  red,
 GLfloat  green,
 GLfloat  blue);
void glSecondaryColor3d(GLdouble  red,
 GLdouble  green,
 GLdouble  blue);
void glSecondaryColor3ub(GLubyte  red,
 GLubyte  green,
 GLubyte  blue);
void glSecondaryColor3us(GLushort  red,
 GLushort  green,
 GLushort  blue);
void glSecondaryColor3ui(GLuint  red,
 GLuint  green,
 GLuint  blue);

Parameters

red, green, blue

+

Name

glSecondaryColor — set the current secondary color

C Specification

void glSecondaryColor3b(GLbyte  red,
 GLbyte  green,
 GLbyte  blue);
void glSecondaryColor3s(GLshort  red,
 GLshort  green,
 GLshort  blue);
void glSecondaryColor3i(GLint  red,
 GLint  green,
 GLint  blue);
void glSecondaryColor3f(GLfloat  red,
 GLfloat  green,
 GLfloat  blue);
void glSecondaryColor3d(GLdouble  red,
 GLdouble  green,
 GLdouble  blue);
void glSecondaryColor3ub(GLubyte  red,
 GLubyte  green,
 GLubyte  blue);
void glSecondaryColor3us(GLushort  red,
 GLushort  green,
 GLushort  blue);
void glSecondaryColor3ui(GLuint  red,
 GLuint  green,
 GLuint  blue);

Parameters

red, green, blue

Specify new red, green, and blue values for the current secondary color. -

C Specification

void glSecondaryColor3bv(const GLbyte *  v);
void glSecondaryColor3sv(const GLshort *  v);
void glSecondaryColor3iv(const GLint *  v);
void glSecondaryColor3fv(const GLfloat *  v);
void glSecondaryColor3dv(const GLdouble *  v);
void glSecondaryColor3ubv(const GLubyte *  v);
void glSecondaryColor3usv(const GLushort *  v);
void glSecondaryColor3uiv(const GLuint *  v);

Parameters

v

+

C Specification

void glSecondaryColor3bv(const GLbyte *  v);
void glSecondaryColor3sv(const GLshort *  v);
void glSecondaryColor3iv(const GLint *  v);
void glSecondaryColor3fv(const GLfloat *  v);
void glSecondaryColor3dv(const GLdouble *  v);
void glSecondaryColor3ubv(const GLubyte *  v);
void glSecondaryColor3usv(const GLushort *  v);
void glSecondaryColor3uiv(const GLuint *  v);

Parameters

v

Specifies a pointer to an array that contains red, green, blue.

Description

The GL stores both a primary four-valued RGBA color and a diff --git a/gl2/glSecondaryColorPointer.xhtml b/gl2/glSecondaryColorPointer.xhtml index fd6d18e0..11913600 100644 --- a/gl2/glSecondaryColorPointer.xhtml +++ b/gl2/glSecondaryColorPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glSecondaryColorPointer — define an array of secondary colors

C Specification

void glSecondaryColorPointer(GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

size

+

Name

glSecondaryColorPointer — define an array of secondary colors

C Specification

void glSecondaryColorPointer(GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

size

Specifies the number of components per color. Must be 3.

type

Specifies the data type of each color component in the array. @@ -29,7 +29,7 @@ specifies the byte stride from one color to the next, allowing vertices and attributes to be packed into a single array or stored in separate arrays.

- If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a secondary color array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as secondary color vertex array @@ -115,4 +115,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glSelectBuffer.xhtml b/gl2/glSelectBuffer.xhtml index 5f6ca34d..a0bca242 100644 --- a/gl2/glSelectBuffer.xhtml +++ b/gl2/glSelectBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glSelectBuffer — establish a buffer for selection mode values

C Specification

void glSelectBuffer(GLsizei  size,
 GLuint *  buffer);

Parameters

size

+

Name

glSelectBuffer — establish a buffer for selection mode values

C Specification

void glSelectBuffer(GLsizei  size,
 GLuint *  buffer);

Parameters

size

Specifies the size of buffer.

buffer

Returns the selection data. diff --git a/gl2/glSeparableFilter2D.xhtml b/gl2/glSeparableFilter2D.xhtml index 8f35c24f..2a69c346 100644 --- a/gl2/glSeparableFilter2D.xhtml +++ b/gl2/glSeparableFilter2D.xhtml @@ -1,4 +1,4 @@ -

Name

glSeparableFilter2D — define a separable two-dimensional convolution filter

C Specification

void glSeparableFilter2D(GLenum  target,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const GLvoid *  row,
 const GLvoid *  column);

Parameters

target

+

Name

glSeparableFilter2D — define a separable two-dimensional convolution filter

C Specification

void glSeparableFilter2D(GLenum  target,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const GLvoid *  row,
 const GLvoid *  column);

Parameters

target

Must be GL_SEPARABLE_2D.

internalformat

The internal format of the convolution filter kernel. @@ -100,7 +100,7 @@ they had been passed to glDrawPixels, but processing stops after the final expansion to RGBA is completed.

- If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target (see glBindBuffer) while a convolution filter is specified, row and column are treated as byte offsets into the buffer object's data store.

@@ -120,7 +120,7 @@ This conversion simply maps the component values of the pixel (R, G, B, and A) to the values included in the internal format (red, green, blue, alpha, luminance, and intensity). The mapping is as follows: -

+

Internal Format Red @@ -143,7 +143,7 @@ R - +
GL_LUMINANCE_ALPHA @@ -154,7 +154,7 @@ R - +
GL_INTENSITY @@ -175,7 +175,7 @@ - +
GL_RGBA @@ -188,7 +188,7 @@ A - +

The red, green, blue, alpha, luminance, and/or intensity components of the resulting pixels are stored in floating-point rather than integer @@ -258,12 +258,12 @@ GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer + GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and row or - column is not evenly divisible + GL_PIXEL_UNPACK_BUFFER target and row or + column is not evenly divisible into the number of bytes needed to store in memory a datum indicated by type.

GL_INVALID_OPERATION is generated if glSeparableFilter2D is executed @@ -285,4 +285,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glShadeModel.xhtml b/gl2/glShadeModel.xhtml index 8a587548..9a85e6e4 100644 --- a/gl2/glShadeModel.xhtml +++ b/gl2/glShadeModel.xhtml @@ -1,4 +1,4 @@ -

Name

glShadeModel — select flat or smooth shading

C Specification

void glShadeModel(GLenum  mode);

Parameters

mode

+

Name

glShadeModel — select flat or smooth shading

C Specification

void glShadeModel(GLenum  mode);

Parameters

mode

Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. @@ -39,7 +39,7 @@ polygons, where the first vertex specifies the flat-shaded color.

-

+

Primitive Type of Polygon i diff --git a/gl2/glShaderSource.xhtml b/gl2/glShaderSource.xhtml index 8f38959b..3f0dfbc5 100644 --- a/gl2/glShaderSource.xhtml +++ b/gl2/glShaderSource.xhtml @@ -1,4 +1,4 @@ -

Name

glShaderSource — Replaces the source code in a shader object

C Specification

void glShaderSource(GLuint  shader,
 GLsizei  count,
 const GLchar ** string,
 const GLint * length);

Parameters

shader

Specifies the handle of the shader object +

Name

glShaderSource — Replaces the source code in a shader object

C Specification

void glShaderSource(GLuint  shader,
 GLsizei  count,
 const GLchar ** string,
 const GLint * length);

Parameters

shader

Specifies the handle of the shader object whose source code is to be replaced.

count

Specifies the number of elements in the string and length @@ -41,8 +41,8 @@

\ No newline at end of file +

diff --git a/gl2/glStencilFunc.xhtml b/gl2/glStencilFunc.xhtml index faf50110..fe1e5048 100644 --- a/gl2/glStencilFunc.xhtml +++ b/gl2/glStencilFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilFunc — set front and back function and reference value for stencil testing

C Specification

void glStencilFunc(GLenum  func,
 GLint  ref,
 GLuint  mask);

Parameters

func

+

Name

glStencilFunc — set front and back function and reference value for stencil testing

C Specification

void glStencilFunc(GLenum  func,
 GLint  ref,
 GLuint  mask);

Parameters

func

Specifies the test function. Eight symbolic constants are valid: GL_NEVER, diff --git a/gl2/glStencilFuncSeparate.xhtml b/gl2/glStencilFuncSeparate.xhtml index 32b82d22..c8e1f527 100644 --- a/gl2/glStencilFuncSeparate.xhtml +++ b/gl2/glStencilFuncSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilFuncSeparate — set front and/or back function and reference value for stencil testing

C Specification

void glStencilFuncSeparate(GLenum  face,
 GLenum  func,
 GLint  ref,
 GLuint  mask);

Parameters

face

+

Name

glStencilFuncSeparate — set front and/or back function and reference value for stencil testing

C Specification

void glStencilFuncSeparate(GLenum  face,
 GLenum  func,
 GLint  ref,
 GLuint  mask);

Parameters

face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/gl2/glStencilMask.xhtml b/gl2/glStencilMask.xhtml index c8d8ec83..93c45ee3 100644 --- a/gl2/glStencilMask.xhtml +++ b/gl2/glStencilMask.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilMask — control the front and back writing of individual bits in the stencil planes

C Specification

void glStencilMask(GLuint  mask);

Parameters

mask

+

Name

glStencilMask — control the front and back writing of individual bits in the stencil planes

C Specification

void glStencilMask(GLuint  mask);

Parameters

mask

Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. diff --git a/gl2/glStencilMaskSeparate.xhtml b/gl2/glStencilMaskSeparate.xhtml index 27d6d6b2..c1559c18 100644 --- a/gl2/glStencilMaskSeparate.xhtml +++ b/gl2/glStencilMaskSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilMaskSeparate — control the front and/or back writing of individual bits in the stencil planes

C Specification

void glStencilMaskSeparate(GLenum  face,
 GLuint  mask);

Parameters

face

+

Name

glStencilMaskSeparate — control the front and/or back writing of individual bits in the stencil planes

C Specification

void glStencilMaskSeparate(GLenum  face,
 GLuint  mask);

Parameters

face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/gl2/glStencilOp.xhtml b/gl2/glStencilOp.xhtml index 4d5398fb..969aa25e 100644 --- a/gl2/glStencilOp.xhtml +++ b/gl2/glStencilOp.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilOp — set front and back stencil test actions

C Specification

void glStencilOp(GLenum  sfail,
 GLenum  dpfail,
 GLenum  dppass);

Parameters

sfail

+

Name

glStencilOp — set front and back stencil test actions

C Specification

void glStencilOp(GLenum  sfail,
 GLenum  dpfail,
 GLenum  dppass);

Parameters

sfail

Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, diff --git a/gl2/glStencilOpSeparate.xhtml b/gl2/glStencilOpSeparate.xhtml index 181c2fc8..116e8565 100644 --- a/gl2/glStencilOpSeparate.xhtml +++ b/gl2/glStencilOpSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilOpSeparate — set front and/or back stencil test actions

C Specification

void glStencilOpSeparate(GLenum  face,
 GLenum  sfail,
 GLenum  dpfail,
 GLenum  dppass);

Parameters

face

+

Name

glStencilOpSeparate — set front and/or back stencil test actions

C Specification

void glStencilOpSeparate(GLenum  face,
 GLenum  sfail,
 GLenum  dpfail,
 GLenum  dppass);

Parameters

face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/gl2/glTexCoord.xhtml b/gl2/glTexCoord.xhtml index 22316eaf..8bc75ea9 100644 --- a/gl2/glTexCoord.xhtml +++ b/gl2/glTexCoord.xhtml @@ -1,7 +1,7 @@ -

Name

glTexCoord — set the current texture coordinates

C Specification

void glTexCoord1s(GLshort  s);
void glTexCoord1i(GLint  s);
void glTexCoord1f(GLfloat  s);
void glTexCoord1d(GLdouble  s);
void glTexCoord2s(GLshort  s,
 GLshort  t);
void glTexCoord2i(GLint  s,
 GLint  t);
void glTexCoord2f(GLfloat  s,
 GLfloat  t);
void glTexCoord2d(GLdouble  s,
 GLdouble  t);
void glTexCoord3s(GLshort  s,
 GLshort  t,
 GLshort  r);
void glTexCoord3i(GLint  s,
 GLint  t,
 GLint  r);
void glTexCoord3f(GLfloat  s,
 GLfloat  t,
 GLfloat  r);
void glTexCoord3d(GLdouble  s,
 GLdouble  t,
 GLdouble  r);
void glTexCoord4s(GLshort  s,
 GLshort  t,
 GLshort  r,
 GLshort  q);
void glTexCoord4i(GLint  s,
 GLint  t,
 GLint  r,
 GLint  q);
void glTexCoord4f(GLfloat  s,
 GLfloat  t,
 GLfloat  r,
 GLfloat  q);
void glTexCoord4d(GLdouble  s,
 GLdouble  t,
 GLdouble  r,
 GLdouble  q);

Parameters

s, t, r, q

+

Name

glTexCoord — set the current texture coordinates

C Specification

void glTexCoord1s(GLshort  s);
void glTexCoord1i(GLint  s);
void glTexCoord1f(GLfloat  s);
void glTexCoord1d(GLdouble  s);
void glTexCoord2s(GLshort  s,
 GLshort  t);
void glTexCoord2i(GLint  s,
 GLint  t);
void glTexCoord2f(GLfloat  s,
 GLfloat  t);
void glTexCoord2d(GLdouble  s,
 GLdouble  t);
void glTexCoord3s(GLshort  s,
 GLshort  t,
 GLshort  r);
void glTexCoord3i(GLint  s,
 GLint  t,
 GLint  r);
void glTexCoord3f(GLfloat  s,
 GLfloat  t,
 GLfloat  r);
void glTexCoord3d(GLdouble  s,
 GLdouble  t,
 GLdouble  r);
void glTexCoord4s(GLshort  s,
 GLshort  t,
 GLshort  r,
 GLshort  q);
void glTexCoord4i(GLint  s,
 GLint  t,
 GLint  r,
 GLint  q);
void glTexCoord4f(GLfloat  s,
 GLfloat  t,
 GLfloat  r,
 GLfloat  q);
void glTexCoord4d(GLdouble  s,
 GLdouble  t,
 GLdouble  r,
 GLdouble  q);

Parameters

s, t, r, q

Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. -

C Specification

void glTexCoord1sv(const GLshort *  v);
void glTexCoord1iv(const GLint *  v);
void glTexCoord1fv(const GLfloat *  v);
void glTexCoord1dv(const GLdouble *  v);
void glTexCoord2sv(const GLshort *  v);
void glTexCoord2iv(const GLint *  v);
void glTexCoord2fv(const GLfloat *  v);
void glTexCoord2dv(const GLdouble *  v);
void glTexCoord3sv(const GLshort *  v);
void glTexCoord3iv(const GLint *  v);
void glTexCoord3fv(const GLfloat *  v);
void glTexCoord3dv(const GLdouble *  v);
void glTexCoord4sv(const GLshort *  v);
void glTexCoord4iv(const GLint *  v);
void glTexCoord4fv(const GLfloat *  v);
void glTexCoord4dv(const GLdouble *  v);

Parameters

v

+

C Specification

void glTexCoord1sv(const GLshort *  v);
void glTexCoord1iv(const GLint *  v);
void glTexCoord1fv(const GLfloat *  v);
void glTexCoord1dv(const GLdouble *  v);
void glTexCoord2sv(const GLshort *  v);
void glTexCoord2iv(const GLint *  v);
void glTexCoord2fv(const GLfloat *  v);
void glTexCoord2dv(const GLdouble *  v);
void glTexCoord3sv(const GLshort *  v);
void glTexCoord3iv(const GLint *  v);
void glTexCoord3fv(const GLfloat *  v);
void glTexCoord3dv(const GLdouble *  v);
void glTexCoord4sv(const GLshort *  v);
void glTexCoord4iv(const GLint *  v);
void glTexCoord4fv(const GLfloat *  v);
void glTexCoord4dv(const GLdouble *  v);

Parameters

v

Specifies a pointer to an array of one, two, three, or four elements, which in turn specify the s, diff --git a/gl2/glTexCoordPointer.xhtml b/gl2/glTexCoordPointer.xhtml index e5e881ff..d1ac4773 100644 --- a/gl2/glTexCoordPointer.xhtml +++ b/gl2/glTexCoordPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glTexCoordPointer — define an array of texture coordinates

C Specification

void glTexCoordPointer(GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

size

+

Name

glTexCoordPointer — define an array of texture coordinates

C Specification

void glTexCoordPointer(GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

size

Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.

type

@@ -18,7 +18,7 @@ array. The initial value is 0.

Description

glTexCoordPointer specifies the location and data format of an array of texture - coordinates to use when rendering. + coordinates to use when rendering. size specifies the number of coordinates per texture coordinate set, and must be 1, 2, 3, or 4. type specifies the data type of each texture coordinate, @@ -29,7 +29,7 @@ see glInterleavedArrays.)

- If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a texture coordinate array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as texture coordinate vertex array @@ -120,4 +120,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glTexEnv.xhtml b/gl2/glTexEnv.xhtml index e2690e8c..6db027ae 100644 --- a/gl2/glTexEnv.xhtml +++ b/gl2/glTexEnv.xhtml @@ -1,4 +1,4 @@ -

Name

glTexEnv — set texture environment parameters

C Specification

void glTexEnvf(GLenum target,
 GLenum pname,
 GLfloat param);
 

void glTexEnvi(GLenum target,
 GLenum pname,
 GLint param);
 

Parameters

target

+

Name

glTexEnv — set texture environment parameters

C Specification

void glTexEnvf(GLenum target,
 GLenum pname,
 GLfloat param);
 

void glTexEnvi(GLenum target,
 GLenum pname,
 GLint param);
 

Parameters

target

Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.

pname

@@ -31,7 +31,7 @@ a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. -

C Specification

void glTexEnvfv(GLenum target,
 GLenum pname,
 const GLfloat * params);
 
void glTexEnviv(GLenum target,
 GLenum pname,
 const GLint * params);
 

Parameters

target

+

C Specification

void glTexEnvfv(GLenum target,
 GLenum pname,
 const GLfloat * params);
 
void glTexEnviv(GLenum target,
 GLenum pname,
 const GLint * params);
 

Parameters

target

Specifies a texture environment. May be either GL_TEXTURE_ENV, or GL_TEXTURE_FILTER_CONTROL.

pname

@@ -84,7 +84,7 @@ s are used by the texture functions described below.

-

+

Texture Base Internal Format C @@ -192,7 +192,7 @@ v indicates a value produced by the texture function.

-

+

Texture Base Internal Format Value @@ -1119,7 +1119,7 @@ GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_SUBTRACT, GL_DOT3_RGB, or GL_DOT3_RGBA.

-

+

GL_COMBINE_RGB Texture Function @@ -1306,7 +1306,7 @@ GL_SUBTRACT. The following table describes how alpha values are combined:

-

+

GL_COMBINE_ALPHA Texture Function @@ -1461,7 +1461,7 @@ Arg2 based upon the RGB sources and operands:

-

+

GL_SRCn_RGB GL_OPERANDn_RGB @@ -1778,7 +1778,7 @@ Arg2 based upon the alpha sources and operands:

-

+

GL_SRCn_ALPHA GL_OPERANDn_ALPHA diff --git a/gl2/glTexGen.xhtml b/gl2/glTexGen.xhtml index 1eedc789..12a617e6 100644 --- a/gl2/glTexGen.xhtml +++ b/gl2/glTexGen.xhtml @@ -1,4 +1,4 @@ -

Name

glTexGen — control the generation of texture coordinates

C Specification

void glTexGeni(GLenum  coord,
 GLenum  pname,
 GLint  param);
void glTexGenf(GLenum  coord,
 GLenum  pname,
 GLfloat  param);
void glTexGend(GLenum  coord,
 GLenum  pname,
 GLdouble  param);

Parameters

coord

+

Name

glTexGen — control the generation of texture coordinates

C Specification

void glTexGeni(GLenum  coord,
 GLenum  pname,
 GLint  param);
void glTexGenf(GLenum  coord,
 GLenum  pname,
 GLfloat  param);
void glTexGend(GLenum  coord,
 GLenum  pname,
 GLdouble  param);

Parameters

coord

Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.

pname

@@ -8,7 +8,7 @@ Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. -

C Specification

void glTexGeniv(GLenum  coord,
 GLenum  pname,
 const GLint *  params);
void glTexGenfv(GLenum  coord,
 GLenum  pname,
 const GLfloat *  params);
void glTexGendv(GLenum  coord,
 GLenum  pname,
 const GLdouble *  params);

Parameters

coord

+

C Specification

void glTexGeniv(GLenum  coord,
 GLenum  pname,
 const GLint *  params);
void glTexGenfv(GLenum  coord,
 GLenum  pname,
 const GLfloat *  params);
void glTexGendv(GLenum  coord,
 GLenum  pname,
 const GLdouble *  params);

Parameters

coord

Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.

pname

diff --git a/gl2/glTexImage1D.xhtml b/gl2/glTexImage1D.xhtml index b7f790b1..574ff1f5 100644 --- a/gl2/glTexImage1D.xhtml +++ b/gl2/glTexImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage1D — specify a one-dimensional texture image

C Specification

void glTexImage1D(GLenum  target,
 GLint  level,
 GLint  internalFormat,
 GLsizei  width,
 GLint  border,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

+

Name

glTexImage1D — specify a one-dimensional texture image

C Specification

void glTexImage1D(GLenum  target,
 GLint  level,
 GLint  internalFormat,
 GLsizei  width,
 GLint  border,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. diff --git a/gl2/glTexImage2D.xhtml b/gl2/glTexImage2D.xhtml index 7f3077a2..9930e111 100644 --- a/gl2/glTexImage2D.xhtml +++ b/gl2/glTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage2D — specify a two-dimensional texture image

C Specification

void glTexImage2D(GLenum  target,
 GLint  level,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLint  border,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

+

Name

glTexImage2D — specify a two-dimensional texture image

C Specification

void glTexImage2D(GLenum  target,
 GLint  level,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLint  border,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, diff --git a/gl2/glTexImage3D.xhtml b/gl2/glTexImage3D.xhtml index 5c2aa7f9..fff12fc8 100644 --- a/gl2/glTexImage3D.xhtml +++ b/gl2/glTexImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage3D — specify a three-dimensional texture image

C Specification

void glTexImage3D(GLenum  target,
 GLint  level,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLint  border,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

+

Name

glTexImage3D — specify a three-dimensional texture image

C Specification

void glTexImage3D(GLenum  target,
 GLint  level,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLint  border,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. diff --git a/gl2/glTexParameter.xhtml b/gl2/glTexParameter.xhtml index 51efa5b2..606272dd 100644 --- a/gl2/glTexParameter.xhtml +++ b/gl2/glTexParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glTexParameter — set texture parameters

C Specification

void glTexParameterf(GLenum  target,
 GLenum  pname,
 GLfloat  param);
void glTexParameteri(GLenum  target,
 GLenum  pname,
 GLint  param);

Parameters

target

+

Name

glTexParameter — set texture parameters

C Specification

void glTexParameterf(GLenum  target,
 GLenum  pname,
 GLfloat  param);
void glTexParameteri(GLenum  target,
 GLenum  pname,
 GLint  param);

Parameters

target

Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. @@ -21,7 +21,7 @@ GL_GENERATE_MIPMAP.

param

Specifies the value of pname. -

C Specification

void glTexParameterfv(GLenum  target,
 GLenum  pname,
 const GLfloat *  params);
void glTexParameteriv(GLenum  target,
 GLenum  pname,
 const GLint *  params);

Parameters

target

+

C Specification

void glTexParameterfv(GLenum  target,
 GLenum  pname,
 const GLfloat *  params);
void glTexParameteriv(GLenum  target,
 GLenum  pname,
 const GLint *  params);

Parameters

target

Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D or GL_TEXTURE_3D. @@ -506,7 +506,7 @@

GL_TEXTURE_COMPARE_FUNC

Specifies the comparison operator used when GL_TEXTURE_COMPARE_MODE is set to GL_COMPARE_R_TO_TEXTURE. Permissible values are: -

+

Texture Comparison Function Computed result diff --git a/gl2/glTexSubImage1D.xhtml b/gl2/glTexSubImage1D.xhtml index 19fd6883..c303a15e 100644 --- a/gl2/glTexSubImage1D.xhtml +++ b/gl2/glTexSubImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexSubImage1D — specify a one-dimensional texture subimage

C Specification

void glTexSubImage1D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

+

Name

glTexSubImage1D — specify a one-dimensional texture subimage

C Specification

void glTexSubImage1D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D. diff --git a/gl2/glTexSubImage2D.xhtml b/gl2/glTexSubImage2D.xhtml index dd598892..2e9b5fd0 100644 --- a/gl2/glTexSubImage2D.xhtml +++ b/gl2/glTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexSubImage2D — specify a two-dimensional texture subimage

C Specification

void glTexSubImage2D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

+

Name

glTexSubImage2D — specify a two-dimensional texture subimage

C Specification

void glTexSubImage2D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, diff --git a/gl2/glTexSubImage3D.xhtml b/gl2/glTexSubImage3D.xhtml index 42af9483..c5a88d2b 100644 --- a/gl2/glTexSubImage3D.xhtml +++ b/gl2/glTexSubImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexSubImage3D — specify a three-dimensional texture subimage

C Specification

void glTexSubImage3D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  zoffset,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

+

Name

glTexSubImage3D — specify a three-dimensional texture subimage

C Specification

void glTexSubImage3D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  zoffset,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLenum  type,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D. diff --git a/gl2/glTranslate.xhtml b/gl2/glTranslate.xhtml index 3920b0e8..71ee805f 100644 --- a/gl2/glTranslate.xhtml +++ b/gl2/glTranslate.xhtml @@ -1,4 +1,4 @@ -

Name

glTranslate — multiply the current matrix by a translation matrix

C Specification

void glTranslated(GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glTranslatef(GLfloat  x,
 GLfloat  y,
 GLfloat  z);

Parameters

x, y, z

+

Name

glTranslate — multiply the current matrix by a translation matrix

C Specification

void glTranslated(GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glTranslatef(GLfloat  x,
 GLfloat  y,
 GLfloat  z);

Parameters

x, y, z

Specify the x, y, and z coordinates of a translation vector.

Description

glTranslate produces a translation by diff --git a/gl2/glUniform.xhtml b/gl2/glUniform.xhtml index b1e4b53a..407fe232 100644 --- a/gl2/glUniform.xhtml +++ b/gl2/glUniform.xhtml @@ -1,18 +1,18 @@ -

Name

glUniform — Specify the value of a uniform variable for the current program object

C Specification

void glUniform1f(GLint  location,
 GLfloat  v0);
void glUniform2f(GLint  location,
 GLfloat  v0,
 GLfloat  v1);
void glUniform3f(GLint  location,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2);
void glUniform4f(GLint  location,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2,
 GLfloat  v3);
void glUniform1i(GLint  location,
 GLint  v0);
void glUniform2i(GLint  location,
 GLint  v0,
 GLint  v1);
void glUniform3i(GLint  location,
 GLint  v0,
 GLint  v1,
 GLint  v2);
void glUniform4i(GLint  location,
 GLint  v0,
 GLint  v1,
 GLint  v2,
 GLint  v3);

Parameters

location

Specifies the location of the uniform variable +

Name

glUniform — Specify the value of a uniform variable for the current program object

C Specification

void glUniform1f(GLint  location,
 GLfloat  v0);
void glUniform2f(GLint  location,
 GLfloat  v0,
 GLfloat  v1);
void glUniform3f(GLint  location,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2);
void glUniform4f(GLint  location,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2,
 GLfloat  v3);
void glUniform1i(GLint  location,
 GLint  v0);
void glUniform2i(GLint  location,
 GLint  v0,
 GLint  v1);
void glUniform3i(GLint  location,
 GLint  v0,
 GLint  v1,
 GLint  v2);
void glUniform4i(GLint  location,
 GLint  v0,
 GLint  v1,
 GLint  v2,
 GLint  v3);

Parameters

location

Specifies the location of the uniform variable to be modified.

v0, v1, v2, v3

Specifies the new values to be used for the - specified uniform variable.

C Specification

void glUniform1fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform2fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform3fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform4fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform1iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform2iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform3iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform4iv(GLint  location,
 GLsizei  count,
 const GLint * value);

Parameters

location

Specifies the location of the uniform value to + specified uniform variable.

C Specification

void glUniform1fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform2fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform3fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform4fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform1iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform2iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform3iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform4iv(GLint  location,
 GLsizei  count,
 const GLint * value);

Parameters

location

Specifies the location of the uniform value to be modified.

count

Specifies the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.

value

Specifies a pointer to an array of count values that will be used to update the specified uniform - variable.

C Specification

void glUniformMatrix2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix2x3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3x2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix2x4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4x2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3x4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4x3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);

Parameters

location

Specifies the location of the uniform value to + variable.

C Specification

void glUniformMatrix2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix2x3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3x2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix2x4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4x2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3x4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4x3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);

Parameters

location

Specifies the location of the uniform value to be modified.

count

Specifies the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is @@ -83,7 +83,7 @@ variable array of type vec3). The number of elements of the uniform variable array to be modified is specified by count

The commands - glUniformMatrix{2|3|4|2x3|3x2|2x4|4x2|3x4|4x3}fv + glUniformMatrix{2|3|4|2x3|3x2|2x4|4x2|3x4|4x3}fv are used to modify a matrix or an array of matrices. The numbers in the command name are interpreted as the dimensionality of the matrix. The number 2 indicates a 2 × 2 matrix @@ -92,7 +92,7 @@ 4 indicates a 4 × 4 matrix (i.e., 16 values). Non-square matrix dimensionality is explicit, with the first number representing the number of columns and the second number - representing the number of rows. For example, + representing the number of rows. For example, 2x4 indicates a 2 × 4 matrix with 2 columns and 4 rows (i.e., 8 values). If transpose is @@ -105,7 +105,7 @@ of 1 should be used if modifying the value of a single matrix, and a count greater than 1 can be used to modify an array of matrices.

Notes

glUniform is available only if the GL - version is 2.0 or greater.

glUniformMatrix{2x3|3x2|2x4|4x2|3x4|4x3}fv + version is 2.0 or greater.

glUniformMatrix{2x3|3x2|2x4|4x2|3x4|4x3}fv is available only if the GL version is 2.1 or greater.

glUniform1i and glUniform1iv are the only two functions that may be used to load uniform variables defined as sampler @@ -157,8 +157,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl2/glUseProgram.xhtml b/gl2/glUseProgram.xhtml index 5da593c7..8a83650a 100644 --- a/gl2/glUseProgram.xhtml +++ b/gl2/glUseProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glUseProgram — Installs a program object as part of current rendering state

C Specification

void glUseProgram(GLuint  program);

Parameters

program

Specifies the handle of the program object +

Name

glUseProgram — Installs a program object as part of current rendering state

C Specification

void glUseProgram(GLuint  program);

Parameters

program

Specifies the handle of the program object whose executables are to be used as part of current rendering state.

Description

glUseProgram installs the program object specified by program as part of @@ -111,8 +111,8 @@ glUniform, glValidateProgram, glVertexAttrib

\ No newline at end of file +

diff --git a/gl2/glValidateProgram.xhtml b/gl2/glValidateProgram.xhtml index 71c0a3c0..a7c87af3 100644 --- a/gl2/glValidateProgram.xhtml +++ b/gl2/glValidateProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glValidateProgram — Validates a program object

C Specification

void glValidateProgram(GLuint  program);

Parameters

program

Specifies the handle of the program object to +

Name

glValidateProgram — Validates a program object

C Specification

void glValidateProgram(GLuint  program);

Parameters

program

Specifies the handle of the program object to be validated.

Description

glValidateProgram checks to see whether the executables contained in program can execute given the current @@ -61,8 +61,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl2/glVertex.xhtml b/gl2/glVertex.xhtml index e3cfa2f9..cb93aaac 100644 --- a/gl2/glVertex.xhtml +++ b/gl2/glVertex.xhtml @@ -1,7 +1,7 @@ -

Name

glVertex — specify a vertex

C Specification

void glVertex2s(GLshort  x,
 GLshort  y);
void glVertex2i(GLint  x,
 GLint  y);
void glVertex2f(GLfloat  x,
 GLfloat  y);
void glVertex2d(GLdouble  x,
 GLdouble  y);
void glVertex3s(GLshort  x,
 GLshort  y,
 GLshort  z);
void glVertex3i(GLint  x,
 GLint  y,
 GLint  z);
void glVertex3f(GLfloat  x,
 GLfloat  y,
 GLfloat  z);
void glVertex3d(GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glVertex4s(GLshort  x,
 GLshort  y,
 GLshort  z,
 GLshort  w);
void glVertex4i(GLint  x,
 GLint  y,
 GLint  z,
 GLint  w);
void glVertex4f(GLfloat  x,
 GLfloat  y,
 GLfloat  z,
 GLfloat  w);
void glVertex4d(GLdouble  x,
 GLdouble  y,
 GLdouble  z,
 GLdouble  w);

Parameters

x, y, z, w

+

Name

glVertex — specify a vertex

C Specification

void glVertex2s(GLshort  x,
 GLshort  y);
void glVertex2i(GLint  x,
 GLint  y);
void glVertex2f(GLfloat  x,
 GLfloat  y);
void glVertex2d(GLdouble  x,
 GLdouble  y);
void glVertex3s(GLshort  x,
 GLshort  y,
 GLshort  z);
void glVertex3i(GLint  x,
 GLint  y,
 GLint  z);
void glVertex3f(GLfloat  x,
 GLfloat  y,
 GLfloat  z);
void glVertex3d(GLdouble  x,
 GLdouble  y,
 GLdouble  z);
void glVertex4s(GLshort  x,
 GLshort  y,
 GLshort  z,
 GLshort  w);
void glVertex4i(GLint  x,
 GLint  y,
 GLint  z,
 GLint  w);
void glVertex4f(GLfloat  x,
 GLfloat  y,
 GLfloat  z,
 GLfloat  w);
void glVertex4d(GLdouble  x,
 GLdouble  y,
 GLdouble  z,
 GLdouble  w);

Parameters

x, y, z, w

Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. -

C Specification

void glVertex2sv(const GLshort *  v);
void glVertex2iv(const GLint *  v);
void glVertex2fv(const GLfloat *  v);
void glVertex2dv(const GLdouble *  v);
void glVertex3sv(const GLshort *  v);
void glVertex3iv(const GLint *  v);
void glVertex3fv(const GLfloat *  v);
void glVertex3dv(const GLdouble *  v);
void glVertex4sv(const GLshort *  v);
void glVertex4iv(const GLint *  v);
void glVertex4fv(const GLfloat *  v);
void glVertex4dv(const GLdouble *  v);

Parameters

v

+

C Specification

void glVertex2sv(const GLshort *  v);
void glVertex2iv(const GLint *  v);
void glVertex2fv(const GLfloat *  v);
void glVertex2dv(const GLdouble *  v);
void glVertex3sv(const GLshort *  v);
void glVertex3iv(const GLint *  v);
void glVertex3fv(const GLfloat *  v);
void glVertex3dv(const GLdouble *  v);
void glVertex4sv(const GLshort *  v);
void glVertex4iv(const GLint *  v);
void glVertex4fv(const GLfloat *  v);
void glVertex4dv(const GLdouble *  v);

Parameters

v

Specifies a pointer to an array of two, three, or four elements. The elements of a two-element array are x diff --git a/gl2/glVertexAttrib.xhtml b/gl2/glVertexAttrib.xhtml index 1b405084..bee0b3c4 100644 --- a/gl2/glVertexAttrib.xhtml +++ b/gl2/glVertexAttrib.xhtml @@ -1,11 +1,11 @@ -

Name

glVertexAttrib — Specifies the value of a generic vertex attribute

C Specification

void glVertexAttrib1f(GLuint  index,
 GLfloat  v0);
void glVertexAttrib1s(GLuint  index,
 GLshort  v0);
void glVertexAttrib1d(GLuint  index,
 GLdouble  v0);
void glVertexAttrib2f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1);
void glVertexAttrib2s(GLuint  index,
 GLshort  v0,
 GLshort  v1);
void glVertexAttrib2d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1);
void glVertexAttrib3f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2);
void glVertexAttrib3s(GLuint  index,
 GLshort  v0,
 GLshort  v1,
 GLshort  v2);
void glVertexAttrib3d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1,
 GLdouble  v2);
void glVertexAttrib4f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2,
 GLfloat  v3);
void glVertexAttrib4s(GLuint  index,
 GLshort  v0,
 GLshort  v1,
 GLshort  v2,
 GLshort  v3);
void glVertexAttrib4d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1,
 GLdouble  v2,
 GLdouble  v3);
void glVertexAttrib4Nub(GLuint  index,
 GLubyte  v0,
 GLubyte  v1,
 GLubyte  v2,
 GLubyte  v3);

Parameters

index

Specifies the index of the generic vertex +

Name

glVertexAttrib — Specifies the value of a generic vertex attribute

C Specification

void glVertexAttrib1f(GLuint  index,
 GLfloat  v0);
void glVertexAttrib1s(GLuint  index,
 GLshort  v0);
void glVertexAttrib1d(GLuint  index,
 GLdouble  v0);
void glVertexAttrib2f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1);
void glVertexAttrib2s(GLuint  index,
 GLshort  v0,
 GLshort  v1);
void glVertexAttrib2d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1);
void glVertexAttrib3f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2);
void glVertexAttrib3s(GLuint  index,
 GLshort  v0,
 GLshort  v1,
 GLshort  v2);
void glVertexAttrib3d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1,
 GLdouble  v2);
void glVertexAttrib4f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2,
 GLfloat  v3);
void glVertexAttrib4s(GLuint  index,
 GLshort  v0,
 GLshort  v1,
 GLshort  v2,
 GLshort  v3);
void glVertexAttrib4d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1,
 GLdouble  v2,
 GLdouble  v3);
void glVertexAttrib4Nub(GLuint  index,
 GLubyte  v0,
 GLubyte  v1,
 GLubyte  v2,
 GLubyte  v3);

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

v0, v1, v2, v3

Specifies the new values to be used for the - specified vertex attribute.

C Specification

void glVertexAttrib1fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib1sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib1dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib2fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib2sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib2dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib3fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib3sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib3dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib4fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib4sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib4dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib4iv(GLuint  index,
 const GLint * v);
void glVertexAttrib4bv(GLuint  index,
 const GLbyte * v);
void glVertexAttrib4ubv(GLuint  index,
 const GLubyte * v);
void glVertexAttrib4usv(GLuint  index,
 const GLushort * v);
void glVertexAttrib4uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib4Nbv(GLuint  index,
 const GLbyte * v);
void glVertexAttrib4Nsv(GLuint  index,
 const GLshort * v);
void glVertexAttrib4Niv(GLuint  index,
 const GLint * v);
void glVertexAttrib4Nubv(GLuint  index,
 const GLubyte * v);
void glVertexAttrib4Nusv(GLuint  index,
 const GLushort * v);
void glVertexAttrib4Nuiv(GLuint  index,
 const GLuint * v);

Parameters

index

Specifies the index of the generic vertex + specified vertex attribute.

C Specification

void glVertexAttrib1fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib1sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib1dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib2fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib2sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib2dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib3fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib3sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib3dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib4fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib4sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib4dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib4iv(GLuint  index,
 const GLint * v);
void glVertexAttrib4bv(GLuint  index,
 const GLbyte * v);
void glVertexAttrib4ubv(GLuint  index,
 const GLubyte * v);
void glVertexAttrib4usv(GLuint  index,
 const GLushort * v);
void glVertexAttrib4uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib4Nbv(GLuint  index,
 const GLbyte * v);
void glVertexAttrib4Nsv(GLuint  index,
 const GLshort * v);
void glVertexAttrib4Niv(GLuint  index,
 const GLint * v);
void glVertexAttrib4Nubv(GLuint  index,
 const GLubyte * v);
void glVertexAttrib4Nusv(GLuint  index,
 const GLushort * v);
void glVertexAttrib4Nuiv(GLuint  index,
 const GLuint * v);

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

v

Specifies a pointer to an array of values to be used for the generic vertex attribute.

Description

OpenGL defines a number of standard vertex attributes that applications can modify with standard API entry points (color, @@ -118,8 +118,8 @@

\ No newline at end of file +

diff --git a/gl2/glVertexAttribPointer.xhtml b/gl2/glVertexAttribPointer.xhtml index 9ada1eac..d452247a 100644 --- a/gl2/glVertexAttribPointer.xhtml +++ b/gl2/glVertexAttribPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glVertexAttribPointer — define an array of generic vertex attribute data

C Specification

void glVertexAttribPointer(GLuint  index,
 GLint  size,
 GLenum  type,
 GLboolean  normalized,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

index

Specifies the index of the generic vertex +

Name

glVertexAttribPointer — define an array of generic vertex attribute data

C Specification

void glVertexAttribPointer(GLuint  index,
 GLint  size,
 GLenum  type,
 GLboolean  normalized,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4.

type

Specifies the data type of each component in @@ -28,13 +28,13 @@ of each component, and stride specifies the byte stride from one attribute to the next, allowing vertices and attributes to be packed into a single array or - stored in separate arrays. + stored in separate arrays. If set to GL_TRUE, normalized indicates that values stored in an integer format are to be mapped to the range [-1,1] (for signed values) or [0,1] (for unsigned values) when they are accessed and converted to floating point. Otherwise, values will - be converted to floats directly without normalization.

If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + be converted to floats directly without normalization.

If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a generic vertex attribute array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as generic vertex attribute array @@ -50,11 +50,11 @@ glDisableVertexAttribArray with index. If enabled, the generic vertex attribute array is used when - glArrayElement, - glDrawArrays, + glArrayElement, + glDrawArrays, glMultiDrawArrays, - glDrawElements, - glMultiDrawElements, or + glDrawElements, + glMultiDrawElements, or glDrawRangeElements is called.

Notes

glVertexAttribPointer is available only if the GL version is 2.0 or greater.

Each generic vertex attribute array is initially disabled @@ -89,7 +89,7 @@ with arguments index and GL_VERTEX_ATTRIB_ARRAY_TYPE

glGetVertexAttrib with arguments index and GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

glGetVertexAttrib with arguments index and GL_VERTEX_ATTRIB_ARRAY_STRIDE

glGetVertexAttrib - with arguments index and GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

glGet with argument + with arguments index and GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

glGet with argument GL_ARRAY_BUFFER_BINDING

glGetVertexAttribPointerv with arguments index and GL_VERTEX_ATTRIB_ARRAY_POINTER

@@ -117,8 +117,8 @@ glVertexAttrib, glVertexPointer

\ No newline at end of file +

diff --git a/gl2/glVertexPointer.xhtml b/gl2/glVertexPointer.xhtml index 5bc7a478..993771b0 100644 --- a/gl2/glVertexPointer.xhtml +++ b/gl2/glVertexPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glVertexPointer — define an array of vertex data

C Specification

void glVertexPointer(GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

size

+

Name

glVertexPointer — define an array of vertex data

C Specification

void glVertexPointer(GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

size

Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.

type

@@ -27,7 +27,7 @@ (Single-array storage may be more efficient on some implementations; see glInterleavedArrays.)

- If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target + If a non-zero named buffer object is bound to the GL_ARRAY_BUFFER target (see glBindBuffer) while a vertex array is specified, pointer is treated as a byte offset into the buffer object's data store. Also, the buffer object binding (GL_ARRAY_BUFFER_BINDING) is saved as vertex array @@ -110,4 +110,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glViewport.xhtml b/gl2/glViewport.xhtml index e6f1374d..94bc657c 100644 --- a/gl2/glViewport.xhtml +++ b/gl2/glViewport.xhtml @@ -1,4 +1,4 @@ -

Name

glViewport — set the viewport

C Specification

void glViewport(GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

Parameters

x, y

+

Name

glViewport — set the viewport

C Specification

void glViewport(GLint  x,
 GLint  y,
 GLsizei  width,
 GLsizei  height);

Parameters

x, y

Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).

width, height

diff --git a/gl2/glWindowPos.xhtml b/gl2/glWindowPos.xhtml index f0916554..618add8e 100644 --- a/gl2/glWindowPos.xhtml +++ b/gl2/glWindowPos.xhtml @@ -1,10 +1,10 @@ -

Name

glWindowPos — specify the raster position in window coordinates for pixel operations

C Specification

void glWindowPos2s(GLshort  x,
 GLshort  y);
void glWindowPos2i(GLint  x,
 GLint  y);
void glWindowPos2f(GLfloat  x,
 GLfloat  y);
void glWindowPos2d(GLdouble  x,
 GLdouble  y);
void glWindowPos3s(GLshort  x,
 GLshort  y,
 GLshort  z);
void glWindowPos3i(GLint  x,
 GLint  y,
 GLint  z);
void glWindowPos3f(GLfloat  x,
 GLfloat  y,
 GLfloat  z);
void glWindowPos3d(GLdouble  x,
 GLdouble  y,
 GLdouble  z);

Parameters

x, y, z

+

Name

glWindowPos — specify the raster position in window coordinates for pixel operations

C Specification

void glWindowPos2s(GLshort  x,
 GLshort  y);
void glWindowPos2i(GLint  x,
 GLint  y);
void glWindowPos2f(GLfloat  x,
 GLfloat  y);
void glWindowPos2d(GLdouble  x,
 GLdouble  y);
void glWindowPos3s(GLshort  x,
 GLshort  y,
 GLshort  z);
void glWindowPos3i(GLint  x,
 GLint  y,
 GLint  z);
void glWindowPos3f(GLfloat  x,
 GLfloat  y,
 GLfloat  z);
void glWindowPos3d(GLdouble  x,
 GLdouble  y,
 GLdouble  z);

Parameters

x, y, z

Specify the x, y, z coordinates for the raster position. -

C Specification

void glWindowPos2sv(const GLshort *  v);
void glWindowPos2iv(const GLint *  v);
void glWindowPos2fv(const GLfloat *  v);
void glWindowPos2dv(const GLdouble *  v);
void glWindowPos3sv(const GLshort *  v);
void glWindowPos3iv(const GLint *  v);
void glWindowPos3fv(const GLfloat *  v);
void glWindowPos3dv(const GLdouble *  v);

Parameters

v

+

C Specification

void glWindowPos2sv(const GLshort *  v);
void glWindowPos2iv(const GLint *  v);
void glWindowPos2fv(const GLfloat *  v);
void glWindowPos2dv(const GLdouble *  v);
void glWindowPos3sv(const GLshort *  v);
void glWindowPos3iv(const GLint *  v);
void glWindowPos3fv(const GLfloat *  v);
void glWindowPos3dv(const GLdouble *  v);

Parameters

v

Specifies a pointer to an array of two or three elements, specifying x, diff --git a/gl2/glXChooseFBConfig.xhtml b/gl2/glXChooseFBConfig.xhtml index 27072355..40438391 100644 --- a/gl2/glXChooseFBConfig.xhtml +++ b/gl2/glXChooseFBConfig.xhtml @@ -1,4 +1,4 @@ -

Name

glXChooseFBConfig — return a list of GLX frame buffer configurations that match the specified attributes

C Specification

GLXFBConfig * glXChooseFBConfig(Display *  dpy,
 int  screen,
 const int *  attrib_list,
 int *  nelements);

Parameters

dpy

+

Name

glXChooseFBConfig — return a list of GLX frame buffer configurations that match the specified attributes

C Specification

GLXFBConfig * glXChooseFBConfig(Display *  dpy,
 int  screen,
 const int *  attrib_list,
 int *  nelements);

Parameters

dpy

Specifies the connection to the X server.

screen

Specifies the screen number. @@ -21,20 +21,20 @@ All attributes in attrib_list, including boolean attributes, are immediately followed by the corresponding desired value. The list is terminated with None. If an attribute is not specified in attrib_list, - then the default value (see below) is used (and the attribute is said to be - specified implicitly). For example, if GLX_STEREO is not specified, then - it is assumed to be False. For some attributes, the default is - GLX_DONT_CARE, meaning that any value is OK for this attribute, so the + then the default value (see below) is used (and the attribute is said to be + specified implicitly). For example, if GLX_STEREO is not specified, then + it is assumed to be False. For some attributes, the default is + GLX_DONT_CARE, meaning that any value is OK for this attribute, so the attribute will not be checked.

Attributes are matched in an attribute-specific manner. - Some of the attributes, such as GLX_LEVEL, must match the specified - value exactly; others, such as, GLX_RED_SIZE must meet or exceed the + Some of the attributes, such as GLX_LEVEL, must match the specified + value exactly; others, such as, GLX_RED_SIZE must meet or exceed the specified minimum values. If more than one GLX frame buffer configuration is found, - then a list of configurations, sorted + then a list of configurations, sorted according to the ``best'' match criteria, is returned. The match criteria for each attribute and the exact sorting order is - defined below. + defined below.

The interpretations of the various GLX visual attributes are as follows:

GLX_FBCONFIG_ID

@@ -80,7 +80,7 @@

Must be followed by a nonnegative integer that indicates the desired number of auxiliary buffers. - Configurations with the + Configurations with the smallest number of auxiliary buffers that meet or exceed the specified number are preferred. The default value is 0. @@ -89,10 +89,10 @@ Each attribute, if present, must be followed by a nonnegative minimum size specification or GLX_DONT_CARE. The largest available total RGBA color buffer size (sum of GLX_RED_SIZE, - GLX_GREEN_SIZE, GLX_BLUE_SIZE, and GLX_ALPHA_SIZE) + GLX_GREEN_SIZE, GLX_BLUE_SIZE, and GLX_ALPHA_SIZE) of at least the minimum size specified for each color component is preferred. - If the requested number of bits for a color component is 0 or - GLX_DONT_CARE, it is not considered. The default value for each color + If the requested number of bits for a color component is 0 or + GLX_DONT_CARE, it is not considered. The default value for each color component is 0.

GLX_DEPTH_SIZE

@@ -146,8 +146,8 @@

Must be followed by a mask indicating which OpenGL rendering modes the frame buffer configuration must support. - Valid bits are GLX_RGBA_BIT and - GLX_COLOR_INDEX_BIT. If the mask is + Valid bits are GLX_RGBA_BIT and + GLX_COLOR_INDEX_BIT. If the mask is set to GLX_RGBA_BIT | GLX_COLOR_INDEX_BIT, then only frame buffer configurations that can be bound to both RGBA contexts and color index contexts will be considered. @@ -155,11 +155,11 @@

GLX_DRAWABLE_TYPE

Must be followed by a mask indicating which GLX drawable types - the frame buffer configuration must support. Valid bits are + the frame buffer configuration must support. Valid bits are GLX_WINDOW_BIT, GLX_PIXMAP_BIT, and GLX_PBUFFER_BIT. - For example, if mask is set to - GLX_WINDOW_BIT | GLX_PIXMAP_BIT, + For example, if mask is set to + GLX_WINDOW_BIT | GLX_PIXMAP_BIT, only frame buffer configurations that support both windows and GLX pixmaps will be considered. The default value is GLX_WINDOW_BIT. @@ -172,32 +172,32 @@ The default value is GLX_DONT_CARE.

GLX_X_VISUAL_TYPE

- Must be followed by one of + Must be followed by one of GLX_TRUE_COLOR, GLX_DIRECT_COLOR, GLX_PSEUDO_COLOR, GLX_STATIC_COLOR, GLX_GRAY_SCALE, or GLX_STATIC_GRAY, indicating the desired X visual type. - Not all frame buffer configurations have an associated X visual. If + Not all frame buffer configurations have an associated X visual. If GLX_DRAWABLE_TYPE is specified in attrib_list and the mask that follows does not have GLX_WINDOW_BIT set, - then this value is ignored. It is also ignored if + then this value is ignored. It is also ignored if GLX_X_RENDERABLE is specified as False. - RGBA rendering may be supported for visuals of type + RGBA rendering may be supported for visuals of type GLX_TRUE_COLOR, GLX_DIRECT_COLOR, GLX_PSEUDO_COLOR, - or GLX_STATIC_COLOR, + or GLX_STATIC_COLOR, but color index rendering is only supported for visuals of type GLX_PSEUDO_COLOR or GLX_STATIC_COLOR (i.e., single-channel visuals). - The tokens GLX_GRAY_SCALE and GLX_STATIC_GRAY will + The tokens GLX_GRAY_SCALE and GLX_STATIC_GRAY will not match current OpenGL enabled visuals, but are included for future use. The default value for GLX_X_VISUAL_TYPE is GLX_DONT_CARE.

GLX_CONFIG_CAVEAT

- Must be followed by one of + Must be followed by one of GLX_NONE, GLX_SLOW_CONFIG, GLX_NON_CONFORMANT_CONFIG. @@ -209,16 +209,16 @@ The default value is GLX_DONT_CARE.

GLX_TRANSPARENT_TYPE

- Must be followed by one of + Must be followed by one of GLX_NONE, GLX_TRANSPARENT_RGB, GLX_TRANSPARENT_INDEX. - If GLX_NONE is specified, then only opaque + If GLX_NONE is specified, then only opaque frame buffer configurations will be considered; if GLX_TRANSPARENT_RGB is specified, then only transparent frame buffer configurations that support RGBA rendering will be considered; if GLX_TRANSPARENT_INDEX is specified, - then only transparent frame buffer configurations that support color + then only transparent frame buffer configurations that support color index rendering will be considered. The default value is GLX_NONE.

GLX_TRANSPARENT_INDEX_VALUE

@@ -226,17 +226,17 @@ Must be followed by an integer value indicating the transparent index value; the value must be between 0 and the maximum frame buffer value for indices. - Only frame buffer configurations that use the + Only frame buffer configurations that use the specified transparent index value will be considered. The default value is GLX_DONT_CARE. - This attribute is ignored unless GLX_TRANSPARENT_TYPE is + This attribute is ignored unless GLX_TRANSPARENT_TYPE is included in attrib_list and specified as GLX_TRANSPARENT_INDEX.

GLX_TRANSPARENT_RED_VALUE

Must be followed by an integer value indicating the transparent red value; the value must be between 0 and the maximum frame buffer value for red. - Only frame buffer configurations that use the + Only frame buffer configurations that use the specified transparent red value will be considered. The default value is GLX_DONT_CARE. This attribute is @@ -247,7 +247,7 @@ Must be followed by an integer value indicating the transparent green value; the value must be between 0 and the maximum frame buffer value for green. - Only frame buffer configurations that use the + Only frame buffer configurations that use the specified transparent green value will be considered. The default value is GLX_DONT_CARE. This attribute is @@ -258,7 +258,7 @@ Must be followed by an integer value indicating the transparent blue value; the value must be between 0 and the maximum frame buffer value for blue. - Only frame buffer configurations that use the + Only frame buffer configurations that use the specified transparent blue value will be considered. The default value is GLX_DONT_CARE. This attribute is ignored unless GLX_TRANSPARENT_TYPE is included in @@ -268,13 +268,13 @@ Must be followed by an integer value indicating the transparent alpha value; the value must be between 0 and the maximum frame buffer value for alpha. - Only frame buffer configurations that use the + Only frame buffer configurations that use the specified transparent alpha value will be considered. The default value is GLX_DONT_CARE.

When more than one GLX frame buffer configuration matches the specified attributes, - a list of matching configurations is returned. The list is sorted - according to the following precedence rules, which are applied in ascending + a list of matching configurations is returned. The list is sorted + according to the following precedence rules, which are applied in ascending order (i.e., configurations that are considered equal by a lower numbered rule are sorted by the higher numbered rule): @@ -337,9 +337,9 @@ If the GLX version is 1.2, then the GL version must be 1.1. If the GLX version is 1.3, then the GL version must be 1.2.

- glXGetFBConfigs and glXGetFBConfigAttrib can - be used to implement selection algorithms other than the generic - one implemented by glXChooseFBConfig. Call glXChooseFBConfig to retrieve all the frame buffer configurations + glXGetFBConfigs and glXGetFBConfigAttrib can + be used to implement selection algorithms other than the generic + one implemented by glXChooseFBConfig. Call glXChooseFBConfig to retrieve all the frame buffer configurations on a particular screen or, alternatively, all the frame buffer configurations with a particular set of attributes. Next, call glXGetFBConfigAttrib to retrieve additional attributes for the frame buffer configurations and then @@ -365,4 +365,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXChooseVisual.xhtml b/gl2/glXChooseVisual.xhtml index e5ed77f8..427726f3 100644 --- a/gl2/glXChooseVisual.xhtml +++ b/gl2/glXChooseVisual.xhtml @@ -1,4 +1,4 @@ -

Name

glXChooseVisual — return a visual that matches specified attributes

C Specification

XVisualInfo* glXChooseVisual(Display *  dpy,
 int  screen,
 int *  attribList);

Parameters

dpy

+

Name

glXChooseVisual — return a visual that matches specified attributes

C Specification

XVisualInfo* glXChooseVisual(Display *  dpy,
 int  screen,
 int *  attribList);

Parameters

dpy

Specifies the connection to the X server.

screen

Specifies the screen number. @@ -11,7 +11,7 @@ The boolean GLX attributes of the visual that is returned will match the specified values, and the integer GLX attributes will meet or exceed the specified - minimum values. + minimum values. If all other attributes are equivalent, then TrueColor and PseudoColor visuals have priority over DirectColor and StaticColor visuals, respectively. @@ -24,7 +24,7 @@ All integer GLX attributes default to zero. Default specifications are superseded by attributes included in attribList. Boolean attributes included in attribList are understood to be True. - Integer attributes and enumerated type attributes are followed immediately + Integer attributes and enumerated type attributes are followed immediately by the corresponding desired or minimum value. The list must be terminated with None. @@ -63,7 +63,7 @@

GLX_AUX_BUFFERS

Must be followed by a nonnegative integer that indicates the desired number of auxiliary buffers. - Visuals with the + Visuals with the smallest number of auxiliary buffers that meets or exceeds the specified number are preferred.

GLX_RED_SIZE

@@ -179,4 +179,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXCopyContext.xhtml b/gl2/glXCopyContext.xhtml index 6445bb33..cd42e684 100644 --- a/gl2/glXCopyContext.xhtml +++ b/gl2/glXCopyContext.xhtml @@ -1,4 +1,4 @@ -

Name

glXCopyContext — copy state from one rendering context to another

C Specification

void glXCopyContext(Display *  dpy,
 GLXContext  src,
 GLXContext  dst,
 unsigned long  mask);

Parameters

dpy

+

Name

glXCopyContext — copy state from one rendering context to another

C Specification

void glXCopyContext(Display *  dpy,
 GLXContext  src,
 GLXContext  dst,
 unsigned long  mask);

Parameters

dpy

Specifies the connection to the X server.

src

Specifies the source context. @@ -29,7 +29,7 @@ render mode state, and select and feedback state are not copied. The state that can be copied is exactly the state that is manipulated - by the GL command + by the GL command glPushAttrib.

An implicit glFlush is done by glXCopyContext if src is the current @@ -71,4 +71,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXCreateContext.xhtml b/gl2/glXCreateContext.xhtml index 796793eb..ebc3c506 100644 --- a/gl2/glXCreateContext.xhtml +++ b/gl2/glXCreateContext.xhtml @@ -1,4 +1,4 @@ -

Name

glXCreateContext — create a new GLX rendering context

C Specification

GLXContext glXCreateContext(Display *  dpy,
 XVisualInfo *  vis,
 GLXContext  shareList,
 Bool  direct);

Parameters

dpy

+

Name

glXCreateContext — create a new GLX rendering context

C Specification

GLXContext glXCreateContext(Display *  dpy,
 XVisualInfo *  vis,
 GLXContext  shareList,
 Bool  direct);

Parameters

dpy

Specifies the connection to the X server.

vis

Specifies the visual that defines the frame buffer resources available to @@ -42,8 +42,8 @@ threads to share an address space, only for their related rendering contexts to share an address space.

- If the GL version is 1.1 or greater, - then all texture objects except object 0 + If the GL version is 1.1 or greater, + then all texture objects except object 0 are shared by any contexts that share display lists.

Notes

XVisualInfo is defined in Xutil.h. @@ -62,7 +62,7 @@ A thread that is the only member of its subprocess group is equivalent to a process.

- It may not be possible to render to a GLX pixmap with a direct rendering + It may not be possible to render to a GLX pixmap with a direct rendering context.

Errors

NULL is returned if execution fails on the client side. @@ -90,4 +90,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXCreateGLXPixmap.xhtml b/gl2/glXCreateGLXPixmap.xhtml index 680eceaf..0041d041 100644 --- a/gl2/glXCreateGLXPixmap.xhtml +++ b/gl2/glXCreateGLXPixmap.xhtml @@ -1,4 +1,4 @@ -

Name

glXCreateGLXPixmap — create an off-screen GLX rendering area

C Specification

GLXPixmap glXCreateGLXPixmap(Display *  dpy,
 XVisualInfo *  vis,
 Pixmap  pixmap);

Parameters

dpy

+

Name

glXCreateGLXPixmap — create an off-screen GLX rendering area

C Specification

GLXPixmap glXCreateGLXPixmap(Display *  dpy,
 XVisualInfo *  vis,
 Pixmap  pixmap);

Parameters

dpy

Specifies the connection to the X server.

vis

Specifies the visual that defines the structure of the rendering area. @@ -23,7 +23,7 @@ However, glXSwapBuffers is ignored by these pixmaps.

Some implementations may not support GLX pixmaps with direct rendering - contexts. + contexts.

Notes

XVisualInfo is defined in Xutil.h. It is a structure that includes visual, visualID, screen, and @@ -54,4 +54,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXCreateNewContext.xhtml b/gl2/glXCreateNewContext.xhtml index d58b6042..b013b581 100644 --- a/gl2/glXCreateNewContext.xhtml +++ b/gl2/glXCreateNewContext.xhtml @@ -1,4 +1,4 @@ -

Name

glXCreateNewContext — create a new GLX rendering context

C Specification

GLXContext glXCreateNewContext(Display *  dpy,
 GLXFBConfig  config,
 int  render_type,
 GLXContext  share_list,
 Bool  direct);

Parameters

dpy

+

Name

glXCreateNewContext — create a new GLX rendering context

C Specification

GLXContext glXCreateNewContext(Display *  dpy,
 GLXFBConfig  config,
 int  render_type,
 GLXContext  share_list,
 Bool  direct);

Parameters

dpy

Specifies the connection to the X server.

config

Specifies the GLXFBConfig structure with the desired attributes for the @@ -15,7 +15,7 @@ or through the X server (False).

Description

glXCreateNewContext creates a GLX rendering context and returns its handle. - This context can be used to render into GLX windows, pixmaps, or pixel + This context can be used to render into GLX windows, pixmaps, or pixel buffers. If glXCreateNewContext fails to create a rendering context, NULL is returned. @@ -85,4 +85,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXCreatePbuffer.xhtml b/gl2/glXCreatePbuffer.xhtml index f554b97a..93c8ee5d 100644 --- a/gl2/glXCreatePbuffer.xhtml +++ b/gl2/glXCreatePbuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glXCreatePbuffer — create an off-screen rendering area

C Specification

GLXPbuffer glXCreatePbuffer(Display *  dpy,
 GLXFBConfig  config,
 const int *  attrib_list);

Parameters

dpy

+

Name

glXCreatePbuffer — create an off-screen rendering area

C Specification

GLXPbuffer glXCreatePbuffer(Display *  dpy,
 GLXFBConfig  config,
 const int *  attrib_list);

Parameters

dpy

Specifies the connection to the X server.

config

Specifies a GLXFBConfig structure with the desired attributes for the @@ -6,7 +6,7 @@

attrib_list

Specifies a list of attribute value pairs, which must be terminated with None or NULL. Accepted attributes are - GLX_PBUFFER_WIDTH, GLX_PBUFFER_HEIGHT, + GLX_PBUFFER_WIDTH, GLX_PBUFFER_HEIGHT, GLX_PRESERVED_CONTENTS, and GLX_LARGEST_PBUFFER.

Description

glXCreatePbuffer creates an off-screen rendering area and returns its XID. @@ -31,9 +31,9 @@ False.

GLX_PRESERVED_CONTENTS

Specify if the contents of the pixel buffer should be preserved when a - resource conflict occurs. If set to False, the contents of the + resource conflict occurs. If set to False, the contents of the pixel buffer may be lost at any time. If set to True, or not - specified in attrib_list, then the contents of the pixel buffer will be preserved + specified in attrib_list, then the contents of the pixel buffer will be preserved (most likely by copying the contents into main system memory from the frame buffer). In either case, the client can register (using glXSelectEvent, to receive @@ -74,4 +74,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXCreatePixmap.xhtml b/gl2/glXCreatePixmap.xhtml index 552eca90..ae59d2bf 100644 --- a/gl2/glXCreatePixmap.xhtml +++ b/gl2/glXCreatePixmap.xhtml @@ -1,4 +1,4 @@ -

Name

glXCreatePixmap — create an off-screen rendering area

C Specification

GLXPixmap glXCreatePixmap(Display *  dpy,
 GLXFBConfig  config,
 Pixmap  pixmap,
 const int *  attrib_list);

Parameters

dpy

+

Name

glXCreatePixmap — create an off-screen rendering area

C Specification

GLXPixmap glXCreatePixmap(Display *  dpy,
 GLXFBConfig  config,
 Pixmap  pixmap,
 const int *  attrib_list);

Parameters

dpy

Specifies the connection to the X server.

config

Specifies a GLXFBConfig structure with the desired attributes for the @@ -50,4 +50,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXCreateWindow.xhtml b/gl2/glXCreateWindow.xhtml index adbf4e38..4982a22b 100644 --- a/gl2/glXCreateWindow.xhtml +++ b/gl2/glXCreateWindow.xhtml @@ -1,4 +1,4 @@ -

Name

glXCreateWindow — create an on-screen rendering area

C Specification

GLXWindow glXCreateWindow(Display *  dpy,
 GLXFBConfig  config,
 Window  win,
 const int *  attrib_list);

Parameters

dpy

+

Name

glXCreateWindow — create an on-screen rendering area

C Specification

GLXWindow glXCreateWindow(Display *  dpy,
 GLXFBConfig  config,
 Window  win,
 const int *  attrib_list);

Parameters

dpy

Specifies the connection to the X server.

config

Specifies a GLXFBConfig structure with the desired attributes for the @@ -52,4 +52,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXDestroyContext.xhtml b/gl2/glXDestroyContext.xhtml index 80350568..68b786c2 100644 --- a/gl2/glXDestroyContext.xhtml +++ b/gl2/glXDestroyContext.xhtml @@ -1,10 +1,10 @@ -

Name

glXDestroyContext — destroy a GLX context

C Specification

void glXDestroyContext(Display *  dpy,
 GLXContext  ctx);

Parameters

dpy

+

Name

glXDestroyContext — destroy a GLX context

C Specification

void glXDestroyContext(Display *  dpy,
 GLXContext  ctx);

Parameters

dpy

Specifies the connection to the X server.

ctx

Specifies the GLX context to be destroyed.

Description

If the GLX rendering context ctx is not current to any thread, - glXDestroyContext + glXDestroyContext destroys it immediately. Otherwise, ctx is destroyed when it becomes not current to any thread. @@ -23,4 +23,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXDestroyGLXPixmap.xhtml b/gl2/glXDestroyGLXPixmap.xhtml index ff2e9e33..6ff72f21 100644 --- a/gl2/glXDestroyGLXPixmap.xhtml +++ b/gl2/glXDestroyGLXPixmap.xhtml @@ -1,4 +1,4 @@ -

Name

glXDestroyGLXPixmap — destroy a GLX pixmap

C Specification

void glXDestroyGLXPixmap(Display *  dpy,
 GLXPixmap  pix);

Parameters

dpy

+

Name

glXDestroyGLXPixmap — destroy a GLX pixmap

C Specification

void glXDestroyGLXPixmap(Display *  dpy,
 GLXPixmap  pix);

Parameters

dpy

Specifies the connection to the X server.

pix

Specifies the GLX pixmap to be destroyed. @@ -22,4 +22,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXDestroyPbuffer.xhtml b/gl2/glXDestroyPbuffer.xhtml index 8a75e991..5e52f99c 100644 --- a/gl2/glXDestroyPbuffer.xhtml +++ b/gl2/glXDestroyPbuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glXDestroyPbuffer — destroy an off-screen rendering area

C Specification

void glXDestroyPbuffer(Display *  dpy,
 GLXPbuffer  pbuf);

Parameters

dpy

+

Name

glXDestroyPbuffer — destroy an off-screen rendering area

C Specification

void glXDestroyPbuffer(Display *  dpy,
 GLXPbuffer  pbuf);

Parameters

dpy

Specifies the connection to the X server.

pbuf

Specifies the GLXPbuffer to be destroyed. @@ -24,4 +24,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXDestroyPixmap.xhtml b/gl2/glXDestroyPixmap.xhtml index d5373f4a..47612eec 100644 --- a/gl2/glXDestroyPixmap.xhtml +++ b/gl2/glXDestroyPixmap.xhtml @@ -1,4 +1,4 @@ -

Name

glXDestroyPixmap — destroy an off-screen rendering area

C Specification

void glXDestroyPixmap(Display *  dpy,
 GLXPixmap  pixmap);

Parameters

dpy

+

Name

glXDestroyPixmap — destroy an off-screen rendering area

C Specification

void glXDestroyPixmap(Display *  dpy,
 GLXPixmap  pixmap);

Parameters

dpy

Specifies the connection to the X server.

pixmap

Specifies the GLXPixmap to be destroyed. @@ -25,4 +25,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXDestroyWindow.xhtml b/gl2/glXDestroyWindow.xhtml index 8bd651db..20524ae3 100644 --- a/gl2/glXDestroyWindow.xhtml +++ b/gl2/glXDestroyWindow.xhtml @@ -1,4 +1,4 @@ -

Name

glXDestroyWindow — destroy an on-screen rendering area

C Specification

void glXDestroyWindow(Display *  dpy,
 GLXWindow  win);

Parameters

dpy

+

Name

glXDestroyWindow — destroy an on-screen rendering area

C Specification

void glXDestroyWindow(Display *  dpy,
 GLXWindow  win);

Parameters

dpy

Specifies the connection to the X server.

win

Specifies the GLXWindow to be destroyed. @@ -24,4 +24,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXFreeContextEXT.xhtml b/gl2/glXFreeContextEXT.xhtml index 80da6c37..dbe0d1dd 100644 --- a/gl2/glXFreeContextEXT.xhtml +++ b/gl2/glXFreeContextEXT.xhtml @@ -1,11 +1,11 @@ -

Name

glXFreeContextEXT — free client-side memory for imported context

C Specification

void glXFreeContextEXT(Display *  dpy,
 GLXContext  ctx);

Parameters

dpy

+

Name

glXFreeContextEXT — free client-side memory for imported context

C Specification

void glXFreeContextEXT(Display *  dpy,
 GLXContext  ctx);

Parameters

dpy

Specifies the connection to the X server.

ctx

Specifies a GLX rendering context.

Description

- glXFreeContextEXT frees the client-side part of a GLXContext that - was created with glXImportContextEXT. glXFreeContextEXT does not - free the server-side context information or the XID + glXFreeContextEXT frees the client-side part of a GLXContext that + was created with glXImportContextEXT. glXFreeContextEXT does not + free the server-side context information or the XID associated with the server-side context.

glXFreeContextEXT is part of the EXT_import_context extension, @@ -28,4 +28,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetClientString.xhtml b/gl2/glXGetClientString.xhtml index 85fa140a..5355baf9 100644 --- a/gl2/glXGetClientString.xhtml +++ b/gl2/glXGetClientString.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetClientString — return a string describing the client

C Specification

const char * glXGetClientString(Display *  dpy,
 int  name);

Parameters

dpy

+

Name

glXGetClientString — return a string describing the client

C Specification

const char * glXGetClientString(Display *  dpy,
 int  name);

Parameters

dpy

Specifies the connection to the X server.

name

Specifies which string is returned. @@ -6,23 +6,23 @@ and GLX_EXTENSIONS are accepted.

Description

glXGetClientString returns a string - describing some aspect of the client library. The possible values for name + describing some aspect of the client library. The possible values for name are GLX_VENDOR, GLX_VERSION, and - GLX_EXTENSIONS. If name - is not set to one of these values, glXGetClientString returns NULL. + GLX_EXTENSIONS. If name + is not set to one of these values, glXGetClientString returns NULL. The format and contents of the vendor string is implementation dependent.

The extensions string is null-terminated and contains a space-separated list of extension names. (The extension names never - contain spaces.) - If there are no extensions to GLX, then the empty string is returned. + contain spaces.) + If there are no extensions to GLX, then the empty string is returned.

The version string is laid out as follows:

<major_version.minor_version><space><vendor-specific info>

- Both the major and minor portions of the version number are of arbitrary - length. The vendor-specific information is optional. However, if it is + Both the major and minor portions of the version number are of arbitrary + length. The vendor-specific information is optional. However, if it is present, the format and contents are implementation specific.

Notes

glXGetClientString is available only if the GLX version is 1.1 or greater. @@ -31,7 +31,7 @@ If the GLX version is 1.2, then the GL version must be 1.1. If the GLX version is 1.3, then the GL version must be 1.2.

- glXGetClientString only returns information about GLX extensions supported by the client. + glXGetClientString only returns information about GLX extensions supported by the client. Call glGetString to get a list of GL extensions supported by the server.

{$pipelinestall}{$examples} @@ -44,4 +44,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetConfig.xhtml b/gl2/glXGetConfig.xhtml index ea803ec9..976e3097 100644 --- a/gl2/glXGetConfig.xhtml +++ b/gl2/glXGetConfig.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetConfig — return information about GLX visuals

C Specification

int glXGetConfig(Display *  dpy,
 XVisualInfo *  vis,
 int  attrib,
 int *  value);

Parameters

dpy

+

Name

glXGetConfig — return information about GLX visuals

C Specification

int glXGetConfig(Display *  dpy,
 XVisualInfo *  vis,
 int  attrib,
 int *  value);

Parameters

dpy

Specifies the connection to the X server.

vis

Specifies the visual to be queried. @@ -78,8 +78,8 @@

Although a GLX implementation can export many visuals that support GL rendering, - it must support - at least one RGBA visual. This visual must have at + it must support + at least one RGBA visual. This visual must have at least one color buffer, a stencil buffer of at least 1 bit, a depth buffer of at least 12 bits, @@ -91,15 +91,15 @@ PseudoColor, or StaticColor visual supported on level zero, and it must itself be made available on level zero.

- In addition, if the X server exports a PseudoColor - or StaticColor visual on framebuffer level 0, a color index + In addition, if the X server exports a PseudoColor + or StaticColor visual on framebuffer level 0, a color index visual is also required on that level. - It must have + It must have at least one color buffer, a stencil buffer of at least 1 bit, and a depth buffer of at least 12 bits. - This visual must - have as many + This visual must + have as many color bitplanes as the deepest PseudoColor or StaticColor visual supported on level 0.

@@ -132,4 +132,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetContextIDEXT.xhtml b/gl2/glXGetContextIDEXT.xhtml index f04c7929..87fff22a 100644 --- a/gl2/glXGetContextIDEXT.xhtml +++ b/gl2/glXGetContextIDEXT.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetContextIDEXT — get the XID for a context.

C Specification

GLXContextID glXGetContextIDEXT(const GLXContext  ctx);

Parameters

ctx

+

Name

glXGetContextIDEXT — get the XID for a context.

C Specification

GLXContextID glXGetContextIDEXT(const GLXContext  ctx);

Parameters

ctx

Specifies a GLX rendering context.

Description

glXGetContextIDEXT returns the XID associated with a GLXContext. @@ -25,4 +25,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetCurrentContext.xhtml b/gl2/glXGetCurrentContext.xhtml index c9120ea6..82779e7f 100644 --- a/gl2/glXGetCurrentContext.xhtml +++ b/gl2/glXGetCurrentContext.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetCurrentContext — return the current context

C Specification

GLXContext glXGetCurrentContext(

+

Name

glXGetCurrentContext — return the current context

C Specification

GLXContext glXGetCurrentContext(

Description

glXGetCurrentContext returns the current context, as specified by glXMakeCurrent. @@ -20,4 +20,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetCurrentDisplay.xhtml b/gl2/glXGetCurrentDisplay.xhtml index 5c3bf967..a9b8766b 100644 --- a/gl2/glXGetCurrentDisplay.xhtml +++ b/gl2/glXGetCurrentDisplay.xhtml @@ -1,8 +1,8 @@ -

Name

glXGetCurrentDisplay — get display for current context

C Specification

Display * glXGetCurrentDisplay(

Description

- glXGetCurrentDisplay returns the display for the current context. If no - context is current, NULL is returned. +

Name

glXGetCurrentDisplay — get display for current context

C Specification

Display * glXGetCurrentDisplay(

Description

+ glXGetCurrentDisplay returns the display for the current context. If no + context is current, NULL is returned.

- glXGetCurrentDisplay returns client-side information. It does not make a round-trip + glXGetCurrentDisplay returns client-side information. It does not make a round-trip to the server, and therefore does not flush any pending events.

Notes

glXGetCurrentDisplay is only supported if the GLX version is 1.2 or greater. @@ -18,4 +18,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetCurrentDrawable.xhtml b/gl2/glXGetCurrentDrawable.xhtml index 28b038c6..14ccc434 100644 --- a/gl2/glXGetCurrentDrawable.xhtml +++ b/gl2/glXGetCurrentDrawable.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetCurrentDrawable — return the current drawable

C Specification

GLXDrawable glXGetCurrentDrawable(

Description

+

Name

glXGetCurrentDrawable — return the current drawable

C Specification

GLXDrawable glXGetCurrentDrawable(

Description

glXGetCurrentDrawable returns the current drawable, as specified by glXMakeCurrent. If there is no current drawable, @@ -19,4 +19,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetCurrentReadDrawable.xhtml b/gl2/glXGetCurrentReadDrawable.xhtml index 512f14f6..ade190c2 100644 --- a/gl2/glXGetCurrentReadDrawable.xhtml +++ b/gl2/glXGetCurrentReadDrawable.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetCurrentReadDrawable — return the current drawable

C Specification

GLXDrawable glXGetCurrentReadDrawable(

Description

+

Name

glXGetCurrentReadDrawable — return the current drawable

C Specification

GLXDrawable glXGetCurrentReadDrawable(

Description

glXGetCurrentReadDrawable returns the current read drawable, as specified by read parameter of glXMakeContextCurrent. @@ -21,4 +21,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetFBConfigAttrib.xhtml b/gl2/glXGetFBConfigAttrib.xhtml index f699f6f5..07e1f32f 100644 --- a/gl2/glXGetFBConfigAttrib.xhtml +++ b/gl2/glXGetFBConfigAttrib.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetFBConfigAttrib — return information about a GLX frame buffer configuration

C Specification

int glXGetFBConfigAttrib(Display *  dpy,
 GLXFBConfig  config,
 int  attribute,
 int *  value);

Parameters

dpy

+

Name

glXGetFBConfigAttrib — return information about a GLX frame buffer configuration

C Specification

int glXGetFBConfigAttrib(Display *  dpy,
 GLXFBConfig  config,
 int  attribute,
 int *  value);

Parameters

dpy

Specifies the connection to the X server.

config

Specifies the GLX frame buffer configuration to be queried. @@ -84,7 +84,7 @@

GLX_RENDER_TYPE

Mask indicating what type of GLX contexts can be made - current to the frame buffer configuration. Valid bits are + current to the frame buffer configuration. Valid bits are GLX_RGBA_BIT and GLX_COLOR_INDEX_BIT.

GLX_DRAWABLE_TYPE

@@ -94,11 +94,11 @@ GLX_PIXMAP_BIT, and GLX_PBUFFER_BIT.

GLX_X_RENDERABLE

- True if drawables created with the + True if drawables created with the frame buffer configuration can be rendered to by X.

GLX_VISUAL_ID

- XID of the corresponding visual, or zero + XID of the corresponding visual, or zero if there is no associated visual (i.e., if GLX_X_RENDERABLE is False or GLX_DRAWABLE_TYPE does not have the @@ -115,7 +115,7 @@

GLX_CONFIG_CAVEAT

One of GLX_NONE, - GLX_SLOW_CONFIG, or + GLX_SLOW_CONFIG, or GLX_NON_CONFORMANT_CONFIG, indicating that the frame buffer configuration has no caveats, some aspect of the frame buffer configuration runs slower @@ -125,7 +125,7 @@

One of GLX_NONE, GLX_TRANSPARENT_RGB, - GLX_TRANSPARENT_INDEX, indicating that + GLX_TRANSPARENT_INDEX, indicating that the frame buffer configuration is opaque, is transparent for particular values of red, green, and blue, or is transparent for particular index values, respectively. @@ -133,59 +133,59 @@

Integer value between 0 and the maximum frame buffer value for indices, indicating the transparent - index value for the frame buffer configuration. + index value for the frame buffer configuration. Undefined if GLX_TRANSPARENT_TYPE is not GLX_TRANSPARENT_INDEX.

GLX_TRANSPARENT_RED_VALUE

Integer value between 0 and the maximum frame buffer value for red, indicating the transparent - red value for the frame buffer configuration. + red value for the frame buffer configuration. Undefined if GLX_TRANSPARENT_TYPE is not GLX_TRANSPARENT_RGB.

GLX_TRANSPARENT_GREEN_VALUE

Integer value between 0 and the maximum frame buffer value for green, indicating the transparent - green value for the frame buffer configuration. + green value for the frame buffer configuration. Undefined if GLX_TRANSPARENT_TYPE is not GLX_TRANSPARENT_RGB.

GLX_TRANSPARENT_BLUE_VALUE

Integer value between 0 and the maximum frame buffer value for blue, indicating the transparent - blue value for the frame buffer configuration. + blue value for the frame buffer configuration. Undefined if GLX_TRANSPARENT_TYPE is not GLX_TRANSPARENT_RGB.

GLX_TRANSPARENT_ALPHA_VALUE

Integer value between 0 and the maximum frame buffer value for alpha, indicating the transparent - blue value for the frame buffer configuration. + blue value for the frame buffer configuration. Undefined if GLX_TRANSPARENT_TYPE is not GLX_TRANSPARENT_RGB.

GLX_MAX_PBUFFER_WIDTH

- The maximum width that can be specified to + The maximum width that can be specified to glXCreatePbuffer.

GLX_MAX_PBUFFER_HEIGHT

- The maximum height that can be specified to + The maximum height that can be specified to glXCreatePbuffer.

GLX_MAX_PBUFFER_PIXELS

- The maximum number of pixels (width times height) for a + The maximum number of pixels (width times height) for a pixel buffer. Note that this value may be less than GLX_MAX_PBUFFER_WIDTH times GLX_MAX_PBUFFER_HEIGHT. Also, this - value is static and assumes that no other pixel buffers - or X resources are contending for the frame buffer memory. + value is static and assumes that no other pixel buffers + or X resources are contending for the frame buffer memory. As a result, it may not be possible to allocate a pixel buffer of the size given by GLX_MAX_PBUFFER_PIXELS.

Applications should choose the frame buffer configuration that most closely meets their requirements. - Creating windows, GLX pixmaps, or GLX pixel buffers with unnecessary buffers + Creating windows, GLX pixmaps, or GLX pixel buffers with unnecessary buffers can result in reduced rendering performance as well as poor resource allocation.

Notes

@@ -210,4 +210,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetFBConfigs.xhtml b/gl2/glXGetFBConfigs.xhtml index ee6b2a7a..545b54d5 100644 --- a/gl2/glXGetFBConfigs.xhtml +++ b/gl2/glXGetFBConfigs.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetFBConfigs — list all GLX frame buffer configurations for a given screen

C Specification

GLXFBConfig * glXGetFBConfigs(Display *  dpy,
 int  screen,
 int *  nelements);

Parameters

dpy

+

Name

glXGetFBConfigs — list all GLX frame buffer configurations for a given screen

C Specification

GLXFBConfig * glXGetFBConfigs(Display *  dpy,
 int  screen,
 int *  nelements);

Parameters

dpy

Specifies the connection to the X server.

screen

Specifies the screen number. @@ -25,4 +25,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetProcAddress.xhtml b/gl2/glXGetProcAddress.xhtml index 72604b1f..9cf75996 100644 --- a/gl2/glXGetProcAddress.xhtml +++ b/gl2/glXGetProcAddress.xhtml @@ -1,4 +1,4 @@ -

Name

glXGetProcAddress — obtain a pointer to an OpenGL or GLX function

C Specification

void(*)() glXGetProcAddress(const GLubyte *  procName);

Parameters

procName

+

Name

glXGetProcAddress — obtain a pointer to an OpenGL or GLX function

C Specification

void(*)() glXGetProcAddress(const GLubyte *  procName);

Parameters

procName

Specifies the name of the OpenGL or GLX function whose address is to be returned.

Description

glXGetProcAddress returns the address of the function specified in procName. This is @@ -15,4 +15,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetSelectedEvent.xhtml b/gl2/glXGetSelectedEvent.xhtml index c011f0b4..e7898d87 100644 --- a/gl2/glXGetSelectedEvent.xhtml +++ b/gl2/glXGetSelectedEvent.xhtml @@ -1,5 +1,5 @@ -

Name

glXGetSelectedEvent — returns GLX events that are selected for a window or a GLX pixel buffer

C Specification

void glXGetSelectedEvent(Display *  dpy,
 GLXDrawable  draw,
 unsigned long *  event_mask);

Parameters

dpy

- Specifies the connection to the X server. +

Name

glXGetSelectedEvent — returns GLX events that are selected for a window or a GLX pixel buffer

C Specification

void glXGetSelectedEvent(Display *  dpy,
 GLXDrawable  draw,
 unsigned long *  event_mask);

Parameters

dpy

+ Specifies the connection to the X server.

draw

Specifies a GLX drawable. Must be a GLX pixel buffer or a window.

event_mask

@@ -25,4 +25,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXGetVisualFromFBConfig.xhtml b/gl2/glXGetVisualFromFBConfig.xhtml index 9842ef1d..c7b7a7ef 100644 --- a/gl2/glXGetVisualFromFBConfig.xhtml +++ b/gl2/glXGetVisualFromFBConfig.xhtml @@ -1,5 +1,5 @@ -

Name

glXGetVisualFromFBConfig — return visual that is associated with the frame buffer configuration

C Specification

XVisualInfo * glXGetVisualFromFBConfig(Display *  dpy,
 GLXFBConfig  config);

Parameters

dpy

- Specifies the connection to the X server. +

Name

glXGetVisualFromFBConfig — return visual that is associated with the frame buffer configuration

C Specification

XVisualInfo * glXGetVisualFromFBConfig(Display *  dpy,
 GLXFBConfig  config);

Parameters

dpy

+ Specifies the connection to the X server.

config

Specifies the GLX frame buffer configuration.

Description

@@ -15,7 +15,7 @@ If the GLX version is 1.3, then the GL version must be 1.2.

XVisualInfo is defined in Xutil.h. - It is a structure that includes visual, visualID, + It is a structure that includes visual, visualID, screen, and depth elements.

Errors

Returns NULL if config is not a valid GLXFBConfig. @@ -31,4 +31,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXImportContextEXT.xhtml b/gl2/glXImportContextEXT.xhtml index 4558bad2..c9bb97b1 100644 --- a/gl2/glXImportContextEXT.xhtml +++ b/gl2/glXImportContextEXT.xhtml @@ -1,4 +1,4 @@ -

Name

glXImportContextEXT — import another process's indirect rendering context.

C Specification

GLXContext glXImportContextEXT(Display *  dpy,
 GLXContextID  contextID);

Parameters

dpy

+

Name

glXImportContextEXT — import another process's indirect rendering context.

C Specification

GLXContext glXImportContextEXT(Display *  dpy,
 GLXContextID  contextID);

Parameters

dpy

Specifies the connection to the X server.

contextID

Specifies a GLX rendering context. @@ -45,4 +45,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXIsDirect.xhtml b/gl2/glXIsDirect.xhtml index d5147426..7b482b24 100644 --- a/gl2/glXIsDirect.xhtml +++ b/gl2/glXIsDirect.xhtml @@ -1,4 +1,4 @@ -

Name

glXIsDirect — indicate whether direct rendering is enabled

C Specification

Bool glXIsDirect(Display *  dpy,
 GLXContext  ctx);

Parameters

dpy

+

Name

glXIsDirect — indicate whether direct rendering is enabled

C Specification

Bool glXIsDirect(Display *  dpy,
 GLXContext  ctx);

Parameters

dpy

Specifies the connection to the X server.

ctx

Specifies the GLX context that is being queried. @@ -21,4 +21,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXMakeContextCurrent.xhtml b/gl2/glXMakeContextCurrent.xhtml index 56d24198..626bf15b 100644 --- a/gl2/glXMakeContextCurrent.xhtml +++ b/gl2/glXMakeContextCurrent.xhtml @@ -1,4 +1,4 @@ -

Name

glXMakeContextCurrent — attach a GLX context to a GLX drawable

C Specification

Bool glXMakeContextCurrent(Display *  display,
 GLXDrawable  draw,
 GLXDrawable  read,
 GLXContext  ctx);

Parameters

display

+

Name

glXMakeContextCurrent — attach a GLX context to a GLX drawable

C Specification

Bool glXMakeContextCurrent(Display *  display,
 GLXDrawable  draw,
 GLXDrawable  read,
 GLXContext  ctx);

Parameters

display

Specifies the connection to the X server.

draw

Specifies a GLX drawable to render into. @@ -60,7 +60,7 @@ GLXBadContext is generated if ctx is not a valid GLX rendering context.

- GLXBadDrawable is generated if draw or read is not a valid + GLXBadDrawable is generated if draw or read is not a valid GLX drawable.

GLXBadWindow is generated if the underlying X window for either @@ -103,4 +103,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXMakeCurrent.xhtml b/gl2/glXMakeCurrent.xhtml index d68ec3f8..73530520 100644 --- a/gl2/glXMakeCurrent.xhtml +++ b/gl2/glXMakeCurrent.xhtml @@ -1,4 +1,4 @@ -

Name

glXMakeCurrent — attach a GLX context to a window or a GLX pixmap

C Specification

Bool glXMakeCurrent(Display *  dpy,
 GLXDrawable  drawable,
 GLXContext  ctx);

Parameters

dpy

+

Name

glXMakeCurrent — attach a GLX context to a window or a GLX pixmap

C Specification

Bool glXMakeCurrent(Display *  dpy,
 GLXDrawable  drawable,
 GLXContext  ctx);

Parameters

dpy

Specifies the connection to the X server.

drawable

Specifies a GLX drawable. @@ -88,4 +88,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXQueryContext.xhtml b/gl2/glXQueryContext.xhtml index cca7f28b..16d21d98 100644 --- a/gl2/glXQueryContext.xhtml +++ b/gl2/glXQueryContext.xhtml @@ -1,4 +1,4 @@ -

Name

glXQueryContext — query context information

C Specification

int glXQueryContext(Display *  dpy,
 GLXContext  ctx,
 int  attribute,
 int *  value);

Parameters

dpy

+

Name

glXQueryContext — query context information

C Specification

int glXQueryContext(Display *  dpy,
 GLXContext  ctx,
 int  attribute,
 int *  value);

Parameters

dpy

Specifies the connection to the X server.

ctx

Specifies a GLX rendering context. @@ -42,4 +42,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXQueryContextInfoEXT.xhtml b/gl2/glXQueryContextInfoEXT.xhtml index ee629e19..d5e7e684 100644 --- a/gl2/glXQueryContextInfoEXT.xhtml +++ b/gl2/glXQueryContextInfoEXT.xhtml @@ -1,4 +1,4 @@ -

Name

glXQueryContextInfoEXT — query context information

C Specification

int glXQueryContextInfoEXT(Display *  dpy,
 GLXContext  ctx,
 int  attribute,
 int *  value);

Parameters

dpy

+

Name

glXQueryContextInfoEXT — query context information

C Specification

int glXQueryContextInfoEXT(Display *  dpy,
 GLXContext  ctx,
 int  attribute,
 int *  value);

Parameters

dpy

Specifies the connection to the X server.

ctx

Specifies a GLX rendering context. @@ -47,4 +47,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXQueryDrawable.xhtml b/gl2/glXQueryDrawable.xhtml index 5a2f1334..fd1534cd 100644 --- a/gl2/glXQueryDrawable.xhtml +++ b/gl2/glXQueryDrawable.xhtml @@ -1,4 +1,4 @@ -

Name

glXQueryDrawable — returns an attribute assoicated with a GLX drawable

C Specification

int glXQueryDrawable(Display *  dpy,
 GLXDrawable  draw,
 int  attribute,
 unsigned int *  value);

Parameters

dpy

+

Name

glXQueryDrawable — returns an attribute assoicated with a GLX drawable

C Specification

int glXQueryDrawable(Display *  dpy,
 GLXDrawable  draw,
 int  attribute,
 unsigned int *  value);

Parameters

dpy

Specifies the connection to the X server.

draw

Specifies the GLX drawable to be queried. @@ -11,7 +11,7 @@ GLX_FBCONFIG_ID.

value

Contains the return value for - attribute. + attribute.

Description

glXQueryDrawable sets value to the value of @@ -66,4 +66,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXQueryExtension.xhtml b/gl2/glXQueryExtension.xhtml index 662f1996..d7a8abe8 100644 --- a/gl2/glXQueryExtension.xhtml +++ b/gl2/glXQueryExtension.xhtml @@ -1,4 +1,4 @@ -

Name

glXQueryExtension — indicate whether the GLX extension is supported

C Specification

Bool glXQueryExtension(Display *  dpy,
 int *  errorBase,
 int *  eventBase);

Parameters

dpy

+

Name

glXQueryExtension — indicate whether the GLX extension is supported

C Specification

Bool glXQueryExtension(Display *  dpy,
 int *  errorBase,
 int *  eventBase);

Parameters

dpy

Specifies the connection to the X server.

errorBase

Returns the base error code of the GLX server extension. @@ -25,4 +25,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXQueryExtensionsString.xhtml b/gl2/glXQueryExtensionsString.xhtml index 975512d2..274d2be8 100644 --- a/gl2/glXQueryExtensionsString.xhtml +++ b/gl2/glXQueryExtensionsString.xhtml @@ -1,24 +1,24 @@ -

Name

glXQueryExtensionsString — return list of supported extensions

C Specification

const char * glXQueryExtensionsString(Display *  dpy,
 int  screen);

Parameters

dpy

+

Name

glXQueryExtensionsString — return list of supported extensions

C Specification

const char * glXQueryExtensionsString(Display *  dpy,
 int  screen);

Parameters

dpy

Specifies the connection to the X server.

screen

Specifies the screen number.

Description

glXQueryExtensionsString returns a pointer to a string describing which GLX extensions are supported on the connection. The string - is null-terminated and contains a space-separated list of - extension names. (The extension names themselves never contain - spaces.) If there are no extensions to GLX, then the empty string is - returned. + is null-terminated and contains a space-separated list of + extension names. (The extension names themselves never contain + spaces.) If there are no extensions to GLX, then the empty string is + returned.

Notes

glXQueryExtensionsString is available only if the GLX version is 1.1 or greater.

- glXQueryExtensionsString only returns information about GLX extensions. Call + glXQueryExtensionsString only returns information about GLX extensions. Call glGetString to get a list of GL extensions.

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/gl2/glXQueryServerString.xhtml b/gl2/glXQueryServerString.xhtml index deb76788..89afd0fd 100644 --- a/gl2/glXQueryServerString.xhtml +++ b/gl2/glXQueryServerString.xhtml @@ -1,4 +1,4 @@ -

Name

glXQueryServerString — return string describing the server

C Specification

const char * glXQueryServerString(Display *  dpy,
 int  screen,
 int  name);

Parameters

dpy

+

Name

glXQueryServerString — return string describing the server

C Specification

const char * glXQueryServerString(Display *  dpy,
 int  screen,
 int  name);

Parameters

dpy

Specifies the connection to the X server.

screen

Specifies the screen number. @@ -6,12 +6,12 @@ Specifies which string is returned: one of GLX_VENDOR, GLX_VERSION, or GLX_EXTENSIONS.

Description

- glXQueryServerString - returns a pointer to a static, null-terminated string + glXQueryServerString + returns a pointer to a static, null-terminated string describing some aspect of the server's GLX extension. The possible values for name and the format of the strings is the same as for glXGetClientString. If name is not set to a recognized value, - NULL is returned. + NULL is returned.

Notes

glXQueryServerString is available only if the GLX version is 1.1 or greater.

@@ -34,4 +34,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXQueryVersion.xhtml b/gl2/glXQueryVersion.xhtml index 27889cb2..ba59fbb0 100644 --- a/gl2/glXQueryVersion.xhtml +++ b/gl2/glXQueryVersion.xhtml @@ -1,4 +1,4 @@ -

Name

glXQueryVersion — return the version numbers of the GLX extension

C Specification

Bool glXQueryVersion(Display *  dpy,
 int *  major,
 int *  minor);

Parameters

dpy

+

Name

glXQueryVersion — return the version numbers of the GLX extension

C Specification

Bool glXQueryVersion(Display *  dpy,
 int *  major,
 int *  minor);

Parameters

dpy

Specifies the connection to the X server.

major

Returns the major version number of the GLX server extension. @@ -12,7 +12,7 @@ of the version with the lower minor number.

major and minor do not return values if they are specified as - NULL. + NULL.

Errors

glXQueryVersion returns False if it fails, True otherwise. @@ -27,4 +27,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXSelectEvent.xhtml b/gl2/glXSelectEvent.xhtml index 7c1bbd8e..cd9dd331 100644 --- a/gl2/glXSelectEvent.xhtml +++ b/gl2/glXSelectEvent.xhtml @@ -1,22 +1,22 @@ -

Name

glXSelectEvent — select GLX events for a window or a GLX pixel buffer

C Specification

void glXSelectEvent(Display *  dpy,
 GLXDrawable  draw,
 unsigned long  event_mask);

Parameters

dpy

- Specifies the connection to the X server. +

Name

glXSelectEvent — select GLX events for a window or a GLX pixel buffer

C Specification

void glXSelectEvent(Display *  dpy,
 GLXDrawable  draw,
 unsigned long  event_mask);

Parameters

dpy

+ Specifies the connection to the X server.

draw

Specifies a GLX drawable. Must be a GLX pixel buffer or a window.

event_mask

Specifies the events to be returned for draw.

Description

- glXSelectEvent sets the GLX event mask for a GLX pixel buffer or a window. + glXSelectEvent sets the GLX event mask for a GLX pixel buffer or a window. Calling glXSelectEvent overrides any previous event mask that was set by the client for draw. Note that it does not affect the event masks that other clients may have specified for draw since each client rendering to draw has a separate event mask for it.

- Currently, only one GLX event, GLX_PBUFFER_CLOBBER_MASK, + Currently, only one GLX event, GLX_PBUFFER_CLOBBER_MASK, can be selected. The following data is returned to the client when a GLX_PBUFFER_CLOBBER_MASK event occurs:

typedef struct { -

+

int event_type; /* GLX_DAMAGED or GLX_SAVED */ @@ -47,11 +47,11 @@
int x, y; - +
int width, height; - +
int count; @@ -60,7 +60,7 @@ } GLXPbufferClobberEvent; The valid bit masks used in buffer_mask are:

-

+

Bitmask Corresponding Buffer @@ -98,11 +98,11 @@ Accumulation buffer

A single X server operation can cause several buffer clobber events to be - sent. (e.g., a single GLX pixel buffer may be damaged and cause multiple - buffer clobber events to be generated). Each event specifies one - region of the GLX drawable that was affected by the X Server operation. - The buffer_mask field indicates which color buffers and - ancillary buffers were affected. All the buffer clobber events + sent. (e.g., a single GLX pixel buffer may be damaged and cause multiple + buffer clobber events to be generated). Each event specifies one + region of the GLX drawable that was affected by the X Server operation. + The buffer_mask field indicates which color buffers and + ancillary buffers were affected. All the buffer clobber events generated by a single X server action are guaranteed to be contiguous in the event queue. The conditions under which this event is generated and the event_type varies, depending on the type of the @@ -112,14 +112,14 @@ aux_buffer is set to indicate which buffer was affected. If more than one aux buffer was affected, then additional events are generated as part of the same contiguous event group. Each - additional event will have only the GLX_AUX_BUFFERS_BIT set in + additional event will have only the GLX_AUX_BUFFERS_BIT set in buffer_mask, and the aux_buffer field will be set appropriately. For nonstereo drawables, - GLX_FRONT_LEFT_BUFFER_BIT and GLX_BACK_LEFT_BUFFER_BIT are + GLX_FRONT_LEFT_BUFFER_BIT and GLX_BACK_LEFT_BUFFER_BIT are used to specify the front and back color buffers.

- For preserved GLX pixel buffers, a buffer clobber event with - type GLX_SAVED is generated whenever the contents of the + For preserved GLX pixel buffers, a buffer clobber event with + type GLX_SAVED is generated whenever the contents of the GLX pixel buffer is moved out of offscreen memory. The event(s) describes which portions of the GLX pixel buffer were affected. Clients who receive many buffer clobber events, referring to different save actions, @@ -144,7 +144,7 @@ If the GLX version is 1.3, then the GL version must be 1.2.

Errors

GLXBadDrawable is generated if draw is not a valid window - or a valid GLX pixel buffer. + or a valid GLX pixel buffer.

Associated Gets

glXGetSelectedEvent

@@ -156,4 +156,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXSwapBuffers.xhtml b/gl2/glXSwapBuffers.xhtml index 9e31e6de..fe0a37f9 100644 --- a/gl2/glXSwapBuffers.xhtml +++ b/gl2/glXSwapBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glXSwapBuffers — exchange front and back buffers

C Specification

void glXSwapBuffers(Display *  dpy,
 GLXDrawable  drawable);

Parameters

dpy

+

Name

glXSwapBuffers — exchange front and back buffers

C Specification

void glXSwapBuffers(Display *  dpy,
 GLXDrawable  drawable);

Parameters

dpy

Specifies the connection to the X server.

drawable

Specifies the drawable whose buffers are to be swapped. @@ -46,4 +46,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXUseXFont.xhtml b/gl2/glXUseXFont.xhtml index 41283824..31999037 100644 --- a/gl2/glXUseXFont.xhtml +++ b/gl2/glXUseXFont.xhtml @@ -1,4 +1,4 @@ -

Name

glXUseXFont — create bitmap display lists from an X font

C Specification

void glXUseXFont(Font  font,
 int  first,
 int  count,
 int  listBase);

Parameters

font

+

Name

glXUseXFont — create bitmap display lists from an X font

C Specification

void glXUseXFont(Font  font,
 int  first,
 int  count,
 int  listBase);

Parameters

font

Specifies the font from which character glyphs are to be taken.

first

Specifies the index of the first glyph to be taken. diff --git a/gl2/glXWaitGL.xhtml b/gl2/glXWaitGL.xhtml index f835b94c..ac731ac8 100644 --- a/gl2/glXWaitGL.xhtml +++ b/gl2/glXWaitGL.xhtml @@ -1,4 +1,4 @@ -

Name

glXWaitGL — complete GL execution prior to subsequent X calls

C Specification

void glXWaitGL( void);

Description

+

Name

glXWaitGL — complete GL execution prior to subsequent X calls

C Specification

void glXWaitGL( void);

Description

GL rendering calls made prior to glXWaitGL are guaranteed to be executed before X rendering calls made after glXWaitGL. Although this same result can be achieved using glFinish, @@ -25,4 +25,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/glXWaitX.xhtml b/gl2/glXWaitX.xhtml index 04ff2054..f6408802 100644 --- a/gl2/glXWaitX.xhtml +++ b/gl2/glXWaitX.xhtml @@ -1,4 +1,4 @@ -

Name

glXWaitX — complete X execution prior to subsequent GL calls

C Specification

void glXWaitX( void);

Description

+

Name

glXWaitX — complete X execution prior to subsequent GL calls

C Specification

void glXWaitX( void);

Description

X rendering calls made prior to glXWaitX are guaranteed to be executed before GL rendering calls made after glXWaitX. Although the same result can be achieved using XSync, @@ -25,4 +25,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluBeginCurve.xhtml b/gl2/gluBeginCurve.xhtml index 2c9e8ca3..3221be16 100644 --- a/gl2/gluBeginCurve.xhtml +++ b/gl2/gluBeginCurve.xhtml @@ -1,9 +1,9 @@ -

Name

gluBeginCurve — delimit a NURBS curve definition

C Specification

void gluBeginCurve(GLUnurbs*  nurb);

C Specification

void gluEndCurve(GLUnurbs*  nurb);

Parameters

nurb

+

Name

gluBeginCurve — delimit a NURBS curve definition

C Specification

void gluBeginCurve(GLUnurbs*  nurb);

C Specification

void gluEndCurve(GLUnurbs*  nurb);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

Description

- Use gluBeginCurve to mark the beginning of a NURBS + Use gluBeginCurve to mark the beginning of a NURBS curve definition. - After + After calling gluBeginCurve, make one or more calls to gluNurbsCurve to define the attributes of the curve. Exactly one of the calls to gluNurbsCurve must have @@ -13,8 +13,8 @@ GL evaluators are used to render the NURBS curve as a series of line segments. Evaluator state is preserved during rendering - with glPushAttrib(GLU_EVAL_BIT) and - glPopAttrib(). + with glPushAttrib(GLU_EVAL_BIT) and + glPopAttrib(). See the glPushAttrib reference page for details on exactly what state these calls preserve.

Example

@@ -32,8 +32,8 @@ gluEndCurve(nobj);

\ No newline at end of file +

diff --git a/gl2/gluBeginPolygon.xhtml b/gl2/gluBeginPolygon.xhtml index 84935446..cb425de3 100644 --- a/gl2/gluBeginPolygon.xhtml +++ b/gl2/gluBeginPolygon.xhtml @@ -1,16 +1,16 @@ -

Name

gluBeginPolygon — delimit a polygon description

C Specification

void gluBeginPolygon(GLUtesselator*  tess);

C Specification

void gluEndPolygon(GLUtesselator*  tess);

Parameters

tess

+

Name

gluBeginPolygon — delimit a polygon description

C Specification

void gluBeginPolygon(GLUtesselator*  tess);

C Specification

void gluEndPolygon(GLUtesselator*  tess);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

Description

gluBeginPolygon and gluEndPolygon delimit the definition of a nonconvex polygon. To define such a polygon, first call gluBeginPolygon. Then define the contours of the polygon - by calling + by calling gluTessVertex for each vertex and gluNextContour to start each new contour. Finally, call gluEndPolygon to signal the end of the definition. - See the gluTessVertex and + See the gluTessVertex and gluNextContour reference pages for more details.

Once gluEndPolygon is called, the polygon is tessellated, and the @@ -18,9 +18,9 @@ See gluTessCallback for descriptions of the callback functions.

Notes

This command is obsolete and is provided for backward compatibility - only. Calls to gluBeginPolygon are mapped to + only. Calls to gluBeginPolygon are mapped to gluTessBeginPolygon - followed by + followed by gluTessBeginContour. Calls to gluEndPolygon are mapped to gluTessEndContour followed by gluTessEndPolygon.

Example

@@ -51,4 +51,4 @@ gluEndPolygon(tobj); Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluBeginSurface.xhtml b/gl2/gluBeginSurface.xhtml index d6946a32..0977aa94 100644 --- a/gl2/gluBeginSurface.xhtml +++ b/gl2/gluBeginSurface.xhtml @@ -1,8 +1,8 @@ -

Name

gluBeginSurface — delimit a NURBS surface definition

C Specification

void gluBeginSurface(GLUnurbs*  nurb);

C Specification

void gluEndSurface(GLUnurbs*  nurb);

Parameters

nurb

+

Name

gluBeginSurface — delimit a NURBS surface definition

C Specification

void gluBeginSurface(GLUnurbs*  nurb);

C Specification

void gluEndSurface(GLUnurbs*  nurb);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

Description

- Use gluBeginSurface to mark the beginning of a NURBS - surface definition. After + Use gluBeginSurface to mark the beginning of a NURBS + surface definition. After calling gluBeginSurface, make one or more calls to gluNurbsSurface to define the attributes of the surface. Exactly one of these calls to gluNurbsSurface must have a @@ -10,14 +10,14 @@ To mark the end of the NURBS surface definition, call gluEndSurface.

- Trimming of NURBS surfaces is supported with gluBeginTrim, + Trimming of NURBS surfaces is supported with gluBeginTrim, gluPwlCurve, gluNurbsCurve, and gluEndTrim. See the gluBeginTrim reference page for details.

GL evaluators are used to render the NURBS surface as a set of polygons. Evaluator state is preserved during rendering - with glPushAttrib(GLU_EVAL_BIT) and - glPopAttrib. + with glPushAttrib(GLU_EVAL_BIT) and + glPopAttrib. See the glPushAttrib reference page for details on exactly what state these calls preserve.

Example

@@ -45,4 +45,4 @@ gluEndSurface(nobj); Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluBeginTrim.xhtml b/gl2/gluBeginTrim.xhtml index eeaeecf8..fc05b9c6 100644 --- a/gl2/gluBeginTrim.xhtml +++ b/gl2/gluBeginTrim.xhtml @@ -1,18 +1,18 @@ -

Name

gluBeginTrim — delimit a NURBS trimming loop definition

C Specification

void gluBeginTrim(GLUnurbs*  nurb);

C Specification

void gluEndTrim(GLUnurbs*  nurb);

Parameters

nurb

+

Name

gluBeginTrim — delimit a NURBS trimming loop definition

C Specification

void gluBeginTrim(GLUnurbs*  nurb);

C Specification

void gluEndTrim(GLUnurbs*  nurb);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

Description

Use gluBeginTrim to mark the beginning of a - trimming loop and gluEndTrim to mark the end - of a trimming loop. A trimming loop is + trimming loop and gluEndTrim to mark the end + of a trimming loop. A trimming loop is a set of oriented curve segments (forming a closed curve) that define boundaries of a NURBS surface. You include these - trimming loops in the definition of a NURBS + trimming loops in the definition of a NURBS surface, between calls to gluBeginSurface and gluEndSurface.

The definition for a NURBS surface can contain many trimming loops. For example, if you wrote a definition for a NURBS surface that resembled a rectangle with - a hole punched out, the definition would contain two + a hole punched out, the definition would contain two trimming loops. One loop would define the outer edge of the rectangle; the other would define the hole punched out of the rectangle. The definitions @@ -22,27 +22,27 @@ The definition of a single closed trimming loop can consist of multiple curve segments, each described as a piecewise linear curve (see gluPwlCurve) or as a single NURBS - curve (see gluNurbsCurve), or as a combination of - both in any order. The only library calls that can + curve (see gluNurbsCurve), or as a combination of + both in any order. The only library calls that can appear in a trimming loop definition (between the calls - to gluBeginTrim and gluEndTrim) are + to gluBeginTrim and gluEndTrim) are gluPwlCurve and gluNurbsCurve.

The area of the NURBS surface that is displayed is the region in the domain to the left of the trimming curve as the curve parameter increases. Thus, the retained - region of the NURBS surface is inside a + region of the NURBS surface is inside a counterclockwise trimming loop and outside a clockwise trimming loop. For the rectangle mentioned earlier, the trimming loop for the outer edge of the rectangle runs - counterclockwise, while the trimming loop for the punched-out hole + counterclockwise, while the trimming loop for the punched-out hole runs clockwise.

- If you use more than one curve to define a single trimming + If you use more than one curve to define a single trimming loop, the curve segments must form a closed loop (that is, the endpoint of each curve must be the starting point of the next curve, and the endpoint of the final curve must - be the starting point of the first curve). If the + be the starting point of the first curve). If the endpoints of the curve are sufficiently close together but not exactly coincident, they will be coerced to match. If the endpoints are not sufficiently close, an error results @@ -73,7 +73,7 @@ gluEndTrim(nobj);

\ No newline at end of file +

diff --git a/gl2/gluBuild1DMipmapLevels.xhtml b/gl2/gluBuild1DMipmapLevels.xhtml index 75d98ad0..2aba736f 100644 --- a/gl2/gluBuild1DMipmapLevels.xhtml +++ b/gl2/gluBuild1DMipmapLevels.xhtml @@ -1,4 +1,4 @@ -

Name

gluBuild1DMipmapLevels — builds a subset of one-dimensional mipmap levels

C Specification

GLint gluBuild1DMipmapLevels(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 GLint  level,
 GLint  base,
 GLint  max,
 const void *  data);

Parameters

target

+

Name

gluBuild1DMipmapLevels — builds a subset of one-dimensional mipmap levels

C Specification

GLint gluBuild1DMipmapLevels(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 GLint  level,
 GLint  base,
 GLint  max,
 const void *  data);

Parameters

target

Specifies the target texture. Must be GLU_TEXTURE_1D.

internalFormat

Requests the internal storage format of the texture image. The most diff --git a/gl2/gluBuild1DMipmaps.xhtml b/gl2/gluBuild1DMipmaps.xhtml index 33fbe388..1c86755b 100644 --- a/gl2/gluBuild1DMipmaps.xhtml +++ b/gl2/gluBuild1DMipmaps.xhtml @@ -1,4 +1,4 @@ -

Name

gluBuild1DMipmaps — builds a one-dimensional mipmap

C Specification

GLint gluBuild1DMipmaps(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 const void *  data);

Parameters

target

+

Name

gluBuild1DMipmaps — builds a one-dimensional mipmap

C Specification

GLint gluBuild1DMipmaps(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLenum  format,
 GLenum  type,
 const void *  data);

Parameters

target

Specifies the target texture. Must be GLU_TEXTURE_1D.

internalFormat

Requests the internal storage format of the texture image. The most diff --git a/gl2/gluBuild2DMipmapLevels.xhtml b/gl2/gluBuild2DMipmapLevels.xhtml index 5e52f4f6..37f95f1e 100644 --- a/gl2/gluBuild2DMipmapLevels.xhtml +++ b/gl2/gluBuild2DMipmapLevels.xhtml @@ -1,4 +1,4 @@ -

Name

gluBuild2DMipmapLevels — builds a subset of two-dimensional mipmap levels

C Specification

GLint gluBuild2DMipmapLevels(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 GLint  level,
 GLint  base,
 GLint  max,
 const void *  data);

Parameters

target

+

Name

gluBuild2DMipmapLevels — builds a subset of two-dimensional mipmap levels

C Specification

GLint gluBuild2DMipmapLevels(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 GLint  level,
 GLint  base,
 GLint  max,
 const void *  data);

Parameters

target

Specifies the target texture. Must be GLU_TEXTURE_2D.

internalFormat

Requests the internal storage format of the texture image. The most diff --git a/gl2/gluBuild2DMipmaps.xhtml b/gl2/gluBuild2DMipmaps.xhtml index 16f85075..da35b8d9 100644 --- a/gl2/gluBuild2DMipmaps.xhtml +++ b/gl2/gluBuild2DMipmaps.xhtml @@ -1,4 +1,4 @@ -

Name

gluBuild2DMipmaps — builds a two-dimensional mipmap

C Specification

GLint gluBuild2DMipmaps(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const void *  data);

Parameters

target

+

Name

gluBuild2DMipmaps — builds a two-dimensional mipmap

C Specification

GLint gluBuild2DMipmaps(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLenum  type,
 const void *  data);

Parameters

target

Specifies the target texture. Must be GLU_TEXTURE_2D.

internalFormat

Requests the internal storage format of the texture image. The most diff --git a/gl2/gluBuild3DMipmapLevels.xhtml b/gl2/gluBuild3DMipmapLevels.xhtml index 900d1c44..d2a7efce 100644 --- a/gl2/gluBuild3DMipmapLevels.xhtml +++ b/gl2/gluBuild3DMipmapLevels.xhtml @@ -1,4 +1,4 @@ -

Name

gluBuild3DMipmapLevels — builds a subset of three-dimensional mipmap levels

C Specification

GLint gluBuild3DMipmapLevels(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLenum  type,
 GLint  level,
 GLint  base,
 GLint  max,
 const void *  data);

Parameters

target

+

Name

gluBuild3DMipmapLevels — builds a subset of three-dimensional mipmap levels

C Specification

GLint gluBuild3DMipmapLevels(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLenum  type,
 GLint  level,
 GLint  base,
 GLint  max,
 const void *  data);

Parameters

target

Specifies the target texture. Must be GLU_TEXTURE_3D.

internalFormat

Requests the internal storage format of the texture image. The most diff --git a/gl2/gluBuild3DMipmaps.xhtml b/gl2/gluBuild3DMipmaps.xhtml index 6006a1ac..f87817d0 100644 --- a/gl2/gluBuild3DMipmaps.xhtml +++ b/gl2/gluBuild3DMipmaps.xhtml @@ -1,4 +1,4 @@ -

Name

gluBuild3DMipmaps — builds a three-dimensional mipmap

C Specification

GLint gluBuild3DMipmaps(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLenum  type,
 const void *  data);

Parameters

target

+

Name

gluBuild3DMipmaps — builds a three-dimensional mipmap

C Specification

GLint gluBuild3DMipmaps(GLenum  target,
 GLint  internalFormat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLenum  type,
 const void *  data);

Parameters

target

Specifies the target texture. Must be GLU_TEXTURE_3D.

internalFormat

Requests the internal storage format of the texture image. The most diff --git a/gl2/gluCheckExtension.xhtml b/gl2/gluCheckExtension.xhtml index 02a47e9d..c3546251 100644 --- a/gl2/gluCheckExtension.xhtml +++ b/gl2/gluCheckExtension.xhtml @@ -1,13 +1,13 @@ -

Name

gluCheckExtension — determines if an extension name is supported

C Specification

GLboolean gluCheckExtension(const GLubyte *  extName,
 const GLubyte *  extString);

Parameters

extName

+

Name

gluCheckExtension — determines if an extension name is supported

C Specification

GLboolean gluCheckExtension(const GLubyte *  extName,
 const GLubyte *  extString);

Parameters

extName

Specifies an extension name.

extString

- Specifies a space-separated list of extension names supported. + Specifies a space-separated list of extension names supported.

Description

- gluCheckExtension returns GLU_TRUE if extName is supported otherwise + gluCheckExtension returns GLU_TRUE if extName is supported otherwise GLU_FALSE is returned.

This is used to check for the presence for OpenGL, GLU, or GLX extension names - by passing the extension strings returned by glGetString, + by passing the extension strings returned by glGetString, gluGetString, glXGetClientString, glXQueryExtensionsString, or glXQueryServerString, respectively, as extString. @@ -33,4 +33,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluCylinder.xhtml b/gl2/gluCylinder.xhtml index 7e10ab91..8b30976a 100644 --- a/gl2/gluCylinder.xhtml +++ b/gl2/gluCylinder.xhtml @@ -1,4 +1,4 @@ -

Name

gluCylinder — draw a cylinder

C Specification

void gluCylinder(GLUquadric*  quad,
 GLdouble  base,
 GLdouble  top,
 GLdouble  height,
 GLint  slices,
 GLint  stacks);

Parameters

quad

+

Name

gluCylinder — draw a cylinder

C Specification

void gluCylinder(GLUquadric*  quad,
 GLdouble  base,
 GLdouble  top,
 GLdouble  height,
 GLint  slices,
 GLint  stacks);

Parameters

quad

Specifies the quadrics object (created with gluNewQuadric).

base

Specifies the radius of the cylinder at z = 0. diff --git a/gl2/gluDeleteNurbsRenderer.xhtml b/gl2/gluDeleteNurbsRenderer.xhtml index 5ea5a7a0..7325d894 100644 --- a/gl2/gluDeleteNurbsRenderer.xhtml +++ b/gl2/gluDeleteNurbsRenderer.xhtml @@ -1,9 +1,9 @@ -

Name

gluDeleteNurbsRenderer — destroy a NURBS object

C Specification

void gluDeleteNurbsRenderer(GLUnurbs*  nurb);

Parameters

nurb

+

Name

gluDeleteNurbsRenderer — destroy a NURBS object

C Specification

void gluDeleteNurbsRenderer(GLUnurbs*  nurb);

Parameters

nurb

Specifies the NURBS object to be destroyed.

Description

gluDeleteNurbsRenderer destroys the NURBS object (which was created with gluNewNurbsRenderer) and frees any memory it uses. - Once + Once gluDeleteNurbsRenderer has been called, nurb cannot be used again.

{$pipelinestall}{$examples} @@ -14,4 +14,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluDeleteQuadric.xhtml b/gl2/gluDeleteQuadric.xhtml index 86a42c18..d7169d79 100644 --- a/gl2/gluDeleteQuadric.xhtml +++ b/gl2/gluDeleteQuadric.xhtml @@ -1,8 +1,8 @@ -

Name

gluDeleteQuadric — destroy a quadrics object

C Specification

void gluDeleteQuadric(GLUquadric*  quad);

Parameters

quad

+

Name

gluDeleteQuadric — destroy a quadrics object

C Specification

void gluDeleteQuadric(GLUquadric*  quad);

Parameters

quad

Specifies the quadrics object to be destroyed.

Description

gluDeleteQuadric destroys the quadrics object (created with gluNewQuadric) - and frees any memory it uses. + and frees any memory it uses. Once gluDeleteQuadric has been called, quad cannot be used again.

{$pipelinestall}{$examples} @@ -13,4 +13,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluDeleteTess.xhtml b/gl2/gluDeleteTess.xhtml index f42b7be9..b033188f 100644 --- a/gl2/gluDeleteTess.xhtml +++ b/gl2/gluDeleteTess.xhtml @@ -1,4 +1,4 @@ -

Name

gluDeleteTess — destroy a tessellation object

C Specification

void gluDeleteTess(GLUtesselator*  tess);

Parameters

tess

+

Name

gluDeleteTess — destroy a tessellation object

C Specification

void gluDeleteTess(GLUtesselator*  tess);

Parameters

tess

Specifies the tessellation object to destroy.

Description

gluDeleteTess destroys the indicated tessellation object (which was created @@ -14,4 +14,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluDisk.xhtml b/gl2/gluDisk.xhtml index 724f7b51..2486b227 100644 --- a/gl2/gluDisk.xhtml +++ b/gl2/gluDisk.xhtml @@ -1,4 +1,4 @@ -

Name

gluDisk — draw a disk

C Specification

void gluDisk(GLUquadric*  quad,
 GLdouble  inner,
 GLdouble  outer,
 GLint  slices,
 GLint  loops);

Parameters

quad

+

Name

gluDisk — draw a disk

C Specification

void gluDisk(GLUquadric*  quad,
 GLdouble  inner,
 GLdouble  outer,
 GLint  slices,
 GLint  loops);

Parameters

quad

Specifies the quadrics object (created with gluNewQuadric).

inner

Specifies the inner radius of the disk (may be 0). diff --git a/gl2/gluErrorString.xhtml b/gl2/gluErrorString.xhtml index a27af0c2..8dee9bab 100644 --- a/gl2/gluErrorString.xhtml +++ b/gl2/gluErrorString.xhtml @@ -1,17 +1,17 @@ -

Name

gluErrorString — produce an error string from a GL or GLU error code

C Specification

const GLubyte * gluErrorString(GLenum  error);

Parameters

error

+

Name

gluErrorString — produce an error string from a GL or GLU error code

C Specification

const GLubyte * gluErrorString(GLenum  error);

Parameters

error

Specifies a GL or GLU error code.

Description

gluErrorString produces an error string from a GL or GLU error code. The string is in ISO Latin 1 format. For example, - gluErrorString(GLU_OUT_OF_MEMORY) returns the string + gluErrorString(GLU_OUT_OF_MEMORY) returns the string out of memory.

- The standard GLU error codes are GLU_INVALID_ENUM, + The standard GLU error codes are GLU_INVALID_ENUM, GLU_INVALID_VALUE, and GLU_OUT_OF_MEMORY. Certain other GLU functions can return specialized error codes through callbacks. - See the glGetError reference page for the list of + See the glGetError reference page for the list of GL error codes.

Errors

NULL is returned if error is not a valid GL or GLU error code. @@ -27,4 +27,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluGetNurbsProperty.xhtml b/gl2/gluGetNurbsProperty.xhtml index 339743eb..53463d63 100644 --- a/gl2/gluGetNurbsProperty.xhtml +++ b/gl2/gluGetNurbsProperty.xhtml @@ -1,10 +1,10 @@ -

Name

gluGetNurbsProperty — get a NURBS property

C Specification

void gluGetNurbsProperty(GLUnurbs*  nurb,
 GLenum  property,
 GLfloat*  data);

Parameters

nurb

+

Name

gluGetNurbsProperty — get a NURBS property

C Specification

void gluGetNurbsProperty(GLUnurbs*  nurb,
 GLenum  property,
 GLfloat*  data);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

property

Specifies the property whose value is to be fetched. Valid values are GLU_CULLING, GLU_SAMPLING_TOLERANCE, - GLU_DISPLAY_MODE, + GLU_DISPLAY_MODE, GLU_AUTO_LOAD_MATRIX, GLU_PARAMETRIC_TOLERANCE, GLU_SAMPLING_METHOD, @@ -12,22 +12,22 @@ GLU_V_STEP, and GLU_NURBS_MODE.

data

- Specifies a pointer to the location into which the value of the + Specifies a pointer to the location into which the value of the named property is written.

Description

gluGetNurbsProperty retrieves properties stored in a NURBS object. These properties affect the way that NURBS curves and surfaces - are rendered. See the - gluNurbsProperty reference page for information about what the + are rendered. See the + gluNurbsProperty reference page for information about what the properties are and what they do.

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/gl2/gluGetString.xhtml b/gl2/gluGetString.xhtml index a83d5b68..84ad33e8 100644 --- a/gl2/gluGetString.xhtml +++ b/gl2/gluGetString.xhtml @@ -1,17 +1,17 @@ -

Name

gluGetString — return a string describing the GLU version or GLU extensions

C Specification

const GLubyte * gluGetString(GLenum  name);

Parameters

name

- Specifies a symbolic constant, one of +

Name

gluGetString — return a string describing the GLU version or GLU extensions

C Specification

const GLubyte * gluGetString(GLenum  name);

Parameters

name

+ Specifies a symbolic constant, one of GLU_VERSION, or GLU_EXTENSIONS.

Description

- gluGetString returns a pointer to a static string describing the + gluGetString returns a pointer to a static string describing the GLU version or the GLU extensions that are supported.

The version number is one of the following - forms: + forms:

- major_number.minor_number - major_number.minor_number.release_number. + major_number.minor_number + major_number.minor_number.release_number.

- The version string is of the following form: + The version string is of the following form:

version number<space>vendor-specific information

@@ -20,8 +20,8 @@

The standard GLU contains a basic set of features and capabilities. If a company or group of companies wish to support other features, - these may be included as extensions to the GLU. - If name is + these may be included as extensions to the GLU. + If name is GLU_EXTENSIONS, then gluGetString returns a space-separated list of names of supported GLU extensions. (Extension names never contain spaces.) @@ -46,4 +46,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluGetTessProperty.xhtml b/gl2/gluGetTessProperty.xhtml index ca443ebc..eca5dcc6 100644 --- a/gl2/gluGetTessProperty.xhtml +++ b/gl2/gluGetTessProperty.xhtml @@ -1,4 +1,4 @@ -

Name

gluGetTessProperty — get a tessellation object property

C Specification

void gluGetTessProperty(GLUtesselator*  tess,
 GLenum  which,
 GLdouble*  data);

Parameters

tess

+

Name

gluGetTessProperty — get a tessellation object property

C Specification

void gluGetTessProperty(GLUtesselator*  tess,
 GLenum  which,
 GLdouble*  data);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

which

Specifies the property whose value is to be fetched. Valid values are @@ -6,22 +6,22 @@ GLU_TESS_BOUNDARY_ONLY, and GLU_TESS_TOLERANCE.

data

- Specifies a pointer to the location into which the value of the + Specifies a pointer to the location into which the value of the named property is written.

Description

gluGetTessProperty retrieves properties stored in a tessellation object. These - properties affect the way that tessellation objects - are interpreted and rendered. See the - gluTessProperty reference page for information about the + properties affect the way that tessellation objects + are interpreted and rendered. See the + gluTessProperty reference page for information about the properties and what they do.

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/gl2/gluLoadSamplingMatrices.xhtml b/gl2/gluLoadSamplingMatrices.xhtml index 278f6b30..9b5c5323 100644 --- a/gl2/gluLoadSamplingMatrices.xhtml +++ b/gl2/gluLoadSamplingMatrices.xhtml @@ -1,4 +1,4 @@ -

Name

gluLoadSamplingMatrices — load NURBS sampling and culling matrices

C Specification

void gluLoadSamplingMatrices(GLUnurbs*  nurb,
 const GLfloat *  model,
 const GLfloat *  perspective,
 const GLint *  view);

Parameters

nurb

+

Name

gluLoadSamplingMatrices — load NURBS sampling and culling matrices

C Specification

void gluLoadSamplingMatrices(GLUnurbs*  nurb,
 const GLfloat *  model,
 const GLfloat *  perspective,
 const GLint *  view);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

model

Specifies a modelview matrix (as from a glGetFloatv call). @@ -7,13 +7,13 @@

view

Specifies a viewport (as from a glGetIntegerv call).

Description

- gluLoadSamplingMatrices uses model, perspective, and view to recompute the sampling and culling + gluLoadSamplingMatrices uses model, perspective, and view to recompute the sampling and culling matrices stored in nurb. The sampling matrix determines how finely a NURBS curve or surface must be tessellated to satisfy the sampling tolerance (as determined by the GLU_SAMPLING_TOLERANCE property). The culling matrix is used in deciding if a NURBS curve or surface - should be culled before + should be culled before rendering (when the GLU_CULLING property is turned on).

gluLoadSamplingMatrices is necessary only if the GLU_AUTO_LOAD_MATRIX property is turned @@ -33,4 +33,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluLookAt.xhtml b/gl2/gluLookAt.xhtml index 2583fbf1..eb172e5a 100644 --- a/gl2/gluLookAt.xhtml +++ b/gl2/gluLookAt.xhtml @@ -1,4 +1,4 @@ -

Name

gluLookAt — define a viewing transformation

C Specification

void gluLookAt(GLdouble eyeX,
 GLdouble eyeY,
 GLdouble eyeZ,
 GLdouble centerX,
 GLdouble centerY,
 GLdouble centerZ,
 GLdouble upX,
 GLdouble upY,
 GLdouble upZ);
 

Parameters

eyeX, eyeY, eyeZ

+

Name

gluLookAt — define a viewing transformation

C Specification

void gluLookAt(GLdouble eyeX,
 GLdouble eyeY,
 GLdouble eyeZ,
 GLdouble centerX,
 GLdouble centerY,
 GLdouble centerZ,
 GLdouble upX,
 GLdouble upY,
 GLdouble upZ);
 

Parameters

eyeX, eyeY, eyeZ

Specifies the position of the eye point.

centerX, centerY, centerZ

Specifies the position of the reference point. diff --git a/gl2/gluNewNurbsRenderer.xhtml b/gl2/gluNewNurbsRenderer.xhtml index 420e38f0..5b64869d 100644 --- a/gl2/gluNewNurbsRenderer.xhtml +++ b/gl2/gluNewNurbsRenderer.xhtml @@ -1,4 +1,4 @@ -

Name

gluNewNurbsRenderer — create a NURBS object

C Specification

GLUnurbs* gluNewNurbsRenderer(

Description

+

Name

gluNewNurbsRenderer — create a NURBS object

C Specification

GLUnurbs* gluNewNurbsRenderer(

Description

gluNewNurbsRenderer creates and returns a pointer to a new NURBS object. This object must be referred to when calling @@ -18,4 +18,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNewQuadric.xhtml b/gl2/gluNewQuadric.xhtml index f12ea115..bfd4b8c6 100644 --- a/gl2/gluNewQuadric.xhtml +++ b/gl2/gluNewQuadric.xhtml @@ -1,4 +1,4 @@ -

Name

gluNewQuadric — create a quadrics object

C Specification

GLUquadric* gluNewQuadric(

Description

+

Name

gluNewQuadric — create a quadrics object

C Specification

GLUquadric* gluNewQuadric(

Description

gluNewQuadric creates and returns a pointer to a new quadrics object. This object must be referred to when calling quadrics rendering and control functions. A return value of @@ -21,4 +21,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNewTess.xhtml b/gl2/gluNewTess.xhtml index 579bd379..5122261b 100644 --- a/gl2/gluNewTess.xhtml +++ b/gl2/gluNewTess.xhtml @@ -1,4 +1,4 @@ -

Name

gluNewTess — create a tessellation object

C Specification

GLUtesselator* gluNewTess(

Description

+

Name

gluNewTess — create a tessellation object

C Specification

GLUtesselator* gluNewTess(

Description

gluNewTess creates and returns a pointer to a new tessellation object. This object must be referred to when calling tessellation functions. A return value of @@ -14,4 +14,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNextContour.xhtml b/gl2/gluNextContour.xhtml index 3ceda3ab..8f0fd732 100644 --- a/gl2/gluNextContour.xhtml +++ b/gl2/gluNextContour.xhtml @@ -1,4 +1,4 @@ -

Name

gluNextContour — mark the beginning of another contour

C Specification

void gluNextContour(GLUtesselator*  tess,
 GLenum  type);

Parameters

tess

+

Name

gluNextContour — mark the beginning of another contour

C Specification

void gluNextContour(GLUtesselator*  tess,
 GLenum  type);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

type

Specifies the type of the contour being defined. Valid values are @@ -9,10 +9,10 @@ GLU_CW.

Description

gluNextContour is used in describing polygons with multiple contours. After the first - contour has been described through a series of gluTessVertex calls, + contour has been described through a series of gluTessVertex calls, a gluNextContour call indicates that the previous contour is complete and that the next contour is about to begin. - Another series of gluTessVertex calls is then used to describe the new + Another series of gluTessVertex calls is then used to describe the new contour. This process can be repeated until all contours have been described.

type defines what type of contour follows. @@ -20,32 +20,32 @@

GLU_EXTERIOR

An exterior contour defines an exterior boundary of the polygon.

GLU_INTERIOR

- An interior contour defines an interior boundary of the polygon (such as + An interior contour defines an interior boundary of the polygon (such as a hole).

GLU_UNKNOWN

An unknown contour is analyzed by the library to determine if it is interior or exterior.

GLU_CCW,
GLU_CW

- The first GLU_CCW or GLU_CW contour defined is considered to - be exterior. All other contours are considered to be exterior if they - are oriented in the same direction (clockwise or counterclockwise) as + The first GLU_CCW or GLU_CW contour defined is considered to + be exterior. All other contours are considered to be exterior if they + are oriented in the same direction (clockwise or counterclockwise) as the first contour, and interior if they are not.

- If one contour is of type GLU_CCW or GLU_CW, then all + If one contour is of type GLU_CCW or GLU_CW, then all contours must be of the same type (if they are not, then all GLU_CCW and GLU_CW contours will be changed to GLU_UNKNOWN).

- Note that there is no real difference between the GLU_CCW and + Note that there is no real difference between the GLU_CCW and GLU_CW contour types.

- Before the first contour is described, gluNextContour can be called to + Before the first contour is described, gluNextContour can be called to define the type of the first contour. - If gluNextContour is not called before the first contour, then the first contour is + If gluNextContour is not called before the first contour, then the first contour is marked GLU_EXTERIOR.

This command is obsolete and is provided for backward compatibility only. Calls to gluNextContour are mapped to gluTessEndContour - followed by + followed by gluTessBeginContour.

Example

A quadrilateral with a triangular hole in it can be described as follows: @@ -74,4 +74,4 @@ gluEndPolygon(tobj); Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNurbsCallback.xhtml b/gl2/gluNurbsCallback.xhtml index 4f9a8976..d11d6c51 100644 --- a/gl2/gluNurbsCallback.xhtml +++ b/gl2/gluNurbsCallback.xhtml @@ -1,20 +1,20 @@ -

Name

gluNurbsCallback — define a callback for a NURBS object

C Specification

void gluNurbsCallback(GLUnurbs*  nurb,
 GLenum  which,
 _GLUfuncptr  CallBackFunc);

Parameters

nurb

+

Name

gluNurbsCallback — define a callback for a NURBS object

C Specification

void gluNurbsCallback(GLUnurbs*  nurb,
 GLenum  which,
 _GLUfuncptr  CallBackFunc);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

which

- Specifies the callback being defined. + Specifies the callback being defined. Valid values are GLU_NURBS_BEGIN, GLU_NURBS_VERTEX, GLU_NURBS_NORMAL, GLU_NURBS_COLOR, GLU_NURBS_TEXTURE_COORD, GLU_NURBS_END, GLU_NURBS_BEGIN_DATA, GLU_NURBS_VERTEX_DATA, GLU_NURBS_NORMAL_DATA, GLU_NURBS_COLOR_DATA, GLU_NURBS_TEXTURE_COORD_DATA, GLU_NURBS_END_DATA, and GLU_NURBS_ERROR.

CallBackFunc

Specifies the function that the callback calls.

Description

- gluNurbsCallback is used to define a callback to be used by a NURBS + gluNurbsCallback is used to define a callback to be used by a NURBS object. - If the specified callback is already defined, then it is replaced. If + If the specified callback is already defined, then it is replaced. If CallBackFunc is NULL, then this callback will not get invoked and the related data, if any, will be lost.

Except the error callback, these callbacks are used by NURBS tessellator (when GLU_NURBS_MODE is set to be GLU_NURBS_TESSELLATOR) to return back the OpenGL polygon primitives resulting from the tessellation. Note that there are two - versions of each callback: one with a user data pointer and one without. If both versions for a particular callback are specified then the callback with + versions of each callback: one with a user data pointer and one without. If both versions for a particular callback are specified then the callback with the user data pointer will be used. Note that ``userData'' is a copy of the pointer that was specified at the last call to gluNurbsCallbackData.

The error callback function is effective no matter which value that @@ -26,7 +26,7 @@

GLU_NURBS_BEGIN

The begin callback indicates the start of a primitive. The function - takes a single argument of type GLenum, which can be one of + takes a single argument of type GLenum, which can be one of GLU_LINES, GLU_LINE_STRIP, GLU_TRIANGLE_FAN, GLU_TRIANGLE_STRIP, GLU_TRIANGLES, or GLU_QUAD_STRIP. The default begin callback function is NULL. The function prototype for this callback looks like: @@ -68,13 +68,13 @@ void vertexData( GLfloat *vertex, void *userData );

The normal callback is invoked as the vertex normal is generated. The components of the normal are stored in the parameter ``normal.'' - In the case of a NURBS curve, the callback function is effective only when + In the case of a NURBS curve, the callback function is effective only when the user provides a normal map (GLU_MAP1_NORMAL). In the case of a NURBS surface, if a normal map (GLU_MAP2_NORMAL) is provided, then the generated normal is computed from the normal map. If a normal map is not provided, then a surface normal is computed in a manner similar to that described for evaluators when GLU_AUTO_NORMAL - is enabled. + is enabled. The default normal callback function is NULL. The function prototype for this callback function looks like:

@@ -109,10 +109,10 @@ void colorData( GLfloat *color, void *userData );
                         

GLU_NURBS_TEXTURE_COORD

- The texture callback is invoked as the texture coordinates + The texture callback is invoked as the texture coordinates of a vertex are generated. These coordinates are stored in the parameter ``texCoord.'' The number of texture coordinates can be 1, 2, 3, or 4 depending - on which type of texture map is specified + on which type of texture map is specified (GLU_MAP1_TEXTURE_COORD_1, GLU_MAP1_TEXTURE_COORD_2, GLU_MAP1_TEXTURE_COORD_3, @@ -155,7 +155,7 @@ void endData( void *userData ); Its single argument is of type GLenum, and it indicates the specific error that occurred. There are 37 errors unique to NURBS, named - GLU_NURBS_ERROR1 through GLU_NURBS_ERROR37. + GLU_NURBS_ERROR1 through GLU_NURBS_ERROR37. Character strings describing these errors can be retrieved with gluErrorString.

Notes

@@ -177,4 +177,4 @@ void endData( void *userData ); Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNurbsCallbackData.xhtml b/gl2/gluNurbsCallbackData.xhtml index 6c4eddf8..f0e9625a 100644 --- a/gl2/gluNurbsCallbackData.xhtml +++ b/gl2/gluNurbsCallbackData.xhtml @@ -1,4 +1,4 @@ -

Name

gluNurbsCallbackData — set a user data pointer

C Specification

void gluNurbsCallbackData(GLUnurbs*  nurb,
 GLvoid*  userData);

Parameters

nurb

+

Name

gluNurbsCallbackData — set a user data pointer

C Specification

void gluNurbsCallbackData(GLUnurbs*  nurb,
 GLvoid*  userData);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

userData

Specifies a pointer to the user's data. @@ -18,4 +18,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNurbsCallbackDataEXT.xhtml b/gl2/gluNurbsCallbackDataEXT.xhtml index 9c8b5b47..55553689 100644 --- a/gl2/gluNurbsCallbackDataEXT.xhtml +++ b/gl2/gluNurbsCallbackDataEXT.xhtml @@ -1,4 +1,4 @@ -

Name

gluNurbsCallbackDataEXT — set a user data pointer

C Specification

void gluNurbsCallbackDataEXT(GLUnurbs*  nurb,
 GLvoid*  userData);

Parameters

nurb

+

Name

gluNurbsCallbackDataEXT — set a user data pointer

C Specification

void gluNurbsCallbackDataEXT(GLUnurbs*  nurb,
 GLvoid*  userData);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

userData

Specifies a pointer to the user's data. @@ -15,4 +15,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNurbsCurve.xhtml b/gl2/gluNurbsCurve.xhtml index 7d619c9d..bcbf281d 100644 --- a/gl2/gluNurbsCurve.xhtml +++ b/gl2/gluNurbsCurve.xhtml @@ -1,4 +1,4 @@ -

Name

gluNurbsCurve — define the shape of a NURBS curve

C Specification

void gluNurbsCurve(GLUnurbs*  nurb,
 GLint  knotCount,
 GLfloat *  knots,
 GLint  stride,
 GLfloat *  control,
 GLint  order,
 GLenum  type);

Parameters

nurb

+

Name

gluNurbsCurve — define the shape of a NURBS curve

C Specification

void gluNurbsCurve(GLUnurbs*  nurb,
 GLint  knotCount,
 GLfloat *  knots,
 GLint  stride,
 GLfloat *  control,
 GLint  order,
 GLenum  type);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

knotCount

Specifies the number of knots in knots. @@ -15,31 +15,31 @@ Specifies the order of the NURBS curve. order equals degree + 1, hence a cubic curve has an order of 4.

type

- Specifies the type of the curve. If this curve is defined within a - gluBeginCurve/gluEndCurve pair, then + Specifies the type of the curve. If this curve is defined within a + gluBeginCurve/gluEndCurve pair, then the type can be any of the valid - one-dimensional evaluator types (such as GLU_MAP1_VERTEX_3 or + one-dimensional evaluator types (such as GLU_MAP1_VERTEX_3 or GLU_MAP1_COLOR_4). Between a gluBeginTrim/gluEndTrim pair, the only valid types are GLU_MAP1_TRIM_2 and GLU_MAP1_TRIM_3.

Description

Use gluNurbsCurve to describe a NURBS curve.

- When gluNurbsCurve appears between a gluBeginCurve/gluEndCurve pair, it is + When gluNurbsCurve appears between a gluBeginCurve/gluEndCurve pair, it is used to describe a curve to be rendered. Positional, texture, and color coordinates are associated - by presenting each as a separate gluNurbsCurve between a + by presenting each as a separate gluNurbsCurve between a gluBeginCurve/gluEndCurve pair. No more than one call to gluNurbsCurve for each of color, position, and texture data can be made within a single gluBeginCurve/gluEndCurve - pair. Exactly one call must be made to describe the position of the + pair. Exactly one call must be made to describe the position of the curve (a type of GLU_MAP1_VERTEX_3 or GLU_MAP1_VERTEX_4).

- When gluNurbsCurve appears between a gluBeginTrim/gluEndTrim pair, it is + When gluNurbsCurve appears between a gluBeginTrim/gluEndTrim pair, it is used to describe a trimming curve on a NURBS surface. If type is - GLU_MAP1_TRIM_2, then it describes a curve in two-dimensional (u + GLU_MAP1_TRIM_2, then it describes a curve in two-dimensional (u and v) - parameter space. If it is GLU_MAP1_TRIM_3, then it describes a - curve in two-dimensional homogeneous (u, v, and w) + parameter space. If it is GLU_MAP1_TRIM_3, then it describes a + curve in two-dimensional homogeneous (u, v, and w) parameter space. See the gluBeginTrim reference page for more discussion about trimming curves. @@ -66,4 +66,4 @@ gluEndCurve(nobj); Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNurbsProperty.xhtml b/gl2/gluNurbsProperty.xhtml index 78e703ad..0769fbc2 100644 --- a/gl2/gluNurbsProperty.xhtml +++ b/gl2/gluNurbsProperty.xhtml @@ -1,9 +1,9 @@ -

Name

gluNurbsProperty — set a NURBS property

C Specification

void gluNurbsProperty(GLUnurbs*  nurb,
 GLenum  property,
 GLfloat  value);

Parameters

nurb

+

Name

gluNurbsProperty — set a NURBS property

C Specification

void gluNurbsProperty(GLUnurbs*  nurb,
 GLenum  property,
 GLfloat  value);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

property

Specifies the property to be set. Valid values are GLU_SAMPLING_TOLERANCE, - GLU_DISPLAY_MODE, + GLU_DISPLAY_MODE, GLU_CULLING, GLU_AUTO_LOAD_MATRIX, GLU_PARAMETRIC_TOLERANCE, @@ -13,7 +13,7 @@ GLU_NURBS_MODE.

value

Specifies the value of the indicated property. - It may be a numeric value or one of + It may be a numeric value or one of GLU_OUTLINE_POLYGON, GLU_FILL, GLU_OUTLINE_PATCH, @@ -26,14 +26,14 @@ GLU_NURBS_TESSELLATOR.

Description

gluNurbsProperty is used to control properties stored in a NURBS object. These - properties affect the way that a NURBS curve is rendered. The accepted + properties affect the way that a NURBS curve is rendered. The accepted values for property are as follows:

GLU_NURBS_MODE

value should be set to be either GLU_NURBS_RENDERER or GLU_NURBS_TESSELLATOR. When set to GLU_NURBS_RENDERER, NURBS objects are tessellated into OpenGL primitives and sent to the pipeline for rendering. When set to GLU_NURBS_TESSELLATOR, NURBS objects are - tessellated into OpenGL primitives but the vertices, normals, colors, and/or textures are + tessellated into OpenGL primitives but the vertices, normals, colors, and/or textures are retrieved back through a callback interface (see gluNurbsCallback). This allows the user to cache the tessellated results for further processing. The initial value is GLU_NURBS_RENDERER. @@ -45,14 +45,14 @@ GLU_OBJECT_PATH_LENGTH, or GLU_OBJECT_PARAMETRIC_ERROR. When set to GLU_PATH_LENGTH, the surface is rendered so that - the maximum length, in + the maximum length, in pixels, of the edges of the tessellation polygons is no greater than - what is specified by GLU_SAMPLING_TOLERANCE. + what is specified by GLU_SAMPLING_TOLERANCE.

- GLU_PARAMETRIC_ERROR specifies that the surface is rendered in such a - way that the value specified by GLU_PARAMETRIC_TOLERANCE describes the + GLU_PARAMETRIC_ERROR specifies that the surface is rendered in such a + way that the value specified by GLU_PARAMETRIC_TOLERANCE describes the maximum distance, in pixels, between the tessellation polygons and the - surfaces they approximate. + surfaces they approximate.

GLU_DOMAIN_DISTANCE allows users to specify, in parametric coordinates, how many sample points per unit length are taken in u, v @@ -70,7 +70,7 @@ GLU_OBJECT_PATH_LENGTH. The NURBS code is conservative when rendering a curve or surface, so the actual length can be somewhat shorter. The initial - value is 50.0 pixels. + value is 50.0 pixels.

GLU_PARAMETRIC_TOLERANCE

Specifies the maximum distance, in pixels or in object space length unit, to use when the sampling method is GLU_PARAMETRIC_ERROR or @@ -84,11 +84,11 @@

GLU_V_STEP

Specifies the number of sample points per unit length taken along the v axis in parametric coordinate. It is needed when - GLU_SAMPLING_METHOD is set to GLU_DOMAIN_DISTANCE. The initial + GLU_SAMPLING_METHOD is set to GLU_DOMAIN_DISTANCE. The initial value is 100.

GLU_DISPLAY_MODE

value can be set to - GLU_OUTLINE_POLYGON, GLU_FILL, or + GLU_OUTLINE_POLYGON, GLU_FILL, or GLU_OUTLINE_PATCH. When GLU_NURBS_MODE is set to be GLU_NURBS_RENDERER, value defines how a NURBS surface should be rendered. @@ -96,26 +96,26 @@ set of polygons. When value is set to GLU_OUTLINE_POLYGON, the NURBS library draws only the outlines of the polygons created by tessellation. When value is set to - GLU_OUTLINE_PATCH just the outlines of patches and trim + GLU_OUTLINE_PATCH just the outlines of patches and trim curves defined by the user are drawn.

When GLU_NURBS_MODE is set to be GLU_NURBS_TESSELLATOR, value defines how a NURBS surface should be tessellated. When GLU_DISPLAY_MODE is set to GLU_FILL or - GLU_OUTLINE_POLYGON, + GLU_OUTLINE_POLYGON, the NURBS surface is tessellated into OpenGL triangle primitives that can be - retrieved back through callback functions. If GLU_DISPLAY_MODE is set to + retrieved back through callback functions. If GLU_DISPLAY_MODE is set to GLU_OUTLINE_PATCH, only the outlines of the patches and trim curves are generated as a sequence of line strips that can be retrieved back through callback functions.

The initial value is GLU_FILL.

GLU_CULLING

- value is a boolean value that, when set to GLU_TRUE, indicates that + value is a boolean value that, when set to GLU_TRUE, indicates that a NURBS curve should be discarded prior to tessellation if its control points lie outside the current viewport. The initial value is GLU_FALSE.

GLU_AUTO_LOAD_MATRIX

- value is a boolean value. When set to GLU_TRUE, the NURBS code - downloads the projection matrix, the modelview matrix, and the - viewport from the GL server to compute sampling and + value is a boolean value. When set to GLU_TRUE, the NURBS code + downloads the projection matrix, the modelview matrix, and the + viewport from the GL server to compute sampling and culling matrices for each NURBS curve that is rendered. Sampling and culling matrices are required to determine the tessellation of a NURBS surface into line segments @@ -127,33 +127,33 @@ This can be done with the gluLoadSamplingMatrices function. This mode is initially set to GLU_TRUE. Changing it from GLU_TRUE to GLU_FALSE does not affect - the sampling and culling matrices until + the sampling and culling matrices until gluLoadSamplingMatrices is called.

Notes

If GLU_AUTO_LOAD_MATRIX is true, sampling and culling may be executed incorrectly if NURBS routines are compiled into a display list.

- A property of + A property of GLU_PARAMETRIC_TOLERANCE, GLU_SAMPLING_METHOD, GLU_U_STEP, or GLU_V_STEP, - or a value of + or a value of GLU_PATH_LENGTH, - GLU_PARAMETRIC_ERROR, - GLU_DOMAIN_DISTANCE + GLU_PARAMETRIC_ERROR, + GLU_DOMAIN_DISTANCE are only available if the GLU version is 1.1 or greater. They are not - valid parameters in GLU 1.0. + valid parameters in GLU 1.0.

gluGetString can - be used to determine the GLU version. + be used to determine the GLU version.

GLU_NURBS_MODE is only available if the GLU version is 1.3 or greater.

- The GLU_OBJECT_PATH_LENGTH and GLU_OBJECT_PARAMETRIC_ERROR - values for the GLU_SAMPLING_METHOD property are only available if + The GLU_OBJECT_PATH_LENGTH and GLU_OBJECT_PARAMETRIC_ERROR + values for the GLU_SAMPLING_METHOD property are only available if the GLU version is 1.3 or greater.

{$pipelinestall}{$examples} @@ -168,4 +168,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluNurbsSurface.xhtml b/gl2/gluNurbsSurface.xhtml index 060f799d..1992f7db 100644 --- a/gl2/gluNurbsSurface.xhtml +++ b/gl2/gluNurbsSurface.xhtml @@ -1,4 +1,4 @@ -

Name

gluNurbsSurface — define the shape of a NURBS surface

C Specification

void gluNurbsSurface(GLUnurbs*  nurb,
 GLint  sKnotCount,
 GLfloat*  sKnots,
 GLint  tKnotCount,
 GLfloat*  tKnots,
 GLint  sStride,
 GLint  tStride,
 GLfloat*  control,
 GLint  sOrder,
 GLint  tOrder,
 GLenum  type);

Parameters

nurb

+

Name

gluNurbsSurface — define the shape of a NURBS surface

C Specification

void gluNurbsSurface(GLUnurbs*  nurb,
 GLint  sKnotCount,
 GLfloat*  sKnots,
 GLint  tKnotCount,
 GLfloat*  tKnots,
 GLint  sStride,
 GLint  tStride,
 GLfloat*  control,
 GLint  sOrder,
 GLint  tOrder,
 GLenum  type);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

sKnotCount

Specifies the number of knots in the parametric u direction. diff --git a/gl2/gluOrtho2D.xhtml b/gl2/gluOrtho2D.xhtml index 7e510325..f6101c34 100644 --- a/gl2/gluOrtho2D.xhtml +++ b/gl2/gluOrtho2D.xhtml @@ -1,4 +1,4 @@ -

Name

gluOrtho2D — define a 2D orthographic projection matrix

C Specification

void gluOrtho2D(GLdouble  left,
 GLdouble  right,
 GLdouble  bottom,
 GLdouble  top);

Parameters

left, right

+

Name

gluOrtho2D — define a 2D orthographic projection matrix

C Specification

void gluOrtho2D(GLdouble  left,
 GLdouble  right,
 GLdouble  bottom,
 GLdouble  top);

Parameters

left, right

Specify the coordinates for the left and right vertical clipping planes.

bottom, top

Specify the coordinates for the bottom and top horizontal clipping planes. diff --git a/gl2/gluPartialDisk.xhtml b/gl2/gluPartialDisk.xhtml index 56c0a1a3..3097788b 100644 --- a/gl2/gluPartialDisk.xhtml +++ b/gl2/gluPartialDisk.xhtml @@ -1,4 +1,4 @@ -

Name

gluPartialDisk — draw an arc of a disk

C Specification

void gluPartialDisk(GLUquadric*  quad,
 GLdouble  inner,
 GLdouble  outer,
 GLint  slices,
 GLint  loops,
 GLdouble  start,
 GLdouble  sweep);

Parameters

quad

+

Name

gluPartialDisk — draw an arc of a disk

C Specification

void gluPartialDisk(GLUquadric*  quad,
 GLdouble  inner,
 GLdouble  outer,
 GLint  slices,
 GLint  loops,
 GLdouble  start,
 GLdouble  sweep);

Parameters

quad

Specifies a quadrics object (created with gluNewQuadric).

inner

Specifies the inner radius of the partial disk (can be 0). diff --git a/gl2/gluPerspective.xhtml b/gl2/gluPerspective.xhtml index c699900c..2176b8f8 100644 --- a/gl2/gluPerspective.xhtml +++ b/gl2/gluPerspective.xhtml @@ -1,4 +1,4 @@ -

Name

gluPerspective — set up a perspective projection matrix

C Specification

void gluPerspective(GLdouble  fovy,
 GLdouble  aspect,
 GLdouble  zNear,
 GLdouble  zFar);

Parameters

fovy

+

Name

gluPerspective — set up a perspective projection matrix

C Specification

void gluPerspective(GLdouble  fovy,
 GLdouble  aspect,
 GLdouble  zNear,
 GLdouble  zFar);

Parameters

fovy

Specifies the field of view angle, in degrees, in the y direction.

aspect

Specifies the aspect ratio that determines diff --git a/gl2/gluPickMatrix.xhtml b/gl2/gluPickMatrix.xhtml index 829f1c80..a2ee3831 100644 --- a/gl2/gluPickMatrix.xhtml +++ b/gl2/gluPickMatrix.xhtml @@ -1,7 +1,7 @@ -

Name

gluPickMatrix — define a picking region

C Specification

void gluPickMatrix(GLdouble  x,
 GLdouble  y,
 GLdouble  delX,
 GLdouble  delY,
 GLint *  viewport);

Parameters

x, y

+

Name

gluPickMatrix — define a picking region

C Specification

void gluPickMatrix(GLdouble  x,
 GLdouble  y,
 GLdouble  delX,
 GLdouble  delY,
 GLint *  viewport);

Parameters

x, y

Specify the center of a picking region in window coordinates.

delX, delY

- Specify the width and height, respectively, of the picking region in window + Specify the width and height, respectively, of the picking region in window coordinates.

viewport

Specifies the current viewport (as from a glGetIntegerv call). @@ -26,7 +26,7 @@ and, finally, call a command (such as gluPerspective) to multiply the perspective matrix by the pick matrix.

- When using gluPickMatrix to pick NURBS, be careful to turn off the NURBS + When using gluPickMatrix to pick NURBS, be careful to turn off the NURBS property GLU_AUTO_LOAD_MATRIX. If GLU_AUTO_LOAD_MATRIX is not turned off, then any NURBS surface rendered is subdivided differently with @@ -54,12 +54,12 @@ glMatrixMode(GL_MODELVIEW);

\ No newline at end of file +

diff --git a/gl2/gluProject.xhtml b/gl2/gluProject.xhtml index d92a9bc9..3916c82a 100644 --- a/gl2/gluProject.xhtml +++ b/gl2/gluProject.xhtml @@ -1,4 +1,4 @@ -

Name

gluProject — map object coordinates to window coordinates

C Specification

GLint gluProject(GLdouble  objX,
 GLdouble  objY,
 GLdouble  objZ,
 const GLdouble *  model,
 const GLdouble *  proj,
 const GLint *  view,
 GLdouble*  winX,
 GLdouble*  winY,
 GLdouble*  winZ);

Parameters

objX, objY, objZ

+

Name

gluProject — map object coordinates to window coordinates

C Specification

GLint gluProject(GLdouble  objX,
 GLdouble  objY,
 GLdouble  objZ,
 const GLdouble *  model,
 const GLdouble *  proj,
 const GLint *  view,
 GLdouble*  winX,
 GLdouble*  winY,
 GLdouble*  winZ);

Parameters

objX, objY, objZ

Specify the object coordinates.

model

Specifies the current modelview matrix (as from a glGetDoublev call). diff --git a/gl2/gluPwlCurve.xhtml b/gl2/gluPwlCurve.xhtml index 37fe5619..6d5df4ef 100644 --- a/gl2/gluPwlCurve.xhtml +++ b/gl2/gluPwlCurve.xhtml @@ -1,4 +1,4 @@ -

Name

gluPwlCurve — describe a piecewise linear NURBS trimming curve

C Specification

void gluPwlCurve(GLUnurbs*  nurb,
 GLint  count,
 GLfloat*  data,
 GLint  stride,
 GLenum  type);

Parameters

nurb

+

Name

gluPwlCurve — describe a piecewise linear NURBS trimming curve

C Specification

void gluPwlCurve(GLUnurbs*  nurb,
 GLint  count,
 GLfloat*  data,
 GLint  stride,
 GLenum  type);

Parameters

nurb

Specifies the NURBS object (created with gluNewNurbsRenderer).

count

Specifies the number of points on the curve. @@ -12,23 +12,23 @@ Must be either GLU_MAP1_TRIM_2 or GLU_MAP1_TRIM_3.

Description

gluPwlCurve describes a piecewise linear trimming curve for a NURBS surface. - A piecewise linear curve consists of a list of + A piecewise linear curve consists of a list of coordinates of points in the parameter space for the NURBS surface to be trimmed. These points are connected with line segments to form a curve. If the curve is - an approximation to a curve that is not piecewise linear, - the points should be close enough in parameter space that the + an approximation to a curve that is not piecewise linear, + the points should be close enough in parameter space that the resulting path appears curved at the resolution used in the application.

If type is - GLU_MAP1_TRIM_2, then it describes a curve in two-dimensional (u + GLU_MAP1_TRIM_2, then it describes a curve in two-dimensional (u and v) parameter space. If it is GLU_MAP1_TRIM_3, then it describes a curve in two-dimensional homogeneous (u, v, - and w) parameter space. - See the gluBeginTrim reference page for more information - about trimming curves. + and w) parameter space. + See the gluBeginTrim reference page for more information + about trimming curves.

Notes

- To describe a trim curve that closely follows the contours of a NURBS + To describe a trim curve that closely follows the contours of a NURBS surface, call gluNurbsCurve.

{$pipelinestall}{$examples} @@ -42,4 +42,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluQuadricCallback.xhtml b/gl2/gluQuadricCallback.xhtml index 023e90ea..e6409afd 100644 --- a/gl2/gluQuadricCallback.xhtml +++ b/gl2/gluQuadricCallback.xhtml @@ -1,4 +1,4 @@ -

Name

gluQuadricCallback — define a callback for a quadrics object

C Specification

void gluQuadricCallback(GLUquadric*  quad,
 GLenum  which,
 _GLUfuncptr  CallBackFunc);

Parameters

quad

+

Name

gluQuadricCallback — define a callback for a quadrics object

C Specification

void gluQuadricCallback(GLUquadric*  quad,
 GLenum  which,
 _GLUfuncptr  CallBackFunc);

Parameters

quad

Specifies the quadrics object (created with gluNewQuadric).

which

Specifies the callback being defined. @@ -7,7 +7,7 @@ Specifies the function to be called.

Description

gluQuadricCallback is used to define a new callback to be used by a quadrics object. - If the specified callback is already defined, then it is replaced. If + If the specified callback is already defined, then it is replaced. If CallBackFunc is NULL, then any existing callback is erased.

The one legal callback is GLU_ERROR: @@ -24,4 +24,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluQuadricDrawStyle.xhtml b/gl2/gluQuadricDrawStyle.xhtml index efa5eb7e..97207372 100644 --- a/gl2/gluQuadricDrawStyle.xhtml +++ b/gl2/gluQuadricDrawStyle.xhtml @@ -1,4 +1,4 @@ -

Name

gluQuadricDrawStyle — specify the draw style desired for quadrics

C Specification

void gluQuadricDrawStyle(GLUquadric*  quad,
 GLenum  draw);

Parameters

quad

+

Name

gluQuadricDrawStyle — specify the draw style desired for quadrics

C Specification

void gluQuadricDrawStyle(GLUquadric*  quad,
 GLenum  draw);

Parameters

quad

Specifies the quadrics object (created with gluNewQuadric).

draw

Specifies the desired draw style. Valid values are @@ -10,7 +10,7 @@ gluQuadricDrawStyle specifies the draw style for quadrics rendered with quad. The legal values are as follows:

GLU_FILL

- Quadrics are rendered with polygon primitives. The polygons + Quadrics are rendered with polygon primitives. The polygons are drawn in a counterclockwise fashion with respect to their normals (as defined with gluQuadricOrientation).

GLU_LINE

@@ -30,4 +30,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluQuadricNormals.xhtml b/gl2/gluQuadricNormals.xhtml index a04c012a..55fdab73 100644 --- a/gl2/gluQuadricNormals.xhtml +++ b/gl2/gluQuadricNormals.xhtml @@ -1,4 +1,4 @@ -

Name

gluQuadricNormals — specify what kind of normals are desired for quadrics

C Specification

void gluQuadricNormals(GLUquadric*  quad,
 GLenum  normal);

Parameters

quad

+

Name

gluQuadricNormals — specify what kind of normals are desired for quadrics

C Specification

void gluQuadricNormals(GLUquadric*  quad,
 GLenum  normal);

Parameters

quad

Specifies the quadrics object (created with gluNewQuadric).

normal

Specifies the desired type of normals. Valid values are @@ -25,4 +25,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluQuadricOrientation.xhtml b/gl2/gluQuadricOrientation.xhtml index 64253ca9..17429564 100644 --- a/gl2/gluQuadricOrientation.xhtml +++ b/gl2/gluQuadricOrientation.xhtml @@ -1,11 +1,11 @@ -

Name

gluQuadricOrientation — specify inside/outside orientation for quadrics

C Specification

void gluQuadricOrientation(GLUquadric*  quad,
 GLenum  orientation);

Parameters

quad

+

Name

gluQuadricOrientation — specify inside/outside orientation for quadrics

C Specification

void gluQuadricOrientation(GLUquadric*  quad,
 GLenum  orientation);

Parameters

quad

Specifies the quadrics object (created with gluNewQuadric).

orientation

Specifies the desired orientation. Valid values are GLU_OUTSIDE and GLU_INSIDE.

Description

- gluQuadricOrientation specifies what kind of orientation is desired for quadrics rendered + gluQuadricOrientation specifies what kind of orientation is desired for quadrics rendered with quad. The orientation values are as follows:

GLU_OUTSIDE

Quadrics are drawn with normals pointing outward (the initial value). @@ -26,4 +26,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluQuadricTexture.xhtml b/gl2/gluQuadricTexture.xhtml index 4ca213cc..bbd69917 100644 --- a/gl2/gluQuadricTexture.xhtml +++ b/gl2/gluQuadricTexture.xhtml @@ -1,15 +1,15 @@ -

Name

gluQuadricTexture — specify if texturing is desired for quadrics

C Specification

void gluQuadricTexture(GLUquadric*  quad,
 GLboolean  texture);

Parameters

quad

+

Name

gluQuadricTexture — specify if texturing is desired for quadrics

C Specification

void gluQuadricTexture(GLUquadric*  quad,
 GLboolean  texture);

Parameters

quad

Specifies the quadrics object (created with gluNewQuadric).

texture

Specifies a flag indicating if texture coordinates should be generated.

Description

gluQuadricTexture specifies if texture coordinates should be generated for quadrics rendered with quad. - If the value of texture is GLU_TRUE, then texture coordinates + If the value of texture is GLU_TRUE, then texture coordinates are generated, and if texture is GLU_FALSE, they are not. The initial value is GLU_FALSE.

- The manner in which texture coordinates are generated depends + The manner in which texture coordinates are generated depends upon the specific quadric rendered.

{$pipelinestall}{$examples} @@ -23,4 +23,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluScaleImage.xhtml b/gl2/gluScaleImage.xhtml index cf4177e6..2ab132d4 100644 --- a/gl2/gluScaleImage.xhtml +++ b/gl2/gluScaleImage.xhtml @@ -1,4 +1,4 @@ -

Name

gluScaleImage — scale an image to an arbitrary size

C Specification

GLint gluScaleImage(GLenum  format,
 GLsizei  wIn,
 GLsizei  hIn,
 GLenum  typeIn,
 const void *  dataIn,
 GLsizei  wOut,
 GLsizei  hOut,
 GLenum  typeOut,
 GLvoid*  dataOut);

Parameters

format

+

Name

gluScaleImage — scale an image to an arbitrary size

C Specification

GLint gluScaleImage(GLenum  format,
 GLsizei  wIn,
 GLsizei  hIn,
 GLenum  typeIn,
 const void *  dataIn,
 GLsizei  wOut,
 GLsizei  hOut,
 GLenum  typeOut,
 GLvoid*  dataOut);

Parameters

format

Specifies the format of the pixel data. The following symbolic values are valid: GLU_COLOR_INDEX, @@ -24,8 +24,8 @@ GLU_UNSIGNED_SHORT, GLU_SHORT, GLU_UNSIGNED_INT, - GLU_INT, - GLU_FLOAT, + GLU_INT, + GLU_FLOAT, GLU_UNSIGNED_BYTE_3_3_2, GLU_UNSIGNED_BYTE_2_3_3_REV, GLU_UNSIGNED_SHORT_5_6_5, @@ -50,7 +50,7 @@ GLU_UNSIGNED_SHORT, GLU_SHORT, GLU_UNSIGNED_INT, - GLU_INT, + GLU_INT, GLU_FLOAT, GLU_UNSIGNED_BYTE_3_3_2, GLU_UNSIGNED_BYTE_2_3_3_REV, @@ -67,7 +67,7 @@

dataOut

Specifies a pointer to the destination image.

Description

- gluScaleImage scales a pixel image using the appropriate pixel store modes to + gluScaleImage scales a pixel image using the appropriate pixel store modes to unpack data from the source image and pack data into the destination image.

When shrinking an image, gluScaleImage uses a box filter to sample the source image @@ -80,7 +80,7 @@ See the glReadPixels reference page for a description of the acceptable values for the format, typeIn, and typeOut parameters.

Notes

- Formats GLU_BGR, and GLU_BGRA, and types + Formats GLU_BGR, and GLU_BGRA, and types GLU_UNSIGNED_BYTE_3_3_2, GLU_UNSIGNED_BYTE_2_3_3_REV, GLU_UNSIGNED_SHORT_5_6_5, @@ -92,7 +92,7 @@ GLU_UNSIGNED_INT_8_8_8_8, GLU_UNSIGNED_INT_8_8_8_8_REV, GLU_UNSIGNED_INT_10_10_10_2, and - GLU_UNSIGNED_INT_2_10_10_10_REV are only available if the GL version + GLU_UNSIGNED_INT_2_10_10_10_REV are only available if the GL version is 1.2 or greater.

Errors

GLU_INVALID_VALUE is returned if wIn, hIn, wOut, or hOut @@ -101,16 +101,16 @@ GLU_INVALID_ENUM is returned if format, typeIn, or typeOut is not legal.

- GLU_INVALID_OPERATION is returned if typeIn or typeOut is - GLU_UNSIGNED_BYTE_3_3_2 or GLU_UNSIGNED_BYTE_2_3_3_REV + GLU_INVALID_OPERATION is returned if typeIn or typeOut is + GLU_UNSIGNED_BYTE_3_3_2 or GLU_UNSIGNED_BYTE_2_3_3_REV and format is not GLU_RGB.

- GLU_INVALID_OPERATION is returned if typeIn or typeOut is - GLU_UNSIGNED_SHORT_5_6_5 or GLU_UNSIGNED_SHORT_5_6_5_REV + GLU_INVALID_OPERATION is returned if typeIn or typeOut is + GLU_UNSIGNED_SHORT_5_6_5 or GLU_UNSIGNED_SHORT_5_6_5_REV and format is not GLU_RGB.

GLU_INVALID_OPERATION is returned if typeIn or typeOut is - GLU_UNSIGNED_SHORT_4_4_4_4 or GLU_UNSIGNED_SHORT_4_4_4_4_REV + GLU_UNSIGNED_SHORT_4_4_4_4 or GLU_UNSIGNED_SHORT_4_4_4_4_REV and format is neither GLU_RGBA nor GLU_BGRA.

GLU_INVALID_OPERATION is returned if typeIn or typeOut is @@ -118,7 +118,7 @@ and format is neither GLU_RGBA nor GLU_BGRA.

GLU_INVALID_OPERATION is returned if typeIn or typeOut is - GLU_UNSIGNED_INT_8_8_8_8 or GLU_UNSIGNED_INT_8_8_8_8_REV + GLU_UNSIGNED_INT_8_8_8_8 or GLU_UNSIGNED_INT_8_8_8_8_REV and format is neither GLU_RGBA nor GLU_BGRA.

GLU_INVALID_OPERATION is returned if typeIn or typeOut is @@ -138,4 +138,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluSphere.xhtml b/gl2/gluSphere.xhtml index 6060b299..b3389563 100644 --- a/gl2/gluSphere.xhtml +++ b/gl2/gluSphere.xhtml @@ -1,4 +1,4 @@ -

Name

gluSphere — draw a sphere

C Specification

void gluSphere(GLUquadric*  quad,
 GLdouble  radius,
 GLint  slices,
 GLint  stacks);

Parameters

quad

+

Name

gluSphere — draw a sphere

C Specification

void gluSphere(GLUquadric*  quad,
 GLdouble  radius,
 GLint  slices,
 GLint  stacks);

Parameters

quad

Specifies the quadrics object (created with gluNewQuadric).

radius

Specifies the radius of the sphere. diff --git a/gl2/gluTessBeginContour.xhtml b/gl2/gluTessBeginContour.xhtml index 1587a3bb..b01d0b20 100644 --- a/gl2/gluTessBeginContour.xhtml +++ b/gl2/gluTessBeginContour.xhtml @@ -1,10 +1,10 @@ -

Name

gluTessBeginContour — delimit a contour description

C Specification

void gluTessBeginContour(GLUtesselator*  tess);

C Specification

void gluTessEndContour(GLUtesselator*  tess);

Parameters

tess

+

Name

gluTessBeginContour — delimit a contour description

C Specification

void gluTessBeginContour(GLUtesselator*  tess);

C Specification

void gluTessEndContour(GLUtesselator*  tess);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

Description

gluTessBeginContour and gluTessEndContour delimit the definition of a polygon contour. Within each gluTessBeginContour/gluTessEndContour pair, there can be zero or more calls to gluTessVertex. The vertices - specify a closed contour (the last vertex of each contour is automatically linked + specify a closed contour (the last vertex of each contour is automatically linked to the first). See the gluTessVertex reference page for more details. gluTessBeginContour can only be called between gluTessBeginPolygon and gluTessEndPolygon.

@@ -22,4 +22,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluTessBeginPolygon.xhtml b/gl2/gluTessBeginPolygon.xhtml index 3b45ef0b..c9fa224c 100644 --- a/gl2/gluTessBeginPolygon.xhtml +++ b/gl2/gluTessBeginPolygon.xhtml @@ -1,18 +1,18 @@ -

Name

gluTessBeginPolygon — delimit a polygon description

C Specification

void gluTessBeginPolygon(GLUtesselator*  tess,
 GLvoid*  data);

Parameters

tess

+

Name

gluTessBeginPolygon — delimit a polygon description

C Specification

void gluTessBeginPolygon(GLUtesselator*  tess,
 GLvoid*  data);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

data

Specifies a pointer to user polygon data.

Description

gluTessBeginPolygon and gluTessEndPolygon delimit the definition of a convex, concave or self-intersecting polygon. Within each gluTessBeginPolygon/gluTessEndPolygon - pair, there must be one or more calls to gluTessBeginContour/gluTessEndContour. - Within each contour, there are zero or more calls to gluTessVertex. The vertices - specify a closed contour (the last vertex of each contour is automatically linked - to the first). See the gluTessVertex, gluTessBeginContour, and + pair, there must be one or more calls to gluTessBeginContour/gluTessEndContour. + Within each contour, there are zero or more calls to gluTessVertex. The vertices + specify a closed contour (the last vertex of each contour is automatically linked + to the first). See the gluTessVertex, gluTessBeginContour, and gluTessEndContour reference pages for more details.

- data is a pointer to a user-defined data structure. If the appropriate callback(s) - are specified (see gluTessCallback), then this pointer is returned to the + data is a pointer to a user-defined data structure. If the appropriate callback(s) + are specified (see gluTessCallback), then this pointer is returned to the callback function(s). Thus, it is a convenient way to store per-polygon information.

Once gluTessEndPolygon is called, the polygon is tessellated, and the @@ -51,4 +51,4 @@ gluTessEndPolygon(tobj); Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluTessCallback.xhtml b/gl2/gluTessCallback.xhtml index 23b353ba..9f74aacd 100644 --- a/gl2/gluTessCallback.xhtml +++ b/gl2/gluTessCallback.xhtml @@ -1,4 +1,4 @@ -

Name

gluTessCallback — define a callback for a tessellation object

C Specification

void gluTessCallback(GLUtesselator*  tess,
 GLenum  which,
 _GLUfuncptr  CallBackFunc);

Parameters

tess

+

Name

gluTessCallback — define a callback for a tessellation object

C Specification

void gluTessCallback(GLUtesselator*  tess,
 GLenum  which,
 _GLUfuncptr  CallBackFunc);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

which

Specifies the callback being defined. The following values are valid: @@ -8,9 +8,9 @@ GLU_TESS_EDGE_FLAG_DATA, GLU_TESS_VERTEX, GLU_TESS_VERTEX_DATA, - GLU_TESS_END, - GLU_TESS_END_DATA, - GLU_TESS_COMBINE, + GLU_TESS_END, + GLU_TESS_END_DATA, + GLU_TESS_COMBINE, GLU_TESS_COMBINE_DATA, GLU_TESS_ERROR, and GLU_TESS_ERROR_DATA. @@ -18,19 +18,19 @@ Specifies the function to be called.

Description

gluTessCallback is used to indicate a callback to be used by a tessellation object. - If the specified callback is already defined, then it is replaced. If + If the specified callback is already defined, then it is replaced. If CallBackFunc is NULL, then the existing callback becomes undefined.

- These callbacks are used by the tessellation object to describe how a - polygon specified by the user is broken into triangles. Note that there - are two versions of each callback: one with user-specified polygon data - and one without. If both versions of a particular callback are specified, - then the callback with user-specified polygon data will be used. Note + These callbacks are used by the tessellation object to describe how a + polygon specified by the user is broken into triangles. Note that there + are two versions of each callback: one with user-specified polygon data + and one without. If both versions of a particular callback are specified, + then the callback with user-specified polygon data will be used. Note that the polygon_data parameter used by some of the functions is - a copy of the pointer that was specified when + a copy of the pointer that was specified when gluTessBeginPolygon was called. The legal callbacks are as follows:

GLU_TESS_BEGIN

- The begin callback is invoked like glBegin to indicate the start of + The begin callback is invoked like glBegin to indicate the start of a (triangle) primitive. The function takes a single argument of type GLenum. If the GLU_TESS_BOUNDARY_ONLY property is set to GLU_FALSE, then the argument is set to either @@ -42,8 +42,8 @@ void begin( GLenum type );

GLU_TESS_BEGIN_DATA

- The same as the GLU_TESS_BEGIN callback except that it - takes an additional pointer argument. This pointer is identical to the + The same as the GLU_TESS_BEGIN callback except that it + takes an additional pointer argument. This pointer is identical to the opaque pointer provided when gluTessBeginPolygon was called. The function prototype for this callback is: @@ -57,10 +57,10 @@ void beginData( GLenum type, void *polygon_data ); that follows begins an edge that lies on the polygon boundary, that is, an edge that separates an interior region from an exterior one. If the flag is GLU_FALSE, then each vertex that follows begins an edge - that lies in the polygon interior. The edge flag callback (if defined) is + that lies in the polygon interior. The edge flag callback (if defined) is invoked before the first vertex callback.

- Since triangle fans and triangle strips do not support edge flags, the begin + Since triangle fans and triangle strips do not support edge flags, the begin callback is not called with GLU_TRIANGLE_FAN or GLU_TRIANGLE_STRIP if a non-NULL edge flag callback is provided. (If the callback is initialized to NULL, there is no impact on performance). Instead, the fans and @@ -79,7 +79,7 @@ void edgeFlagData( GLboolean flag, void *polygon_data );

GLU_TESS_VERTEX

The vertex callback is invoked between the begin and end callbacks. - It is similar to glVertex, and it defines the vertices of the triangles + It is similar to glVertex, and it defines the vertices of the triangles created by the tessellation process. The function takes a pointer as its only argument. This pointer is identical to the opaque pointer provided by the user when the vertex was described @@ -88,7 +88,7 @@ void edgeFlagData( GLboolean flag, void *polygon_data ); void vertex( void *vertex_data );

GLU_TESS_VERTEX_DATA

- The same as the GLU_TESS_VERTEX callback except that it takes an additional pointer + The same as the GLU_TESS_VERTEX callback except that it takes an additional pointer argument. This pointer is identical to the opaque pointer provided when gluTessBeginPolygon was called. The function prototype for this callback is: @@ -96,14 +96,14 @@ void vertex( void *vertex_data ); void vertexData( void *vertex_data, void *polygon_data );

GLU_TESS_END

- The end callback serves the same purpose as glEnd. It indicates the + The end callback serves the same purpose as glEnd. It indicates the end of a primitive and it takes no arguments. The function prototype for this callback is:

 void end( void );
                         

GLU_TESS_END_DATA

- The same as the GLU_TESS_END callback except that it takes an additional pointer + The same as the GLU_TESS_END callback except that it takes an additional pointer argument. This pointer is identical to the opaque pointer provided when gluTessBeginPolygon was called. The function prototype for this callback is: @@ -113,24 +113,24 @@ void endData( void *polygon_data );

GLU_TESS_COMBINE

The combine callback is called to create a new vertex when the tessellation detects an intersection or wishes to merge features. The function takes - four arguments: an array of three elements each of type GLdouble, an array - of four pointers, an array of four elements each of type GLfloat, and a + four arguments: an array of three elements each of type GLdouble, an array + of four pointers, an array of four elements each of type GLfloat, and a pointer to a pointer. The prototype is:

-void combine( GLdouble coords[3], void *vertex_data[4], 
+void combine( GLdouble coords[3], void *vertex_data[4],
               GLfloat weight[4], void **outData );
                         

- The vertex is defined as a linear combination of up to four existing vertices, + The vertex is defined as a linear combination of up to four existing vertices, stored in vertex_data. The coefficients of the linear combination are given by weight; these weights always add up to 1. All vertex pointers are valid even when some of the weights are 0. coords gives the location of the new vertex.

- The user must allocate another vertex, interpolate parameters using + The user must allocate another vertex, interpolate parameters using vertex_data and weight, and return the new vertex pointer in outData. This handle is supplied during rendering callbacks. - The user is responsible for freeing the memory some time after + The user is responsible for freeing the memory some time after gluTessEndPolygon is called.

For example, if the polygon lies in an arbitrary plane in 3-space, @@ -153,26 +153,26 @@ void myCombine( GLdouble coords[3], VERTEX *d[4], }

- If the tessellation detects an intersection, then the GLU_TESS_COMBINE or - GLU_TESS_COMBINE_DATA callback (see below) must be defined, and it must - write a non-NULL pointer into dataOut. Otherwise the + If the tessellation detects an intersection, then the GLU_TESS_COMBINE or + GLU_TESS_COMBINE_DATA callback (see below) must be defined, and it must + write a non-NULL pointer into dataOut. Otherwise the GLU_TESS_NEED_COMBINE_CALLBACK error occurs, and no output is generated.

GLU_TESS_COMBINE_DATA

- The same as the GLU_TESS_COMBINE callback except that it takes an additional pointer + The same as the GLU_TESS_COMBINE callback except that it takes an additional pointer argument. This pointer is identical to the opaque pointer provided when gluTessBeginPolygon was called. The function prototype for this callback is:

-void combineData( GLdouble coords[3], void *vertex_data[4], 
-                  GLfloat weight[4], void **outData, 
+void combineData( GLdouble coords[3], void *vertex_data[4],
+                  GLfloat weight[4], void **outData,
                   void *polygon_data );
                         

GLU_TESS_ERROR

The error callback is called when an error is encountered. The one argument is of type GLenum; it indicates the specific error that occurred and will be - set to one of GLU_TESS_MISSING_BEGIN_POLYGON, GLU_TESS_MISSING_END_POLYGON, - GLU_TESS_MISSING_BEGIN_CONTOUR, GLU_TESS_MISSING_END_CONTOUR, + set to one of GLU_TESS_MISSING_BEGIN_POLYGON, GLU_TESS_MISSING_END_POLYGON, + GLU_TESS_MISSING_BEGIN_CONTOUR, GLU_TESS_MISSING_END_CONTOUR, GLU_TESS_COORD_TOO_LARGE, GLU_TESS_NEED_COMBINE_CALLBACK, or GLU_OUT_OF_MEMORY. Character strings describing these errors can be retrieved with the @@ -193,7 +193,7 @@ void error( GLenum errno ); not provided. No output is generated. GLU_OUT_OF_MEMORY indicates that there is not enough memory so no output is generated.

GLU_TESS_ERROR_DATA

- The same as the GLU_TESS_ERROR callback except that it takes an additional pointer + The same as the GLU_TESS_ERROR callback except that it takes an additional pointer argument. This pointer is identical to the opaque pointer provided when gluTessBeginPolygon was called. The function prototype for this callback is: @@ -234,4 +234,4 @@ gluTessEndPolygon(tobj); Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluTessEndPolygon.xhtml b/gl2/gluTessEndPolygon.xhtml index c64a7ca3..b5238ed0 100644 --- a/gl2/gluTessEndPolygon.xhtml +++ b/gl2/gluTessEndPolygon.xhtml @@ -1,4 +1,4 @@ -

Name

gluTessEndPolygon — delimit a polygon description

C Specification

void gluTessEndPolygon(GLUtesselator*  tess);

Parameters

tess

+

Name

gluTessEndPolygon — delimit a polygon description

C Specification

void gluTessEndPolygon(GLUtesselator*  tess);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

Description

gluTessBeginPolygon and gluTessEndPolygon delimit the diff --git a/gl2/gluTessNormal.xhtml b/gl2/gluTessNormal.xhtml index 4a1a9667..23ddd13a 100644 --- a/gl2/gluTessNormal.xhtml +++ b/gl2/gluTessNormal.xhtml @@ -1,4 +1,4 @@ -

Name

gluTessNormal — specify a normal for a polygon

C Specification

void gluTessNormal(GLUtesselator*  tess,
 GLdouble  valueX,
 GLdouble  valueY,
 GLdouble  valueZ);

Parameters

tess

+

Name

gluTessNormal — specify a normal for a polygon

C Specification

void gluTessNormal(GLUtesselator*  tess,
 GLdouble  valueX,
 GLdouble  valueY,
 GLdouble  valueZ);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

valueX

Specifies the first component of the normal. @@ -8,9 +8,9 @@ Specifies the third component of the normal.

Description

gluTessNormal describes a normal for a polygon that the program is defining. - All input data will be projected onto a plane perpendicular to one of + All input data will be projected onto a plane perpendicular to one of the three coordinate axes before tessellation and all output triangles - will be oriented CCW with + will be oriented CCW with respect to the normal (CW orientation can be obtained by reversing the sign of the supplied normal). For example, if you know that all polygons lie in the x-y plane, call gluTessNormal(tess, 0.0, 0.0, 1.0) @@ -25,16 +25,16 @@ normal is chosen so that the sum of the signed areas of all input contours is nonnegative (where a CCW contour has positive area).

- The supplied normal persists until it is changed by another call to + The supplied normal persists until it is changed by another call to gluTessNormal.

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/gl2/gluTessProperty.xhtml b/gl2/gluTessProperty.xhtml index 547a8976..e3907e81 100644 --- a/gl2/gluTessProperty.xhtml +++ b/gl2/gluTessProperty.xhtml @@ -1,4 +1,4 @@ -

Name

gluTessProperty — set a tessellation object property

C Specification

void gluTessProperty(GLUtesselator*  tess,
 GLenum  which,
 GLdouble  data);

Parameters

tess

+

Name

gluTessProperty — set a tessellation object property

C Specification

void gluTessProperty(GLUtesselator*  tess,
 GLenum  which,
 GLdouble  data);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

which

Specifies the property to be set. Valid values are @@ -9,26 +9,26 @@ Specifies the value of the indicated property.

Description

gluTessProperty is used to control properties stored in a tessellation object. These - properties affect the way that the polygons are interpreted and rendered. + properties affect the way that the polygons are interpreted and rendered. The legal values for which are as follows:

GLU_TESS_WINDING_RULE

- Determines which parts of the polygon are on the ``interior''. + Determines which parts of the polygon are on the ``interior''. data may be set to one of GLU_TESS_WINDING_ODD, GLU_TESS_WINDING_NONZERO, GLU_TESS_WINDING_POSITIVE, GLU_TESS_WINDING_NEGATIVE, or GLU_TESS_WINDING_ABS_GEQ_TWO.

- To understand how the winding rule works, consider that the input + To understand how the winding rule works, consider that the input contours partition the plane into regions. The winding rule determines which of these regions are inside the polygon.

For a single contour C, the winding number of a point x is simply the signed number of revolutions we make around x as we travel once around C (where CCW is positive). When there are several contours, the individual - winding numbers are summed. This procedure associates a signed integer + winding numbers are summed. This procedure associates a signed integer value with each point x in the plane. Note that the winding number is the same for all points in a single region.

- The winding rule classifies a region as ``inside'' if its winding number + The winding rule classifies a region as ``inside'' if its winding number belongs to the chosen category (odd, nonzero, positive, negative, or absolute value of at least two). The previous GLU tessellator (prior to GLU 1.2) used the ``odd'' rule. The ``nonzero'' rule is another common way to @@ -37,7 +37,7 @@

GLU_TESS_BOUNDARY_ONLY

Is a boolean value (``value'' should be set to GL_TRUE or GL_FALSE). When set to GL_TRUE, a set of closed contours - separating the polygon interior and exterior are returned instead of a + separating the polygon interior and exterior are returned instead of a tessellation. Exterior contours are oriented CCW with respect to the normal; interior contours are oriented CW. The GLU_TESS_BEGIN and GLU_TESS_BEGIN_DATA callbacks use the type GL_LINE_LOOP for @@ -55,7 +55,7 @@ The implementation is free to merge in some cases and not in others, or to never merge features at all. The initial tolerance is 0.

- The current implementation merges vertices only if they are exactly + The current implementation merges vertices only if they are exactly coincident, regardless of the current tolerance. A vertex is spliced into an edge only if the implementation is unable to distinguish which side of the edge the vertex lies on. Two edges are merged only when both endpoints @@ -68,4 +68,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluTessVertex.xhtml b/gl2/gluTessVertex.xhtml index cc62a838..2284d680 100644 --- a/gl2/gluTessVertex.xhtml +++ b/gl2/gluTessVertex.xhtml @@ -1,4 +1,4 @@ -

Name

gluTessVertex — specify a vertex on a polygon

C Specification

void gluTessVertex(GLUtesselator*  tess,
 GLdouble *  location,
 GLvoid*  data);

Parameters

tess

+

Name

gluTessVertex — specify a vertex on a polygon

C Specification

void gluTessVertex(GLUtesselator*  tess,
 GLdouble *  location,
 GLvoid*  data);

Parameters

tess

Specifies the tessellation object (created with gluNewTess).

location

Specifies the location of the vertex. @@ -7,15 +7,15 @@ (as specified by gluTessCallback).

Description

gluTessVertex describes a vertex on a polygon that the program defines. Successive - gluTessVertex calls describe a closed contour. For example, + gluTessVertex calls describe a closed contour. For example, to describe a quadrilateral, gluTessVertex should be called four times. - gluTessVertex can only be called between gluTessBeginContour and + gluTessVertex can only be called between gluTessBeginContour and gluTessEndContour.

data normally points to a structure containing the vertex location, as well as other per-vertex attributes such as color and normal. This pointer is passed back to the user through the GLU_TESS_VERTEX - or GLU_TESS_VERTEX_DATA callback after tessellation + or GLU_TESS_VERTEX_DATA callback after tessellation (see the gluTessCallback reference page).

Example

A quadrilateral with a triangular hole in it can be described as follows: @@ -49,7 +49,7 @@ for (i = 0; i < NVERTICES; ++i) {

This doesn't work. - Because the pointers specified by location and data might not be + Because the pointers specified by location and data might not be dereferenced until gluTessEndPolygon is executed, all the vertex coordinates but the very last set could be overwritten before tessellation begins. @@ -73,4 +73,4 @@ for (i = 0; i < NVERTICES; ++i) { Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl2/gluUnProject.xhtml b/gl2/gluUnProject.xhtml index fa713174..75e6217d 100644 --- a/gl2/gluUnProject.xhtml +++ b/gl2/gluUnProject.xhtml @@ -1,4 +1,4 @@ -

Name

gluUnProject — map window coordinates to object coordinates

C Specification

GLint gluUnProject(GLdouble  winX,
 GLdouble  winY,
 GLdouble  winZ,
 const GLdouble *  model,
 const GLdouble *  proj,
 const GLint *  view,
 GLdouble*  objX,
 GLdouble*  objY,
 GLdouble*  objZ);

Parameters

winX, winY, winZ

+

Name

gluUnProject — map window coordinates to object coordinates

C Specification

GLint gluUnProject(GLdouble  winX,
 GLdouble  winY,
 GLdouble  winZ,
 const GLdouble *  model,
 const GLdouble *  proj,
 const GLint *  view,
 GLdouble*  objX,
 GLdouble*  objY,
 GLdouble*  objZ);

Parameters

winX, winY, winZ

Specify the window coordinates to be mapped.

model

Specifies the modelview matrix (as from a glGetDoublev call). diff --git a/gl2/gluUnProject4.xhtml b/gl2/gluUnProject4.xhtml index 84a2f291..8e382357 100644 --- a/gl2/gluUnProject4.xhtml +++ b/gl2/gluUnProject4.xhtml @@ -1,4 +1,4 @@ -

Name

gluUnProject4 — map window and clip coordinates to object coordinates

C Specification

GLint gluUnProject4(GLdouble  winX,
 GLdouble  winY,
 GLdouble  winZ,
 GLdouble  clipW,
 const GLdouble *  model,
 const GLdouble *  proj,
 const GLint *  view,
 GLdouble  nearVal,
 GLdouble  farVal,
 GLdouble*  objX,
 GLdouble*  objY,
 GLdouble*  objZ,
 GLdouble*  objW);

Parameters

winX, winY, winZ

+

Name

gluUnProject4 — map window and clip coordinates to object coordinates

C Specification

GLint gluUnProject4(GLdouble  winX,
 GLdouble  winY,
 GLdouble  winZ,
 GLdouble  clipW,
 const GLdouble *  model,
 const GLdouble *  proj,
 const GLint *  view,
 GLdouble  nearVal,
 GLdouble  farVal,
 GLdouble*  objX,
 GLdouble*  objY,
 GLdouble*  objZ,
 GLdouble*  objW);

Parameters

winX, winY, winZ

Specify the window coordinates to be mapped.

clipW

Specify the clip w coordinate to be mapped. diff --git a/gl3/glAttachShader.xhtml b/gl3/glAttachShader.xhtml index 9fba71b3..66e1454f 100644 --- a/gl3/glAttachShader.xhtml +++ b/gl3/glAttachShader.xhtml @@ -1,4 +1,4 @@ -

Name

glAttachShader — Attaches a shader object to a program object

C Specification

void glAttachShader(GLuint program,
 GLuint shader);
 

Parameters

program

Specifies the program object to which a shader +

Name

glAttachShader — Attaches a shader object to a program object

C Specification

void glAttachShader(GLuint program,
 GLuint shader);
 

Parameters

program

Specifies the program object to which a shader object will be attached.

shader

Specifies the shader object that is to be attached.

Description

In order to create a complete shader program, there must be a way to specify the list of things that will be linked together. Program objects provide this mechanism. Shaders that are to be linked @@ -46,8 +46,8 @@ glLinkProgram, glShaderSource

\ No newline at end of file +

diff --git a/gl3/glBeginConditionalRender.xhtml b/gl3/glBeginConditionalRender.xhtml index 1d655d60..fa672ff4 100644 --- a/gl3/glBeginConditionalRender.xhtml +++ b/gl3/glBeginConditionalRender.xhtml @@ -1,8 +1,8 @@ -

Name

glBeginConditionalRender — start conditional rendering

C Specification

void glBeginConditionalRender(GLuint id,
 GLenum mode);
 

Parameters

id

+

Name

glBeginConditionalRender — start conditional rendering

C Specification

void glBeginConditionalRender(GLuint id,
 GLenum mode);
 

Parameters

id

Specifies the name of an occlusion query object whose results are used to determine if the rendering commands are discarded.

mode

Specifies how glBeginConditionalRender interprets the results of the occlusion query. -

C Specification

void glEndConditionalRender(void);
 

Description

+

C Specification

void glEndConditionalRender(void);
 

Description

Conditional rendering is started using glBeginConditionalRender and ended using glEndConditionalRender. During conditional rendering, all vertex array commands, as well as glClear and glClearBuffer have no effect if the (GL_SAMPLES_PASSED) result @@ -46,8 +46,8 @@ glDeleteQueries, glBeginQuery

\ No newline at end of file +

diff --git a/gl3/glBeginTransformFeedback.xhtml b/gl3/glBeginTransformFeedback.xhtml index 01941bc4..c94f7384 100644 --- a/gl3/glBeginTransformFeedback.xhtml +++ b/gl3/glBeginTransformFeedback.xhtml @@ -1,7 +1,7 @@ -

Name

glBeginTransformFeedback — start transform feedback operation

C Specification

void glBeginTransformFeedback(GLenum primitiveMode);
 

Parameters

primitiveMode

+

Name

glBeginTransformFeedback — start transform feedback operation

C Specification

void glBeginTransformFeedback(GLenum primitiveMode);
 

Parameters

primitiveMode

Specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback. -

C Specification

void glEndTransformFeedback(void);
 

Description

+

C Specification

void glEndTransformFeedback(void);
 

Description

Transform feedback mode captures the values of varying variables written by the vertex shader (or, if active, the geometry shader). Transform feedback is said to be active after a call to glBeginTransformFeedback until a subsequent call to glEndTransformFeedback. @@ -10,7 +10,7 @@ If no geometry shader is present, while transform feedback is active the mode parameter to glDrawArrays must match those specified in the following table: -

+

Transform Feedback primitiveMode Allowed Render Primitive modes @@ -31,7 +31,7 @@

If a geometry shader is present, the output primitive type from the geometry shader must match those provided in the following table: -

+

Transform Feedback primitiveMode Allowed Geometry Shader Output Primitive Type @@ -73,8 +73,8 @@ points would be used, either because no program object is active of because the active program object has specified no varying variables to record.

\ No newline at end of file +

diff --git a/gl3/glBindAttribLocation.xhtml b/gl3/glBindAttribLocation.xhtml index d944720b..d46c7c5b 100644 --- a/gl3/glBindAttribLocation.xhtml +++ b/gl3/glBindAttribLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glBindAttribLocation — Associates a generic vertex attribute index with a named attribute variable

C Specification

void glBindAttribLocation(GLuint program,
 GLuint index,
 const GLchar *name);
 

Parameters

program

Specifies the handle of the program object in +

Name

glBindAttribLocation — Associates a generic vertex attribute index with a named attribute variable

C Specification

void glBindAttribLocation(GLuint program,
 GLuint index,
 const GLchar *name);
 

Parameters

program

Specifies the handle of the program object in which the association is to be made.

index

Specifies the index of the generic vertex attribute to be bound.

name

Specifies a null terminated string containing the name of the vertex shader attribute variable to @@ -88,8 +88,8 @@ glUseProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl3/glBindBuffer.xhtml b/gl3/glBindBuffer.xhtml index c2c27756..bd190401 100644 --- a/gl3/glBindBuffer.xhtml +++ b/gl3/glBindBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glBindBuffer — bind a named buffer object

C Specification

void glBindBuffer(GLenum target,
 GLuint buffer);
 

Parameters

target

+

Name

glBindBuffer — bind a named buffer object

C Specification

void glBindBuffer(GLenum target,
 GLuint buffer);
 

Parameters

target

Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, @@ -34,33 +34,33 @@ GL_READ_WRITE access and GL_STATIC_DRAW usage.

While a non-zero buffer object name is bound, GL operations on the target to which it is - bound affect the bound buffer object, and queries of the target to which it is bound return state + bound affect the bound buffer object, and queries of the target to which it is bound return state from the bound buffer object. While buffer object name zero is bound, as in the initial state, - attempts to modify or query state on the target to which it is bound generates an + attempts to modify or query state on the target to which it is bound generates an GL_INVALID_OPERATION error.

- When a non-zero buffer object is bound to the GL_ARRAY_BUFFER target, + When a non-zero buffer object is bound to the GL_ARRAY_BUFFER target, the vertex array pointer parameter is interpreted as an offset within the buffer object measured in basic machine units.

- While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, - the indices parameter of glDrawElements, + While a non-zero buffer object is bound to the GL_ELEMENT_ARRAY_BUFFER target, + the indices parameter of glDrawElements, glDrawElementsInstanced, - glDrawElementsBaseVertex, - glDrawRangeElements, + glDrawElementsBaseVertex, + glDrawRangeElements, glDrawRangeElementsBaseVertex, - glMultiDrawElements, or - glMultiDrawElementsBaseVertex is interpreted as an + glMultiDrawElements, or + glMultiDrawElementsBaseVertex is interpreted as an offset within the buffer object measured in basic machine units.

- While a non-zero buffer object is bound to the GL_PIXEL_PACK_BUFFER target, - the following commands are affected: glGetCompressedTexImage, - glGetTexImage, and + While a non-zero buffer object is bound to the GL_PIXEL_PACK_BUFFER target, + the following commands are affected: glGetCompressedTexImage, + glGetTexImage, and glReadPixels. The pointer parameter is interpreted as an offset within the buffer object measured in basic machine units.

- While a non-zero buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target, - the following commands are affected: + While a non-zero buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target, + the following commands are affected: glCompressedTexImage1D, glCompressedTexImage2D, glCompressedTexImage3D, @@ -71,8 +71,8 @@ glTexImage2D, glTexImage3D, glTexSubImage1D, - glTexSubImage2D, and - glTexSubImage3D. The pointer parameter is + glTexSubImage2D, and + glTexSubImage3D. The pointer parameter is interpreted as an offset within the buffer object measured in basic machine units.

The buffer targets GL_COPY_READ_BUFFER and GL_COPY_WRITE_BUFFER @@ -135,8 +135,8 @@ glGet, glIsBuffer

\ No newline at end of file +

diff --git a/gl3/glBindBufferBase.xhtml b/gl3/glBindBufferBase.xhtml index cfd419ff..2ca87366 100644 --- a/gl3/glBindBufferBase.xhtml +++ b/gl3/glBindBufferBase.xhtml @@ -1,4 +1,4 @@ -

Name

glBindBufferBase — bind a buffer object to an indexed buffer target

C Specification

void glBindBufferBase(GLenum target,
 GLuint index,
 GLuint buffer);
 

Parameters

target

+

Name

glBindBufferBase — bind a buffer object to an indexed buffer target

C Specification

void glBindBufferBase(GLenum target,
 GLuint index,
 GLuint buffer);
 

Parameters

target

Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.

index

@@ -37,8 +37,8 @@ glMapBuffer, glUnmapBuffer,

\ No newline at end of file +

diff --git a/gl3/glBindBufferRange.xhtml b/gl3/glBindBufferRange.xhtml index 6465cc1c..b10b0468 100644 --- a/gl3/glBindBufferRange.xhtml +++ b/gl3/glBindBufferRange.xhtml @@ -1,4 +1,4 @@ -

Name

glBindBufferRange — bind a range within a buffer object to an indexed buffer target

C Specification

void glBindBufferRange(GLenumtarget,
 GLuintindex,
 GLuintbuffer,
 GLintptroffset,
 GLsizeiptrsize);
 

Parameters

target

+

Name

glBindBufferRange — bind a range within a buffer object to an indexed buffer target

C Specification

void glBindBufferRange(GLenumtarget,
 GLuintindex,
 GLuintbuffer,
 GLintptroffset,
 GLsizeiptrsize);
 

Parameters

target

Specify the target of the bind operation. target must be either GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.

index

@@ -46,8 +46,8 @@ glMapBuffer, glUnmapBuffer,

\ No newline at end of file +

diff --git a/gl3/glBindFragDataLocation.xhtml b/gl3/glBindFragDataLocation.xhtml index a0e6dc61..feb7b27a 100644 --- a/gl3/glBindFragDataLocation.xhtml +++ b/gl3/glBindFragDataLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glBindFragDataLocation — bind a user-defined varying out variable to a fragment shader color number

C Specification

void glBindFragDataLocation(GLuint program,
 GLuint colorNumber,
 const char * name);
 

Parameters

program

+

Name

glBindFragDataLocation — bind a user-defined varying out variable to a fragment shader color number

C Specification

void glBindFragDataLocation(GLuint program,
 GLuint colorNumber,
 const char * name);
 

Parameters

program

The name of the program containing varying out variable whose binding to modify

colorNumber

The color number to bind the user-defined varying out variable to @@ -43,8 +43,8 @@ glCreateProgram, glGetFragDataLocation

\ No newline at end of file +

diff --git a/gl3/glBindFragDataLocationIndexed.xhtml b/gl3/glBindFragDataLocationIndexed.xhtml index a20b6a87..b1d6f256 100644 --- a/gl3/glBindFragDataLocationIndexed.xhtml +++ b/gl3/glBindFragDataLocationIndexed.xhtml @@ -1,4 +1,4 @@ -

Name

glBindFragDataLocationIndexed — bind a user-defined varying out variable to a fragment shader color number and index

C Specification

void glBindFragDataLocationIndexed(GLuint program,
 GLuint colorNumber,
 GLuint index,
 const char *name);
 

Parameters

program

+

Name

glBindFragDataLocationIndexed — bind a user-defined varying out variable to a fragment shader color number and index

C Specification

void glBindFragDataLocationIndexed(GLuint program,
 GLuint colorNumber,
 GLuint index,
 const char *name);
 

Parameters

program

The name of the program containing varying out variable whose binding to modify

colorNumber

The color number to bind the user-defined varying out variable to @@ -60,8 +60,8 @@ glGetFragDataIndex glBindFragDataLocation

\ No newline at end of file +

diff --git a/gl3/glBindFramebuffer.xhtml b/gl3/glBindFramebuffer.xhtml index fc6f9d4a..9adf580e 100644 --- a/gl3/glBindFramebuffer.xhtml +++ b/gl3/glBindFramebuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glBindFramebuffer — bind a framebuffer to a framebuffer target

C Specification

void glBindFramebuffer(GLenum target,
 GLuint framebuffer);
 

Parameters

target

+

Name

glBindFramebuffer — bind a framebuffer to a framebuffer target

C Specification

void glBindFramebuffer(GLenum target,
 GLuint framebuffer);
 

Parameters

target

Specifies the framebuffer target of the binding operation.

framebuffer

Specifies the name of the framebuffer object to bind. @@ -36,4 +36,4 @@ This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. -

\ No newline at end of file +

diff --git a/gl3/glBindRenderbuffer.xhtml b/gl3/glBindRenderbuffer.xhtml index 657817f2..ac3330bc 100644 --- a/gl3/glBindRenderbuffer.xhtml +++ b/gl3/glBindRenderbuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glBindRenderbuffer — bind a renderbuffer to a renderbuffer target

C Specification

void glBindRenderbuffer(GLenum target,
 GLuint renderbuffer);
 

Parameters

target

+

Name

glBindRenderbuffer — bind a renderbuffer to a renderbuffer target

C Specification

void glBindRenderbuffer(GLenum target,
 GLuint renderbuffer);
 

Parameters

target

Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.

renderbuffer

Specifies the name of the renderbuffer object to bind. @@ -25,4 +25,4 @@ This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. -

\ No newline at end of file +

diff --git a/gl3/glBindSampler.xhtml b/gl3/glBindSampler.xhtml index 43cd5241..30eb54e5 100644 --- a/gl3/glBindSampler.xhtml +++ b/gl3/glBindSampler.xhtml @@ -1,4 +1,4 @@ -

Name

glBindSampler — bind a named sampler to a texturing target

C Specification

void glBindSampler(GLuint unit,
 GLuint sampler);
 

Parameters

unit

+

Name

glBindSampler — bind a named sampler to a texturing target

C Specification

void glBindSampler(GLuint unit,
 GLuint sampler);
 

Parameters

unit

Specifies the index of the texture unit to which the sampler is bound.

sampler

Specifies the name of a sampler. @@ -35,8 +35,8 @@ glBindTexture, glDeleteTextures

\ No newline at end of file +

diff --git a/gl3/glBindTexture.xhtml b/gl3/glBindTexture.xhtml index ba742f31..dd1fd74e 100644 --- a/gl3/glBindTexture.xhtml +++ b/gl3/glBindTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glBindTexture — bind a named texture to a texturing target

C Specification

void glBindTexture(GLenum  target,
 GLuint  texture);

Parameters

target

+

Name

glBindTexture — bind a named texture to a texturing target

C Specification

void glBindTexture(GLenum  target,
 GLuint  texture);

Parameters

target

Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, @@ -54,7 +54,7 @@

While a texture is bound, GL operations on the target to which it is bound affect the bound texture, and queries of the target to which it - is bound return state from the bound texture. + is bound return state from the bound texture. In effect, the texture targets become aliases for the textures currently bound to them, and the texture name zero refers to the default textures that were bound to them at initialization. @@ -105,4 +105,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glBindVertexArray.xhtml b/gl3/glBindVertexArray.xhtml index 27636209..cf65905b 100644 --- a/gl3/glBindVertexArray.xhtml +++ b/gl3/glBindVertexArray.xhtml @@ -1,4 +1,4 @@ -

Name

glBindVertexArray — bind a vertex array object

C Specification

void glBindVertexArray(GLuint array);
 

Parameters

array

+

Name

glBindVertexArray — bind a vertex array object

C Specification

void glBindVertexArray(GLuint array);
 

Parameters

array

Specifies the name of the vertex array to bind.

Description

glBindVertexArray binds the vertex array object with name array. array @@ -22,4 +22,4 @@ This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. -

\ No newline at end of file +

diff --git a/gl3/glBlendColor.xhtml b/gl3/glBlendColor.xhtml index fbe9557f..2db31cd6 100644 --- a/gl3/glBlendColor.xhtml +++ b/gl3/glBlendColor.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendColor — set the blend color

C Specification

void glBlendColor(GLclampf  red,
 GLclampf  green,
 GLclampf  blue,
 GLclampf  alpha);

Parameters

red, green, blue, alpha

+

Name

glBlendColor — set the blend color

C Specification

void glBlendColor(GLclampf  red,
 GLclampf  green,
 GLclampf  blue,
 GLclampf  alpha);

Parameters

red, green, blue, alpha

specify the components of GL_BLEND_COLOR

Description

The GL_BLEND_COLOR may be used to calculate the source and destination diff --git a/gl3/glBlendEquation.xhtml b/gl3/glBlendEquation.xhtml index eeb965e4..fff79f0c 100644 --- a/gl3/glBlendEquation.xhtml +++ b/gl3/glBlendEquation.xhtml @@ -117,7 +117,7 @@ . -

+

Mode RGB Components diff --git a/gl3/glBlendEquationSeparate.xhtml b/gl3/glBlendEquationSeparate.xhtml index 406d2a2a..692f31dd 100644 --- a/gl3/glBlendEquationSeparate.xhtml +++ b/gl3/glBlendEquationSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendEquationSeparate — set the RGB blend equation and the alpha blend equation separately

C Specification

void glBlendEquationSeparate(GLenum modeRGB,
 GLenum modeAlpha);
 

Parameters

modeRGB

+

Name

glBlendEquationSeparate — set the RGB blend equation and the alpha blend equation separately

C Specification

void glBlendEquationSeparate(GLenum modeRGB,
 GLenum modeAlpha);
 

Parameters

modeRGB

specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. @@ -121,7 +121,7 @@ . -

+

Mode RGB Components diff --git a/gl3/glBlendFunc.xhtml b/gl3/glBlendFunc.xhtml index 41188c75..c435d54b 100644 --- a/gl3/glBlendFunc.xhtml +++ b/gl3/glBlendFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendFunc — specify pixel arithmetic

C Specification

void glBlendFunc(GLenum  sfactor,
 GLenum  dfactor);

Parameters

sfactor

+

Name

glBlendFunc — specify pixel arithmetic

C Specification

void glBlendFunc(GLenum  sfactor,
 GLenum  dfactor);

Parameters

sfactor

Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE. @@ -260,7 +260,7 @@ .

-

+

Parameter diff --git a/gl3/glBlendFuncSeparate.xhtml b/gl3/glBlendFuncSeparate.xhtml index 438b3f49..7d381c10 100644 --- a/gl3/glBlendFuncSeparate.xhtml +++ b/gl3/glBlendFuncSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glBlendFuncSeparate — specify pixel arithmetic for RGB and alpha components separately

C Specification

void glBlendFuncSeparate(GLenum  srcRGB,
 GLenum  dstRGB,
 GLenum  srcAlpha,
 GLenum  dstAlpha);

Parameters

srcRGB

+

Name

glBlendFuncSeparate — specify pixel arithmetic for RGB and alpha components separately

C Specification

void glBlendFuncSeparate(GLenum  srcRGB,
 GLenum  dstRGB,
 GLenum  srcAlpha,
 GLenum  dstAlpha);

Parameters

srcRGB

Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE.

dstRGB

@@ -214,7 +214,7 @@ .

-

+

Parameter RGB Factor diff --git a/gl3/glBlitFramebuffer.xhtml b/gl3/glBlitFramebuffer.xhtml index f594ee26..6103013f 100644 --- a/gl3/glBlitFramebuffer.xhtml +++ b/gl3/glBlitFramebuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glBlitFramebuffer — copy a block of pixels from the read framebuffer to the draw framebuffer

C Specification

void glBlitFramebuffer(GLint srcX0,
 GLint srcY0,
 GLint srcX1,
 GLint srcY1,
 GLint dstX0,
 GLint dstY0,
 GLint dstX1,
 GLint dstY1,
 GLbitfield mask,
 GLenum filter);
 

Parameters

srcX0, srcY0, srcX1, srcY1

+

Name

glBlitFramebuffer — copy a block of pixels from the read framebuffer to the draw framebuffer

C Specification

void glBlitFramebuffer(GLint srcX0,
 GLint srcY0,
 GLint srcX1,
 GLint srcY1,
 GLint dstX0,
 GLint dstY0,
 GLint dstX1,
 GLint dstY1,
 GLbitfield mask,
 GLenum filter);
 

Parameters

srcX0, srcY0, srcX1, srcY1

Specify the bounds of the source rectangle within the read buffer of the read framebuffer.

dstX0, dstY0, dstX1, dstY1

Specify the bounds of the destination rectangle within the write buffer of the write framebuffer. @@ -74,4 +74,4 @@ This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. -

\ No newline at end of file +

diff --git a/gl3/glBufferData.xhtml b/gl3/glBufferData.xhtml index f3ca979f..20ea37cd 100644 --- a/gl3/glBufferData.xhtml +++ b/gl3/glBufferData.xhtml @@ -1,4 +1,4 @@ -

Name

glBufferData — creates and initializes a buffer object's data store

C Specification

void glBufferData(GLenum  target,
 GLsizeiptr  size,
 const GLvoid *  data,
 GLenum  usage);

Parameters

target

+

Name

glBufferData — creates and initializes a buffer object's data store

C Specification

void glBufferData(GLenum  target,
 GLsizeiptr  size,
 const GLvoid *  data,
 GLenum  usage);

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, diff --git a/gl3/glBufferSubData.xhtml b/gl3/glBufferSubData.xhtml index 1e428035..00bda625 100644 --- a/gl3/glBufferSubData.xhtml +++ b/gl3/glBufferSubData.xhtml @@ -1,4 +1,4 @@ -

Name

glBufferSubData — updates a subset of a buffer object's data store

C Specification

void glBufferSubData(GLenum  target,
 GLintptr  offset,
 GLsizeiptr  size,
 const GLvoid *  data);

Parameters

target

+

Name

glBufferSubData — updates a subset of a buffer object's data store

C Specification

void glBufferSubData(GLenum  target,
 GLintptr  offset,
 GLsizeiptr  size,
 const GLvoid *  data);

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, diff --git a/gl3/glCheckFramebufferStatus.xhtml b/gl3/glCheckFramebufferStatus.xhtml index 8e8c9ff4..09b6920b 100644 --- a/gl3/glCheckFramebufferStatus.xhtml +++ b/gl3/glCheckFramebufferStatus.xhtml @@ -1,4 +1,4 @@ -

Name

glCheckFramebufferStatus — check the completeness status of a framebuffer

C Specification

GLenum glCheckFramebufferStatus(GLenum target);
 

Parameters

target

+

Name

glCheckFramebufferStatus — check the completeness status of a framebuffer

C Specification

GLenum glCheckFramebufferStatus(GLenum target);
 

Parameters

target

Specify the target of the framebuffer completeness check.

Description

glCheckFramebufferStatus queries the completeness status of the framebuffer object currently bound to target. @@ -52,4 +52,4 @@ This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. -

\ No newline at end of file +

diff --git a/gl3/glClampColor.xhtml b/gl3/glClampColor.xhtml index 1513e430..4f1931b0 100644 --- a/gl3/glClampColor.xhtml +++ b/gl3/glClampColor.xhtml @@ -1,4 +1,4 @@ -

Name

glClampColor — specify whether data read via glReadPixels should be clamped

C Specification

void glClampColor(GLenum target,
 GLenum clamp);
 

Parameters

target

+

Name

glClampColor — specify whether data read via glReadPixels should be clamped

C Specification

void glClampColor(GLenum target,
 GLenum clamp);
 

Parameters

target

Target for color clamping. target must be GL_CLAMP_READ_COLOR.

clamp

Specifies whether to apply color clamping. clamp must be GL_TRUE or GL_FALSE. @@ -16,8 +16,8 @@

Associated Gets

glGet with argument GL_CLAMP_READ_COLOR.

\ No newline at end of file +

diff --git a/gl3/glClearBuffer.xhtml b/gl3/glClearBuffer.xhtml index a8757b6d..0f7b0986 100644 --- a/gl3/glClearBuffer.xhtml +++ b/gl3/glClearBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glClearBuffer — clear individual buffers of the currently bound draw framebuffer

C Specification

void glClearBufferiv(GLenum buffer,
 GLint drawBuffer,
 const GLint * value);
 
void glClearBufferuiv(GLenum buffer,
 GLint drawBuffer,
 const GLuint * value);
 
void glClearBufferfv(GLenum buffer,
 GLint drawBuffer,
 const GLfloat * value);
 
void glClearBufferfi(GLenum buffer,
 GLint drawBuffer,
 GLfloat depth,
 GLint stencil);
 

Parameters

buffer

+

Name

glClearBuffer — clear individual buffers of the currently bound draw framebuffer

C Specification

void glClearBufferiv(GLenum buffer,
 GLint drawBuffer,
 const GLint * value);
 
void glClearBufferuiv(GLenum buffer,
 GLint drawBuffer,
 const GLuint * value);
 
void glClearBufferfv(GLenum buffer,
 GLint drawBuffer,
 const GLfloat * value);
 
void glClearBufferfi(GLenum buffer,
 GLint drawBuffer,
 GLfloat depth,
 GLint stencil);
 

Parameters

buffer

Specify the buffer to clear.

drawBuffer

Specify a particular draw buffer to clear. @@ -31,7 +31,7 @@ glClearStencil.

glClearBufferfi may be used to clear the depth and stencil buffers. buffer must be - GL_DEPTH_STENCIL and drawBuffer must be zero. depth and + GL_DEPTH_STENCIL and drawBuffer must be zero. depth and stencil are the depth and stencil values, respectively.

The result of glClearBuffer is undefined if no conversion between the type of value @@ -59,8 +59,8 @@ glClearStencil, glClear

\ No newline at end of file +

diff --git a/gl3/glClearColor.xhtml b/gl3/glClearColor.xhtml index 6ee610db..f77ef61d 100644 --- a/gl3/glClearColor.xhtml +++ b/gl3/glClearColor.xhtml @@ -1,4 +1,4 @@ -

Name

glClearColor — specify clear values for the color buffers

C Specification

void glClearColor(GLclampf  red,
 GLclampf  green,
 GLclampf  blue,
 GLclampf  alpha);

Parameters

red, green, blue, alpha

+

Name

glClearColor — specify clear values for the color buffers

C Specification

void glClearColor(GLclampf  red,
 GLclampf  green,
 GLclampf  blue,
 GLclampf  alpha);

Parameters

red, green, blue, alpha

Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. diff --git a/gl3/glClientWaitSync.xhtml b/gl3/glClientWaitSync.xhtml index a0c1e2bf..e71f887e 100644 --- a/gl3/glClientWaitSync.xhtml +++ b/gl3/glClientWaitSync.xhtml @@ -1,4 +1,4 @@ -

Name

glClientWaitSync — block and wait for a sync object to become signaled

C Specification

GLenum glClientWaitSync(GLsync sync,
 GLbitfield flags,
 GLuint64 timeout);
 

Parameters

sync

+

Name

glClientWaitSync — block and wait for a sync object to become signaled

C Specification

GLenum glClientWaitSync(GLsync sync,
 GLbitfield flags,
 GLuint64 timeout);
 

Parameters

sync

The sync object whose status to wait on.

flags

A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT. @@ -38,4 +38,4 @@ This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. -

\ No newline at end of file +

diff --git a/gl3/glColorMask.xhtml b/gl3/glColorMask.xhtml index 6b18735a..4931c5ab 100644 --- a/gl3/glColorMask.xhtml +++ b/gl3/glColorMask.xhtml @@ -1,4 +1,4 @@ -

Name

glColorMask, glColorMaski — enable and disable writing of frame buffer color components

C Specification

void glColorMask(GLboolean  red,
 GLboolean  green,
 GLboolean  blue,
 GLboolean  alpha);
void glColorMaski(GLuint  buf,
 GLboolean  red,
 GLboolean  green,
 GLboolean  blue,
 GLboolean  alpha);

Parameters

buf

+

Name

glColorMask, glColorMaski — enable and disable writing of frame buffer color components

C Specification

void glColorMask(GLboolean  red,
 GLboolean  green,
 GLboolean  blue,
 GLboolean  alpha);
void glColorMaski(GLuint  buf,
 GLboolean  red,
 GLboolean  green,
 GLboolean  blue,
 GLboolean  alpha);

Parameters

buf

For glColorMaski, specifies the index of the draw buffer whose color mask to set.

red, green, blue, alpha

@@ -34,4 +34,4 @@ This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glCompressedTexImage1D.xhtml b/gl3/glCompressedTexImage1D.xhtml index 84283671..00c0726c 100644 --- a/gl3/glCompressedTexImage1D.xhtml +++ b/gl3/glCompressedTexImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexImage1D — specify a one-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage1D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexImage1D — specify a one-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage1D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.

level

@@ -34,7 +34,7 @@ compressed texture image using glCompressedTexImage1D, query the compressed texture image's size and format using glGetTexLevelParameter.

- If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target (see glBindBuffer) while a texture image is specified, data is treated as a byte offset into the buffer object's data store.

Errors

@@ -61,7 +61,7 @@ GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer + GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.

Undefined results, including abnormal program termination, are generated if @@ -106,4 +106,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glCompressedTexImage2D.xhtml b/gl3/glCompressedTexImage2D.xhtml index 4fb83bc2..6e5f0302 100644 --- a/gl3/glCompressedTexImage2D.xhtml +++ b/gl3/glCompressedTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexImage2D — specify a two-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage2D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexImage2D — specify a two-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage2D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, @@ -58,7 +58,7 @@ compressed texture image using glCompressedTexImage2D, query the compressed texture image's size and format using glGetTexLevelParameter.

- If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target (see glBindBuffer) while a texture image is specified, data is treated as a byte offset into the buffer object's data store.

Errors

@@ -85,7 +85,7 @@ GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer + GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.

Undefined results, including abnormal program termination, are generated if @@ -125,4 +125,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glCompressedTexImage3D.xhtml b/gl3/glCompressedTexImage3D.xhtml index befdded4..5cee2685 100644 --- a/gl3/glCompressedTexImage3D.xhtml +++ b/gl3/glCompressedTexImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexImage3D — specify a three-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage3D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexImage3D — specify a three-dimensional texture image in a compressed format

C Specification

void glCompressedTexImage3D(GLenum  target,
 GLint  level,
 GLenum  internalformat,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLint  border,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY. @@ -52,7 +52,7 @@ compressed texture image using glCompressedTexImage3D, query the compressed texture image's size and format using glGetTexLevelParameter.

- If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target + If a non-zero named buffer object is bound to the GL_PIXEL_UNPACK_BUFFER target (see glBindBuffer) while a texture image is specified, data is treated as a byte offset into the buffer object's data store.

Errors

@@ -78,7 +78,7 @@ GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped.

GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer + GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size.

Undefined results, including abnormal program termination, are generated if data is not encoded in a manner consistent with the extension specification defining the internal compression format. @@ -116,4 +116,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glCompressedTexSubImage1D.xhtml b/gl3/glCompressedTexSubImage1D.xhtml index c0b24604..a83e84a3 100644 --- a/gl3/glCompressedTexSubImage1D.xhtml +++ b/gl3/glCompressedTexSubImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexSubImage1D — specify a one-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage1D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLsizei  width,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexSubImage1D — specify a one-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage1D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLsizei  width,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D.

level

diff --git a/gl3/glCompressedTexSubImage2D.xhtml b/gl3/glCompressedTexSubImage2D.xhtml index f7fd012c..c6074ad6 100644 --- a/gl3/glCompressedTexSubImage2D.xhtml +++ b/gl3/glCompressedTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexSubImage2D — specify a two-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage2D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexSubImage2D — specify a two-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage2D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLsizei  width,
 GLsizei  height,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/gl3/glCompressedTexSubImage3D.xhtml b/gl3/glCompressedTexSubImage3D.xhtml index 9bb952d8..b4440f57 100644 --- a/gl3/glCompressedTexSubImage3D.xhtml +++ b/gl3/glCompressedTexSubImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glCompressedTexSubImage3D — specify a three-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage3D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  zoffset,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

+

Name

glCompressedTexSubImage3D — specify a three-dimensional texture subimage in a compressed format

C Specification

void glCompressedTexSubImage3D(GLenum  target,
 GLint  level,
 GLint  xoffset,
 GLint  yoffset,
 GLint  zoffset,
 GLsizei  width,
 GLsizei  height,
 GLsizei  depth,
 GLenum  format,
 GLsizei  imageSize,
 const GLvoid *  data);

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D.

level

diff --git a/gl3/glCopyBufferSubData.xhtml b/gl3/glCopyBufferSubData.xhtml index 41f1b9a2..90686232 100644 --- a/gl3/glCopyBufferSubData.xhtml +++ b/gl3/glCopyBufferSubData.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyBufferSubData — copy part of the data store of a buffer object to the data store of another buffer object

C Specification

void glCopyBufferSubData(GLenum readtarget,
 GLenum writetarget,
 GLintptr readoffset,
 GLintptr writeoffset,
 GLsizeiptr size);
 

Parameters

readtarget

+

Name

glCopyBufferSubData — copy part of the data store of a buffer object to the data store of another buffer object

C Specification

void glCopyBufferSubData(GLenum readtarget,
 GLenum writetarget,
 GLintptr readoffset,
 GLintptr writeoffset,
 GLsizeiptr size);
 

Parameters

readtarget

Specifies the target from whose data store data should be read.

writetarget

Specifies the target to whose data store data should be written. @@ -53,8 +53,8 @@ glBufferSubData, glGetBufferSubData

\ No newline at end of file +

diff --git a/gl3/glCopyTexImage1D.xhtml b/gl3/glCopyTexImage1D.xhtml index 5f85cd1b..368cf1c3 100644 --- a/gl3/glCopyTexImage1D.xhtml +++ b/gl3/glCopyTexImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexImage1D — copy pixels into a 1D texture image

C Specification

void glCopyTexImage1D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLint x,
 GLint y,
 GLsizei width,
 GLint border);
 

Parameters

target

+

Name

glCopyTexImage1D — copy pixels into a 1D texture image

C Specification

void glCopyTexImage1D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLint x,
 GLint y,
 GLsizei width,
 GLint border);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D.

level

diff --git a/gl3/glCopyTexImage2D.xhtml b/gl3/glCopyTexImage2D.xhtml index 7d07c966..8dee385c 100644 --- a/gl3/glCopyTexImage2D.xhtml +++ b/gl3/glCopyTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexImage2D — copy pixels into a 2D texture image

C Specification

void glCopyTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLint border);
 

Parameters

target

+

Name

glCopyTexImage2D — copy pixels into a 2D texture image

C Specification

void glCopyTexImage2D(GLenum target,
 GLint level,
 GLenum internalformat,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLint border);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/gl3/glCopyTexSubImage1D.xhtml b/gl3/glCopyTexSubImage1D.xhtml index 150ee62d..c1bc2015 100644 --- a/gl3/glCopyTexSubImage1D.xhtml +++ b/gl3/glCopyTexSubImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexSubImage1D — copy a one-dimensional texture subimage

C Specification

void glCopyTexSubImage1D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint x,
 GLint y,
 GLsizei width);
 

+

Name

glCopyTexSubImage1D — copy a one-dimensional texture subimage

C Specification

void glCopyTexSubImage1D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint x,
 GLint y,
 GLsizei width);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D. diff --git a/gl3/glCopyTexSubImage2D.xhtml b/gl3/glCopyTexSubImage2D.xhtml index c38d2b3d..9e89de85 100644 --- a/gl3/glCopyTexSubImage2D.xhtml +++ b/gl3/glCopyTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexSubImage2D — copy a two-dimensional texture subimage

C Specification

void glCopyTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

+

Name

glCopyTexSubImage2D — copy a two-dimensional texture subimage

C Specification

void glCopyTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, diff --git a/gl3/glCopyTexSubImage3D.xhtml b/gl3/glCopyTexSubImage3D.xhtml index 440a725e..38967372 100644 --- a/gl3/glCopyTexSubImage3D.xhtml +++ b/gl3/glCopyTexSubImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glCopyTexSubImage3D — copy a three-dimensional texture subimage

C Specification

void glCopyTexSubImage3D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint zoffset,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

+

Name

glCopyTexSubImage3D — copy a three-dimensional texture subimage

C Specification

void glCopyTexSubImage3D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint zoffset,
 GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D or GL_TEXTURE_2D_ARRAY. diff --git a/gl3/glCreateProgram.xhtml b/gl3/glCreateProgram.xhtml index 3c3f4efe..8a996306 100644 --- a/gl3/glCreateProgram.xhtml +++ b/gl3/glCreateProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glCreateProgram — Creates a program object

C Specification

GLuint glCreateProgram(void);
 

Description

glCreateProgram creates an empty +

Name

glCreateProgram — Creates a program object

C Specification

GLuint glCreateProgram(void);
 

Description

glCreateProgram creates an empty program object and returns a non-zero value by which it can be referenced. A program object is an object to which shader objects can be attached. This provides a mechanism to specify @@ -50,8 +50,8 @@ glUniform, glUseProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl3/glCreateShader.xhtml b/gl3/glCreateShader.xhtml index 0232f529..12f53892 100644 --- a/gl3/glCreateShader.xhtml +++ b/gl3/glCreateShader.xhtml @@ -1,4 +1,4 @@ -

Name

glCreateShader — Creates a shader object

C Specification

GLuint glCreateShader(GLenum shaderType);
 

Parameters

shaderType

Specifies the type of shader to be created. +

Name

glCreateShader — Creates a shader object

C Specification

GLuint glCreateShader(GLenum shaderType);
 

Parameters

shaderType

Specifies the type of shader to be created. Must be one of GL_VERTEX_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER.

Description

glCreateShader creates an empty @@ -34,8 +34,8 @@ glDetachShader, glShaderSource

\ No newline at end of file +

diff --git a/gl3/glCullFace.xhtml b/gl3/glCullFace.xhtml index ca805687..6a8cd4c7 100644 --- a/gl3/glCullFace.xhtml +++ b/gl3/glCullFace.xhtml @@ -1,4 +1,4 @@ -

Name

glCullFace — specify whether front- or back-facing facets can be culled

C Specification

void glCullFace(GLenum mode);
 

Parameters

mode

+

Name

glCullFace — specify whether front- or back-facing facets can be culled

C Specification

void glCullFace(GLenum mode);
 

Parameters

mode

Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. @@ -35,4 +35,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glDeleteBuffers.xhtml b/gl3/glDeleteBuffers.xhtml index ca3a7e77..6ebfc8a6 100644 --- a/gl3/glDeleteBuffers.xhtml +++ b/gl3/glDeleteBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteBuffers — delete named buffer objects

C Specification

void glDeleteBuffers(GLsizei  n,
 const GLuint *  buffers);

Parameters

n

+

Name

glDeleteBuffers — delete named buffer objects

C Specification

void glDeleteBuffers(GLsizei  n,
 const GLuint *  buffers);

Parameters

n

Specifies the number of buffer objects to be deleted.

buffers

Specifies an array of buffer objects to be deleted. @@ -22,8 +22,8 @@ glGenBuffers, glGet

\ No newline at end of file +

diff --git a/gl3/glDeleteFramebuffers.xhtml b/gl3/glDeleteFramebuffers.xhtml index e1ad5194..22a3c3ca 100644 --- a/gl3/glDeleteFramebuffers.xhtml +++ b/gl3/glDeleteFramebuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteFramebuffers — delete framebuffer objects

C Specification

void glDeleteFramebuffers(GLsizei n,
 GLuint *framebuffers);
 

Parameters

n

+

Name

glDeleteFramebuffers — delete framebuffer objects

C Specification

void glDeleteFramebuffers(GLsizei n,
 GLuint *framebuffers);
 

Parameters

n

Specifies the number of framebuffer objects to be deleted.

framebuffers

A pointer to an array containing n framebuffer objects to be deleted. @@ -18,8 +18,8 @@ glBindFramebuffer, glCheckFramebufferStatus

\ No newline at end of file +

diff --git a/gl3/glDeleteQueries.xhtml b/gl3/glDeleteQueries.xhtml index 1a265864..f0b86628 100644 --- a/gl3/glDeleteQueries.xhtml +++ b/gl3/glDeleteQueries.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteQueries — delete named query objects

C Specification

void glDeleteQueries(GLsizei  n,
 const GLuint *  ids);

Parameters

n

+

Name

glDeleteQueries — delete named query objects

C Specification

void glDeleteQueries(GLsizei  n,
 const GLuint *  ids);

Parameters

n

Specifies the number of query objects to be deleted.

ids

Specifies an array of query objects to be deleted. @@ -22,8 +22,8 @@ glGetQueryiv, glGetQueryObject

\ No newline at end of file +

diff --git a/gl3/glDeleteRenderbuffers.xhtml b/gl3/glDeleteRenderbuffers.xhtml index d48b4135..0ae2b1bd 100644 --- a/gl3/glDeleteRenderbuffers.xhtml +++ b/gl3/glDeleteRenderbuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteRenderbuffers — delete renderbuffer objects

C Specification

void glDeleteRenderbuffers(GLsizei n,
 GLuint *renderbuffers);
 

Parameters

n

+

Name

glDeleteRenderbuffers — delete renderbuffer objects

C Specification

void glDeleteRenderbuffers(GLsizei n,
 GLuint *renderbuffers);
 

Parameters

n

Specifies the number of renderbuffer objects to be deleted.

renderbuffers

A pointer to an array containing n renderbuffer objects to be deleted. @@ -25,8 +25,8 @@ glRenderbufferStorage, glRenderbufferStorageMultisample

\ No newline at end of file +

diff --git a/gl3/glDeleteSamplers.xhtml b/gl3/glDeleteSamplers.xhtml index 71d35c0a..8b4999b6 100644 --- a/gl3/glDeleteSamplers.xhtml +++ b/gl3/glDeleteSamplers.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteSamplers — delete named sampler objects

C Specification

void glDeleteSamplers(GLsizei n,
 const GLuint * samplers);
 

Parameters

n

+

Name

glDeleteSamplers — delete named sampler objects

C Specification

void glDeleteSamplers(GLsizei n,
 const GLuint * samplers);
 

Parameters

n

Specifies the number of sampler objects to be deleted.

samplers

Specifies an array of sampler objects to be deleted. @@ -21,8 +21,8 @@ glDeleteSamplers, glIsSampler

\ No newline at end of file +

diff --git a/gl3/glDeleteSync.xhtml b/gl3/glDeleteSync.xhtml index 5efca6c8..8d665faa 100644 --- a/gl3/glDeleteSync.xhtml +++ b/gl3/glDeleteSync.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteSync — delete a sync object

C Specification

void glDeleteSync(GLsync sync);
 

Parameters

sync

+

Name

glDeleteSync — delete a sync object

C Specification

void glDeleteSync(GLsync sync);
 

Parameters

sync

The sync object to be deleted.

Description

glDeleteSync deletes the sync object specified by sync. If the fence command @@ -23,8 +23,8 @@ glWaitSync, glClientWaitSync

\ No newline at end of file +

diff --git a/gl3/glDeleteTextures.xhtml b/gl3/glDeleteTextures.xhtml index 925c6dac..23cce4c1 100644 --- a/gl3/glDeleteTextures.xhtml +++ b/gl3/glDeleteTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteTextures — delete named textures

C Specification

void glDeleteTextures(GLsizei  n,
 const GLuint *  textures);

Parameters

n

+

Name

glDeleteTextures — delete named textures

C Specification

void glDeleteTextures(GLsizei  n,
 const GLuint *  textures);

Parameters

n

Specifies the number of textures to be deleted.

textures

Specifies an array of textures to be deleted. @@ -32,4 +32,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glDeleteVertexArrays.xhtml b/gl3/glDeleteVertexArrays.xhtml index 523b8e34..d1e147b2 100644 --- a/gl3/glDeleteVertexArrays.xhtml +++ b/gl3/glDeleteVertexArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glDeleteVertexArrays — delete vertex array objects

C Specification

void glDeleteVertexArrays(GLsizei n,
 const GLuint *arrays);
 

Parameters

n

+

Name

glDeleteVertexArrays — delete vertex array objects

C Specification

void glDeleteVertexArrays(GLsizei n,
 const GLuint *arrays);
 

Parameters

n

Specifies the number of vertex array objects to be deleted.

arrays

Specifies the address of an array containing the n names of the objects to be deleted. @@ -16,8 +16,8 @@ glIsVertexArray, glBindVertexArray

\ No newline at end of file +

diff --git a/gl3/glDepthRange.xhtml b/gl3/glDepthRange.xhtml index 9e57e377..e906f198 100644 --- a/gl3/glDepthRange.xhtml +++ b/gl3/glDepthRange.xhtml @@ -1,4 +1,4 @@ -

Name

glDepthRange — specify mapping of depth values from normalized device coordinates to window coordinates

C Specification

void glDepthRange(GLclampd  nearVal,
 GLclampd  farVal);

Parameters

nearVal

+

Name

glDepthRange — specify mapping of depth values from normalized device coordinates to window coordinates

C Specification

void glDepthRange(GLclampd  nearVal,
 GLclampd  farVal);

Parameters

nearVal

Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.

farVal

diff --git a/gl3/glDetachShader.xhtml b/gl3/glDetachShader.xhtml index 3636a18b..2b2e5168 100644 --- a/gl3/glDetachShader.xhtml +++ b/gl3/glDetachShader.xhtml @@ -1,4 +1,4 @@ -

Name

glDetachShader — Detaches a shader object from a program object to which it is attached

C Specification

void glDetachShader(GLuint  program,
 GLuint  shader);

Parameters

program

Specifies the program object from which to +

Name

glDetachShader — Detaches a shader object from a program object to which it is attached

C Specification

void glDetachShader(GLuint  program,
 GLuint  shader);

Parameters

program

Specifies the program object from which to detach the shader object.

shader

Specifies the shader object to be detached.

Description

glDetachShader detaches the shader object specified by shader from the @@ -20,8 +20,8 @@ GL_DELETE_STATUS

glIsProgram

glIsShader

{$pipelinestall}{$examples}
\ No newline at end of file +

diff --git a/gl3/glDrawArrays.xhtml b/gl3/glDrawArrays.xhtml index 02a3be56..4b73405c 100644 --- a/gl3/glDrawArrays.xhtml +++ b/gl3/glDrawArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawArrays — render primitives from array data

C Specification

void glDrawArrays(GLenum  mode,
 GLint  first,
 GLsizei  count);

Parameters

mode

+

Name

glDrawArrays — render primitives from array data

C Specification

void glDrawArrays(GLenum  mode,
 GLint  first,
 GLsizei  count);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -62,4 +62,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glDrawArraysInstanced.xhtml b/gl3/glDrawArraysInstanced.xhtml index a71393bb..a7c4aa71 100644 --- a/gl3/glDrawArraysInstanced.xhtml +++ b/gl3/glDrawArraysInstanced.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawArraysInstanced — draw multiple instances of a range of elements

C Specification

void glDrawArraysInstanced(GLenum mode,
 GLint first,
 GLsizei count,
 GLsizei primcount);
 

Parameters

mode

+

Name

glDrawArraysInstanced — draw multiple instances of a range of elements

C Specification

void glDrawArraysInstanced(GLenum mode,
 GLint first,
 GLsizei count,
 GLsizei primcount);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES @@ -36,7 +36,7 @@ GL_TRIANGLES_ADJACENCY are available only if the GL version is 3.2 or greater.

Errors

- GL_INVALID_ENUM is generated if mode is not one of + GL_INVALID_ENUM is generated if mode is not one of the accepted values.

GL_INVALID_OPERATION is generated if a geometry shader is active and mode @@ -52,8 +52,8 @@ glDrawArrays, glDrawElementsInstanced

\ No newline at end of file +

diff --git a/gl3/glDrawBuffers.xhtml b/gl3/glDrawBuffers.xhtml index ecaa7da3..ef4dc818 100644 --- a/gl3/glDrawBuffers.xhtml +++ b/gl3/glDrawBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawBuffers — Specifies a list of color buffers to be drawn into

C Specification

void glDrawBuffers(GLsizei  n,
 const GLenum * bufs);

Parameters

n

Specifies the number of buffers in +

Name

glDrawBuffers — Specifies a list of color buffers to be drawn into

C Specification

void glDrawBuffers(GLsizei  n,
 const GLenum * bufs);

Parameters

n

Specifies the number of buffers in bufs.

bufs

Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.

Description

glDrawBuffers defines an array of @@ -63,8 +63,8 @@ glDrawBuffers, glLogicOp, glReadBuffer

\ No newline at end of file +

diff --git a/gl3/glDrawElements.xhtml b/gl3/glDrawElements.xhtml index e99c40e1..2fbb27c4 100644 --- a/gl3/glDrawElements.xhtml +++ b/gl3/glDrawElements.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawElements — render primitives from array data

C Specification

void glDrawElements(GLenum  mode,
 GLsizei  count,
 GLenum  type,
 const GLvoid *  indices);

Parameters

mode

+

Name

glDrawElements — render primitives from array data

C Specification

void glDrawElements(GLenum  mode,
 GLsizei  count,
 GLenum  type,
 const GLvoid *  indices);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -67,4 +67,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glDrawElementsBaseVertex.xhtml b/gl3/glDrawElementsBaseVertex.xhtml index 9bfa564a..b4a15736 100644 --- a/gl3/glDrawElementsBaseVertex.xhtml +++ b/gl3/glDrawElementsBaseVertex.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawElementsBaseVertex — render primitives from array data with a per-element offset

C Specification

void glDrawElementsBaseVertex(GLenum mode,
 GLsizei count,
 GLenum type,
 GLvoid *indices,
 GLint basevertex);
 

Parameters

mode

+

Name

glDrawElementsBaseVertex — render primitives from array data with a per-element offset

C Specification

void glDrawElementsBaseVertex(GLenum mode,
 GLsizei count,
 GLenum type,
 GLvoid *indices,
 GLint basevertex);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, @@ -42,8 +42,8 @@ glDrawElementsInstanced, glDrawElementsInstancedBaseVertex

\ No newline at end of file +

diff --git a/gl3/glDrawElementsInstanced.xhtml b/gl3/glDrawElementsInstanced.xhtml index 5c042336..0e778b57 100644 --- a/gl3/glDrawElementsInstanced.xhtml +++ b/gl3/glDrawElementsInstanced.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawElementsInstanced — draw multiple instances of a set of elements

C Specification

void glDrawElementsInstanced(GLenum mode,
 GLsizei count,
 GLenum type,
 const void * indices,
 GLsizei primcount);
 

Parameters

mode

+

Name

glDrawElementsInstanced — draw multiple instances of a set of elements

C Specification

void glDrawElementsInstanced(GLenum mode,
 GLsizei count,
 GLenum type,
 const void * indices,
 GLsizei primcount);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -64,8 +64,8 @@ glDrawElements, glDrawArraysInstanced

\ No newline at end of file +

diff --git a/gl3/glDrawElementsInstancedBaseVertex.xhtml b/gl3/glDrawElementsInstancedBaseVertex.xhtml index 1d3cb965..283ab6c1 100644 --- a/gl3/glDrawElementsInstancedBaseVertex.xhtml +++ b/gl3/glDrawElementsInstancedBaseVertex.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawElementsInstancedBaseVertex — render multiple instances of a set of primitives from array data with a per-element offset

C Specification

void glDrawElementsInstancedBaseVertex(GLenum mode,
 GLsizei count,
 GLenum type,
 GLvoid *indices,
 GLsizei primcount,
 GLint basevertex);
 

Parameters

mode

+

Name

glDrawElementsInstancedBaseVertex — render multiple instances of a set of primitives from array data with a per-element offset

C Specification

void glDrawElementsInstancedBaseVertex(GLenum mode,
 GLsizei count,
 GLenum type,
 GLvoid *indices,
 GLsizei primcount,
 GLint basevertex);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, @@ -43,8 +43,8 @@ glDrawElementsInstanced, glDrawElementsInstancedBaseVertex

\ No newline at end of file +

diff --git a/gl3/glDrawRangeElements.xhtml b/gl3/glDrawRangeElements.xhtml index ab56217d..2e833dae 100644 --- a/gl3/glDrawRangeElements.xhtml +++ b/gl3/glDrawRangeElements.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawRangeElements — render primitives from array data

C Specification

void glDrawRangeElements(GLenum  mode,
 GLuint  start,
 GLuint  end,
 GLsizei  count,
 GLenum  type,
 const GLvoid *  indices);

Parameters

mode

+

Name

glDrawRangeElements — render primitives from array data

C Specification

void glDrawRangeElements(GLenum  mode,
 GLuint  start,
 GLuint  end,
 GLsizei  count,
 GLenum  type,
 const GLvoid *  indices);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, diff --git a/gl3/glDrawRangeElementsBaseVertex.xhtml b/gl3/glDrawRangeElementsBaseVertex.xhtml index 481af34f..30aa3bd8 100644 --- a/gl3/glDrawRangeElementsBaseVertex.xhtml +++ b/gl3/glDrawRangeElementsBaseVertex.xhtml @@ -1,4 +1,4 @@ -

Name

glDrawRangeElementsBaseVertex — render primitives from array data with a per-element offset

C Specification

void glDrawRangeElementsBaseVertex(GLenum mode,
 GLuint start,
 GLuint end,
 GLsizei count,
 GLenum type,
 GLvoid *indices,
 GLint basevertex);
 

Parameters

mode

+

Name

glDrawRangeElementsBaseVertex — render primitives from array data with a per-element offset

C Specification

void glDrawRangeElementsBaseVertex(GLenum mode,
 GLuint start,
 GLuint end,
 GLsizei count,
 GLenum type,
 GLvoid *indices,
 GLint basevertex);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, @@ -52,8 +52,8 @@ glDrawElementsInstanced, glDrawElementsInstancedBaseVertex

\ No newline at end of file +

diff --git a/gl3/glEnableVertexAttribArray.xhtml b/gl3/glEnableVertexAttribArray.xhtml index c60acb77..7c76773f 100644 --- a/gl3/glEnableVertexAttribArray.xhtml +++ b/gl3/glEnableVertexAttribArray.xhtml @@ -1,4 +1,4 @@ -

Name

glEnableVertexAttribArray — Enable or disable a generic vertex attribute array

C Specification

void glEnableVertexAttribArray(GLuint  index);
void glDisableVertexAttribArray(GLuint  index);

Parameters

index

Specifies the index of the generic vertex +

Name

glEnableVertexAttribArray — Enable or disable a generic vertex attribute array

C Specification

void glEnableVertexAttribArray(GLuint  index);
void glDisableVertexAttribArray(GLuint  index);

Parameters

index

Specifies the index of the generic vertex attribute to be enabled or disabled.

Description

glEnableVertexAttribArray enables the generic vertex attribute array specified by index. @@ -33,8 +33,8 @@ glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl3/glFenceSync.xhtml b/gl3/glFenceSync.xhtml index 5c7b21e9..b97f7546 100644 --- a/gl3/glFenceSync.xhtml +++ b/gl3/glFenceSync.xhtml @@ -1,4 +1,4 @@ -

Name

glFenceSync — create a new sync object and insert it into the GL command stream

C Specification

GLsync glFenceSync(GLenum condition,
 GLbitfield flags);
 

Parameters

condition

+

Name

glFenceSync — create a new sync object and insert it into the GL command stream

C Specification

GLsync glFenceSync(GLenum condition,
 GLbitfield flags);
 

Parameters

condition

Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE.

flags

@@ -14,7 +14,7 @@ to unblock. No other state is affected by glFenceSync or by the execution of the associated fence command.

- condition must be GL_SYNC_GPU_COMMANDS_COMPLETE. This condition is satisfied by + condition must be GL_SYNC_GPU_COMMANDS_COMPLETE. This condition is satisfied by completion of the fence command corresponding to the sync object and all preceding commands in the same command stream. The sync object will not be signaled until all effects from these commands on GL client and server state and the framebuffer are fully realized. Note that completion of the fence command occurs once the state of the corresponding sync @@ -36,10 +36,10 @@ glWaitSync, glClientWaitSync



[1] flags is a placeholder for anticipated future extensions of fence sync object capabilities. -

\ No newline at end of file +

diff --git a/gl3/glFlush.xhtml b/gl3/glFlush.xhtml index b651db37..ed443fa6 100644 --- a/gl3/glFlush.xhtml +++ b/gl3/glFlush.xhtml @@ -1,4 +1,4 @@ -

Name

glFlush — force execution of GL commands in finite time

C Specification

void glFlush( void);
 

Description

+

Name

glFlush — force execution of GL commands in finite time

C Specification

void glFlush( void);
 

Description

Different GL implementations buffer commands in several different locations, including network buffers and the graphics accelerator itself. glFlush empties all of these buffers, @@ -26,4 +26,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glFlushMappedBufferRange.xhtml b/gl3/glFlushMappedBufferRange.xhtml index 346f63c1..047d7224 100644 --- a/gl3/glFlushMappedBufferRange.xhtml +++ b/gl3/glFlushMappedBufferRange.xhtml @@ -1,4 +1,4 @@ -

Name

glFlushMappedBufferRange — indicate modifications to a range of a mapped buffer

C Specification

void glFlushMappedBufferRange(GLenum target,
 GLintptr offset,
 GLsizeiptr length);
 

Parameters

target

+

Name

glFlushMappedBufferRange — indicate modifications to a range of a mapped buffer

C Specification

void glFlushMappedBufferRange(GLenum target,
 GLintptr offset,
 GLsizeiptr length);
 

Parameters

target

Specifies the target of the flush operation. target must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, @@ -28,8 +28,8 @@ glMapBuffer, glUnmapBuffer

\ No newline at end of file +

diff --git a/gl3/glFramebufferRenderbuffer.xhtml b/gl3/glFramebufferRenderbuffer.xhtml index f6fc8fd9..93f711fb 100644 --- a/gl3/glFramebufferRenderbuffer.xhtml +++ b/gl3/glFramebufferRenderbuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glFramebufferRenderbuffer — attach a renderbuffer as a logical buffer to the currently bound framebuffer object

C Specification

void glFramebufferRenderbuffer(GLenum target,
 GLenum attachment,
 GLenum renderbuffertarget,
 GLuint renderbuffer);
 

Parameters

target

+

Name

glFramebufferRenderbuffer — attach a renderbuffer as a logical buffer to the currently bound framebuffer object

C Specification

void glFramebufferRenderbuffer(GLenum target,
 GLenum attachment,
 GLenum renderbuffertarget,
 GLuint renderbuffer);
 

Parameters

target

Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. @@ -47,8 +47,8 @@ glFramebufferTexture2D, glFramebufferTexture3D

\ No newline at end of file +

diff --git a/gl3/glFramebufferTexture.xhtml b/gl3/glFramebufferTexture.xhtml index 01af59a9..eab9df59 100644 --- a/gl3/glFramebufferTexture.xhtml +++ b/gl3/glFramebufferTexture.xhtml @@ -1,4 +1,4 @@ -

Name

glFramebufferTexture — attach a level of a texture object as a logical buffer to the currently bound framebuffer object

C Specification

void glFramebufferTexture(GLenum target,
 GLenum attachment,
 GLuint texture,
 GLint level);
 
void glFramebufferTexture1D(GLenum target,
 GLenum attachment,
 GLenum textarget,
 GLuint texture,
 GLint level);
 
void glFramebufferTexture2D(GLenum target,
 GLenum attachment,
 GLenum textarget,
 GLuint texture,
 GLint level);
 
void glFramebufferTexture3D(GLenum target,
 GLenum attachment,
 GLenum textarget,
 GLuint texture,
 GLint level,
 GLint layer);
 

Parameters

target

+

Name

glFramebufferTexture — attach a level of a texture object as a logical buffer to the currently bound framebuffer object

C Specification

void glFramebufferTexture(GLenum target,
 GLenum attachment,
 GLuint texture,
 GLint level);
 
void glFramebufferTexture1D(GLenum target,
 GLenum attachment,
 GLenum textarget,
 GLuint texture,
 GLint level);
 
void glFramebufferTexture2D(GLenum target,
 GLenum attachment,
 GLenum textarget,
 GLuint texture,
 GLint level);
 
void glFramebufferTexture3D(GLenum target,
 GLenum attachment,
 GLenum textarget,
 GLuint texture,
 GLint level,
 GLint layer);
 

Parameters

target

Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. @@ -89,8 +89,8 @@ glFramebufferTexture2D, glFramebufferTexture3D

\ No newline at end of file +

diff --git a/gl3/glFramebufferTextureLayer.xhtml b/gl3/glFramebufferTextureLayer.xhtml index ab8e20d2..33ef565f 100644 --- a/gl3/glFramebufferTextureLayer.xhtml +++ b/gl3/glFramebufferTextureLayer.xhtml @@ -1,4 +1,4 @@ -

Name

glFramebufferTextureLayer — attach a single layer of a texture to a framebuffer

C Specification

void glFramebufferTextureLayer(GLenum target,
 GLenum attachment,
 GLuint texture,
 GLint level,
 GLint layer);
 

Parameters

target

+

Name

glFramebufferTextureLayer — attach a single layer of a texture to a framebuffer

C Specification

void glFramebufferTextureLayer(GLenum target,
 GLenum attachment,
 GLuint texture,
 GLint level,
 GLint layer);
 

Parameters

target

Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER. @@ -43,8 +43,8 @@ glFramebufferTexture, glFramebufferTextureFace

\ No newline at end of file +

diff --git a/gl3/glFrontFace.xhtml b/gl3/glFrontFace.xhtml index 0c661f86..b26b3f5b 100644 --- a/gl3/glFrontFace.xhtml +++ b/gl3/glFrontFace.xhtml @@ -1,4 +1,4 @@ -

Name

glFrontFace — define front- and back-facing polygons

C Specification

void glFrontFace(GLenum mode);
 

Parameters

mode

+

Name

glFrontFace — define front- and back-facing polygons

C Specification

void glFrontFace(GLenum mode);
 

Parameters

mode

Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. @@ -39,4 +39,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glGenBuffers.xhtml b/gl3/glGenBuffers.xhtml index f2288bdf..83c26d90 100644 --- a/gl3/glGenBuffers.xhtml +++ b/gl3/glGenBuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenBuffers — generate buffer object names

C Specification

void glGenBuffers(GLsizei  n,
 GLuint *  buffers);

Parameters

n

+

Name

glGenBuffers — generate buffer object names

C Specification

void glGenBuffers(GLsizei  n,
 GLuint *  buffers);

Parameters

n

Specifies the number of buffer object names to be generated.

buffers

Specifies an array in which the generated buffer object names are stored. @@ -25,8 +25,8 @@ glDeleteBuffers, glGet

\ No newline at end of file +

diff --git a/gl3/glGenFramebuffers.xhtml b/gl3/glGenFramebuffers.xhtml index 00e519ea..46526a87 100644 --- a/gl3/glGenFramebuffers.xhtml +++ b/gl3/glGenFramebuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenFramebuffers — generate framebuffer object names

C Specification

void glGenFramebuffers(GLsizei n,
 GLuint *ids);
 

Parameters

n

+

Name

glGenFramebuffers — generate framebuffer object names

C Specification

void glGenFramebuffers(GLsizei n,
 GLuint *ids);
 

Parameters

n

Specifies the number of framebuffer object names to generate.

ids

Specifies an array in which the generated framebuffer object names are stored. @@ -20,8 +20,8 @@ glBindFramebuffer, glDeleteFramebuffers

\ No newline at end of file +

diff --git a/gl3/glGenRenderbuffers.xhtml b/gl3/glGenRenderbuffers.xhtml index 455799ed..801e9cf1 100644 --- a/gl3/glGenRenderbuffers.xhtml +++ b/gl3/glGenRenderbuffers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenRenderbuffers — generate renderbuffer object names

C Specification

void glGenRenderbuffers(GLsizei n,
 GLuint *renderbuffers);
 

Parameters

n

+

Name

glGenRenderbuffers — generate renderbuffer object names

C Specification

void glGenRenderbuffers(GLsizei n,
 GLuint *renderbuffers);
 

Parameters

n

Specifies the number of renderbuffer object names to generate.

renderbuffers

Specifies an array in which the generated renderbuffer object names are stored. @@ -20,8 +20,8 @@ glFramebufferRenderbuffer, glDeleteRenderbuffers

\ No newline at end of file +

diff --git a/gl3/glGenSamplers.xhtml b/gl3/glGenSamplers.xhtml index a26fef28..79b575a5 100644 --- a/gl3/glGenSamplers.xhtml +++ b/gl3/glGenSamplers.xhtml @@ -1,4 +1,4 @@ -

Name

glGenSamplers — generate sampler object names

C Specification

void glGenSamplers(GLsizei n,
 GLuint *samplers);
 

Parameters

n

+

Name

glGenSamplers — generate sampler object names

C Specification

void glGenSamplers(GLsizei n,
 GLuint *samplers);
 

Parameters

n

Specifies the number of sampler object names to generate.

samplers

Specifies an array in which the generated sampler object names are stored. @@ -23,8 +23,8 @@ glIsSampler, glDeleteSamplers

\ No newline at end of file +

diff --git a/gl3/glGenTextures.xhtml b/gl3/glGenTextures.xhtml index 2236c49e..f205ccd6 100644 --- a/gl3/glGenTextures.xhtml +++ b/gl3/glGenTextures.xhtml @@ -1,4 +1,4 @@ -

Name

glGenTextures — generate texture names

C Specification

void glGenTextures(GLsizei  n,
 GLuint *  textures);

Parameters

n

+

Name

glGenTextures — generate texture names

C Specification

void glGenTextures(GLsizei  n,
 GLuint *  textures);

Parameters

n

Specifies the number of texture names to be generated.

textures

Specifies an array in which the generated texture names are stored. @@ -37,4 +37,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glGenVertexArrays.xhtml b/gl3/glGenVertexArrays.xhtml index 85baf9c9..1eba71e8 100644 --- a/gl3/glGenVertexArrays.xhtml +++ b/gl3/glGenVertexArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glGenVertexArrays — generate vertex array object names

C Specification

void glGenVertexArrays(GLsizei n,
 GLuint *arrays);
 

Parameters

n

+

Name

glGenVertexArrays — generate vertex array object names

C Specification

void glGenVertexArrays(GLsizei n,
 GLuint *arrays);
 

Parameters

n

Specifies the number of vertex array object names to generate.

arrays

Specifies an array in which the generated vertex array object names are stored. @@ -20,8 +20,8 @@ glBindVertexArray, glDeleteVertexArrays

\ No newline at end of file +

diff --git a/gl3/glGenerateMipmap.xhtml b/gl3/glGenerateMipmap.xhtml index d65d1076..103f5577 100644 --- a/gl3/glGenerateMipmap.xhtml +++ b/gl3/glGenerateMipmap.xhtml @@ -1,4 +1,4 @@ -

Name

glGenerateMipmap — generate mipmaps for a specified texture target

C Specification

void glGenerateMipmap(GLenum target);
 

Parameters

target

+

Name

glGenerateMipmap — generate mipmaps for a specified texture target

C Specification

void glGenerateMipmap(GLenum target);
 

Parameters

target

Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or diff --git a/gl3/glGet.xhtml b/gl3/glGet.xhtml index 29ae687b..1ba22f17 100644 --- a/gl3/glGet.xhtml +++ b/gl3/glGet.xhtml @@ -1,9 +1,9 @@ -

Name

glGet — return the value or values of a selected parameter

C Specification

void glGetBooleanv(GLenum pname,
 GLboolean * params);
 

C Specification

void glGetDoublev(GLenum pname,
 GLdouble * params);
 

C Specification

void glGetFloatv(GLenum pname,
 GLfloat * params);
 

C Specification

void glGetIntegerv(GLenum pname,
 GLint * params);
 

C Specification

void glGetInteger64v(GLenum pname,
 GLint64 * params);
 

Parameters

pname

+

Name

glGet — return the value or values of a selected parameter

C Specification

void glGetBooleanv(GLenum pname,
 GLboolean * params);
 

C Specification

void glGetDoublev(GLenum pname,
 GLdouble * params);
 

C Specification

void glGetFloatv(GLenum pname,
 GLfloat * params);
 

C Specification

void glGetIntegerv(GLenum pname,
 GLint * params);
 

C Specification

void glGetInteger64v(GLenum pname,
 GLint64 * params);
 

Parameters

pname

Specifies the parameter value to be returned. The symbolic constants in the list below are accepted.

params

Returns the value or values of the specified parameter. -

C Specification

void glGetBooleani_v(GLenum pname,
 GLuint index,
 GLboolean * data);
 

C Specification

void glGetIntegeri_v(GLenum pname,
 GLuint index,
 GLint * data);
 

C Specification

void glGetInteger64i_v(GLenum pname,
 GLuint index,
 GLint64 * data);
 

Parameters

pname

+

C Specification

void glGetBooleani_v(GLenum pname,
 GLuint index,
 GLboolean * data);
 

C Specification

void glGetIntegeri_v(GLenum pname,
 GLuint index,
 GLint * data);
 

C Specification

void glGetInteger64i_v(GLenum pname,
 GLuint index,
 GLint64 * data);
 

Parameters

pname

Specifies the parameter value to be returned. The symbolic constants in the list below are accepted.

index

diff --git a/gl3/glGetActiveAttrib.xhtml b/gl3/glGetActiveAttrib.xhtml index 8d1aecda..ee0d2348 100644 --- a/gl3/glGetActiveAttrib.xhtml +++ b/gl3/glGetActiveAttrib.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveAttrib — Returns information about an active attribute variable for the specified program object

C Specification

void glGetActiveAttrib(GLuint  program,
 GLuint  index,
 GLsizei  bufSize,
 GLsizei * length,
 GLint * size,
 GLenum * type,
 GLchar * name);

Parameters

program

Specifies the program object to be +

Name

glGetActiveAttrib — Returns information about an active attribute variable for the specified program object

C Specification

void glGetActiveAttrib(GLuint  program,
 GLuint  index,
 GLsizei  bufSize,
 GLsizei * length,
 GLint * size,
 GLenum * type,
 GLchar * name);

Parameters

program

Specifies the program object to be queried.

index

Specifies the index of the attribute variable to be queried.

bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer @@ -105,9 +105,9 @@ glLinkProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl3/glGetActiveUniform.xhtml b/gl3/glGetActiveUniform.xhtml index be7c7c75..474f47b2 100644 --- a/gl3/glGetActiveUniform.xhtml +++ b/gl3/glGetActiveUniform.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveUniform — Returns information about an active uniform variable for the specified program object

C Specification

void glGetActiveUniform(GLuint  program,
 GLuint  index,
 GLsizei  bufSize,
 GLsizei * length,
 GLint * size,
 GLenum * type,
 GLchar * name);

Parameters

program

Specifies the program object to be +

Name

glGetActiveUniform — Returns information about an active uniform variable for the specified program object

C Specification

void glGetActiveUniform(GLuint  program,
 GLuint  index,
 GLsizei  bufSize,
 GLsizei * length,
 GLint * size,
 GLenum * type,
 GLchar * name);

Parameters

program

Specifies the program object to be queried.

index

Specifies the index of the uniform variable to be queried.

bufSize

Specifies the maximum number of characters OpenGL is allowed to write in the character buffer @@ -57,7 +57,7 @@ argument will return a pointer to the uniform variable's data type. The symbolic constants returned for uniform types are shown in the table below. -

+

Returned Symbolic Contant Shader Uniform Type @@ -365,7 +365,7 @@ glUseProgram

\ No newline at end of file +

diff --git a/gl3/glGetActiveUniformBlock.xhtml b/gl3/glGetActiveUniformBlock.xhtml index cebf3f19..52cd17d7 100644 --- a/gl3/glGetActiveUniformBlock.xhtml +++ b/gl3/glGetActiveUniformBlock.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveUniformBlock — query information about an active uniform block

C Specification

void glGetActiveUniformBlockiv(GLuint program,
 GLuint uniformBlockIndex,
 GLenum pname,
 GLint *params);
 

Parameters

program

+

Name

glGetActiveUniformBlock — query information about an active uniform block

C Specification

void glGetActiveUniformBlockiv(GLuint program,
 GLuint uniformBlockIndex,
 GLenum pname,
 GLint *params);
 

Parameters

program

Specifies the name of a program containing the uniform block.

uniformBlockIndex

Specifies the index of the uniform block within program. @@ -61,8 +61,8 @@ glGetUniformBlockIndex, glLinkProgram

\ No newline at end of file +

diff --git a/gl3/glGetActiveUniformBlockName.xhtml b/gl3/glGetActiveUniformBlockName.xhtml index d8fece27..bb6bf9b1 100644 --- a/gl3/glGetActiveUniformBlockName.xhtml +++ b/gl3/glGetActiveUniformBlockName.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveUniformBlockName — retrieve the name of an active uniform block

C Specification

void glGetActiveUniformBlockName(GLuint program,
 GLuint uniformBlockIndex,
 GLsizei bufSize,
 GLsizei *length,
 GLchar *uniformBlockName);
 

Parameters

program

+

Name

glGetActiveUniformBlockName — retrieve the name of an active uniform block

C Specification

void glGetActiveUniformBlockName(GLuint program,
 GLuint uniformBlockIndex,
 GLsizei bufSize,
 GLsizei *length,
 GLchar *uniformBlockName);
 

Parameters

program

Specifies the name of a program containing the uniform block.

uniformBlockIndex

Specifies the index of the uniform block within program. @@ -42,8 +42,8 @@ glGetActiveUniformBlock, glGetUniformBlockIndex

\ No newline at end of file +

diff --git a/gl3/glGetActiveUniformName.xhtml b/gl3/glGetActiveUniformName.xhtml index 1104a32f..78ec7119 100644 --- a/gl3/glGetActiveUniformName.xhtml +++ b/gl3/glGetActiveUniformName.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveUniformName — query the name of an active uniform

C Specification

void glGetActiveUniformName(GLuint program,
 GLuint uniformIndex,
 GLsizei bufSize,
 GLsizei *length,
 GLchar *uniformName);
 

Parameters

program

+

Name

glGetActiveUniformName — query the name of an active uniform

C Specification

void glGetActiveUniformName(GLuint program,
 GLuint uniformIndex,
 GLsizei bufSize,
 GLsizei *length,
 GLchar *uniformName);
 

Parameters

program

Specifies the program containing the active uniform index uniformIndex.

uniformIndex

Specifies the index of the active uniform whose name to query. @@ -42,8 +42,8 @@ glGetProgram, glLinkProgram

\ No newline at end of file +

diff --git a/gl3/glGetActiveUniformsiv.xhtml b/gl3/glGetActiveUniformsiv.xhtml index 0f891cb6..deb4a4de 100644 --- a/gl3/glGetActiveUniformsiv.xhtml +++ b/gl3/glGetActiveUniformsiv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetActiveUniformsiv — Returns information about several active uniform variables for the specified program object

C Specification

void glGetActiveUniformsiv(GLuint program,
 GLsizei uniformCount,
 const GLuint *uniformIndices,
 GLenum pname,
 GLint *params);
 

Parameters

program

Specifies the program object to be queried.

uniformCount

Specifies both the number of elements in the array of +

Name

glGetActiveUniformsiv — Returns information about several active uniform variables for the specified program object

C Specification

void glGetActiveUniformsiv(GLuint program,
 GLsizei uniformCount,
 const GLuint *uniformIndices,
 GLenum pname,
 GLint *params);
 

Parameters

program

Specifies the program object to be queried.

uniformCount

Specifies both the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return.

uniformIndices

Specifies the address of an array of @@ -26,7 +26,7 @@ the types of uniforms specified by the corresponding array of uniformIndices is returned. The returned types can be any of the values from the following table: -

+

Returned Symbolic Contant Shader Uniform Type @@ -336,7 +336,7 @@ glUniform, glUseProgram

\ No newline at end of file +

diff --git a/gl3/glGetAttachedShaders.xhtml b/gl3/glGetAttachedShaders.xhtml index 1bb84865..c31a1aca 100644 --- a/gl3/glGetAttachedShaders.xhtml +++ b/gl3/glGetAttachedShaders.xhtml @@ -1,4 +1,4 @@ -

Name

glGetAttachedShaders — Returns the handles of the shader objects attached to a program object

C Specification

void glGetAttachedShaders(GLuint program,
 GLsizei maxCount,
 GLsizei *count,
 GLuint *shaders);
 

Parameters

program

Specifies the program object to be +

Name

glGetAttachedShaders — Returns the handles of the shader objects attached to a program object

C Specification

void glGetAttachedShaders(GLuint program,
 GLsizei maxCount,
 GLsizei *count,
 GLuint *shaders);
 

Parameters

program

Specifies the program object to be queried.

maxCount

Specifies the size of the array for storing the returned object names.

count

Returns the number of names actually returned in shaders.

shaders

Specifies an array that is used to return the @@ -31,8 +31,8 @@

\ No newline at end of file +

diff --git a/gl3/glGetAttribLocation.xhtml b/gl3/glGetAttribLocation.xhtml index 927e297b..6aabc017 100644 --- a/gl3/glGetAttribLocation.xhtml +++ b/gl3/glGetAttribLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glGetAttribLocation — Returns the location of an attribute variable

C Specification

GLint glGetAttribLocation(GLuint  program,
 const GLchar * name);

Parameters

program

Specifies the program object to be +

Name

glGetAttribLocation — Returns the location of an attribute variable

C Specification

GLint glGetAttribLocation(GLuint  program,
 const GLchar * name);

Parameters

program

Specifies the program object to be queried.

name

Points to a null terminated string containing the name of the attribute variable whose location is to be queried.

Description

glGetAttribLocation queries the @@ -38,8 +38,8 @@ glLinkProgram, glVertexAttrib, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl3/glGetBufferParameter.xhtml b/gl3/glGetBufferParameter.xhtml index 7f91b0ee..d5eda325 100644 --- a/gl3/glGetBufferParameter.xhtml +++ b/gl3/glGetBufferParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetBufferParameteriv — return parameters of a buffer object

C Specification

void glGetBufferParameteriv(GLenum target,
 GLenum value,
 GLint * data);
 
void glGetBufferParameteri64v(GLenum target,
 GLenum value,
 GLint64 * data);
 

Parameters

target

+

Name

glGetBufferParameteriv — return parameters of a buffer object

C Specification

void glGetBufferParameteriv(GLenum target,
 GLenum value,
 GLint * data);
 
void glGetBufferParameteri64v(GLenum target,
 GLenum value,
 GLint64 * data);
 

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, @@ -11,7 +11,7 @@ GL_UNIFORM_BUFFER.

value

Specifies the symbolic name of a buffer object parameter. - Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, + Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.

data

Returns the requested parameter. @@ -21,13 +21,13 @@

value names a specific buffer object parameter, as follows:

GL_BUFFER_ACCESS

- params returns the access policy set while mapping the buffer object. + params returns the access policy set while mapping the buffer object. The initial value is GL_READ_WRITE.

GL_BUFFER_MAPPED

- params returns a flag indicating whether the buffer object is currently + params returns a flag indicating whether the buffer object is currently mapped. The initial value is GL_FALSE.

GL_BUFFER_SIZE

- params returns the size of the buffer object, measured in bytes. + params returns the size of the buffer object, measured in bytes. The initial value is 0.

GL_BUFFER_USAGE

params returns the buffer object's usage pattern. The initial value is @@ -50,9 +50,9 @@ glMapBuffer, glUnmapBuffer

\ No newline at end of file +

diff --git a/gl3/glGetBufferPointerv.xhtml b/gl3/glGetBufferPointerv.xhtml index d6119b95..66b3100b 100644 --- a/gl3/glGetBufferPointerv.xhtml +++ b/gl3/glGetBufferPointerv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetBufferPointerv — return the pointer to a mapped buffer object's data store

C Specification

void glGetBufferPointerv(GLenum  target,
 GLenum  pname,
 GLvoid **  params);

Parameters

target

+

Name

glGetBufferPointerv — return the pointer to a mapped buffer object's data store

C Specification

void glGetBufferPointerv(GLenum  target,
 GLenum  pname,
 GLvoid **  params);

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, @@ -34,8 +34,8 @@ glBindBuffer, glMapBuffer

\ No newline at end of file +

diff --git a/gl3/glGetBufferSubData.xhtml b/gl3/glGetBufferSubData.xhtml index f19f0788..c29ee1e8 100644 --- a/gl3/glGetBufferSubData.xhtml +++ b/gl3/glGetBufferSubData.xhtml @@ -1,4 +1,4 @@ -

Name

glGetBufferSubData — returns a subset of a buffer object's data store

C Specification

void glGetBufferSubData(GLenum  target,
 GLintptr  offset,
 GLsizeiptr  size,
 GLvoid *  data);

Parameters

target

+

Name

glGetBufferSubData — returns a subset of a buffer object's data store

C Specification

void glGetBufferSubData(GLenum  target,
 GLintptr  offset,
 GLsizeiptr  size,
 GLvoid *  data);

Parameters

target

Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, @@ -17,21 +17,21 @@

data

Specifies a pointer to the location where buffer object data is returned.

Description

- glGetBufferSubData returns some or all of the data from the buffer object currently + glGetBufferSubData returns some or all of the data from the buffer object currently bound to target. Data starting at byte offset offset and extending for size bytes is copied from the data store to the memory pointed to by data. An error is thrown if the buffer object is currently mapped, or if - offset and size together define a range beyond the bounds + offset and size together define a range beyond the bounds of the buffer object's data store.

Notes

If an error is generated, no change is made to the contents of data.

Errors

- GL_INVALID_ENUM is generated if target is not - GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, + GL_INVALID_ENUM is generated if target is not + GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.

- GL_INVALID_VALUE is generated if offset or + GL_INVALID_VALUE is generated if offset or size is negative, or if together they define a region of memory that extends beyond the buffer object's allocated data store.

@@ -47,8 +47,8 @@ glMapBuffer, glUnmapBuffer

\ No newline at end of file +

diff --git a/gl3/glGetCompressedTexImage.xhtml b/gl3/glGetCompressedTexImage.xhtml index d68cf3ab..b6870432 100644 --- a/gl3/glGetCompressedTexImage.xhtml +++ b/gl3/glGetCompressedTexImage.xhtml @@ -1,4 +1,4 @@ -

Name

glGetCompressedTexImage — return a compressed texture image

C Specification

void glGetCompressedTexImage(GLenum  target,
 GLint  lod,
 GLvoid *  img);

Parameters

target

+

Name

glGetCompressedTexImage — return a compressed texture image

C Specification

void glGetCompressedTexImage(GLenum  target,
 GLint  lod,
 GLvoid *  img);

Parameters

target

Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, diff --git a/gl3/glGetFragDataIndex.xhtml b/gl3/glGetFragDataIndex.xhtml index bd74e60a..7cd9bd46 100644 --- a/gl3/glGetFragDataIndex.xhtml +++ b/gl3/glGetFragDataIndex.xhtml @@ -1,4 +1,4 @@ -

Name

glGetFragDataIndex — query the bindings of color indices to user-defined varying out variables

C Specification

GLint glGetFragDataIndex(GLuint program,
 const char * name);
 

Parameters

program

+

Name

glGetFragDataIndex — query the bindings of color indices to user-defined varying out variables

C Specification

GLint glGetFragDataIndex(GLuint program,
 const char * name);
 

Parameters

program

The name of the program containing varying out variable whose binding to query

name

The name of the user-defined varying out variable whose index to query @@ -18,8 +18,8 @@ glBindFragDataLocationIndexed, glGetFragDataLocation

\ No newline at end of file +

diff --git a/gl3/glGetFragDataLocation.xhtml b/gl3/glGetFragDataLocation.xhtml index 73a6b15f..64d8fedc 100644 --- a/gl3/glGetFragDataLocation.xhtml +++ b/gl3/glGetFragDataLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glGetFragDataLocation — query the bindings of color numbers to user-defined varying out variables

C Specification

GLint glGetFragDataLocation(GLuint program,
 const char * name);
 

Parameters

program

+

Name

glGetFragDataLocation — query the bindings of color numbers to user-defined varying out variables

C Specification

GLint glGetFragDataLocation(GLuint program,
 const char * name);
 

Parameters

program

The name of the program containing varying out variable whose binding to query

name

The name of the user-defined varying out variable whose binding to query @@ -16,8 +16,8 @@ glCreateProgram, glBindFragDataLocation

\ No newline at end of file +

diff --git a/gl3/glGetFramebufferAttachmentParameter.xhtml b/gl3/glGetFramebufferAttachmentParameter.xhtml index 575b349e..217a87d9 100644 --- a/gl3/glGetFramebufferAttachmentParameter.xhtml +++ b/gl3/glGetFramebufferAttachmentParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetFramebufferAttachmentParameteriv — retrieve information about attachments of a bound framebuffer object

C Specification

void glGetFramebufferAttachmentParameteriv(GLenum target,
 GLenum attachment,
 GLenum pname,
 GLint *params);
 

Parameters

target

+

Name

glGetFramebufferAttachmentParameteriv — retrieve information about attachments of a bound framebuffer object

C Specification

void glGetFramebufferAttachmentParameteriv(GLenum target,
 GLenum attachment,
 GLenum pname,
 GLint *params);
 

Parameters

target

Specifies the target of the query operation.

attachment

Specifies the attachment within target @@ -106,8 +106,8 @@ glGenFramebuffers, glBindFramebuffer

\ No newline at end of file +

diff --git a/gl3/glGetMultisample.xhtml b/gl3/glGetMultisample.xhtml index 1dba3bc4..fb03751f 100644 --- a/gl3/glGetMultisample.xhtml +++ b/gl3/glGetMultisample.xhtml @@ -1,4 +1,4 @@ -

Name

glGetMultisamplefv — retrieve the location of a sample

C Specification

void glGetMultisamplefv(GLenum pname,
 GLuint index,
 GLfloat *val);
 

Parameters

pname

+

Name

glGetMultisamplefv — retrieve the location of a sample

C Specification

void glGetMultisamplefv(GLenum pname,
 GLuint index,
 GLfloat *val);
 

Parameters

pname

Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION.

index

Specifies the index of the sample whose position to query. @@ -25,8 +25,8 @@ glGenFramebuffers, glBindFramebuffer

\ No newline at end of file +

diff --git a/gl3/glGetProgram.xhtml b/gl3/glGetProgram.xhtml index 7725e459..648f1882 100644 --- a/gl3/glGetProgram.xhtml +++ b/gl3/glGetProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glGetProgramiv — Returns a parameter from a program object

C Specification

void glGetProgramiv(GLuint program,
 GLenum pname,
 GLint *params);
 

Parameters

program

Specifies the program object to be +

Name

glGetProgramiv — Returns a parameter from a program object

C Specification

void glGetProgramiv(GLuint program,
 GLenum pname,
 GLint *params);
 

Parameters

program

Specifies the program object to be queried.

pname

Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, @@ -111,9 +111,9 @@ glGetShader, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl3/glGetProgramInfoLog.xhtml b/gl3/glGetProgramInfoLog.xhtml index 140bb644..a14ba5e2 100644 --- a/gl3/glGetProgramInfoLog.xhtml +++ b/gl3/glGetProgramInfoLog.xhtml @@ -1,4 +1,4 @@ -

Name

glGetProgramInfoLog — Returns the information log for a program object

C Specification

void glGetProgramInfoLog(GLuint program,
 GLsizei maxLength,
 GLsizei *length,
 GLchar *infoLog);
 

Parameters

program

Specifies the program object whose information +

Name

glGetProgramInfoLog — Returns the information log for a program object

C Specification

void glGetProgramInfoLog(GLuint program,
 GLsizei maxLength,
 GLsizei *length,
 GLchar *infoLog);
 

Parameters

program

Specifies the program object whose information log is to be queried.

maxLength

Specifies the size of the character buffer for storing the returned information log.

length

Returns the length of the string returned in infoLog (excluding the null @@ -39,8 +39,8 @@ glGetShaderInfoLog, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl3/glGetQueryObject.xhtml b/gl3/glGetQueryObject.xhtml index 66754494..a850d6c3 100644 --- a/gl3/glGetQueryObject.xhtml +++ b/gl3/glGetQueryObject.xhtml @@ -1,4 +1,4 @@ -

Name

glGetQueryObject — return parameters of a query object

C Specification

void glGetQueryObjectiv(GLuint id,
 GLenum pname,
 GLint * params);
 
void glGetQueryObjectuiv(GLuint id,
 GLenum pname,
 GLuint * params);
 
void glGetQueryObjecti64v(GLuint id,
 GLenum pname,
 GLint64 * params);
 
void glGetQueryObjectui64v(GLuint id,
 GLenum pname,
 GLuint64 * params);
 

Parameters

id

+

Name

glGetQueryObject — return parameters of a query object

C Specification

void glGetQueryObjectiv(GLuint id,
 GLenum pname,
 GLint * params);
 
void glGetQueryObjectuiv(GLuint id,
 GLenum pname,
 GLuint * params);
 
void glGetQueryObjecti64v(GLuint id,
 GLenum pname,
 GLint64 * params);
 
void glGetQueryObjectui64v(GLuint id,
 GLenum pname,
 GLuint64 * params);
 

Parameters

id

Specifies the name of a query object.

pname

Specifies the symbolic name of a query object parameter. @@ -11,11 +11,11 @@

pname names a specific query object parameter. pname can be as follows:

GL_QUERY_RESULT

- params returns the value of the query object's passed samples counter. + params returns the value of the query object's passed samples counter. The initial value is 0.

GL_QUERY_RESULT_AVAILABLE

params returns whether the passed samples counter is immediately available. - If a delay would occur waiting for the query result, GL_FALSE is returned. + If a delay would occur waiting for the query result, GL_FALSE is returned. Otherwise, GL_TRUE is returned, which also indicates that the results of all previous queries are available as well.

Notes

@@ -25,18 +25,18 @@ glGetQueryObject implicitly flushes the GL pipeline so that any incomplete rendering delimited by the occlusion query completes in finite time.

- If multiple queries are issued using the same query object id before calling + If multiple queries are issued using the same query object id before calling glGetQueryObject, the results of the most recent query will be returned. In this case, when issuing a new query, the results of the previous query are discarded.

- glGetQueryObjecti64v and glGetQueryObjectui64v are available only + glGetQueryObjecti64v and glGetQueryObjectui64v are available only if the GL version is 3.3 or greater.

Errors

GL_INVALID_ENUM is generated if pname is not an accepted value.

GL_INVALID_OPERATION is generated if id is not the name of a query object.

- GL_INVALID_OPERATION is generated if id is the name of a currently active + GL_INVALID_OPERATION is generated if id is the name of a currently active query object.

See Also

glBeginQuery, @@ -45,8 +45,8 @@ glIsQuery, glQueryCounter

\ No newline at end of file +

diff --git a/gl3/glGetQueryiv.xhtml b/gl3/glGetQueryiv.xhtml index 18f90cb1..19f4aaea 100644 --- a/gl3/glGetQueryiv.xhtml +++ b/gl3/glGetQueryiv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetQueryiv — return parameters of a query object target

C Specification

void glGetQueryiv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

+

Name

glGetQueryiv — return parameters of a query object target

C Specification

void glGetQueryiv(GLenum  target,
 GLenum  pname,
 GLint *  params);

Parameters

target

Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, @@ -29,8 +29,8 @@ glGetQueryObject, glIsQuery

\ No newline at end of file +

diff --git a/gl3/glGetRenderbufferParameter.xhtml b/gl3/glGetRenderbufferParameter.xhtml index cc078094..84ff4e67 100644 --- a/gl3/glGetRenderbufferParameter.xhtml +++ b/gl3/glGetRenderbufferParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetRenderbufferParameteriv — retrieve information about a bound renderbuffer object

C Specification

void glGetRenderbufferParameteriv(GLenum target,
 GLenum pname,
 GLint *params);
 

Parameters

target

+

Name

glGetRenderbufferParameteriv — retrieve information about a bound renderbuffer object

C Specification

void glGetRenderbufferParameteriv(GLenum target,
 GLenum pname,
 GLint *params);
 

Parameters

target

Specifies the target of the query operation. target must be GL_RENDERBUFFER.

pname

Specifies the parameter whose value to retrieve from the renderbuffer bound to target. @@ -33,8 +33,8 @@ glRenderbufferStorage, glRenderbufferStorageMultisample

\ No newline at end of file +

diff --git a/gl3/glGetSamplerParameter.xhtml b/gl3/glGetSamplerParameter.xhtml index de87f5ba..2d9ad970 100644 --- a/gl3/glGetSamplerParameter.xhtml +++ b/gl3/glGetSamplerParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetSamplerParameter — return sampler parameter values

C Specification

void glGetSamplerParameterfv(GLuint sampler,
 GLenum pname,
 GLfloat * params);
 
void glGetSamplerParameteriv(GLuint sampler,
 GLenum pname,
 GLint * params);
 
void glGetSamplerParameterIiv(GLuint sampler,
 GLenum pname,
 GLint * params);
 
void glGetSamplerParameterIuiv(GLuint sampler,
 GLenum pname,
 GLuint * params);
 

Parameters

sampler

+

Name

glGetSamplerParameter — return sampler parameter values

C Specification

void glGetSamplerParameterfv(GLuint sampler,
 GLenum pname,
 GLfloat * params);
 
void glGetSamplerParameteriv(GLuint sampler,
 GLenum pname,
 GLint * params);
 
void glGetSamplerParameterIiv(GLuint sampler,
 GLenum pname,
 GLint * params);
 
void glGetSamplerParameterIuiv(GLuint sampler,
 GLenum pname,
 GLuint * params);
 

Parameters

sampler

Specifies name of the sampler object from which to retrieve parameters.

pname

Specifies the symbolic name of a sampler parameter. diff --git a/gl3/glGetShader.xhtml b/gl3/glGetShader.xhtml index 66b964e3..663712a1 100644 --- a/gl3/glGetShader.xhtml +++ b/gl3/glGetShader.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderiv — Returns a parameter from a shader object

C Specification

void glGetShaderiv(GLuint shader,
 GLenum pname,
 GLint *params);
 

Parameters

shader

Specifies the shader object to be +

Name

glGetShaderiv — Returns a parameter from a shader object

C Specification

void glGetShaderiv(GLuint shader,
 GLenum pname,
 GLint *params);
 

Parameters

shader

Specifies the shader object to be queried.

pname

Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, @@ -48,8 +48,8 @@ glDeleteShader, glGetProgram, glShaderSource

\ No newline at end of file +

diff --git a/gl3/glGetShaderInfoLog.xhtml b/gl3/glGetShaderInfoLog.xhtml index 6bc9a325..352c7063 100644 --- a/gl3/glGetShaderInfoLog.xhtml +++ b/gl3/glGetShaderInfoLog.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderInfoLog — Returns the information log for a shader object

C Specification

void glGetShaderInfoLog(GLuint shader,
 GLsizei maxLength,
 GLsizei *length,
 GLchar *infoLog);
 

Parameters

shader

Specifies the shader object whose information +

Name

glGetShaderInfoLog — Returns the information log for a shader object

C Specification

void glGetShaderInfoLog(GLuint shader,
 GLsizei maxLength,
 GLsizei *length,
 GLchar *infoLog);
 

Parameters

shader

Specifies the shader object whose information log is to be queried.

maxLength

Specifies the size of the character buffer for storing the returned information log.

length

Returns the length of the string returned in infoLog (excluding the null @@ -36,8 +36,8 @@ glGetProgramInfoLog, glLinkProgram, glValidateProgram

\ No newline at end of file +

diff --git a/gl3/glGetShaderSource.xhtml b/gl3/glGetShaderSource.xhtml index dfbf3946..37f190c7 100644 --- a/gl3/glGetShaderSource.xhtml +++ b/gl3/glGetShaderSource.xhtml @@ -1,4 +1,4 @@ -

Name

glGetShaderSource — Returns the source code string from a shader object

C Specification

void glGetShaderSource(GLuint  shader,
 GLsizei  bufSize,
 GLsizei * length,
 GLchar * source);

Parameters

shader

Specifies the shader object to be +

Name

glGetShaderSource — Returns the source code string from a shader object

C Specification

void glGetShaderSource(GLuint  shader,
 GLsizei  bufSize,
 GLsizei * length,
 GLchar * source);

Parameters

shader

Specifies the shader object to be queried.

bufSize

Specifies the size of the character buffer for storing the returned source code string.

length

Returns the length of the string returned in source (excluding the null @@ -31,8 +31,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl3/glGetString.xhtml b/gl3/glGetString.xhtml index 31612b98..fe8271de 100644 --- a/gl3/glGetString.xhtml +++ b/gl3/glGetString.xhtml @@ -1,4 +1,4 @@ -

Name

glGetString — return a string describing the current GL connection

C Specification

const GLubyte* glGetString(GLenum name);

C Specification

const GLubyte* glGetStringi(GLenum  name,
 GLuint  index);

Parameters

name

+

Name

glGetString — return a string describing the current GL connection

C Specification

const GLubyte* glGetString(GLenum name);

C Specification

const GLubyte* glGetStringi(GLenum  name,
 GLuint  index);

Parameters

name

Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. @@ -68,4 +68,4 @@ Khronos Group. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glGetSync.xhtml b/gl3/glGetSync.xhtml index 2240e946..22293a3c 100644 --- a/gl3/glGetSync.xhtml +++ b/gl3/glGetSync.xhtml @@ -1,4 +1,4 @@ -

Name

glGetSynciv — query the properties of a sync object

C Specification

void glGetSynciv(GLsync sync,
 GLenum pname,
 GLsizei bufSize,
 GLsizei *length,
 GLint *values);
 

Parameters

sync

+

Name

glGetSynciv — query the properties of a sync object

C Specification

void glGetSynciv(GLsync sync,
 GLenum pname,
 GLsizei bufSize,
 GLsizei *length,
 GLint *values);
 

Parameters

sync

Specifies the sync object whose properties to query.

pname

Specifies the parameter whose value to retrieve from the sync object specified in sync. @@ -40,9 +40,9 @@ glWaitSync, glClientWaitSync



[1] flags is -

\ No newline at end of file +

diff --git a/gl3/glGetTexImage.xhtml b/gl3/glGetTexImage.xhtml index 4508027a..495fc6d9 100644 --- a/gl3/glGetTexImage.xhtml +++ b/gl3/glGetTexImage.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexImage — return a texture image

C Specification

void glGetTexImage(GLenum  target,
 GLint  level,
 GLenum  format,
 GLenum  type,
 GLvoid *  img);

Parameters

target

+

Name

glGetTexImage — return a texture image

C Specification

void glGetTexImage(GLenum  target,
 GLint  level,
 GLenum  format,
 GLenum  type,
 GLvoid *  img);

Parameters

target

Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, diff --git a/gl3/glGetTexLevelParameter.xhtml b/gl3/glGetTexLevelParameter.xhtml index 2adc42d3..fdcb994c 100644 --- a/gl3/glGetTexLevelParameter.xhtml +++ b/gl3/glGetTexLevelParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexLevelParameter — return texture parameter values for a specific level of detail

C Specification

void glGetTexLevelParameterfv(GLenum target,
 GLint level,
 GLenum pname,
 GLfloat * params);
 
void glGetTexLevelParameteriv(GLenum target,
 GLint level,
 GLenum pname,
 GLint * params);
 

Parameters

target

+

Name

glGetTexLevelParameter — return texture parameter values for a specific level of detail

C Specification

void glGetTexLevelParameterfv(GLenum target,
 GLint level,
 GLenum pname,
 GLfloat * params);
 
void glGetTexLevelParameteriv(GLenum target,
 GLint level,
 GLenum pname,
 GLint * params);
 

Parameters

target

Specifies the symbolic name of the target texture, one of GL_TEXTURE_1D, diff --git a/gl3/glGetTexParameter.xhtml b/gl3/glGetTexParameter.xhtml index b3881e56..43b79e08 100644 --- a/gl3/glGetTexParameter.xhtml +++ b/gl3/glGetTexParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTexParameter — return texture parameter values

C Specification

void glGetTexParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetTexParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);
void glGetTexParameterIiv(GLenum  target,
 GLenum  pname,
 GLint *  params);
void glGetTexParameterIuiv(GLenum  target,
 GLenum  pname,
 GLuint *  params);

Parameters

target

+

Name

glGetTexParameter — return texture parameter values

C Specification

void glGetTexParameterfv(GLenum  target,
 GLenum  pname,
 GLfloat *  params);
void glGetTexParameteriv(GLenum  target,
 GLenum  pname,
 GLint *  params);
void glGetTexParameterIiv(GLenum  target,
 GLenum  pname,
 GLint *  params);
void glGetTexParameterIuiv(GLenum  target,
 GLenum  pname,
 GLuint *  params);

Parameters

target

Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, diff --git a/gl3/glGetTransformFeedbackVarying.xhtml b/gl3/glGetTransformFeedbackVarying.xhtml index 5b36523b..83579f4d 100644 --- a/gl3/glGetTransformFeedbackVarying.xhtml +++ b/gl3/glGetTransformFeedbackVarying.xhtml @@ -1,4 +1,4 @@ -

Name

glGetTransformFeedbackVarying — retrieve information about varying variables selected for transform feedback

C Specification

void glGetTransformFeedbackVarying(GLuintprogram,
 GLuintindex,
 GLsizeibufSize,
 GLsizei *length,
 GLsizei *size,
 GLenum *type,
 char *name);
 

Parameters

program

+

Name

glGetTransformFeedbackVarying — retrieve information about varying variables selected for transform feedback

C Specification

void glGetTransformFeedbackVarying(GLuintprogram,
 GLuintindex,
 GLsizeibufSize,
 GLsizei *length,
 GLsizei *size,
 GLenum *type,
 char *name);
 

Parameters

program

The name of the target program object.

index

The index of the varying variable whose information to retrieve. @@ -60,7 +60,7 @@ glGetProgram

\ No newline at end of file +

diff --git a/gl3/glGetUniform.xhtml b/gl3/glGetUniform.xhtml index 6fb0dcf2..0e3732d9 100644 --- a/gl3/glGetUniform.xhtml +++ b/gl3/glGetUniform.xhtml @@ -1,4 +1,4 @@ -

Name

glGetUniform — Returns the value of a uniform variable

C Specification

void glGetUniformfv(GLuint  program,
 GLint  location,
 GLfloat * params);
void glGetUniformiv(GLuint  program,
 GLint  location,
 GLint * params);
void glGetUniformuiv(GLuint  program,
 GLint  location,
 GLuint * params);

Parameters

program

Specifies the program object to be +

Name

glGetUniform — Returns the value of a uniform variable

C Specification

void glGetUniformfv(GLuint  program,
 GLint  location,
 GLfloat * params);
void glGetUniformiv(GLuint  program,
 GLint  location,
 GLint * params);
void glGetUniformuiv(GLuint  program,
 GLint  location,
 GLuint * params);

Parameters

program

Specifies the program object to be queried.

location

Specifies the location of the uniform variable to be queried.

params

Returns the value of the specified uniform variable.

Description

glGetUniform returns in @@ -47,8 +47,8 @@

\ No newline at end of file +

diff --git a/gl3/glGetUniformBlockIndex.xhtml b/gl3/glGetUniformBlockIndex.xhtml index 3284d990..1418ac0f 100644 --- a/gl3/glGetUniformBlockIndex.xhtml +++ b/gl3/glGetUniformBlockIndex.xhtml @@ -1,4 +1,4 @@ -

Name

glGetUniformBlockIndex — retrieve the index of a named uniform block

C Specification

GLuint glGetUniformBlockIndex(GLuint program,
 const GLchar *uniformBlockName);
 

Parameters

program

+

Name

glGetUniformBlockIndex — retrieve the index of a named uniform block

C Specification

GLuint glGetUniformBlockIndex(GLuint program,
 const GLchar *uniformBlockName);
 

Parameters

program

Specifies the name of a program containing the uniform block.

uniformBlockName

Specifies the address an array of characters to containing the name of the uniform block whose index to retrieve. @@ -28,8 +28,8 @@ glGetActiveUniformBlock, glLinkProgram

\ No newline at end of file +

diff --git a/gl3/glGetUniformIndices.xhtml b/gl3/glGetUniformIndices.xhtml index 1996d493..57312f20 100644 --- a/gl3/glGetUniformIndices.xhtml +++ b/gl3/glGetUniformIndices.xhtml @@ -1,4 +1,4 @@ -

Name

glGetUniformIndices — retrieve the index of a named uniform block

C Specification

GLuint glGetUniformIndices(GLuint program,
 GLsizei uniformCount,
 const GLchar **uniformNames,
 GLuint *uniformIndices);
 

Parameters

program

+

Name

glGetUniformIndices — retrieve the index of a named uniform block

C Specification

GLuint glGetUniformIndices(GLuint program,
 GLsizei uniformCount,
 const GLchar **uniformNames,
 GLuint *uniformIndices);
 

Parameters

program

Specifies the name of a program containing uniforms whose indices to query.

uniformCount

Specifies the number of uniforms whose indices to query. @@ -36,8 +36,8 @@ glGetActiveUniformName, glLinkProgram

\ No newline at end of file +

diff --git a/gl3/glGetUniformLocation.xhtml b/gl3/glGetUniformLocation.xhtml index 4ea4c21b..9408c9ac 100644 --- a/gl3/glGetUniformLocation.xhtml +++ b/gl3/glGetUniformLocation.xhtml @@ -1,4 +1,4 @@ -

Name

glGetUniformLocation — Returns the location of a uniform variable

C Specification

GLint glGetUniformLocation(GLuint  program,
 const GLchar * name);

Parameters

program

Specifies the program object to be +

Name

glGetUniformLocation — Returns the location of a uniform variable

C Specification

GLint glGetUniformLocation(GLuint  program,
 const GLchar * name);

Parameters

program

Specifies the program object to be queried.

name

Points to a null terminated string containing the name of the uniform variable whose location is to be queried.

Description

glGetUniformLocation returns an @@ -52,8 +52,8 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl3/glGetVertexAttrib.xhtml b/gl3/glGetVertexAttrib.xhtml index 09a36fc0..c78b07ab 100644 --- a/gl3/glGetVertexAttrib.xhtml +++ b/gl3/glGetVertexAttrib.xhtml @@ -1,4 +1,4 @@ -

Name

glGetVertexAttrib — Return a generic vertex attribute parameter

C Specification

void glGetVertexAttribdv(GLuint  index,
 GLenum  pname,
 GLdouble * params);
void glGetVertexAttribfv(GLuint  index,
 GLenum  pname,
 GLfloat * params);
void glGetVertexAttribiv(GLuint  index,
 GLenum  pname,
 GLint * params);
void glGetVertexAttribIiv(GLuint  index,
 GLenum  pname,
 GLint * params);
void glGetVertexAttribIuiv(GLuint  index,
 GLenum  pname,
 GLuint * params);

Parameters

index

Specifies the generic vertex attribute +

Name

glGetVertexAttrib — Return a generic vertex attribute parameter

C Specification

void glGetVertexAttribdv(GLuint  index,
 GLenum  pname,
 GLdouble * params);
void glGetVertexAttribfv(GLuint  index,
 GLenum  pname,
 GLfloat * params);
void glGetVertexAttribiv(GLuint  index,
 GLenum  pname,
 GLint * params);
void glGetVertexAttribIiv(GLuint  index,
 GLenum  pname,
 GLint * params);
void glGetVertexAttribIuiv(GLuint  index,
 GLenum  pname,
 GLuint * params);

Parameters

index

Specifies the generic vertex attribute parameter to be queried.

pname

Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, @@ -16,8 +16,8 @@ to be queried is specified by pname.

The accepted parameter names are as follows:

GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

params returns a single value, the name of the buffer object currently bound to - the binding point corresponding to generic vertex attribute array - index. If no buffer object is bound, + the binding point corresponding to generic vertex attribute array + index. If no buffer object is bound, 0 is returned. The initial value is 0.

GL_VERTEX_ATTRIB_ARRAY_ENABLED

params returns a single value that is non-zero (true) if the vertex @@ -95,9 +95,9 @@ glVertexAttrib, glVertexAttribDivisor, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl3/glGetVertexAttribPointerv.xhtml b/gl3/glGetVertexAttribPointerv.xhtml index 5265d2e4..0e529f55 100644 --- a/gl3/glGetVertexAttribPointerv.xhtml +++ b/gl3/glGetVertexAttribPointerv.xhtml @@ -1,4 +1,4 @@ -

Name

glGetVertexAttribPointerv — return the address of the specified generic vertex attribute pointer

C Specification

void glGetVertexAttribPointerv(GLuint  index,
 GLenum  pname,
 GLvoid ** pointer);

Parameters

index

Specifies the generic vertex attribute +

Name

glGetVertexAttribPointerv — return the address of the specified generic vertex attribute pointer

C Specification

void glGetVertexAttribPointerv(GLuint  index,
 GLenum  pname,
 GLvoid ** pointer);

Parameters

index

Specifies the generic vertex attribute parameter to be returned.

pname

Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.

pointer

Returns the pointer value.

Description

glGetVertexAttribPointerv returns @@ -18,9 +18,9 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl3/glIsEnabled.xhtml b/gl3/glIsEnabled.xhtml index 665c6267..b64ffc91 100644 --- a/gl3/glIsEnabled.xhtml +++ b/gl3/glIsEnabled.xhtml @@ -1,4 +1,4 @@ -

Name

glIsEnabled, glIsEnabledi — test whether a capability is enabled

C Specification

GLboolean glIsEnabled(GLenum cap);

GLboolean glIsEnabledi(GLenum  cap,
 GLuint  index);

Parameters

cap

+

Name

glIsEnabled, glIsEnabledi — test whether a capability is enabled

C Specification

GLboolean glIsEnabled(GLenum cap);

GLboolean glIsEnabledi(GLenum  cap,
 GLuint  index);

Parameters

cap

Specifies a symbolic constant indicating a GL capability.

index

Specifies the index of the capability. @@ -12,7 +12,7 @@

The following capabilities are accepted for cap:

-

+

Constant See @@ -61,15 +61,15 @@ glPolygonMode
- GL_POLYGON_OFFSET_FILL + GL_POLYGON_OFFSET_FILL glPolygonOffset
- GL_POLYGON_OFFSET_LINE + GL_POLYGON_OFFSET_LINE glPolygonOffset
- GL_POLYGON_OFFSET_POINT + GL_POLYGON_OFFSET_POINT glPolygonOffset
@@ -77,7 +77,7 @@ glEnable
- GL_PRIMITIVE_RESTART + GL_PRIMITIVE_RESTART glEnable, glPrimitiveRestartIndex
@@ -129,4 +129,4 @@ Khronos Group. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glIsFramebuffer.xhtml b/gl3/glIsFramebuffer.xhtml index 580bee7a..3ba3a971 100644 --- a/gl3/glIsFramebuffer.xhtml +++ b/gl3/glIsFramebuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glIsFramebuffer — determine if a name corresponds to a framebuffer object

C Specification

GLboolean glIsFramebuffer(GLuint framebuffer);
 

Parameters

framebuffer

+

Name

glIsFramebuffer — determine if a name corresponds to a framebuffer object

C Specification

GLboolean glIsFramebuffer(GLuint framebuffer);
 

Parameters

framebuffer

Specifies a value that may be the name of a framebuffer object.

Description

glIsFramebuffer returns GL_TRUE if framebuffer is currently the name of a framebuffer @@ -14,8 +14,8 @@ glBindFramebuffer, glDeleteFramebuffers

\ No newline at end of file +

diff --git a/gl3/glIsRenderbuffer.xhtml b/gl3/glIsRenderbuffer.xhtml index a0e8fc22..4e335ac3 100644 --- a/gl3/glIsRenderbuffer.xhtml +++ b/gl3/glIsRenderbuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glIsRenderbuffer — determine if a name corresponds to a renderbuffer object

C Specification

GLboolean glIsRenderbuffer(GLuint renderbuffer);
 

Parameters

renderbuffer

+

Name

glIsRenderbuffer — determine if a name corresponds to a renderbuffer object

C Specification

GLboolean glIsRenderbuffer(GLuint renderbuffer);
 

Parameters

renderbuffer

Specifies a value that may be the name of a renderbuffer object.

Description

glIsRenderbuffer returns GL_TRUE if renderbuffer is currently the name of a renderbuffer @@ -15,8 +15,8 @@ glFramebufferRenderbuffer, glDeleteRenderbuffers

\ No newline at end of file +

diff --git a/gl3/glIsSampler.xhtml b/gl3/glIsSampler.xhtml index 58ebe9da..3ae1357e 100644 --- a/gl3/glIsSampler.xhtml +++ b/gl3/glIsSampler.xhtml @@ -1,4 +1,4 @@ -

Name

glIsSampler — determine if a name corresponds to a sampler object

C Specification

GLboolean glIsSampler(GLuint id);
 

Parameters

id

+

Name

glIsSampler — determine if a name corresponds to a sampler object

C Specification

GLboolean glIsSampler(GLuint id);
 

Parameters

id

Specifies a value that may be the name of a sampler object.

Description

glIsSampler returns GL_TRUE if id is currently the name of a sampler object. @@ -15,8 +15,8 @@ glBindSampler, glDeleteSamplers

\ No newline at end of file +

diff --git a/gl3/glIsSync.xhtml b/gl3/glIsSync.xhtml index a405723f..29eb704f 100644 --- a/gl3/glIsSync.xhtml +++ b/gl3/glIsSync.xhtml @@ -1,4 +1,4 @@ -

Name

glIsSync — determine if a name corresponds to a sync object

C Specification

GLboolean glIsSync(GLsync sync);
 

Parameters

sync

+

Name

glIsSync — determine if a name corresponds to a sync object

C Specification

GLboolean glIsSync(GLsync sync);
 

Parameters

sync

Specifies a value that may be the name of a sync object.

Description

glIsSync returns GL_TRUE if sync is currently the name of a sync object. @@ -14,8 +14,8 @@ glClientWaitSync, glDeleteSync

\ No newline at end of file +

diff --git a/gl3/glIsVertexArray.xhtml b/gl3/glIsVertexArray.xhtml index d863d62e..9f960e03 100644 --- a/gl3/glIsVertexArray.xhtml +++ b/gl3/glIsVertexArray.xhtml @@ -1,4 +1,4 @@ -

Name

glIsVertexArray — determine if a name corresponds to a vertex array object

C Specification

GLboolean glIsVertexArray(GLuint array);
 

Parameters

array

+

Name

glIsVertexArray — determine if a name corresponds to a vertex array object

C Specification

GLboolean glIsVertexArray(GLuint array);
 

Parameters

array

Specifies a value that may be the name of a vertex array object.

Description

glIsVertexArray returns GL_TRUE if array is currently the name of a renderbuffer @@ -14,8 +14,8 @@ glBindVertexArray, glDeleteVertexArrays

\ No newline at end of file +

diff --git a/gl3/glLineWidth.xhtml b/gl3/glLineWidth.xhtml index 9c1db9f0..38ef0d97 100644 --- a/gl3/glLineWidth.xhtml +++ b/gl3/glLineWidth.xhtml @@ -1,4 +1,4 @@ -

Name

glLineWidth — specify the width of rasterized lines

C Specification

void glLineWidth(GLfloat width);
 

Parameters

width

+

Name

glLineWidth — specify the width of rasterized lines

C Specification

void glLineWidth(GLfloat width);
 

Parameters

width

Specifies the width of rasterized lines. The initial value is 1.

Description

diff --git a/gl3/glLogicOp.xhtml b/gl3/glLogicOp.xhtml index facfd49c..0811f74b 100644 --- a/gl3/glLogicOp.xhtml +++ b/gl3/glLogicOp.xhtml @@ -28,7 +28,7 @@ using the symbolic constant GL_COLOR_LOGIC_OP. The initial value is disabled.

-

+

Opcode Resulting Operation @@ -132,4 +132,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glMapBuffer.xhtml b/gl3/glMapBuffer.xhtml index 37337a53..00537a1b 100644 --- a/gl3/glMapBuffer.xhtml +++ b/gl3/glMapBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glMapBuffer — map a buffer object's data store

C Specification

void * glMapBuffer(GLenum target,
 GLenum access);
 

Parameters

target

+

Name

glMapBuffer — map a buffer object's data store

C Specification

void * glMapBuffer(GLenum target,
 GLenum access);
 

Parameters

target

Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, @@ -14,7 +14,7 @@ Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. -

C Specification

GLboolean glUnmapBuffer(GLenum target);
 

Parameters

target

+

C Specification

GLboolean glUnmapBuffer(GLenum target);
 

Parameters

target

Specifies the target buffer object being unmapped. The symbolic constant must be GL_ARRAY_BUFFER, @@ -27,18 +27,18 @@ GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.

Description

- glMapBuffer maps to the client's address space the entire data store of the buffer object - currently bound to target. The data can then be directly read and/or written relative to + glMapBuffer maps to the client's address space the entire data store of the buffer object + currently bound to target. The data can then be directly read and/or written relative to the returned pointer, depending on the specified access policy. If the GL is unable to - map the buffer object's data store, glMapBuffer generates an error and returns + map the buffer object's data store, glMapBuffer generates an error and returns NULL. This may occur for system-specific reasons, such as low virtual memory availability.

If a mapped data store is accessed in a way inconsistent with the specified access policy, - no error is generated, but performance may be negatively impacted and system errors, including program - termination, may result. Unlike the usage parameter of glBufferData, + no error is generated, but performance may be negatively impacted and system errors, including program + termination, may result. Unlike the usage parameter of glBufferData, access is not a hint, and does in fact constrain the usage of the mapped data store on - some GL implementations. In order to achieve the highest performance available, a buffer object's data store - should be used in ways consistent with both its specified usage and + some GL implementations. In order to achieve the highest performance available, a buffer object's data store + should be used in ways consistent with both its specified usage and access parameters.

A mapped data store must be unmapped with glUnmapBuffer before its buffer object is used. @@ -49,7 +49,7 @@ memory, such as screen mode changes. In such situations, GL_FALSE is returned and the data store contents are undefined. An application must detect this rare condition and reinitialize the data store.

- A buffer object's mapped data store is automatically unmapped when the buffer object is deleted or its data store + A buffer object's mapped data store is automatically unmapped when the buffer object is deleted or its data store is recreated with glBufferData.

Notes

If an error is generated, glMapBuffer returns NULL, and @@ -69,11 +69,11 @@ GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.

- GL_INVALID_ENUM is generated if access is not + GL_INVALID_ENUM is generated if access is not GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE.

GL_OUT_OF_MEMORY is generated when glMapBuffer is executed - if the GL is unable to map the buffer object's data store. This may occur for a variety of system-specific + if the GL is unable to map the buffer object's data store. This may occur for a variety of system-specific reasons, such as the absence of sufficient remaining virtual memory.

GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target. @@ -95,8 +95,8 @@ glBufferSubData, glDeleteBuffers

\ No newline at end of file +

diff --git a/gl3/glMapBufferRange.xhtml b/gl3/glMapBufferRange.xhtml index ee093f5f..37f37aad 100644 --- a/gl3/glMapBufferRange.xhtml +++ b/gl3/glMapBufferRange.xhtml @@ -1,4 +1,4 @@ -

Name

glMapBufferRange — map a section of a buffer object's data store

C Specification

void *glMapBufferRange(GLenum target,
 GLintptr offset,
 GLsizeiptr length,
 GLbitfield access);
 

Parameters

target

+

Name

glMapBufferRange — map a section of a buffer object's data store

C Specification

void *glMapBufferRange(GLenum target,
 GLintptr offset,
 GLsizeiptr length,
 GLbitfield access);
 

Parameters

target

Specifies a binding to which the target buffer is bound.

offset

Specifies a the starting offset within the buffer of the range to be mapped. @@ -91,8 +91,8 @@ glFlushMappedBufferRange, glBindBuffer

\ No newline at end of file +

diff --git a/gl3/glMultiDrawArrays.xhtml b/gl3/glMultiDrawArrays.xhtml index bfe8cef7..33b300a8 100644 --- a/gl3/glMultiDrawArrays.xhtml +++ b/gl3/glMultiDrawArrays.xhtml @@ -1,4 +1,4 @@ -

Name

glMultiDrawArrays — render multiple sets of primitives from array data

C Specification

void glMultiDrawArrays(GLenum  mode,
 const GLint *  first,
 const GLsizei *  count,
 GLsizei  primcount);

Parameters

mode

+

Name

glMultiDrawArrays — render multiple sets of primitives from array data

C Specification

void glMultiDrawArrays(GLenum  mode,
 const GLint *  first,
 const GLsizei *  count,
 GLsizei  primcount);

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -63,4 +63,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glMultiDrawElements.xhtml b/gl3/glMultiDrawElements.xhtml index 478256d8..f9b278a2 100644 --- a/gl3/glMultiDrawElements.xhtml +++ b/gl3/glMultiDrawElements.xhtml @@ -1,4 +1,4 @@ -

Name

glMultiDrawElements — render multiple sets of primitives by specifying indices of array data elements

C Specification

void glMultiDrawElements(GLenum mode,
 const GLsizei * count,
 GLenum type,
 const GLvoid ** indices,
 GLsizei primcount);
 

Parameters

mode

+

Name

glMultiDrawElements — render multiple sets of primitives by specifying indices of array data elements

C Specification

void glMultiDrawElements(GLenum mode,
 const GLsizei * count,
 GLenum type,
 const GLvoid ** indices,
 GLsizei primcount);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -57,4 +57,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glMultiDrawElementsBaseVertex.xhtml b/gl3/glMultiDrawElementsBaseVertex.xhtml index fe9bd1d2..abedbed0 100644 --- a/gl3/glMultiDrawElementsBaseVertex.xhtml +++ b/gl3/glMultiDrawElementsBaseVertex.xhtml @@ -1,4 +1,4 @@ -

Name

glMultiDrawElementsBaseVertex — render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index

C Specification

void glMultiDrawElementsBaseVertex(GLenum mode,
 const GLsizei *count,
 GLenum type,
 const GLvoid **indices,
 GLsizei primcount,
 GLint *basevertex);
 

Parameters

mode

+

Name

glMultiDrawElementsBaseVertex — render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index

C Specification

void glMultiDrawElementsBaseVertex(GLenum mode,
 const GLsizei *count,
 GLenum type,
 const GLvoid **indices,
 GLsizei primcount,
 GLint *basevertex);
 

Parameters

mode

Specifies what kind of primitives to render. Symbolic constants GL_POINTS, @@ -60,8 +60,8 @@ glDrawArrays, glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl3/glPixelStore.xhtml b/gl3/glPixelStore.xhtml index 24291608..78edb463 100644 --- a/gl3/glPixelStore.xhtml +++ b/gl3/glPixelStore.xhtml @@ -1,4 +1,4 @@ -

Name

glPixelStore — set pixel storage modes

C Specification

void glPixelStoref(GLenum pname,
 GLfloat param);
 
void glPixelStorei(GLenum pname,
 GLint param);
 

Parameters

pname

+

Name

glPixelStore — set pixel storage modes

C Specification

void glPixelStoref(GLenum pname,
 GLfloat param);
 
void glPixelStorei(GLenum pname,
 GLint param);
 

Parameters

pname

Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, @@ -860,7 +860,7 @@ and range of valid values for each storage parameter that can be set with glPixelStore.

-

+

pname Type diff --git a/gl3/glPointParameter.xhtml b/gl3/glPointParameter.xhtml index aedf0b8f..1f56f41c 100644 --- a/gl3/glPointParameter.xhtml +++ b/gl3/glPointParameter.xhtml @@ -1,11 +1,11 @@ -

Name

glPointParameter — specify point parameters

C Specification

void glPointParameterf(GLenum  pname,
 GLfloat  param);

void glPointParameteri(GLenum  pname,
 GLint  param);

Parameters

pname

+

Name

glPointParameter — specify point parameters

C Specification

void glPointParameterf(GLenum  pname,
 GLfloat  param);

void glPointParameteri(GLenum  pname,
 GLint  param);

Parameters

pname

Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.

param

Specifies the value that pname will be set to. -

C Specification

void glPointParameterfv(GLenum  pname,
 const GLfloat *  params);

void glPointParameteriv(GLenum  pname,
 const GLint *  params);

Parameters

pname

+

C Specification

void glPointParameterfv(GLenum  pname,
 const GLfloat *  params);

void glPointParameteriv(GLenum  pname,
 const GLint *  params);

Parameters

pname

Specifies a point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN @@ -21,7 +21,7 @@ default value is 1.0.

GL_POINT_SPRITE_COORD_ORIGIN

- params is a single enum specifying the point sprite texture coordinate origin, either GL_LOWER_LEFT or GL_UPPER_LEFT. + params is a single enum specifying the point sprite texture coordinate origin, either GL_LOWER_LEFT or GL_UPPER_LEFT. The default value is GL_UPPER_LEFT.

Errors

GL_INVALID_VALUE is generated if the value specified for @@ -43,4 +43,4 @@ Khronos Group. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glPointSize.xhtml b/gl3/glPointSize.xhtml index 5913281b..96f3e89e 100644 --- a/gl3/glPointSize.xhtml +++ b/gl3/glPointSize.xhtml @@ -1,4 +1,4 @@ -

Name

glPointSize — specify the diameter of rasterized points

C Specification

void glPointSize(GLfloat size);
 

Parameters

size

+

Name

glPointSize — specify the diameter of rasterized points

C Specification

void glPointSize(GLfloat size);
 

Parameters

size

Specifies the diameter of rasterized points. The initial value is 1.

Description

@@ -31,4 +31,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glPolygonMode.xhtml b/gl3/glPolygonMode.xhtml index 70f68547..bd16d6db 100644 --- a/gl3/glPolygonMode.xhtml +++ b/gl3/glPolygonMode.xhtml @@ -1,4 +1,4 @@ -

Name

glPolygonMode — select a polygon rasterization mode

C Specification

void glPolygonMode(GLenum face,
 GLenum mode);
 

Parameters

face

+

Name

glPolygonMode — select a polygon rasterization mode

C Specification

void glPolygonMode(GLenum face,
 GLenum mode);
 

Parameters

face

Specifies the polygons that mode applies to. Must be GL_FRONT_AND_BACK for front- and back-facing polygons.

mode

@@ -59,4 +59,4 @@ glPolygonMode(GL_FRONT_AND_BACK, http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glPolygonOffset.xhtml b/gl3/glPolygonOffset.xhtml index 42f45c88..9142e26a 100644 --- a/gl3/glPolygonOffset.xhtml +++ b/gl3/glPolygonOffset.xhtml @@ -1,4 +1,4 @@ -

Name

glPolygonOffset — set the scale and units used to calculate depth values

C Specification

void glPolygonOffset(GLfloat  factor,
 GLfloat  units);

Parameters

factor

+

Name

glPolygonOffset — set the scale and units used to calculate depth values

C Specification

void glPolygonOffset(GLfloat  factor,
 GLfloat  units);

Parameters

factor

Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.

units

diff --git a/gl3/glPrimitiveRestartIndex.xhtml b/gl3/glPrimitiveRestartIndex.xhtml index 6c3fda77..e6dba196 100644 --- a/gl3/glPrimitiveRestartIndex.xhtml +++ b/gl3/glPrimitiveRestartIndex.xhtml @@ -1,4 +1,4 @@ -

Name

glPrimitiveRestartIndex — specify the primitive restart index

C Specification

void glPrimitiveRestartIndex(GLuint index);
 

Parameters

index

+

Name

glPrimitiveRestartIndex — specify the primitive restart index

C Specification

void glPrimitiveRestartIndex(GLuint index);
 

Parameters

index

Specifies the value to be interpreted as the primitive restart index.

Description

glPrimitiveRestartIndex specifies a vertex array element that is treated specially when @@ -25,8 +25,8 @@ glDrawElementsBaseVertex, glDrawElementsInstancedBaseVertex

\ No newline at end of file +

diff --git a/gl3/glProvokingVertex.xhtml b/gl3/glProvokingVertex.xhtml index f57aa34b..7e18df2f 100644 --- a/gl3/glProvokingVertex.xhtml +++ b/gl3/glProvokingVertex.xhtml @@ -1,4 +1,4 @@ -

Name

glProvokingVertex — specifiy the vertex to be used as the source of data for flat shaded varyings

C Specification

void glProvokingVertex(GLenum provokeMode);
 

Parameters

provokeMode

+

Name

glProvokingVertex — specifiy the vertex to be used as the source of data for flat shaded varyings

C Specification

void glProvokingVertex(GLenum provokeMode);
 

Parameters

provokeMode

Specifies the vertex to be used as the source of data for flat shaded varyings.

Description

Flatshading a vertex shader varying output means to assign all vetices of the primitive the same value @@ -8,7 +8,7 @@ provokeMode must be either GL_FIRST_VERTEX_CONVENTION or GL_LAST_VERTEX_CONVENTION, and controls the selection of the vertex whose values are assigned to flatshaded varying outputs. The interpretation of these values for the supported primitive types is: -

+

Primitive Type of Polygon i First Vertex Convention @@ -94,8 +94,8 @@

Errors

GL_INVALID_ENUM is generated if provokeMode is not an accepted value.

\ No newline at end of file +

diff --git a/gl3/glQueryCounter.xhtml b/gl3/glQueryCounter.xhtml index 7758d5df..d8d0e08f 100644 --- a/gl3/glQueryCounter.xhtml +++ b/gl3/glQueryCounter.xhtml @@ -1,4 +1,4 @@ -

Name

glQueryCounter — record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed.

C Specification

void glQueryCounter(GLuint id,
 GLenum target);
 

Parameters

id

+

Name

glQueryCounter — record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed.

C Specification

void glQueryCounter(GLuint id,
 GLenum target);
 

Parameters

id

Specify the name of a query object into which to record the GL time.

target

Specify the counter to query. target must be GL_TIMESTAMP. @@ -31,8 +31,8 @@ glGetQueryiv, glGet

\ No newline at end of file +

diff --git a/gl3/glReadPixels.xhtml b/gl3/glReadPixels.xhtml index 71e2afdf..f1a75923 100644 --- a/gl3/glReadPixels.xhtml +++ b/gl3/glReadPixels.xhtml @@ -1,4 +1,4 @@ -

Name

glReadPixels — read a block of pixels from the frame buffer

C Specification

void glReadPixels(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 GLvoid * data);
 

Parameters

x, y

+

Name

glReadPixels — read a block of pixels from the frame buffer

C Specification

void glReadPixels(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 GLvoid * data);
 

Parameters

x, y

Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. @@ -152,7 +152,7 @@ (or converted to the client's single-precision floating-point format if it is different from the one used by the GL).

-

+

type Index Mask diff --git a/gl3/glRenderbufferStorage.xhtml b/gl3/glRenderbufferStorage.xhtml index 75192bac..af12e16e 100644 --- a/gl3/glRenderbufferStorage.xhtml +++ b/gl3/glRenderbufferStorage.xhtml @@ -1,4 +1,4 @@ -

Name

glRenderbufferStorage — establish data storage, format and dimensions of a renderbuffer object's image

C Specification

void glRenderbufferStorage(GLenum target,
 GLenum internalformat,
 GLsizei width,
 GLsizei height);
 

Parameters

target

+

Name

glRenderbufferStorage — establish data storage, format and dimensions of a renderbuffer object's image

C Specification

void glRenderbufferStorage(GLenum target,
 GLenum internalformat,
 GLsizei width,
 GLsizei height);
 

Parameters

target

Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.

internalformat

Specifies the internal format to use for the renderbuffer object's image. @@ -39,8 +39,8 @@ glFramebufferRenderbuffer, glDeleteRenderbuffers

\ No newline at end of file +

diff --git a/gl3/glRenderbufferStorageMultisample.xhtml b/gl3/glRenderbufferStorageMultisample.xhtml index 234ff34e..41dd7569 100644 --- a/gl3/glRenderbufferStorageMultisample.xhtml +++ b/gl3/glRenderbufferStorageMultisample.xhtml @@ -1,4 +1,4 @@ -

Name

glRenderbufferStorageMultisample — establish data storage, format, dimensions and sample count of a renderbuffer object's image

C Specification

void glRenderbufferStorageMultisample(GLenum target,
 GLsizei samples,
 GLenum internalformat,
 GLsizei width,
 GLsizei height);
 

Parameters

target

+

Name

glRenderbufferStorageMultisample — establish data storage, format, dimensions and sample count of a renderbuffer object's image

C Specification

void glRenderbufferStorageMultisample(GLenum target,
 GLsizei samples,
 GLenum internalformat,
 GLsizei width,
 GLsizei height);
 

Parameters

target

Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.

samples

Specifies the number of samples to be used for the renderbuffer object's storage. @@ -48,8 +48,8 @@ glFramebufferRenderbuffer, glDeleteRenderbuffers

\ No newline at end of file +

diff --git a/gl3/glSampleCoverage.xhtml b/gl3/glSampleCoverage.xhtml index cbd7bc1c..845eb2a5 100644 --- a/gl3/glSampleCoverage.xhtml +++ b/gl3/glSampleCoverage.xhtml @@ -1,4 +1,4 @@ -

Name

glSampleCoverage — specify multisample coverage parameters

C Specification

void glSampleCoverage(GLclampf  value,
 GLboolean  invert);

Parameters

value

+

Name

glSampleCoverage — specify multisample coverage parameters

C Specification

void glSampleCoverage(GLclampf  value,
 GLboolean  invert);

Parameters

value

Specify a single floating-point sample coverage value. The value is clamped to the range diff --git a/gl3/glSampleMaski.xhtml b/gl3/glSampleMaski.xhtml index 21570771..ad4d1bef 100644 --- a/gl3/glSampleMaski.xhtml +++ b/gl3/glSampleMaski.xhtml @@ -1,4 +1,4 @@ -

Name

glSampleMaski — set the value of a sub-word of the sample mask

C Specification

void glSampleMaski(GLuint maskNumber,
 GLbitfield mask);
 

Parameters

maskNumber

+

Name

glSampleMaski — set the value of a sub-word of the sample mask

C Specification

void glSampleMaski(GLuint maskNumber,
 GLbitfield mask);
 

Parameters

maskNumber

Specifies which 32-bit sub-word of the sample mask to update.

mask

Specifies the new value of the mask sub-word. @@ -24,8 +24,8 @@ glFramebufferRenderbuffer, glDeleteRenderbuffers

\ No newline at end of file +

diff --git a/gl3/glSamplerParameter.xhtml b/gl3/glSamplerParameter.xhtml index b1d458af..e411cc42 100644 --- a/gl3/glSamplerParameter.xhtml +++ b/gl3/glSamplerParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glSamplerParameter — set sampler parameters

C Specification

void glSamplerParameterf(GLuint sampler,
 GLenum pname,
 GLfloat param);
 
void glSamplerParameteri(GLuint sampler,
 GLenum pname,
 GLint param);
 

Parameters

sampler

+

Name

glSamplerParameter — set sampler parameters

C Specification

void glSamplerParameterf(GLuint sampler,
 GLenum pname,
 GLfloat param);
 
void glSamplerParameteri(GLuint sampler,
 GLenum pname,
 GLint param);
 

Parameters

sampler

Specifies the sampler object whose parameter to modify.

pname

Specifies the symbolic name of a single-valued sampler parameter. @@ -15,7 +15,7 @@ GL_TEXTURE_COMPARE_FUNC.

param

Specifies the value of pname. -

C Specification

void glSamplerParameterfv(GLuint sampler,
 GLenum pname,
 const GLfloat * params);
 
void glSamplerParameteriv(GLuint sampler,
 GLenum pname,
 const GLint * params);
 
void glSamplerParameterIiv(GLuint sampler,
 GLenum pname,
 const GLint * params);
 
void glSamplerParameterIuiv(GLuint sampler,
 GLenum pname,
 const GLuint * params);
 

Parameters

sampler

+

C Specification

void glSamplerParameterfv(GLuint sampler,
 GLenum pname,
 const GLfloat * params);
 
void glSamplerParameteriv(GLuint sampler,
 GLenum pname,
 const GLint * params);
 
void glSamplerParameterIiv(GLuint sampler,
 GLenum pname,
 const GLint * params);
 
void glSamplerParameterIuiv(GLuint sampler,
 GLenum pname,
 const GLuint * params);
 

Parameters

sampler

Specifies the sampler object whose parameter to modify.

pname

Specifies the symbolic name of a sampler parameter. @@ -464,7 +464,7 @@

GL_TEXTURE_COMPARE_FUNC

Specifies the comparison operator used when GL_TEXTURE_COMPARE_MODE is set to GL_COMPARE_REF_TO_TEXTURE. Permissible values are: -

+

Texture Comparison Function Computed result diff --git a/gl3/glScissor.xhtml b/gl3/glScissor.xhtml index 5de5fe80..ec3f6464 100644 --- a/gl3/glScissor.xhtml +++ b/gl3/glScissor.xhtml @@ -1,4 +1,4 @@ -

Name

glScissor — define the scissor box

C Specification

void glScissor(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

+

Name

glScissor — define the scissor box

C Specification

void glScissor(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

Specify the lower left corner of the scissor box. Initially (0, 0).

width, height

@@ -41,4 +41,4 @@ Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. -

\ No newline at end of file +

diff --git a/gl3/glShaderSource.xhtml b/gl3/glShaderSource.xhtml index 4318fe77..c361ec2a 100644 --- a/gl3/glShaderSource.xhtml +++ b/gl3/glShaderSource.xhtml @@ -1,4 +1,4 @@ -

Name

glShaderSource — Replaces the source code in a shader object

C Specification

void glShaderSource(GLuint shader,
 GLsizei count,
 const GLchar **string,
 const GLint *length);
 

Parameters

shader

Specifies the handle of the shader object +

Name

glShaderSource — Replaces the source code in a shader object

C Specification

void glShaderSource(GLuint shader,
 GLsizei count,
 const GLchar **string,
 const GLint *length);
 

Parameters

shader

Specifies the handle of the shader object whose source code is to be replaced.

count

Specifies the number of elements in the string and length @@ -33,8 +33,8 @@ with argument shader

glIsShader

\ No newline at end of file +

diff --git a/gl3/glStencilFunc.xhtml b/gl3/glStencilFunc.xhtml index a66f65e9..1c5536da 100644 --- a/gl3/glStencilFunc.xhtml +++ b/gl3/glStencilFunc.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilFunc — set front and back function and reference value for stencil testing

C Specification

void glStencilFunc(GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

func

+

Name

glStencilFunc — set front and back function and reference value for stencil testing

C Specification

void glStencilFunc(GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

func

Specifies the test function. Eight symbolic constants are valid: GL_NEVER, diff --git a/gl3/glStencilFuncSeparate.xhtml b/gl3/glStencilFuncSeparate.xhtml index a79bcaa1..252bb4ce 100644 --- a/gl3/glStencilFuncSeparate.xhtml +++ b/gl3/glStencilFuncSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilFuncSeparate — set front and/or back function and reference value for stencil testing

C Specification

void glStencilFuncSeparate(GLenum face,
 GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

face

+

Name

glStencilFuncSeparate — set front and/or back function and reference value for stencil testing

C Specification

void glStencilFuncSeparate(GLenum face,
 GLenum func,
 GLint ref,
 GLuint mask);
 

Parameters

face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/gl3/glStencilMaskSeparate.xhtml b/gl3/glStencilMaskSeparate.xhtml index 37246290..f5ddf607 100644 --- a/gl3/glStencilMaskSeparate.xhtml +++ b/gl3/glStencilMaskSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilMaskSeparate — control the front and/or back writing of individual bits in the stencil planes

C Specification

void glStencilMaskSeparate(GLenum  face,
 GLuint  mask);

Parameters

face

+

Name

glStencilMaskSeparate — control the front and/or back writing of individual bits in the stencil planes

C Specification

void glStencilMaskSeparate(GLenum  face,
 GLuint  mask);

Parameters

face

Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/gl3/glStencilOp.xhtml b/gl3/glStencilOp.xhtml index d5d6541a..0db1e5a8 100644 --- a/gl3/glStencilOp.xhtml +++ b/gl3/glStencilOp.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilOp — set front and back stencil test actions

C Specification

void glStencilOp(GLenum  sfail,
 GLenum  dpfail,
 GLenum  dppass);

Parameters

sfail

+

Name

glStencilOp — set front and back stencil test actions

C Specification

void glStencilOp(GLenum  sfail,
 GLenum  dpfail,
 GLenum  dppass);

Parameters

sfail

Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, diff --git a/gl3/glStencilOpSeparate.xhtml b/gl3/glStencilOpSeparate.xhtml index f96359d0..4f46be36 100644 --- a/gl3/glStencilOpSeparate.xhtml +++ b/gl3/glStencilOpSeparate.xhtml @@ -1,4 +1,4 @@ -

Name

glStencilOpSeparate — set front and/or back stencil test actions

C Specification

void glStencilOpSeparate(GLenum face,
 GLenum sfail,
 GLenum dpfail,
 GLenum dppass);
 

Parameters

face

+

Name

glStencilOpSeparate — set front and/or back stencil test actions

C Specification

void glStencilOpSeparate(GLenum face,
 GLenum sfail,
 GLenum dpfail,
 GLenum dppass);
 

Parameters

face

Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, diff --git a/gl3/glTexBuffer.xhtml b/gl3/glTexBuffer.xhtml index ef647f11..4e8369c7 100644 --- a/gl3/glTexBuffer.xhtml +++ b/gl3/glTexBuffer.xhtml @@ -1,4 +1,4 @@ -

Name

glTexBuffer — attach the storage for a buffer object to the active buffer texture

C Specification

void glTexBuffer(GLenum target,
 GLenum internalFormat,
 GLuint buffer);
 

Parameters

target

+

Name

glTexBuffer — attach the storage for a buffer object to the active buffer texture

C Specification

void glTexBuffer(GLenum target,
 GLenum internalFormat,
 GLuint buffer);
 

Parameters

target

Specifies the target of the operation and must be GL_TEXTURE_BUFFER.

internalFormat

Specifies the internal format of the data in the store belonging to buffer. @@ -10,7 +10,7 @@ is zero, any buffer object attached to the buffer texture is detached and no new buffer object is attached. If buffer is non-zero, it must be the name of an existing buffer object. target must be GL_TEXTURE_BUFFER. internalformat specifies the storage format, and must be one of the following sized internal formats: -

     +

     Component
Sized Internal FormatBase TypeComponentsNorm0123
GL_R8ubyte1YESR001
GL_R16ushort1YESR001
GL_R16Fhalf1NOR001
GL_R32Ffloat1NOR001
GL_R8Ibyte1NOR001
GL_R16Ishort1NOR001
GL_R32Iint1NOR001
GL_R8UIubyte1NOR001
GL_R16UIushort1NOR001
GL_R32UIuint1NOR001
GL_RG8ubyte2YESRG01
GL_RG16ushort2YESRG01
GL_RG16Fhalf2NORG01
GL_RG32Ffloat2NORG01
GL_RG8Ibyte2NORG01
GL_RG16Ishort2NORG01
GL_RG32Iint2NORG01
GL_RG8UIubyte2NORG01
GL_RG16UIushort2NORG01
GL_RG32UIuint2NORG01
GL_RGBA8uint4YESRGBA
GL_RGBA16short4YESRGBA
GL_RGBA16Fhalf4NORGBA
GL_RGBA32Ffloat4NORGBA
GL_RGBA8Ibyte4NORGBA
GL_RGBA16Ishort4NORGBA
GL_RGBA32Iint4NORGBA
GL_RGBA8UIubyte4NORGBA
GL_RGBA16UIushort4NORGBA
GL_RGBA32UIuint4NORGBA

When a buffer object is attached to a buffer texture, the buffer object's data store diff --git a/gl3/glTexImage1D.xhtml b/gl3/glTexImage1D.xhtml index 3472946c..f5a6e16b 100644 --- a/gl3/glTexImage1D.xhtml +++ b/gl3/glTexImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage1D — specify a one-dimensional texture image

C Specification

void glTexImage1D(GLenum target,
 GLint level,
 GLint internalFormat,
 GLsizei width,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

+

Name

glTexImage1D — specify a one-dimensional texture image

C Specification

void glTexImage1D(GLenum target,
 GLint level,
 GLint internalFormat,
 GLsizei width,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. diff --git a/gl3/glTexImage2D.xhtml b/gl3/glTexImage2D.xhtml index cadd1666..eef5396b 100644 --- a/gl3/glTexImage2D.xhtml +++ b/gl3/glTexImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage2D — specify a two-dimensional texture image

C Specification

void glTexImage2D(GLenum target,
 GLint level,
 GLint internalFormat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

+

Name

glTexImage2D — specify a two-dimensional texture image

C Specification

void glTexImage2D(GLenum target,
 GLint level,
 GLint internalFormat,
 GLsizei width,
 GLsizei height,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, diff --git a/gl3/glTexImage2DMultisample.xhtml b/gl3/glTexImage2DMultisample.xhtml index 2dc175e7..355a377c 100644 --- a/gl3/glTexImage2DMultisample.xhtml +++ b/gl3/glTexImage2DMultisample.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage2DMultisample — establish the data storage, format, dimensions, and number of samples of a multisample texture's image

C Specification

void glTexImage2DMultisample(GLenum target,
 GLsizei samples,
 GLint internalformat,
 GLsizei width,
 GLsizei height,
 GLboolean fixedsamplelocations);
 

Parameters

target

+

Name

glTexImage2DMultisample — establish the data storage, format, dimensions, and number of samples of a multisample texture's image

C Specification

void glTexImage2DMultisample(GLenum target,
 GLsizei samples,
 GLint internalformat,
 GLsizei width,
 GLsizei height,
 GLboolean fixedsamplelocations);
 

Parameters

target

Specifies the target of the operation. target must be GL_TEXTURE_2D_MULTISAMPLE or GL_PROXY_TEXTURE_2D_MULTISAMPLE.

samples

The number of samples in the multisample texture's image. @@ -48,8 +48,8 @@ glTexImage3D, glTexImage2DMultisample

\ No newline at end of file +

diff --git a/gl3/glTexImage3D.xhtml b/gl3/glTexImage3D.xhtml index d66eee40..1623978c 100644 --- a/gl3/glTexImage3D.xhtml +++ b/gl3/glTexImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage3D — specify a three-dimensional texture image

C Specification

void glTexImage3D(GLenum target,
 GLint level,
 GLint internalFormat,
 GLsizei width,
 GLsizei height,
 GLsizei depth,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

+

Name

glTexImage3D — specify a three-dimensional texture image

C Specification

void glTexImage3D(GLenum target,
 GLint level,
 GLint internalFormat,
 GLsizei width,
 GLsizei height,
 GLsizei depth,
 GLint border,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture. Must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, diff --git a/gl3/glTexImage3DMultisample.xhtml b/gl3/glTexImage3DMultisample.xhtml index 66e1f17b..4b9fd99f 100644 --- a/gl3/glTexImage3DMultisample.xhtml +++ b/gl3/glTexImage3DMultisample.xhtml @@ -1,4 +1,4 @@ -

Name

glTexImage3DMultisample — establish the data storage, format, dimensions, and number of samples of a multisample texture's image

C Specification

void glTexImage3DMultisample(GLenum target,
 GLsizei samples,
 GLint internalformat,
 GLsizei width,
 GLsizei height,
 GLsizei depth,
 GLboolean fixedsamplelocations);
 

Parameters

target

+

Name

glTexImage3DMultisample — establish the data storage, format, dimensions, and number of samples of a multisample texture's image

C Specification

void glTexImage3DMultisample(GLenum target,
 GLsizei samples,
 GLint internalformat,
 GLsizei width,
 GLsizei height,
 GLsizei depth,
 GLboolean fixedsamplelocations);
 

Parameters

target

Specifies the target of the operation. target must be GL_TEXTURE_2D_MULTISAMPLE_ARRAY or GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY.

samples

The number of samples in the multisample texture's image. @@ -50,8 +50,8 @@ glTexImage3D, glTexImage2DMultisample

\ No newline at end of file +

diff --git a/gl3/glTexParameter.xhtml b/gl3/glTexParameter.xhtml index e31a8fe9..c5c4e520 100644 --- a/gl3/glTexParameter.xhtml +++ b/gl3/glTexParameter.xhtml @@ -1,4 +1,4 @@ -

Name

glTexParameter — set texture parameters

C Specification

void glTexParameterf(GLenum  target,
 GLenum  pname,
 GLfloat  param);
void glTexParameteri(GLenum  target,
 GLenum  pname,
 GLint  param);

Parameters

target

+

Name

glTexParameter — set texture parameters

C Specification

void glTexParameterf(GLenum  target,
 GLenum  pname,
 GLfloat  param);
void glTexParameteri(GLenum  target,
 GLenum  pname,
 GLint  param);

Parameters

target

Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, @@ -25,7 +25,7 @@ GL_TEXTURE_WRAP_R.

param

Specifies the value of pname. -

C Specification

void glTexParameterfv(GLenum  target,
 GLenum  pname,
 const GLfloat *  params);
void glTexParameteriv(GLenum  target,
 GLenum  pname,
 const GLint *  params);
void glTexParameterIiv(GLenum  target,
 GLenum  pname,
 const GLint *  params);
void glTexParameterIuiv(GLenum  target,
 GLenum  pname,
 const GLuint *  params);

Parameters

target

+

C Specification

void glTexParameterfv(GLenum  target,
 GLenum  pname,
 const GLfloat *  params);
void glTexParameteriv(GLenum  target,
 GLenum  pname,
 const GLint *  params);
void glTexParameterIiv(GLenum  target,
 GLenum  pname,
 const GLint *  params);
void glTexParameterIuiv(GLenum  target,
 GLenum  pname,
 const GLuint *  params);

Parameters

target

Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, @@ -113,7 +113,7 @@

GL_TEXTURE_COMPARE_FUNC

Specifies the comparison operator used when GL_TEXTURE_COMPARE_MODE is set to GL_COMPARE_REF_TO_TEXTURE. Permissible values are: -

+

Texture Comparison Function Computed result diff --git a/gl3/glTexSubImage1D.xhtml b/gl3/glTexSubImage1D.xhtml index 7413c433..9fd80113 100644 --- a/gl3/glTexSubImage1D.xhtml +++ b/gl3/glTexSubImage1D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexSubImage1D — specify a one-dimensional texture subimage

C Specification

void glTexSubImage1D(GLenum target,
 GLint level,
 GLint xoffset,
 GLsizei width,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

+

Name

glTexSubImage1D — specify a one-dimensional texture subimage

C Specification

void glTexSubImage1D(GLenum target,
 GLint level,
 GLint xoffset,
 GLsizei width,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_1D. diff --git a/gl3/glTexSubImage2D.xhtml b/gl3/glTexSubImage2D.xhtml index 5ee48ad4..18ce1fa1 100644 --- a/gl3/glTexSubImage2D.xhtml +++ b/gl3/glTexSubImage2D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexSubImage2D — specify a two-dimensional texture subimage

C Specification

void glTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

+

Name

glTexSubImage2D — specify a two-dimensional texture subimage

C Specification

void glTexSubImage2D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLsizei width,
 GLsizei height,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_2D, diff --git a/gl3/glTexSubImage3D.xhtml b/gl3/glTexSubImage3D.xhtml index 36412fe4..f333e4d6 100644 --- a/gl3/glTexSubImage3D.xhtml +++ b/gl3/glTexSubImage3D.xhtml @@ -1,4 +1,4 @@ -

Name

glTexSubImage3D — specify a three-dimensional texture subimage

C Specification

void glTexSubImage3D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint zoffset,
 GLsizei width,
 GLsizei height,
 GLsizei depth,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

+

Name

glTexSubImage3D — specify a three-dimensional texture subimage

C Specification

void glTexSubImage3D(GLenum target,
 GLint level,
 GLint xoffset,
 GLint yoffset,
 GLint zoffset,
 GLsizei width,
 GLsizei height,
 GLsizei depth,
 GLenum format,
 GLenum type,
 const GLvoid * data);
 

Parameters

target

Specifies the target texture. Must be GL_TEXTURE_3D or GL_TEXTURE_2D_ARRAY. diff --git a/gl3/glTransformFeedbackVaryings.xhtml b/gl3/glTransformFeedbackVaryings.xhtml index c060760b..25401b39 100644 --- a/gl3/glTransformFeedbackVaryings.xhtml +++ b/gl3/glTransformFeedbackVaryings.xhtml @@ -1,4 +1,4 @@ -

Name

glTransformFeedbackVaryings — specify values to record in transform feedback buffers

C Specification

void glTransformFeedbackVaryings(GLuintprogram,
 GLsizeicount,
 const char **varyings,
 GLenumbufferMode);
 

Parameters

program

+

Name

glTransformFeedbackVaryings — specify values to record in transform feedback buffers

C Specification

void glTransformFeedbackVaryings(GLuintprogram,
 GLsizeicount,
 const char **varyings,
 GLenumbufferMode);
 

Parameters

program

The name of the target program object.

count

The number of varying variables used for transform feedback. @@ -59,8 +59,8 @@ glEndTransformFeedback, glGetTransformFeedbackVarying

\ No newline at end of file +

diff --git a/gl3/glUniform.xhtml b/gl3/glUniform.xhtml index 3f6f5687..5934f86f 100644 --- a/gl3/glUniform.xhtml +++ b/gl3/glUniform.xhtml @@ -1,18 +1,18 @@ -

Name

glUniform — Specify the value of a uniform variable for the current program object

C Specification

void glUniform1f(GLint location, GLfloat v0);

void glUniform2f(GLint  location,
 GLfloat  v0,
 GLfloat  v1);
void glUniform3f(GLint  location,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2);
void glUniform4f(GLint  location,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2,
 GLfloat  v3);

void glUniform1i(GLint location, GLint v0);

void glUniform2i(GLint  location,
 GLint  v0,
 GLint  v1);
void glUniform3i(GLint  location,
 GLint  v0,
 GLint  v1,
 GLint  v2);
void glUniform4i(GLint  location,
 GLint  v0,
 GLint  v1,
 GLint  v2,
 GLint  v3);

void glUniform1ui(GLint location, GLuint v0);

void glUniform2ui(GLint  location,
 GLuint  v0,
 GLuint  v1);
void glUniform3ui(GLint  location,
 GLuint  v0,
 GLuint  v1,
 GLuint  v2);
void glUniform4ui(GLint  location,
 GLuint  v0,
 GLuint  v1,
 GLuint  v2,
 GLuint  v3);

Parameters

location

Specifies the location of the uniform variable +

Name

glUniform — Specify the value of a uniform variable for the current program object

C Specification

void glUniform1f(GLint location, GLfloat v0);

void glUniform2f(GLint  location,
 GLfloat  v0,
 GLfloat  v1);
void glUniform3f(GLint  location,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2);
void glUniform4f(GLint  location,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2,
 GLfloat  v3);

void glUniform1i(GLint location, GLint v0);

void glUniform2i(GLint  location,
 GLint  v0,
 GLint  v1);
void glUniform3i(GLint  location,
 GLint  v0,
 GLint  v1,
 GLint  v2);
void glUniform4i(GLint  location,
 GLint  v0,
 GLint  v1,
 GLint  v2,
 GLint  v3);

void glUniform1ui(GLint location, GLuint v0);

void glUniform2ui(GLint  location,
 GLuint  v0,
 GLuint  v1);
void glUniform3ui(GLint  location,
 GLuint  v0,
 GLuint  v1,
 GLuint  v2);
void glUniform4ui(GLint  location,
 GLuint  v0,
 GLuint  v1,
 GLuint  v2,
 GLuint  v3);

Parameters

location

Specifies the location of the uniform variable to be modified.

v0, v1, v2, v3

Specifies the new values to be used for the - specified uniform variable.

C Specification

void glUniform1fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform2fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform3fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform4fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform1iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform2iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform3iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform4iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform1uiv(GLint  location,
 GLsizei  count,
 const GLuint * value);
void glUniform2uiv(GLint  location,
 GLsizei  count,
 const GLuint * value);
void glUniform3uiv(GLint  location,
 GLsizei  count,
 const GLuint * value);
void glUniform4uiv(GLint  location,
 GLsizei  count,
 const GLuint * value);

Parameters

location

Specifies the location of the uniform value to + specified uniform variable.

C Specification

void glUniform1fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform2fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform3fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform4fv(GLint  location,
 GLsizei  count,
 const GLfloat * value);
void glUniform1iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform2iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform3iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform4iv(GLint  location,
 GLsizei  count,
 const GLint * value);
void glUniform1uiv(GLint  location,
 GLsizei  count,
 const GLuint * value);
void glUniform2uiv(GLint  location,
 GLsizei  count,
 const GLuint * value);
void glUniform3uiv(GLint  location,
 GLsizei  count,
 const GLuint * value);
void glUniform4uiv(GLint  location,
 GLsizei  count,
 const GLuint * value);

Parameters

location

Specifies the location of the uniform value to be modified.

count

Specifies the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.

value

Specifies a pointer to an array of count values that will be used to update the specified uniform - variable.

C Specification

void glUniformMatrix2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix2x3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3x2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix2x4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4x2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3x4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4x3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);

Parameters

location

Specifies the location of the uniform value to + variable.

C Specification

void glUniformMatrix2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix2x3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3x2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix2x4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4x2fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix3x4fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);
void glUniformMatrix4x3fv(GLint  location,
 GLsizei  count,
 GLboolean  transpose,
 const GLfloat * value);

Parameters

location

Specifies the location of the uniform value to be modified.

count

Specifies the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is @@ -87,7 +87,7 @@ variable array of type vec3). The number of elements of the uniform variable array to be modified is specified by count

The commands - glUniformMatrix{2|3|4|2x3|3x2|2x4|4x2|3x4|4x3}fv + glUniformMatrix{2|3|4|2x3|3x2|2x4|4x2|3x4|4x3}fv are used to modify a matrix or an array of matrices. The numbers in the command name are interpreted as the dimensionality of the matrix. The number 2 indicates a 2 × 2 matrix @@ -96,7 +96,7 @@ 4 indicates a 4 × 4 matrix (i.e., 16 values). Non-square matrix dimensionality is explicit, with the first number representing the number of columns and the second number - representing the number of rows. For example, + representing the number of rows. For example, 2x4 indicates a 2 × 4 matrix with 2 columns and 4 rows (i.e., 8 values). If transpose is @@ -161,9 +161,9 @@ {$pipelinestall}{$examples}

\ No newline at end of file +

diff --git a/gl3/glUniformBlockBinding.xhtml b/gl3/glUniformBlockBinding.xhtml index ab365651..b27a681f 100644 --- a/gl3/glUniformBlockBinding.xhtml +++ b/gl3/glUniformBlockBinding.xhtml @@ -1,4 +1,4 @@ -

Name

glUniformBlockBinding — assign a binding point to an active uniform block

C Specification

void glUniformBlockBinding(GLuint program,
 GLuint uniformBlockIndex,
 GLuint uniformBlockBinding);
 

Parameters

program

+

Name

glUniformBlockBinding — assign a binding point to an active uniform block

C Specification

void glUniformBlockBinding(GLuint program,
 GLuint uniformBlockIndex,
 GLuint uniformBlockBinding);
 

Parameters

program

The name of a program object containing the active uniform block whose binding to assign.

uniformBlockIndex

The index of the active uniform block within program whose binding to assign. @@ -32,8 +32,8 @@ glBindBufferRange, glGetActiveUniformBlock

\ No newline at end of file +

diff --git a/gl3/glUseProgram.xhtml b/gl3/glUseProgram.xhtml index 34ace1bc..9fc9d5f2 100644 --- a/gl3/glUseProgram.xhtml +++ b/gl3/glUseProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glUseProgram — Installs a program object as part of current rendering state

C Specification

void glUseProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object +

Name

glUseProgram — Installs a program object as part of current rendering state

C Specification

void glUseProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object whose executables are to be used as part of current rendering state.

Description

glUseProgram installs the program object specified by program as part of @@ -77,8 +77,8 @@ glUniform, glValidateProgram, glVertexAttrib

\ No newline at end of file +

diff --git a/gl3/glValidateProgram.xhtml b/gl3/glValidateProgram.xhtml index 2fd6fcb9..4faa3b92 100644 --- a/gl3/glValidateProgram.xhtml +++ b/gl3/glValidateProgram.xhtml @@ -1,4 +1,4 @@ -

Name

glValidateProgram — Validates a program object

C Specification

void glValidateProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object to +

Name

glValidateProgram — Validates a program object

C Specification

void glValidateProgram(GLuint program);
 

Parameters

program

Specifies the handle of the program object to be validated.

Description

glValidateProgram checks to see whether the executables contained in program can execute given the current @@ -43,8 +43,8 @@ GL_VALIDATE_STATUS

glGetProgramInfoLog with argument program

glIsProgram

\ No newline at end of file +

diff --git a/gl3/glVertexAttrib.xhtml b/gl3/glVertexAttrib.xhtml index d40b11a1..5e5e3138 100644 --- a/gl3/glVertexAttrib.xhtml +++ b/gl3/glVertexAttrib.xhtml @@ -1,16 +1,16 @@ -

Name

glVertexAttrib — Specifies the value of a generic vertex attribute

C Specification

void glVertexAttrib1f(GLuint  index,
 GLfloat  v0);
void glVertexAttrib1s(GLuint  index,
 GLshort  v0);
void glVertexAttrib1d(GLuint  index,
 GLdouble  v0);
void glVertexAttribI1i(GLuint  index,
 GLint  v0);
void glVertexAttribI1ui(GLuint  index,
 GLuint  v0);
void glVertexAttrib2f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1);
void glVertexAttrib2s(GLuint  index,
 GLshort  v0,
 GLshort  v1);
void glVertexAttrib2d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1);
void glVertexAttribI2i(GLuint  index,
 GLint  v0,
 GLint  v1);
void glVertexAttribI2ui(GLuint  index,
 GLuint  v0,
 GLuint  v1);
void glVertexAttrib3f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2);
void glVertexAttrib3s(GLuint  index,
 GLshort  v0,
 GLshort  v1,
 GLshort  v2);
void glVertexAttrib3d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1,
 GLdouble  v2);
void glVertexAttribI3i(GLuint  index,
 GLint  v0,
 GLint  v1,
 GLint  v2);
void glVertexAttribI3ui(GLuint  index,
 GLuint  v0,
 GLuint  v1,
 GLuint  v2);
void glVertexAttrib4f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2,
 GLfloat  v3);
void glVertexAttrib4s(GLuint  index,
 GLshort  v0,
 GLshort  v1,
 GLshort  v2,
 GLshort  v3);
void glVertexAttrib4d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1,
 GLdouble  v2,
 GLdouble  v3);
void glVertexAttrib4Nub(GLuint  index,
 GLubyte  v0,
 GLubyte  v1,
 GLubyte  v2,
 GLubyte  v3);
void glVertexAttribI4i(GLuint  index,
 GLint  v0,
 GLint  v1,
 GLint  v2,
 GLint  v3);
void glVertexAttribI4ui(GLuint  index,
 GLuint  v0,
 GLuint  v1,
 GLuint  v2,
 GLuint  v3);

Parameters

index

Specifies the index of the generic vertex +

Name

glVertexAttrib — Specifies the value of a generic vertex attribute

C Specification

void glVertexAttrib1f(GLuint  index,
 GLfloat  v0);
void glVertexAttrib1s(GLuint  index,
 GLshort  v0);
void glVertexAttrib1d(GLuint  index,
 GLdouble  v0);
void glVertexAttribI1i(GLuint  index,
 GLint  v0);
void glVertexAttribI1ui(GLuint  index,
 GLuint  v0);
void glVertexAttrib2f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1);
void glVertexAttrib2s(GLuint  index,
 GLshort  v0,
 GLshort  v1);
void glVertexAttrib2d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1);
void glVertexAttribI2i(GLuint  index,
 GLint  v0,
 GLint  v1);
void glVertexAttribI2ui(GLuint  index,
 GLuint  v0,
 GLuint  v1);
void glVertexAttrib3f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2);
void glVertexAttrib3s(GLuint  index,
 GLshort  v0,
 GLshort  v1,
 GLshort  v2);
void glVertexAttrib3d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1,
 GLdouble  v2);
void glVertexAttribI3i(GLuint  index,
 GLint  v0,
 GLint  v1,
 GLint  v2);
void glVertexAttribI3ui(GLuint  index,
 GLuint  v0,
 GLuint  v1,
 GLuint  v2);
void glVertexAttrib4f(GLuint  index,
 GLfloat  v0,
 GLfloat  v1,
 GLfloat  v2,
 GLfloat  v3);
void glVertexAttrib4s(GLuint  index,
 GLshort  v0,
 GLshort  v1,
 GLshort  v2,
 GLshort  v3);
void glVertexAttrib4d(GLuint  index,
 GLdouble  v0,
 GLdouble  v1,
 GLdouble  v2,
 GLdouble  v3);
void glVertexAttrib4Nub(GLuint  index,
 GLubyte  v0,
 GLubyte  v1,
 GLubyte  v2,
 GLubyte  v3);
void glVertexAttribI4i(GLuint  index,
 GLint  v0,
 GLint  v1,
 GLint  v2,
 GLint  v3);
void glVertexAttribI4ui(GLuint  index,
 GLuint  v0,
 GLuint  v1,
 GLuint  v2,
 GLuint  v3);

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

v0, v1, v2, v3

Specifies the new values to be used for the - specified vertex attribute.

C Specification

void glVertexAttrib1fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib1sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib1dv(GLuint  index,
 const GLdouble * v);
void glVertexAttribI1iv(GLuint  index,
 const GLint * v);
void glVertexAttribI1uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib2fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib2sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib2dv(GLuint  index,
 const GLdouble * v);
void glVertexAttribI2iv(GLuint  index,
 const GLint * v);
void glVertexAttribI2uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib3fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib3sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib3dv(GLuint  index,
 const GLdouble * v);
void glVertexAttribI3iv(GLuint  index,
 const GLint * v);
void glVertexAttribI3uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib4fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib4sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib4dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib4iv(GLuint  index,
 const GLint * v);
void glVertexAttrib4bv(GLuint  index,
 const GLbyte * v);
void glVertexAttrib4ubv(GLuint  index,
 const GLubyte * v);
void glVertexAttrib4usv(GLuint  index,
 const GLushort * v);
void glVertexAttrib4uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib4Nbv(GLuint  index,
 const GLbyte * v);
void glVertexAttrib4Nsv(GLuint  index,
 const GLshort * v);
void glVertexAttrib4Niv(GLuint  index,
 const GLint * v);
void glVertexAttrib4Nubv(GLuint  index,
 const GLubyte * v);
void glVertexAttrib4Nusv(GLuint  index,
 const GLushort * v);
void glVertexAttrib4Nuiv(GLuint  index,
 const GLuint * v);
void glVertexAttribI4bv(GLuint  index,
 const GLbyte * v);
void glVertexAttribI4ubv(GLuint  index,
 const GLubyte * v);
void glVertexAttribI4sv(GLuint  index,
 const GLshort * v);
void glVertexAttribI4usv(GLuint  index,
 const GLushort * v);
void glVertexAttribI4iv(GLuint  index,
 const GLint * v);
void glVertexAttribI4uiv(GLuint  index,
 const GLuint * v);

Parameters

index

Specifies the index of the generic vertex + specified vertex attribute.

C Specification

void glVertexAttrib1fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib1sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib1dv(GLuint  index,
 const GLdouble * v);
void glVertexAttribI1iv(GLuint  index,
 const GLint * v);
void glVertexAttribI1uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib2fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib2sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib2dv(GLuint  index,
 const GLdouble * v);
void glVertexAttribI2iv(GLuint  index,
 const GLint * v);
void glVertexAttribI2uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib3fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib3sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib3dv(GLuint  index,
 const GLdouble * v);
void glVertexAttribI3iv(GLuint  index,
 const GLint * v);
void glVertexAttribI3uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib4fv(GLuint  index,
 const GLfloat * v);
void glVertexAttrib4sv(GLuint  index,
 const GLshort * v);
void glVertexAttrib4dv(GLuint  index,
 const GLdouble * v);
void glVertexAttrib4iv(GLuint  index,
 const GLint * v);
void glVertexAttrib4bv(GLuint  index,
 const GLbyte * v);
void glVertexAttrib4ubv(GLuint  index,
 const GLubyte * v);
void glVertexAttrib4usv(GLuint  index,
 const GLushort * v);
void glVertexAttrib4uiv(GLuint  index,
 const GLuint * v);
void glVertexAttrib4Nbv(GLuint  index,
 const GLbyte * v);
void glVertexAttrib4Nsv(GLuint  index,
 const GLshort * v);
void glVertexAttrib4Niv(GLuint  index,
 const GLint * v);
void glVertexAttrib4Nubv(GLuint  index,
 const GLubyte * v);
void glVertexAttrib4Nusv(GLuint  index,
 const GLushort * v);
void glVertexAttrib4Nuiv(GLuint  index,
 const GLuint * v);
void glVertexAttribI4bv(GLuint  index,
 const GLbyte * v);
void glVertexAttribI4ubv(GLuint  index,
 const GLubyte * v);
void glVertexAttribI4sv(GLuint  index,
 const GLshort * v);
void glVertexAttribI4usv(GLuint  index,
 const GLushort * v);
void glVertexAttribI4iv(GLuint  index,
 const GLint * v);
void glVertexAttribI4uiv(GLuint  index,
 const GLuint * v);

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

v

Specifies a pointer to an array of values to - be used for the generic vertex attribute.

C Specification

void glVertexAttribP1ui(GLuint  index,
 GLenum  type,
 GLboolean  normalized,
 GLuint  value);
void glVertexAttribP2ui(GLuint  index,
 GLenum  type,
 GLboolean  normalized,
 GLuint  value);
void glVertexAttribP3ui(GLuint  index,
 GLenum  type,
 GLboolean  normalized,
 GLuint  value);
void glVertexAttribP4ui(GLuint  index,
 GLenum  type,
 GLboolean  normalized,
 GLuint  value);

Parameters

index

Specifies the index of the generic vertex + be used for the generic vertex attribute.

C Specification

void glVertexAttribP1ui(GLuint  index,
 GLenum  type,
 GLboolean  normalized,
 GLuint  value);
void glVertexAttribP2ui(GLuint  index,
 GLenum  type,
 GLboolean  normalized,
 GLuint  value);
void glVertexAttribP3ui(GLuint  index,
 GLenum  type,
 GLboolean  normalized,
 GLuint  value);
void glVertexAttribP4ui(GLuint  index,
 GLenum  type,
 GLboolean  normalized,
 GLuint  value);

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

type

Type of packing used on the data. This parameter must be GL_INT_2_10_10_10_REV or GL_UNSIGNED_INT_2_10_10_10_REV - to specify signed or unsigned data, respectively.

normalized

If GL_TRUE, then the values are to be + to specify signed or unsigned data, respectively.

normalized

If GL_TRUE, then the values are to be converted to floating point values by normalizing. Otherwise, they are converted directly to floating point values.

value @@ -51,18 +51,18 @@ v is appended to the name, the commands can take a pointer to an array of such values.

Additional capitalized letters can indicate further alterations to the default behavior of the glVertexAttrib function:

- The commands containing N indicate that - the arguments will be passed as fixed-point values that are - scaled to a normalized range according to the component + The commands containing N indicate that + the arguments will be passed as fixed-point values that are + scaled to a normalized range according to the component conversion rules defined by the OpenGL specification. Signed values are understood to represent fixed-point values in the range [-1,1], and unsigned values are understood to represent fixed-point values in the range [0,1].

- The commands containing I indicate that + The commands containing I indicate that the arguments are extended to full signed or unsigned integers.

- The commands containing P indicate that + The commands containing P indicate that the arguments are stored as packed components within a larger natural type.

OpenGL Shading Language attribute variables are allowed to @@ -102,8 +102,8 @@ only in the absence of aliasing.

There is no provision for binding standard vertex attributes; therefore, it is not possible to alias generic attributes with standard attributes.

- glVertexAttrib4bv, glVertexAttrib4sv, - glVertexAttrib4iv, glVertexAttrib4ubv, + glVertexAttrib4bv, glVertexAttrib4sv, + glVertexAttrib4iv, glVertexAttrib4ubv, glVertexAttrib4usv, glVertexAttrib4uiv, and glVertexAttrib4N versions are available only if the GL version is 3.1 or higher.

@@ -111,7 +111,7 @@

Errors

GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX_ATTRIBS.

GL_INVALID_ENUM is generated if - glVertexAttribP is used with a + glVertexAttribP is used with a type other than GL_INT_2_10_10_10_REV or GL_UNSIGNED_INT_2_10_10_10_REV.

Associated Gets

glGet @@ -127,7 +127,7 @@ glVertexAttribPointer

\ No newline at end of file +

diff --git a/gl3/glVertexAttribDivisor.xhtml b/gl3/glVertexAttribDivisor.xhtml index 9a243494..41b414ea 100644 --- a/gl3/glVertexAttribDivisor.xhtml +++ b/gl3/glVertexAttribDivisor.xhtml @@ -1,4 +1,4 @@ -

Name

glVertexAttribDivisor — modify the rate at which generic vertex attributes advance during instanced rendering

C Specification

void glVertexAttribDivisor(GLuint index,
 GLuint divisor);
 

Parameters

index

+

Name

glVertexAttribDivisor — modify the rate at which generic vertex attributes advance during instanced rendering

C Specification

void glVertexAttribDivisor(GLuint index,
 GLuint divisor);
 

Parameters

index

Specify the index of the generic vertex attribute.

divisor

Specify the number of instances that will pass between updates of the generic attribute at slot index. @@ -22,8 +22,8 @@ glEnableVertexAttribArray, glDisableVertexAttribArray

\ No newline at end of file +

diff --git a/gl3/glVertexAttribPointer.xhtml b/gl3/glVertexAttribPointer.xhtml index 0f32c679..c87e3f69 100644 --- a/gl3/glVertexAttribPointer.xhtml +++ b/gl3/glVertexAttribPointer.xhtml @@ -1,4 +1,4 @@ -

Name

glVertexAttribPointer — define an array of generic vertex attribute data

C Specification

void glVertexAttribPointer(GLuint  index,
 GLint  size,
 GLenum  type,
 GLboolean  normalized,
 GLsizei  stride,
 const GLvoid *  pointer);
void glVertexAttribIPointer(GLuint  index,
 GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

index

Specifies the index of the generic vertex +

Name

glVertexAttribPointer — define an array of generic vertex attribute data

C Specification

void glVertexAttribPointer(GLuint  index,
 GLint  size,
 GLenum  type,
 GLboolean  normalized,
 GLsizei  stride,
 const GLvoid *  pointer);
void glVertexAttribIPointer(GLuint  index,
 GLint  size,
 GLenum  type,
 GLsizei  stride,
 const GLvoid *  pointer);

Parameters

index

Specifies the index of the generic vertex attribute to be modified.

size

Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA @@ -89,7 +89,7 @@ with your mesh data.)

GL_INVALID_OPERATION is generated in the core context if there is - no Vertex Array Object bound. + no Vertex Array Object bound.

Associated Gets

glGet with argument GL_MAX_VERTEX_ATTRIBS

glGetVertexAttrib @@ -98,7 +98,7 @@ with arguments index and GL_VERTEX_ATTRIB_ARRAY_TYPE

glGetVertexAttrib with arguments index and GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

glGetVertexAttrib with arguments index and GL_VERTEX_ATTRIB_ARRAY_STRIDE

glGetVertexAttrib - with arguments index and GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

glGet with argument + with arguments index and GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

glGet with argument GL_ARRAY_BUFFER_BINDING

glGetVertexAttribPointerv with arguments index and GL_VERTEX_ATTRIB_ARRAY_POINTER

@@ -115,8 +115,8 @@ glMultiDrawElements, glVertexAttrib

diff --git a/gl3/glViewport.xhtml b/gl3/glViewport.xhtml index 32e6199f..0cf1f141 100644 --- a/gl3/glViewport.xhtml +++ b/gl3/glViewport.xhtml @@ -1,4 +1,4 @@ -

Name

glViewport — set the viewport

C Specification

void glViewport(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

+

Name

glViewport — set the viewport

C Specification

void glViewport(GLint x,
 GLint y,
 GLsizei width,
 GLsizei height);
 

Parameters

x, y

Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).

width, height

diff --git a/gl3/glWaitSync.xhtml b/gl3/glWaitSync.xhtml index aa7141af..a64024f4 100644 --- a/gl3/glWaitSync.xhtml +++ b/gl3/glWaitSync.xhtml @@ -1,4 +1,4 @@ -

Name

glWaitSync — instruct the GL server to block until the specified sync object becomes signaled

C Specification

void glWaitSync(GLsync sync,
 GLbitfield flags,
 GLuint64 timeout);
 

Parameters

sync

+

Name

glWaitSync — instruct the GL server to block until the specified sync object becomes signaled

C Specification

void glWaitSync(GLsync sync,
 GLbitfield flags,
 GLuint64 timeout);
 

Parameters

sync

Specifies the sync object whose status to wait on.

flags

A bitfield controlling the command flushing behavior. flags may be zero. @@ -27,10 +27,10 @@ glFenceSync, glClientWaitSync



[1] flags and timeout are placeholders for anticipated future extensions of sync object capabilities. They must have these reserved values in -

\ No newline at end of file +

diff --git a/html/copy/style.css b/html/copy/style.css index fc35c745..196a5b3a 100644 --- a/html/copy/style.css +++ b/html/copy/style.css @@ -315,6 +315,12 @@ a { display: none; } +.informaltable table, +.informaltable th, +.informaltable td { + border: 1px solid; +} + .example .programlisting { overflow-x: scroll; padding: 10px;