diff --git a/Source/Bind/GL2/GL2Generator.cs b/Source/Bind/GL2/GL2Generator.cs index 94d1fa238e..2f3c2383be 100644 --- a/Source/Bind/GL2/GL2Generator.cs +++ b/Source/Bind/GL2/GL2Generator.cs @@ -54,7 +54,7 @@ public GL2Generator(Settings settings, string dirname) Settings.DefaultEnumsFile = "GLEnums.cs"; Settings.DefaultWrappersFile = "GL.cs"; Settings.DefaultDocPath = Path.Combine( - Settings.DefaultDocPath, "GL2"); + Settings.DefaultDocPath, "GL"); } } } diff --git a/Source/Bind/GL2/GL4Generator.cs b/Source/Bind/GL2/GL4Generator.cs index 173bd0c13f..0bbe4dc90c 100644 --- a/Source/Bind/GL2/GL4Generator.cs +++ b/Source/Bind/GL2/GL4Generator.cs @@ -46,7 +46,7 @@ public GL4Generator(Settings settings, string dirname) Settings.DefaultEnumsFile = "GL4Enums.cs"; Settings.DefaultWrappersFile = "GL4.cs"; Settings.DefaultDocPath = Path.Combine( - Settings.DefaultDocPath, "GL4"); + Settings.DefaultDocPath, "GL"); Profile = "glcore"; } diff --git a/Source/Bind/Specifications/Docs/GL2/glAccum.xml b/Source/Bind/Specifications/Docs/GL/glAccum.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glAccum.xml rename to Source/Bind/Specifications/Docs/GL/glAccum.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glActiveShaderProgram.xml b/Source/Bind/Specifications/Docs/GL/glActiveShaderProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glActiveShaderProgram.xml rename to Source/Bind/Specifications/Docs/GL/glActiveShaderProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glActiveTexture.xml b/Source/Bind/Specifications/Docs/GL/glActiveTexture.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glActiveTexture.xml rename to Source/Bind/Specifications/Docs/GL/glActiveTexture.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glAlphaFunc.xml b/Source/Bind/Specifications/Docs/GL/glAlphaFunc.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glAlphaFunc.xml rename to Source/Bind/Specifications/Docs/GL/glAlphaFunc.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glAreTexturesResident.xml b/Source/Bind/Specifications/Docs/GL/glAreTexturesResident.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glAreTexturesResident.xml rename to Source/Bind/Specifications/Docs/GL/glAreTexturesResident.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glArrayElement.xml b/Source/Bind/Specifications/Docs/GL/glArrayElement.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glArrayElement.xml rename to Source/Bind/Specifications/Docs/GL/glArrayElement.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glAttachShader.xml b/Source/Bind/Specifications/Docs/GL/glAttachShader.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glAttachShader.xml rename to Source/Bind/Specifications/Docs/GL/glAttachShader.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glBegin.xml b/Source/Bind/Specifications/Docs/GL/glBegin.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glBegin.xml rename to Source/Bind/Specifications/Docs/GL/glBegin.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBeginConditionalRender.xml b/Source/Bind/Specifications/Docs/GL/glBeginConditionalRender.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBeginConditionalRender.xml rename to Source/Bind/Specifications/Docs/GL/glBeginConditionalRender.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBeginQuery.xml b/Source/Bind/Specifications/Docs/GL/glBeginQuery.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBeginQuery.xml rename to Source/Bind/Specifications/Docs/GL/glBeginQuery.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBeginQueryIndexed.xml b/Source/Bind/Specifications/Docs/GL/glBeginQueryIndexed.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBeginQueryIndexed.xml rename to Source/Bind/Specifications/Docs/GL/glBeginQueryIndexed.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBeginTransformFeedback.xml b/Source/Bind/Specifications/Docs/GL/glBeginTransformFeedback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBeginTransformFeedback.xml rename to Source/Bind/Specifications/Docs/GL/glBeginTransformFeedback.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindAttribLocation.xml b/Source/Bind/Specifications/Docs/GL/glBindAttribLocation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindAttribLocation.xml rename to Source/Bind/Specifications/Docs/GL/glBindAttribLocation.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindBuffer.xml b/Source/Bind/Specifications/Docs/GL/glBindBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glBindBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindBufferBase.xml b/Source/Bind/Specifications/Docs/GL/glBindBufferBase.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindBufferBase.xml rename to Source/Bind/Specifications/Docs/GL/glBindBufferBase.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindBufferRange.xml b/Source/Bind/Specifications/Docs/GL/glBindBufferRange.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindBufferRange.xml rename to Source/Bind/Specifications/Docs/GL/glBindBufferRange.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindBuffersBase.xml b/Source/Bind/Specifications/Docs/GL/glBindBuffersBase.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindBuffersBase.xml rename to Source/Bind/Specifications/Docs/GL/glBindBuffersBase.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindBuffersRange.xml b/Source/Bind/Specifications/Docs/GL/glBindBuffersRange.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindBuffersRange.xml rename to Source/Bind/Specifications/Docs/GL/glBindBuffersRange.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindFragDataLocation.xml b/Source/Bind/Specifications/Docs/GL/glBindFragDataLocation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindFragDataLocation.xml rename to Source/Bind/Specifications/Docs/GL/glBindFragDataLocation.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindFragDataLocationIndexed.xml b/Source/Bind/Specifications/Docs/GL/glBindFragDataLocationIndexed.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindFragDataLocationIndexed.xml rename to Source/Bind/Specifications/Docs/GL/glBindFragDataLocationIndexed.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindFramebuffer.xml b/Source/Bind/Specifications/Docs/GL/glBindFramebuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindFramebuffer.xml rename to Source/Bind/Specifications/Docs/GL/glBindFramebuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindImageTexture.xml b/Source/Bind/Specifications/Docs/GL/glBindImageTexture.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindImageTexture.xml rename to Source/Bind/Specifications/Docs/GL/glBindImageTexture.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindImageTextures.xml b/Source/Bind/Specifications/Docs/GL/glBindImageTextures.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindImageTextures.xml rename to Source/Bind/Specifications/Docs/GL/glBindImageTextures.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindProgramPipeline.xml b/Source/Bind/Specifications/Docs/GL/glBindProgramPipeline.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindProgramPipeline.xml rename to Source/Bind/Specifications/Docs/GL/glBindProgramPipeline.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindRenderbuffer.xml b/Source/Bind/Specifications/Docs/GL/glBindRenderbuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindRenderbuffer.xml rename to Source/Bind/Specifications/Docs/GL/glBindRenderbuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindSampler.xml b/Source/Bind/Specifications/Docs/GL/glBindSampler.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindSampler.xml rename to Source/Bind/Specifications/Docs/GL/glBindSampler.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindSamplers.xml b/Source/Bind/Specifications/Docs/GL/glBindSamplers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindSamplers.xml rename to Source/Bind/Specifications/Docs/GL/glBindSamplers.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindTexture.xml b/Source/Bind/Specifications/Docs/GL/glBindTexture.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindTexture.xml rename to Source/Bind/Specifications/Docs/GL/glBindTexture.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindTextures.xml b/Source/Bind/Specifications/Docs/GL/glBindTextures.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindTextures.xml rename to Source/Bind/Specifications/Docs/GL/glBindTextures.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindTransformFeedback.xml b/Source/Bind/Specifications/Docs/GL/glBindTransformFeedback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindTransformFeedback.xml rename to Source/Bind/Specifications/Docs/GL/glBindTransformFeedback.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindVertexArray.xml b/Source/Bind/Specifications/Docs/GL/glBindVertexArray.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindVertexArray.xml rename to Source/Bind/Specifications/Docs/GL/glBindVertexArray.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindVertexBuffer.xml b/Source/Bind/Specifications/Docs/GL/glBindVertexBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindVertexBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glBindVertexBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBindVertexBuffers.xml b/Source/Bind/Specifications/Docs/GL/glBindVertexBuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBindVertexBuffers.xml rename to Source/Bind/Specifications/Docs/GL/glBindVertexBuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glBitmap.xml b/Source/Bind/Specifications/Docs/GL/glBitmap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glBitmap.xml rename to Source/Bind/Specifications/Docs/GL/glBitmap.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBlendColor.xml b/Source/Bind/Specifications/Docs/GL/glBlendColor.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBlendColor.xml rename to Source/Bind/Specifications/Docs/GL/glBlendColor.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBlendEquation.xml b/Source/Bind/Specifications/Docs/GL/glBlendEquation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBlendEquation.xml rename to Source/Bind/Specifications/Docs/GL/glBlendEquation.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBlendEquationSeparate.xml b/Source/Bind/Specifications/Docs/GL/glBlendEquationSeparate.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBlendEquationSeparate.xml rename to Source/Bind/Specifications/Docs/GL/glBlendEquationSeparate.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBlendFunc.xml b/Source/Bind/Specifications/Docs/GL/glBlendFunc.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBlendFunc.xml rename to Source/Bind/Specifications/Docs/GL/glBlendFunc.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBlendFuncSeparate.xml b/Source/Bind/Specifications/Docs/GL/glBlendFuncSeparate.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBlendFuncSeparate.xml rename to Source/Bind/Specifications/Docs/GL/glBlendFuncSeparate.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBlitFramebuffer.xml b/Source/Bind/Specifications/Docs/GL/glBlitFramebuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBlitFramebuffer.xml rename to Source/Bind/Specifications/Docs/GL/glBlitFramebuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBufferData.xml b/Source/Bind/Specifications/Docs/GL/glBufferData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBufferData.xml rename to Source/Bind/Specifications/Docs/GL/glBufferData.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBufferStorage.xml b/Source/Bind/Specifications/Docs/GL/glBufferStorage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBufferStorage.xml rename to Source/Bind/Specifications/Docs/GL/glBufferStorage.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glBufferSubData.xml b/Source/Bind/Specifications/Docs/GL/glBufferSubData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glBufferSubData.xml rename to Source/Bind/Specifications/Docs/GL/glBufferSubData.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glCallList.xml b/Source/Bind/Specifications/Docs/GL/glCallList.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glCallList.xml rename to Source/Bind/Specifications/Docs/GL/glCallList.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glCallLists.xml b/Source/Bind/Specifications/Docs/GL/glCallLists.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glCallLists.xml rename to Source/Bind/Specifications/Docs/GL/glCallLists.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCheckFramebufferStatus.xml b/Source/Bind/Specifications/Docs/GL/glCheckFramebufferStatus.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCheckFramebufferStatus.xml rename to Source/Bind/Specifications/Docs/GL/glCheckFramebufferStatus.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClampColor.xml b/Source/Bind/Specifications/Docs/GL/glClampColor.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClampColor.xml rename to Source/Bind/Specifications/Docs/GL/glClampColor.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClear.xml b/Source/Bind/Specifications/Docs/GL/glClear.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClear.xml rename to Source/Bind/Specifications/Docs/GL/glClear.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glClearAccum.xml b/Source/Bind/Specifications/Docs/GL/glClearAccum.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glClearAccum.xml rename to Source/Bind/Specifications/Docs/GL/glClearAccum.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClearBuffer.xml b/Source/Bind/Specifications/Docs/GL/glClearBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClearBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glClearBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClearBufferData.xml b/Source/Bind/Specifications/Docs/GL/glClearBufferData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClearBufferData.xml rename to Source/Bind/Specifications/Docs/GL/glClearBufferData.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClearBufferSubData.xml b/Source/Bind/Specifications/Docs/GL/glClearBufferSubData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClearBufferSubData.xml rename to Source/Bind/Specifications/Docs/GL/glClearBufferSubData.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClearColor.xml b/Source/Bind/Specifications/Docs/GL/glClearColor.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClearColor.xml rename to Source/Bind/Specifications/Docs/GL/glClearColor.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClearDepth.xml b/Source/Bind/Specifications/Docs/GL/glClearDepth.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClearDepth.xml rename to Source/Bind/Specifications/Docs/GL/glClearDepth.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glClearIndex.xml b/Source/Bind/Specifications/Docs/GL/glClearIndex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glClearIndex.xml rename to Source/Bind/Specifications/Docs/GL/glClearIndex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClearStencil.xml b/Source/Bind/Specifications/Docs/GL/glClearStencil.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClearStencil.xml rename to Source/Bind/Specifications/Docs/GL/glClearStencil.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClearTexImage.xml b/Source/Bind/Specifications/Docs/GL/glClearTexImage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClearTexImage.xml rename to Source/Bind/Specifications/Docs/GL/glClearTexImage.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClearTexSubImage.xml b/Source/Bind/Specifications/Docs/GL/glClearTexSubImage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClearTexSubImage.xml rename to Source/Bind/Specifications/Docs/GL/glClearTexSubImage.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glClientActiveTexture.xml b/Source/Bind/Specifications/Docs/GL/glClientActiveTexture.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glClientActiveTexture.xml rename to Source/Bind/Specifications/Docs/GL/glClientActiveTexture.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glClientWaitSync.xml b/Source/Bind/Specifications/Docs/GL/glClientWaitSync.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glClientWaitSync.xml rename to Source/Bind/Specifications/Docs/GL/glClientWaitSync.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glClipPlane.xml b/Source/Bind/Specifications/Docs/GL/glClipPlane.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glClipPlane.xml rename to Source/Bind/Specifications/Docs/GL/glClipPlane.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glColor.xml b/Source/Bind/Specifications/Docs/GL/glColor.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glColor.xml rename to Source/Bind/Specifications/Docs/GL/glColor.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glColorMask.xml b/Source/Bind/Specifications/Docs/GL/glColorMask.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glColorMask.xml rename to Source/Bind/Specifications/Docs/GL/glColorMask.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glColorMaterial.xml b/Source/Bind/Specifications/Docs/GL/glColorMaterial.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glColorMaterial.xml rename to Source/Bind/Specifications/Docs/GL/glColorMaterial.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glColorPointer.xml b/Source/Bind/Specifications/Docs/GL/glColorPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glColorPointer.xml rename to Source/Bind/Specifications/Docs/GL/glColorPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glColorSubTable.xml b/Source/Bind/Specifications/Docs/GL/glColorSubTable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glColorSubTable.xml rename to Source/Bind/Specifications/Docs/GL/glColorSubTable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glColorTable.xml b/Source/Bind/Specifications/Docs/GL/glColorTable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glColorTable.xml rename to Source/Bind/Specifications/Docs/GL/glColorTable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glColorTableParameter.xml b/Source/Bind/Specifications/Docs/GL/glColorTableParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glColorTableParameter.xml rename to Source/Bind/Specifications/Docs/GL/glColorTableParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCompileShader.xml b/Source/Bind/Specifications/Docs/GL/glCompileShader.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCompileShader.xml rename to Source/Bind/Specifications/Docs/GL/glCompileShader.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCompressedTexImage1D.xml b/Source/Bind/Specifications/Docs/GL/glCompressedTexImage1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCompressedTexImage1D.xml rename to Source/Bind/Specifications/Docs/GL/glCompressedTexImage1D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCompressedTexImage2D.xml b/Source/Bind/Specifications/Docs/GL/glCompressedTexImage2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCompressedTexImage2D.xml rename to Source/Bind/Specifications/Docs/GL/glCompressedTexImage2D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCompressedTexImage3D.xml b/Source/Bind/Specifications/Docs/GL/glCompressedTexImage3D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCompressedTexImage3D.xml rename to Source/Bind/Specifications/Docs/GL/glCompressedTexImage3D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCompressedTexSubImage1D.xml b/Source/Bind/Specifications/Docs/GL/glCompressedTexSubImage1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCompressedTexSubImage1D.xml rename to Source/Bind/Specifications/Docs/GL/glCompressedTexSubImage1D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCompressedTexSubImage2D.xml b/Source/Bind/Specifications/Docs/GL/glCompressedTexSubImage2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCompressedTexSubImage2D.xml rename to Source/Bind/Specifications/Docs/GL/glCompressedTexSubImage2D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCompressedTexSubImage3D.xml b/Source/Bind/Specifications/Docs/GL/glCompressedTexSubImage3D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCompressedTexSubImage3D.xml rename to Source/Bind/Specifications/Docs/GL/glCompressedTexSubImage3D.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glConvolutionFilter1D.xml b/Source/Bind/Specifications/Docs/GL/glConvolutionFilter1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glConvolutionFilter1D.xml rename to Source/Bind/Specifications/Docs/GL/glConvolutionFilter1D.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glConvolutionFilter2D.xml b/Source/Bind/Specifications/Docs/GL/glConvolutionFilter2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glConvolutionFilter2D.xml rename to Source/Bind/Specifications/Docs/GL/glConvolutionFilter2D.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glConvolutionParameter.xml b/Source/Bind/Specifications/Docs/GL/glConvolutionParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glConvolutionParameter.xml rename to Source/Bind/Specifications/Docs/GL/glConvolutionParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCopyBufferSubData.xml b/Source/Bind/Specifications/Docs/GL/glCopyBufferSubData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCopyBufferSubData.xml rename to Source/Bind/Specifications/Docs/GL/glCopyBufferSubData.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyColorSubTable.xml b/Source/Bind/Specifications/Docs/GL/glCopyColorSubTable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glCopyColorSubTable.xml rename to Source/Bind/Specifications/Docs/GL/glCopyColorSubTable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyColorTable.xml b/Source/Bind/Specifications/Docs/GL/glCopyColorTable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glCopyColorTable.xml rename to Source/Bind/Specifications/Docs/GL/glCopyColorTable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyConvolutionFilter1D.xml b/Source/Bind/Specifications/Docs/GL/glCopyConvolutionFilter1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glCopyConvolutionFilter1D.xml rename to Source/Bind/Specifications/Docs/GL/glCopyConvolutionFilter1D.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyConvolutionFilter2D.xml b/Source/Bind/Specifications/Docs/GL/glCopyConvolutionFilter2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glCopyConvolutionFilter2D.xml rename to Source/Bind/Specifications/Docs/GL/glCopyConvolutionFilter2D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCopyImageSubData.xml b/Source/Bind/Specifications/Docs/GL/glCopyImageSubData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCopyImageSubData.xml rename to Source/Bind/Specifications/Docs/GL/glCopyImageSubData.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyPixels.xml b/Source/Bind/Specifications/Docs/GL/glCopyPixels.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glCopyPixels.xml rename to Source/Bind/Specifications/Docs/GL/glCopyPixels.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCopyTexImage1D.xml b/Source/Bind/Specifications/Docs/GL/glCopyTexImage1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCopyTexImage1D.xml rename to Source/Bind/Specifications/Docs/GL/glCopyTexImage1D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCopyTexImage2D.xml b/Source/Bind/Specifications/Docs/GL/glCopyTexImage2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCopyTexImage2D.xml rename to Source/Bind/Specifications/Docs/GL/glCopyTexImage2D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCopyTexSubImage1D.xml b/Source/Bind/Specifications/Docs/GL/glCopyTexSubImage1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCopyTexSubImage1D.xml rename to Source/Bind/Specifications/Docs/GL/glCopyTexSubImage1D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCopyTexSubImage2D.xml b/Source/Bind/Specifications/Docs/GL/glCopyTexSubImage2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCopyTexSubImage2D.xml rename to Source/Bind/Specifications/Docs/GL/glCopyTexSubImage2D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCopyTexSubImage3D.xml b/Source/Bind/Specifications/Docs/GL/glCopyTexSubImage3D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCopyTexSubImage3D.xml rename to Source/Bind/Specifications/Docs/GL/glCopyTexSubImage3D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCreateProgram.xml b/Source/Bind/Specifications/Docs/GL/glCreateProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCreateProgram.xml rename to Source/Bind/Specifications/Docs/GL/glCreateProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCreateShader.xml b/Source/Bind/Specifications/Docs/GL/glCreateShader.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCreateShader.xml rename to Source/Bind/Specifications/Docs/GL/glCreateShader.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCreateShaderProgram.xml b/Source/Bind/Specifications/Docs/GL/glCreateShaderProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCreateShaderProgram.xml rename to Source/Bind/Specifications/Docs/GL/glCreateShaderProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glCullFace.xml b/Source/Bind/Specifications/Docs/GL/glCullFace.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glCullFace.xml rename to Source/Bind/Specifications/Docs/GL/glCullFace.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDebugMessageCallback.xml b/Source/Bind/Specifications/Docs/GL/glDebugMessageCallback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDebugMessageCallback.xml rename to Source/Bind/Specifications/Docs/GL/glDebugMessageCallback.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDebugMessageControl.xml b/Source/Bind/Specifications/Docs/GL/glDebugMessageControl.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDebugMessageControl.xml rename to Source/Bind/Specifications/Docs/GL/glDebugMessageControl.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDebugMessageInsert.xml b/Source/Bind/Specifications/Docs/GL/glDebugMessageInsert.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDebugMessageInsert.xml rename to Source/Bind/Specifications/Docs/GL/glDebugMessageInsert.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteBuffers.xml b/Source/Bind/Specifications/Docs/GL/glDeleteBuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteBuffers.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteBuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteFramebuffers.xml b/Source/Bind/Specifications/Docs/GL/glDeleteFramebuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteFramebuffers.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteFramebuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glDeleteLists.xml b/Source/Bind/Specifications/Docs/GL/glDeleteLists.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glDeleteLists.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteLists.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteProgram.xml b/Source/Bind/Specifications/Docs/GL/glDeleteProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteProgram.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteProgramPipelines.xml b/Source/Bind/Specifications/Docs/GL/glDeleteProgramPipelines.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteProgramPipelines.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteProgramPipelines.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteQueries.xml b/Source/Bind/Specifications/Docs/GL/glDeleteQueries.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteQueries.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteQueries.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteRenderbuffers.xml b/Source/Bind/Specifications/Docs/GL/glDeleteRenderbuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteRenderbuffers.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteRenderbuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteSamplers.xml b/Source/Bind/Specifications/Docs/GL/glDeleteSamplers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteSamplers.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteSamplers.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteShader.xml b/Source/Bind/Specifications/Docs/GL/glDeleteShader.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteShader.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteShader.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteSync.xml b/Source/Bind/Specifications/Docs/GL/glDeleteSync.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteSync.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteSync.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteTextures.xml b/Source/Bind/Specifications/Docs/GL/glDeleteTextures.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteTextures.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteTextures.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteTransformFeedbacks.xml b/Source/Bind/Specifications/Docs/GL/glDeleteTransformFeedbacks.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteTransformFeedbacks.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteTransformFeedbacks.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDeleteVertexArrays.xml b/Source/Bind/Specifications/Docs/GL/glDeleteVertexArrays.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDeleteVertexArrays.xml rename to Source/Bind/Specifications/Docs/GL/glDeleteVertexArrays.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDepthFunc.xml b/Source/Bind/Specifications/Docs/GL/glDepthFunc.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDepthFunc.xml rename to Source/Bind/Specifications/Docs/GL/glDepthFunc.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDepthMask.xml b/Source/Bind/Specifications/Docs/GL/glDepthMask.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDepthMask.xml rename to Source/Bind/Specifications/Docs/GL/glDepthMask.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDepthRange.xml b/Source/Bind/Specifications/Docs/GL/glDepthRange.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDepthRange.xml rename to Source/Bind/Specifications/Docs/GL/glDepthRange.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDepthRangeArray.xml b/Source/Bind/Specifications/Docs/GL/glDepthRangeArray.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDepthRangeArray.xml rename to Source/Bind/Specifications/Docs/GL/glDepthRangeArray.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDepthRangeIndexed.xml b/Source/Bind/Specifications/Docs/GL/glDepthRangeIndexed.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDepthRangeIndexed.xml rename to Source/Bind/Specifications/Docs/GL/glDepthRangeIndexed.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDetachShader.xml b/Source/Bind/Specifications/Docs/GL/glDetachShader.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDetachShader.xml rename to Source/Bind/Specifications/Docs/GL/glDetachShader.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDispatchCompute.xml b/Source/Bind/Specifications/Docs/GL/glDispatchCompute.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDispatchCompute.xml rename to Source/Bind/Specifications/Docs/GL/glDispatchCompute.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDispatchComputeIndirect.xml b/Source/Bind/Specifications/Docs/GL/glDispatchComputeIndirect.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDispatchComputeIndirect.xml rename to Source/Bind/Specifications/Docs/GL/glDispatchComputeIndirect.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawArrays.xml b/Source/Bind/Specifications/Docs/GL/glDrawArrays.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawArrays.xml rename to Source/Bind/Specifications/Docs/GL/glDrawArrays.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawArraysIndirect.xml b/Source/Bind/Specifications/Docs/GL/glDrawArraysIndirect.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawArraysIndirect.xml rename to Source/Bind/Specifications/Docs/GL/glDrawArraysIndirect.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawArraysInstanced.xml b/Source/Bind/Specifications/Docs/GL/glDrawArraysInstanced.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawArraysInstanced.xml rename to Source/Bind/Specifications/Docs/GL/glDrawArraysInstanced.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawArraysInstancedBaseInstance.xml b/Source/Bind/Specifications/Docs/GL/glDrawArraysInstancedBaseInstance.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawArraysInstancedBaseInstance.xml rename to Source/Bind/Specifications/Docs/GL/glDrawArraysInstancedBaseInstance.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawBuffer.xml b/Source/Bind/Specifications/Docs/GL/glDrawBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glDrawBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawBuffers.xml b/Source/Bind/Specifications/Docs/GL/glDrawBuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawBuffers.xml rename to Source/Bind/Specifications/Docs/GL/glDrawBuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawElements.xml b/Source/Bind/Specifications/Docs/GL/glDrawElements.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawElements.xml rename to Source/Bind/Specifications/Docs/GL/glDrawElements.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawElementsBaseVertex.xml b/Source/Bind/Specifications/Docs/GL/glDrawElementsBaseVertex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawElementsBaseVertex.xml rename to Source/Bind/Specifications/Docs/GL/glDrawElementsBaseVertex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawElementsIndirect.xml b/Source/Bind/Specifications/Docs/GL/glDrawElementsIndirect.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawElementsIndirect.xml rename to Source/Bind/Specifications/Docs/GL/glDrawElementsIndirect.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawElementsInstanced.xml b/Source/Bind/Specifications/Docs/GL/glDrawElementsInstanced.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawElementsInstanced.xml rename to Source/Bind/Specifications/Docs/GL/glDrawElementsInstanced.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawElementsInstancedBaseInstance.xml b/Source/Bind/Specifications/Docs/GL/glDrawElementsInstancedBaseInstance.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawElementsInstancedBaseInstance.xml rename to Source/Bind/Specifications/Docs/GL/glDrawElementsInstancedBaseInstance.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawElementsInstancedBaseVertex.xml b/Source/Bind/Specifications/Docs/GL/glDrawElementsInstancedBaseVertex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawElementsInstancedBaseVertex.xml rename to Source/Bind/Specifications/Docs/GL/glDrawElementsInstancedBaseVertex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawElementsInstancedBaseVertexBaseInstance.xml b/Source/Bind/Specifications/Docs/GL/glDrawElementsInstancedBaseVertexBaseInstance.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawElementsInstancedBaseVertexBaseInstance.xml rename to Source/Bind/Specifications/Docs/GL/glDrawElementsInstancedBaseVertexBaseInstance.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glDrawPixels.xml b/Source/Bind/Specifications/Docs/GL/glDrawPixels.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glDrawPixels.xml rename to Source/Bind/Specifications/Docs/GL/glDrawPixels.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawRangeElements.xml b/Source/Bind/Specifications/Docs/GL/glDrawRangeElements.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawRangeElements.xml rename to Source/Bind/Specifications/Docs/GL/glDrawRangeElements.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawRangeElementsBaseVertex.xml b/Source/Bind/Specifications/Docs/GL/glDrawRangeElementsBaseVertex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawRangeElementsBaseVertex.xml rename to Source/Bind/Specifications/Docs/GL/glDrawRangeElementsBaseVertex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawTransformFeedback.xml b/Source/Bind/Specifications/Docs/GL/glDrawTransformFeedback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawTransformFeedback.xml rename to Source/Bind/Specifications/Docs/GL/glDrawTransformFeedback.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawTransformFeedbackInstanced.xml b/Source/Bind/Specifications/Docs/GL/glDrawTransformFeedbackInstanced.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawTransformFeedbackInstanced.xml rename to Source/Bind/Specifications/Docs/GL/glDrawTransformFeedbackInstanced.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawTransformFeedbackStream.xml b/Source/Bind/Specifications/Docs/GL/glDrawTransformFeedbackStream.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawTransformFeedbackStream.xml rename to Source/Bind/Specifications/Docs/GL/glDrawTransformFeedbackStream.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glDrawTransformFeedbackStreamInstanced.xml b/Source/Bind/Specifications/Docs/GL/glDrawTransformFeedbackStreamInstanced.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glDrawTransformFeedbackStreamInstanced.xml rename to Source/Bind/Specifications/Docs/GL/glDrawTransformFeedbackStreamInstanced.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glEdgeFlag.xml b/Source/Bind/Specifications/Docs/GL/glEdgeFlag.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glEdgeFlag.xml rename to Source/Bind/Specifications/Docs/GL/glEdgeFlag.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glEdgeFlagPointer.xml b/Source/Bind/Specifications/Docs/GL/glEdgeFlagPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glEdgeFlagPointer.xml rename to Source/Bind/Specifications/Docs/GL/glEdgeFlagPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glEnable.xml b/Source/Bind/Specifications/Docs/GL/glEnable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glEnable.xml rename to Source/Bind/Specifications/Docs/GL/glEnable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glEnableClientState.xml b/Source/Bind/Specifications/Docs/GL/glEnableClientState.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glEnableClientState.xml rename to Source/Bind/Specifications/Docs/GL/glEnableClientState.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glEnableVertexAttribArray.xml b/Source/Bind/Specifications/Docs/GL/glEnableVertexAttribArray.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glEnableVertexAttribArray.xml rename to Source/Bind/Specifications/Docs/GL/glEnableVertexAttribArray.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glEvalCoord.xml b/Source/Bind/Specifications/Docs/GL/glEvalCoord.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glEvalCoord.xml rename to Source/Bind/Specifications/Docs/GL/glEvalCoord.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glEvalMesh.xml b/Source/Bind/Specifications/Docs/GL/glEvalMesh.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glEvalMesh.xml rename to Source/Bind/Specifications/Docs/GL/glEvalMesh.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glEvalPoint.xml b/Source/Bind/Specifications/Docs/GL/glEvalPoint.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glEvalPoint.xml rename to Source/Bind/Specifications/Docs/GL/glEvalPoint.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glFeedbackBuffer.xml b/Source/Bind/Specifications/Docs/GL/glFeedbackBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glFeedbackBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glFeedbackBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFenceSync.xml b/Source/Bind/Specifications/Docs/GL/glFenceSync.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFenceSync.xml rename to Source/Bind/Specifications/Docs/GL/glFenceSync.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFinish.xml b/Source/Bind/Specifications/Docs/GL/glFinish.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFinish.xml rename to Source/Bind/Specifications/Docs/GL/glFinish.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFlush.xml b/Source/Bind/Specifications/Docs/GL/glFlush.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFlush.xml rename to Source/Bind/Specifications/Docs/GL/glFlush.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFlushMappedBufferRange.xml b/Source/Bind/Specifications/Docs/GL/glFlushMappedBufferRange.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFlushMappedBufferRange.xml rename to Source/Bind/Specifications/Docs/GL/glFlushMappedBufferRange.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glFog.xml b/Source/Bind/Specifications/Docs/GL/glFog.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glFog.xml rename to Source/Bind/Specifications/Docs/GL/glFog.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glFogCoord.xml b/Source/Bind/Specifications/Docs/GL/glFogCoord.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glFogCoord.xml rename to Source/Bind/Specifications/Docs/GL/glFogCoord.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glFogCoordPointer.xml b/Source/Bind/Specifications/Docs/GL/glFogCoordPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glFogCoordPointer.xml rename to Source/Bind/Specifications/Docs/GL/glFogCoordPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFramebufferParameteri.xml b/Source/Bind/Specifications/Docs/GL/glFramebufferParameteri.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFramebufferParameteri.xml rename to Source/Bind/Specifications/Docs/GL/glFramebufferParameteri.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFramebufferRenderbuffer.xml b/Source/Bind/Specifications/Docs/GL/glFramebufferRenderbuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFramebufferRenderbuffer.xml rename to Source/Bind/Specifications/Docs/GL/glFramebufferRenderbuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFramebufferTexture.xml b/Source/Bind/Specifications/Docs/GL/glFramebufferTexture.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFramebufferTexture.xml rename to Source/Bind/Specifications/Docs/GL/glFramebufferTexture.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFramebufferTextureLayer.xml b/Source/Bind/Specifications/Docs/GL/glFramebufferTextureLayer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFramebufferTextureLayer.xml rename to Source/Bind/Specifications/Docs/GL/glFramebufferTextureLayer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glFrontFace.xml b/Source/Bind/Specifications/Docs/GL/glFrontFace.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glFrontFace.xml rename to Source/Bind/Specifications/Docs/GL/glFrontFace.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glFrustum.xml b/Source/Bind/Specifications/Docs/GL/glFrustum.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glFrustum.xml rename to Source/Bind/Specifications/Docs/GL/glFrustum.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenBuffers.xml b/Source/Bind/Specifications/Docs/GL/glGenBuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenBuffers.xml rename to Source/Bind/Specifications/Docs/GL/glGenBuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenFramebuffers.xml b/Source/Bind/Specifications/Docs/GL/glGenFramebuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenFramebuffers.xml rename to Source/Bind/Specifications/Docs/GL/glGenFramebuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGenLists.xml b/Source/Bind/Specifications/Docs/GL/glGenLists.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGenLists.xml rename to Source/Bind/Specifications/Docs/GL/glGenLists.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenProgramPipelines.xml b/Source/Bind/Specifications/Docs/GL/glGenProgramPipelines.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenProgramPipelines.xml rename to Source/Bind/Specifications/Docs/GL/glGenProgramPipelines.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenQueries.xml b/Source/Bind/Specifications/Docs/GL/glGenQueries.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenQueries.xml rename to Source/Bind/Specifications/Docs/GL/glGenQueries.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenRenderbuffers.xml b/Source/Bind/Specifications/Docs/GL/glGenRenderbuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenRenderbuffers.xml rename to Source/Bind/Specifications/Docs/GL/glGenRenderbuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenSamplers.xml b/Source/Bind/Specifications/Docs/GL/glGenSamplers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenSamplers.xml rename to Source/Bind/Specifications/Docs/GL/glGenSamplers.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenTextures.xml b/Source/Bind/Specifications/Docs/GL/glGenTextures.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenTextures.xml rename to Source/Bind/Specifications/Docs/GL/glGenTextures.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenTransformFeedbacks.xml b/Source/Bind/Specifications/Docs/GL/glGenTransformFeedbacks.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenTransformFeedbacks.xml rename to Source/Bind/Specifications/Docs/GL/glGenTransformFeedbacks.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenVertexArrays.xml b/Source/Bind/Specifications/Docs/GL/glGenVertexArrays.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenVertexArrays.xml rename to Source/Bind/Specifications/Docs/GL/glGenVertexArrays.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGenerateMipmap.xml b/Source/Bind/Specifications/Docs/GL/glGenerateMipmap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGenerateMipmap.xml rename to Source/Bind/Specifications/Docs/GL/glGenerateMipmap.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGet.xml b/Source/Bind/Specifications/Docs/GL/glGet.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGet.xml rename to Source/Bind/Specifications/Docs/GL/glGet.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveAtomicCounterBufferiv.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveAtomicCounterBufferiv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveAtomicCounterBufferiv.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveAtomicCounterBufferiv.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveAttrib.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveAttrib.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveAttrib.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveAttrib.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveSubroutineName.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveSubroutineName.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveSubroutineName.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveSubroutineName.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveSubroutineUniform.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveSubroutineUniform.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveSubroutineUniform.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveSubroutineUniform.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveSubroutineUniformName.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveSubroutineUniformName.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveSubroutineUniformName.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveSubroutineUniformName.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveUniform.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveUniform.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveUniform.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveUniform.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveUniformBlock.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveUniformBlock.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveUniformBlock.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveUniformBlock.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveUniformBlockName.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveUniformBlockName.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveUniformBlockName.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveUniformBlockName.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveUniformName.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveUniformName.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveUniformName.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveUniformName.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetActiveUniformsiv.xml b/Source/Bind/Specifications/Docs/GL/glGetActiveUniformsiv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetActiveUniformsiv.xml rename to Source/Bind/Specifications/Docs/GL/glGetActiveUniformsiv.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetAttachedShaders.xml b/Source/Bind/Specifications/Docs/GL/glGetAttachedShaders.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetAttachedShaders.xml rename to Source/Bind/Specifications/Docs/GL/glGetAttachedShaders.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetAttribLocation.xml b/Source/Bind/Specifications/Docs/GL/glGetAttribLocation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetAttribLocation.xml rename to Source/Bind/Specifications/Docs/GL/glGetAttribLocation.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetBufferParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetBufferParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetBufferParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetBufferParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetBufferParameteriv.xml b/Source/Bind/Specifications/Docs/GL/glGetBufferParameteriv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetBufferParameteriv.xml rename to Source/Bind/Specifications/Docs/GL/glGetBufferParameteriv.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetBufferPointerv.xml b/Source/Bind/Specifications/Docs/GL/glGetBufferPointerv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetBufferPointerv.xml rename to Source/Bind/Specifications/Docs/GL/glGetBufferPointerv.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetBufferSubData.xml b/Source/Bind/Specifications/Docs/GL/glGetBufferSubData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetBufferSubData.xml rename to Source/Bind/Specifications/Docs/GL/glGetBufferSubData.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetClipPlane.xml b/Source/Bind/Specifications/Docs/GL/glGetClipPlane.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetClipPlane.xml rename to Source/Bind/Specifications/Docs/GL/glGetClipPlane.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetColorTable.xml b/Source/Bind/Specifications/Docs/GL/glGetColorTable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetColorTable.xml rename to Source/Bind/Specifications/Docs/GL/glGetColorTable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetColorTableParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetColorTableParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetColorTableParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetColorTableParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetCompressedTexImage.xml b/Source/Bind/Specifications/Docs/GL/glGetCompressedTexImage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetCompressedTexImage.xml rename to Source/Bind/Specifications/Docs/GL/glGetCompressedTexImage.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetConvolutionFilter.xml b/Source/Bind/Specifications/Docs/GL/glGetConvolutionFilter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetConvolutionFilter.xml rename to Source/Bind/Specifications/Docs/GL/glGetConvolutionFilter.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetConvolutionParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetConvolutionParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetConvolutionParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetConvolutionParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetDebugMessageLog.xml b/Source/Bind/Specifications/Docs/GL/glGetDebugMessageLog.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetDebugMessageLog.xml rename to Source/Bind/Specifications/Docs/GL/glGetDebugMessageLog.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetError.xml b/Source/Bind/Specifications/Docs/GL/glGetError.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetError.xml rename to Source/Bind/Specifications/Docs/GL/glGetError.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetFragDataIndex.xml b/Source/Bind/Specifications/Docs/GL/glGetFragDataIndex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetFragDataIndex.xml rename to Source/Bind/Specifications/Docs/GL/glGetFragDataIndex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetFragDataLocation.xml b/Source/Bind/Specifications/Docs/GL/glGetFragDataLocation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetFragDataLocation.xml rename to Source/Bind/Specifications/Docs/GL/glGetFragDataLocation.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetFramebufferAttachmentParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetFramebufferAttachmentParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetFramebufferAttachmentParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetFramebufferAttachmentParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetFramebufferParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetFramebufferParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetFramebufferParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetFramebufferParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetHistogram.xml b/Source/Bind/Specifications/Docs/GL/glGetHistogram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetHistogram.xml rename to Source/Bind/Specifications/Docs/GL/glGetHistogram.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetHistogramParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetHistogramParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetHistogramParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetHistogramParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetInternalformat.xml b/Source/Bind/Specifications/Docs/GL/glGetInternalformat.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetInternalformat.xml rename to Source/Bind/Specifications/Docs/GL/glGetInternalformat.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetLight.xml b/Source/Bind/Specifications/Docs/GL/glGetLight.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetLight.xml rename to Source/Bind/Specifications/Docs/GL/glGetLight.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetMap.xml b/Source/Bind/Specifications/Docs/GL/glGetMap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetMap.xml rename to Source/Bind/Specifications/Docs/GL/glGetMap.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetMaterial.xml b/Source/Bind/Specifications/Docs/GL/glGetMaterial.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetMaterial.xml rename to Source/Bind/Specifications/Docs/GL/glGetMaterial.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetMinmax.xml b/Source/Bind/Specifications/Docs/GL/glGetMinmax.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetMinmax.xml rename to Source/Bind/Specifications/Docs/GL/glGetMinmax.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetMinmaxParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetMinmaxParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetMinmaxParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetMinmaxParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetMultisample.xml b/Source/Bind/Specifications/Docs/GL/glGetMultisample.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetMultisample.xml rename to Source/Bind/Specifications/Docs/GL/glGetMultisample.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetObjectLabel.xml b/Source/Bind/Specifications/Docs/GL/glGetObjectLabel.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetObjectLabel.xml rename to Source/Bind/Specifications/Docs/GL/glGetObjectLabel.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetObjectPtrLabel.xml b/Source/Bind/Specifications/Docs/GL/glGetObjectPtrLabel.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetObjectPtrLabel.xml rename to Source/Bind/Specifications/Docs/GL/glGetObjectPtrLabel.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetPixelMap.xml b/Source/Bind/Specifications/Docs/GL/glGetPixelMap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetPixelMap.xml rename to Source/Bind/Specifications/Docs/GL/glGetPixelMap.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetPointerv.xml b/Source/Bind/Specifications/Docs/GL/glGetPointerv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetPointerv.xml rename to Source/Bind/Specifications/Docs/GL/glGetPointerv.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetPolygonStipple.xml b/Source/Bind/Specifications/Docs/GL/glGetPolygonStipple.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetPolygonStipple.xml rename to Source/Bind/Specifications/Docs/GL/glGetPolygonStipple.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgram.xml b/Source/Bind/Specifications/Docs/GL/glGetProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgram.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramBinary.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramBinary.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramBinary.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramBinary.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramInfoLog.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramInfoLog.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramInfoLog.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramInfoLog.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramInterface.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramInterface.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramInterface.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramInterface.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramPipeline.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramPipeline.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramPipeline.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramPipeline.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramPipelineInfoLog.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramPipelineInfoLog.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramPipelineInfoLog.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramPipelineInfoLog.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramResource.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramResource.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramResource.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramResource.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramResourceIndex.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramResourceIndex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramResourceIndex.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramResourceIndex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramResourceLocation.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramResourceLocation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramResourceLocation.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramResourceLocation.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramResourceLocationIndex.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramResourceLocationIndex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramResourceLocationIndex.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramResourceLocationIndex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramResourceName.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramResourceName.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramResourceName.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramResourceName.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetProgramStage.xml b/Source/Bind/Specifications/Docs/GL/glGetProgramStage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetProgramStage.xml rename to Source/Bind/Specifications/Docs/GL/glGetProgramStage.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetQueryIndexed.xml b/Source/Bind/Specifications/Docs/GL/glGetQueryIndexed.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetQueryIndexed.xml rename to Source/Bind/Specifications/Docs/GL/glGetQueryIndexed.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetQueryObject.xml b/Source/Bind/Specifications/Docs/GL/glGetQueryObject.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetQueryObject.xml rename to Source/Bind/Specifications/Docs/GL/glGetQueryObject.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetQueryiv.xml b/Source/Bind/Specifications/Docs/GL/glGetQueryiv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetQueryiv.xml rename to Source/Bind/Specifications/Docs/GL/glGetQueryiv.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetRenderbufferParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetRenderbufferParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetRenderbufferParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetRenderbufferParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetSamplerParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetSamplerParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetSamplerParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetSamplerParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetSeparableFilter.xml b/Source/Bind/Specifications/Docs/GL/glGetSeparableFilter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetSeparableFilter.xml rename to Source/Bind/Specifications/Docs/GL/glGetSeparableFilter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetShader.xml b/Source/Bind/Specifications/Docs/GL/glGetShader.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetShader.xml rename to Source/Bind/Specifications/Docs/GL/glGetShader.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetShaderInfoLog.xml b/Source/Bind/Specifications/Docs/GL/glGetShaderInfoLog.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetShaderInfoLog.xml rename to Source/Bind/Specifications/Docs/GL/glGetShaderInfoLog.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetShaderPrecisionFormat.xml b/Source/Bind/Specifications/Docs/GL/glGetShaderPrecisionFormat.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetShaderPrecisionFormat.xml rename to Source/Bind/Specifications/Docs/GL/glGetShaderPrecisionFormat.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetShaderSource.xml b/Source/Bind/Specifications/Docs/GL/glGetShaderSource.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetShaderSource.xml rename to Source/Bind/Specifications/Docs/GL/glGetShaderSource.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetString.xml b/Source/Bind/Specifications/Docs/GL/glGetString.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetString.xml rename to Source/Bind/Specifications/Docs/GL/glGetString.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetSubroutineIndex.xml b/Source/Bind/Specifications/Docs/GL/glGetSubroutineIndex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetSubroutineIndex.xml rename to Source/Bind/Specifications/Docs/GL/glGetSubroutineIndex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetSubroutineUniformLocation.xml b/Source/Bind/Specifications/Docs/GL/glGetSubroutineUniformLocation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetSubroutineUniformLocation.xml rename to Source/Bind/Specifications/Docs/GL/glGetSubroutineUniformLocation.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetSync.xml b/Source/Bind/Specifications/Docs/GL/glGetSync.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetSync.xml rename to Source/Bind/Specifications/Docs/GL/glGetSync.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetTexEnv.xml b/Source/Bind/Specifications/Docs/GL/glGetTexEnv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetTexEnv.xml rename to Source/Bind/Specifications/Docs/GL/glGetTexEnv.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glGetTexGen.xml b/Source/Bind/Specifications/Docs/GL/glGetTexGen.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glGetTexGen.xml rename to Source/Bind/Specifications/Docs/GL/glGetTexGen.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetTexImage.xml b/Source/Bind/Specifications/Docs/GL/glGetTexImage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetTexImage.xml rename to Source/Bind/Specifications/Docs/GL/glGetTexImage.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetTexLevelParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetTexLevelParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetTexLevelParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetTexLevelParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetTexParameter.xml b/Source/Bind/Specifications/Docs/GL/glGetTexParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetTexParameter.xml rename to Source/Bind/Specifications/Docs/GL/glGetTexParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetTransformFeedbackVarying.xml b/Source/Bind/Specifications/Docs/GL/glGetTransformFeedbackVarying.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetTransformFeedbackVarying.xml rename to Source/Bind/Specifications/Docs/GL/glGetTransformFeedbackVarying.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetUniform.xml b/Source/Bind/Specifications/Docs/GL/glGetUniform.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetUniform.xml rename to Source/Bind/Specifications/Docs/GL/glGetUniform.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetUniformBlockIndex.xml b/Source/Bind/Specifications/Docs/GL/glGetUniformBlockIndex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetUniformBlockIndex.xml rename to Source/Bind/Specifications/Docs/GL/glGetUniformBlockIndex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetUniformIndices.xml b/Source/Bind/Specifications/Docs/GL/glGetUniformIndices.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetUniformIndices.xml rename to Source/Bind/Specifications/Docs/GL/glGetUniformIndices.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetUniformLocation.xml b/Source/Bind/Specifications/Docs/GL/glGetUniformLocation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetUniformLocation.xml rename to Source/Bind/Specifications/Docs/GL/glGetUniformLocation.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetUniformSubroutine.xml b/Source/Bind/Specifications/Docs/GL/glGetUniformSubroutine.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetUniformSubroutine.xml rename to Source/Bind/Specifications/Docs/GL/glGetUniformSubroutine.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetVertexAttrib.xml b/Source/Bind/Specifications/Docs/GL/glGetVertexAttrib.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetVertexAttrib.xml rename to Source/Bind/Specifications/Docs/GL/glGetVertexAttrib.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glGetVertexAttribPointerv.xml b/Source/Bind/Specifications/Docs/GL/glGetVertexAttribPointerv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glGetVertexAttribPointerv.xml rename to Source/Bind/Specifications/Docs/GL/glGetVertexAttribPointerv.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glHint.xml b/Source/Bind/Specifications/Docs/GL/glHint.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glHint.xml rename to Source/Bind/Specifications/Docs/GL/glHint.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glHistogram.xml b/Source/Bind/Specifications/Docs/GL/glHistogram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glHistogram.xml rename to Source/Bind/Specifications/Docs/GL/glHistogram.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glIndex.xml b/Source/Bind/Specifications/Docs/GL/glIndex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glIndex.xml rename to Source/Bind/Specifications/Docs/GL/glIndex.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glIndexMask.xml b/Source/Bind/Specifications/Docs/GL/glIndexMask.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glIndexMask.xml rename to Source/Bind/Specifications/Docs/GL/glIndexMask.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glIndexPointer.xml b/Source/Bind/Specifications/Docs/GL/glIndexPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glIndexPointer.xml rename to Source/Bind/Specifications/Docs/GL/glIndexPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glInitNames.xml b/Source/Bind/Specifications/Docs/GL/glInitNames.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glInitNames.xml rename to Source/Bind/Specifications/Docs/GL/glInitNames.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glInterleavedArrays.xml b/Source/Bind/Specifications/Docs/GL/glInterleavedArrays.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glInterleavedArrays.xml rename to Source/Bind/Specifications/Docs/GL/glInterleavedArrays.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glInvalidateBufferData.xml b/Source/Bind/Specifications/Docs/GL/glInvalidateBufferData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glInvalidateBufferData.xml rename to Source/Bind/Specifications/Docs/GL/glInvalidateBufferData.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glInvalidateBufferSubData.xml b/Source/Bind/Specifications/Docs/GL/glInvalidateBufferSubData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glInvalidateBufferSubData.xml rename to Source/Bind/Specifications/Docs/GL/glInvalidateBufferSubData.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glInvalidateFramebuffer.xml b/Source/Bind/Specifications/Docs/GL/glInvalidateFramebuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glInvalidateFramebuffer.xml rename to Source/Bind/Specifications/Docs/GL/glInvalidateFramebuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glInvalidateSubFramebuffer.xml b/Source/Bind/Specifications/Docs/GL/glInvalidateSubFramebuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glInvalidateSubFramebuffer.xml rename to Source/Bind/Specifications/Docs/GL/glInvalidateSubFramebuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glInvalidateTexImage.xml b/Source/Bind/Specifications/Docs/GL/glInvalidateTexImage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glInvalidateTexImage.xml rename to Source/Bind/Specifications/Docs/GL/glInvalidateTexImage.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glInvalidateTexSubImage.xml b/Source/Bind/Specifications/Docs/GL/glInvalidateTexSubImage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glInvalidateTexSubImage.xml rename to Source/Bind/Specifications/Docs/GL/glInvalidateTexSubImage.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsBuffer.xml b/Source/Bind/Specifications/Docs/GL/glIsBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glIsBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsEnabled.xml b/Source/Bind/Specifications/Docs/GL/glIsEnabled.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsEnabled.xml rename to Source/Bind/Specifications/Docs/GL/glIsEnabled.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsFramebuffer.xml b/Source/Bind/Specifications/Docs/GL/glIsFramebuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsFramebuffer.xml rename to Source/Bind/Specifications/Docs/GL/glIsFramebuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glIsList.xml b/Source/Bind/Specifications/Docs/GL/glIsList.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glIsList.xml rename to Source/Bind/Specifications/Docs/GL/glIsList.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsProgram.xml b/Source/Bind/Specifications/Docs/GL/glIsProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsProgram.xml rename to Source/Bind/Specifications/Docs/GL/glIsProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsProgramPipeline.xml b/Source/Bind/Specifications/Docs/GL/glIsProgramPipeline.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsProgramPipeline.xml rename to Source/Bind/Specifications/Docs/GL/glIsProgramPipeline.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsQuery.xml b/Source/Bind/Specifications/Docs/GL/glIsQuery.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsQuery.xml rename to Source/Bind/Specifications/Docs/GL/glIsQuery.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsRenderbuffer.xml b/Source/Bind/Specifications/Docs/GL/glIsRenderbuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsRenderbuffer.xml rename to Source/Bind/Specifications/Docs/GL/glIsRenderbuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsSampler.xml b/Source/Bind/Specifications/Docs/GL/glIsSampler.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsSampler.xml rename to Source/Bind/Specifications/Docs/GL/glIsSampler.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsShader.xml b/Source/Bind/Specifications/Docs/GL/glIsShader.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsShader.xml rename to Source/Bind/Specifications/Docs/GL/glIsShader.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsSync.xml b/Source/Bind/Specifications/Docs/GL/glIsSync.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsSync.xml rename to Source/Bind/Specifications/Docs/GL/glIsSync.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsTexture.xml b/Source/Bind/Specifications/Docs/GL/glIsTexture.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsTexture.xml rename to Source/Bind/Specifications/Docs/GL/glIsTexture.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsTransformFeedback.xml b/Source/Bind/Specifications/Docs/GL/glIsTransformFeedback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsTransformFeedback.xml rename to Source/Bind/Specifications/Docs/GL/glIsTransformFeedback.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glIsVertexArray.xml b/Source/Bind/Specifications/Docs/GL/glIsVertexArray.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glIsVertexArray.xml rename to Source/Bind/Specifications/Docs/GL/glIsVertexArray.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glLight.xml b/Source/Bind/Specifications/Docs/GL/glLight.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glLight.xml rename to Source/Bind/Specifications/Docs/GL/glLight.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glLightModel.xml b/Source/Bind/Specifications/Docs/GL/glLightModel.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glLightModel.xml rename to Source/Bind/Specifications/Docs/GL/glLightModel.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glLineStipple.xml b/Source/Bind/Specifications/Docs/GL/glLineStipple.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glLineStipple.xml rename to Source/Bind/Specifications/Docs/GL/glLineStipple.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glLineWidth.xml b/Source/Bind/Specifications/Docs/GL/glLineWidth.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glLineWidth.xml rename to Source/Bind/Specifications/Docs/GL/glLineWidth.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glLinkProgram.xml b/Source/Bind/Specifications/Docs/GL/glLinkProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glLinkProgram.xml rename to Source/Bind/Specifications/Docs/GL/glLinkProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glListBase.xml b/Source/Bind/Specifications/Docs/GL/glListBase.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glListBase.xml rename to Source/Bind/Specifications/Docs/GL/glListBase.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glLoadIdentity.xml b/Source/Bind/Specifications/Docs/GL/glLoadIdentity.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glLoadIdentity.xml rename to Source/Bind/Specifications/Docs/GL/glLoadIdentity.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glLoadMatrix.xml b/Source/Bind/Specifications/Docs/GL/glLoadMatrix.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glLoadMatrix.xml rename to Source/Bind/Specifications/Docs/GL/glLoadMatrix.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glLoadName.xml b/Source/Bind/Specifications/Docs/GL/glLoadName.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glLoadName.xml rename to Source/Bind/Specifications/Docs/GL/glLoadName.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glLoadTransposeMatrix.xml b/Source/Bind/Specifications/Docs/GL/glLoadTransposeMatrix.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glLoadTransposeMatrix.xml rename to Source/Bind/Specifications/Docs/GL/glLoadTransposeMatrix.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glLogicOp.xml b/Source/Bind/Specifications/Docs/GL/glLogicOp.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glLogicOp.xml rename to Source/Bind/Specifications/Docs/GL/glLogicOp.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMap1.xml b/Source/Bind/Specifications/Docs/GL/glMap1.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glMap1.xml rename to Source/Bind/Specifications/Docs/GL/glMap1.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMap2.xml b/Source/Bind/Specifications/Docs/GL/glMap2.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glMap2.xml rename to Source/Bind/Specifications/Docs/GL/glMap2.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMapBuffer.xml b/Source/Bind/Specifications/Docs/GL/glMapBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMapBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glMapBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMapBufferRange.xml b/Source/Bind/Specifications/Docs/GL/glMapBufferRange.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMapBufferRange.xml rename to Source/Bind/Specifications/Docs/GL/glMapBufferRange.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMapGrid.xml b/Source/Bind/Specifications/Docs/GL/glMapGrid.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glMapGrid.xml rename to Source/Bind/Specifications/Docs/GL/glMapGrid.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMaterial.xml b/Source/Bind/Specifications/Docs/GL/glMaterial.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glMaterial.xml rename to Source/Bind/Specifications/Docs/GL/glMaterial.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMatrixMode.xml b/Source/Bind/Specifications/Docs/GL/glMatrixMode.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glMatrixMode.xml rename to Source/Bind/Specifications/Docs/GL/glMatrixMode.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMemoryBarrier.xml b/Source/Bind/Specifications/Docs/GL/glMemoryBarrier.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMemoryBarrier.xml rename to Source/Bind/Specifications/Docs/GL/glMemoryBarrier.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMinSampleShading.xml b/Source/Bind/Specifications/Docs/GL/glMinSampleShading.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMinSampleShading.xml rename to Source/Bind/Specifications/Docs/GL/glMinSampleShading.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMinmax.xml b/Source/Bind/Specifications/Docs/GL/glMinmax.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glMinmax.xml rename to Source/Bind/Specifications/Docs/GL/glMinmax.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMultMatrix.xml b/Source/Bind/Specifications/Docs/GL/glMultMatrix.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glMultMatrix.xml rename to Source/Bind/Specifications/Docs/GL/glMultMatrix.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMultTransposeMatrix.xml b/Source/Bind/Specifications/Docs/GL/glMultTransposeMatrix.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glMultTransposeMatrix.xml rename to Source/Bind/Specifications/Docs/GL/glMultTransposeMatrix.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMultiDrawArrays.xml b/Source/Bind/Specifications/Docs/GL/glMultiDrawArrays.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMultiDrawArrays.xml rename to Source/Bind/Specifications/Docs/GL/glMultiDrawArrays.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMultiDrawArraysIndirect.xml b/Source/Bind/Specifications/Docs/GL/glMultiDrawArraysIndirect.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMultiDrawArraysIndirect.xml rename to Source/Bind/Specifications/Docs/GL/glMultiDrawArraysIndirect.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMultiDrawElements.xml b/Source/Bind/Specifications/Docs/GL/glMultiDrawElements.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMultiDrawElements.xml rename to Source/Bind/Specifications/Docs/GL/glMultiDrawElements.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMultiDrawElementsBaseVertex.xml b/Source/Bind/Specifications/Docs/GL/glMultiDrawElementsBaseVertex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMultiDrawElementsBaseVertex.xml rename to Source/Bind/Specifications/Docs/GL/glMultiDrawElementsBaseVertex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glMultiDrawElementsIndirect.xml b/Source/Bind/Specifications/Docs/GL/glMultiDrawElementsIndirect.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glMultiDrawElementsIndirect.xml rename to Source/Bind/Specifications/Docs/GL/glMultiDrawElementsIndirect.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glMultiTexCoord.xml b/Source/Bind/Specifications/Docs/GL/glMultiTexCoord.xml similarity index 96% rename from Source/Bind/Specifications/Docs/GL2/glMultiTexCoord.xml rename to Source/Bind/Specifications/Docs/GL/glMultiTexCoord.xml index 2a5cd81249..d3bbc0506f 100644 --- a/Source/Bind/Specifications/Docs/GL2/glMultiTexCoord.xml +++ b/Source/Bind/Specifications/Docs/GL/glMultiTexCoord.xml @@ -409,16 +409,8 @@ Notes - - glMultiTexCoord is only supported if the GL version is 1.3 or greater, or if - ARB_multitexture is included in the string returned by - glGetString when called with the argument GL_EXTENSIONS. - The current texture coordinates can be updated at any time. - In particular, - glMultiTexCoord can be called between a call to glBegin and the corresponding - call to glEnd. It is always the case that GL_TEXTURE @@ -439,9 +431,7 @@ See Also glActiveTexture, - glClientActiveTexture, glTexCoord, - glTexCoordPointer, glVertex diff --git a/Source/Bind/Specifications/Docs/GL2/glNewList.xml b/Source/Bind/Specifications/Docs/GL/glNewList.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glNewList.xml rename to Source/Bind/Specifications/Docs/GL/glNewList.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glNormal.xml b/Source/Bind/Specifications/Docs/GL/glNormal.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glNormal.xml rename to Source/Bind/Specifications/Docs/GL/glNormal.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glNormalPointer.xml b/Source/Bind/Specifications/Docs/GL/glNormalPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glNormalPointer.xml rename to Source/Bind/Specifications/Docs/GL/glNormalPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glObjectLabel.xml b/Source/Bind/Specifications/Docs/GL/glObjectLabel.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glObjectLabel.xml rename to Source/Bind/Specifications/Docs/GL/glObjectLabel.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glObjectPtrLabel.xml b/Source/Bind/Specifications/Docs/GL/glObjectPtrLabel.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glObjectPtrLabel.xml rename to Source/Bind/Specifications/Docs/GL/glObjectPtrLabel.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glOrtho.xml b/Source/Bind/Specifications/Docs/GL/glOrtho.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glOrtho.xml rename to Source/Bind/Specifications/Docs/GL/glOrtho.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPassThrough.xml b/Source/Bind/Specifications/Docs/GL/glPassThrough.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPassThrough.xml rename to Source/Bind/Specifications/Docs/GL/glPassThrough.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPatchParameter.xml b/Source/Bind/Specifications/Docs/GL/glPatchParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPatchParameter.xml rename to Source/Bind/Specifications/Docs/GL/glPatchParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPauseTransformFeedback.xml b/Source/Bind/Specifications/Docs/GL/glPauseTransformFeedback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPauseTransformFeedback.xml rename to Source/Bind/Specifications/Docs/GL/glPauseTransformFeedback.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPixelMap.xml b/Source/Bind/Specifications/Docs/GL/glPixelMap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPixelMap.xml rename to Source/Bind/Specifications/Docs/GL/glPixelMap.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPixelStore.xml b/Source/Bind/Specifications/Docs/GL/glPixelStore.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPixelStore.xml rename to Source/Bind/Specifications/Docs/GL/glPixelStore.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPixelTransfer.xml b/Source/Bind/Specifications/Docs/GL/glPixelTransfer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPixelTransfer.xml rename to Source/Bind/Specifications/Docs/GL/glPixelTransfer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPixelZoom.xml b/Source/Bind/Specifications/Docs/GL/glPixelZoom.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPixelZoom.xml rename to Source/Bind/Specifications/Docs/GL/glPixelZoom.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPointParameter.xml b/Source/Bind/Specifications/Docs/GL/glPointParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPointParameter.xml rename to Source/Bind/Specifications/Docs/GL/glPointParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPointSize.xml b/Source/Bind/Specifications/Docs/GL/glPointSize.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPointSize.xml rename to Source/Bind/Specifications/Docs/GL/glPointSize.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPolygonMode.xml b/Source/Bind/Specifications/Docs/GL/glPolygonMode.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPolygonMode.xml rename to Source/Bind/Specifications/Docs/GL/glPolygonMode.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPolygonOffset.xml b/Source/Bind/Specifications/Docs/GL/glPolygonOffset.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPolygonOffset.xml rename to Source/Bind/Specifications/Docs/GL/glPolygonOffset.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPolygonStipple.xml b/Source/Bind/Specifications/Docs/GL/glPolygonStipple.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPolygonStipple.xml rename to Source/Bind/Specifications/Docs/GL/glPolygonStipple.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPopDebugGroup.xml b/Source/Bind/Specifications/Docs/GL/glPopDebugGroup.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPopDebugGroup.xml rename to Source/Bind/Specifications/Docs/GL/glPopDebugGroup.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPrimitiveRestartIndex.xml b/Source/Bind/Specifications/Docs/GL/glPrimitiveRestartIndex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPrimitiveRestartIndex.xml rename to Source/Bind/Specifications/Docs/GL/glPrimitiveRestartIndex.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPrioritizeTextures.xml b/Source/Bind/Specifications/Docs/GL/glPrioritizeTextures.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPrioritizeTextures.xml rename to Source/Bind/Specifications/Docs/GL/glPrioritizeTextures.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glProgramBinary.xml b/Source/Bind/Specifications/Docs/GL/glProgramBinary.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glProgramBinary.xml rename to Source/Bind/Specifications/Docs/GL/glProgramBinary.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glProgramParameter.xml b/Source/Bind/Specifications/Docs/GL/glProgramParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glProgramParameter.xml rename to Source/Bind/Specifications/Docs/GL/glProgramParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glProgramUniform.xml b/Source/Bind/Specifications/Docs/GL/glProgramUniform.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glProgramUniform.xml rename to Source/Bind/Specifications/Docs/GL/glProgramUniform.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glProvokingVertex.xml b/Source/Bind/Specifications/Docs/GL/glProvokingVertex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glProvokingVertex.xml rename to Source/Bind/Specifications/Docs/GL/glProvokingVertex.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPushAttrib.xml b/Source/Bind/Specifications/Docs/GL/glPushAttrib.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPushAttrib.xml rename to Source/Bind/Specifications/Docs/GL/glPushAttrib.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPushClientAttrib.xml b/Source/Bind/Specifications/Docs/GL/glPushClientAttrib.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPushClientAttrib.xml rename to Source/Bind/Specifications/Docs/GL/glPushClientAttrib.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glPushDebugGroup.xml b/Source/Bind/Specifications/Docs/GL/glPushDebugGroup.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glPushDebugGroup.xml rename to Source/Bind/Specifications/Docs/GL/glPushDebugGroup.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPushMatrix.xml b/Source/Bind/Specifications/Docs/GL/glPushMatrix.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPushMatrix.xml rename to Source/Bind/Specifications/Docs/GL/glPushMatrix.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glPushName.xml b/Source/Bind/Specifications/Docs/GL/glPushName.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glPushName.xml rename to Source/Bind/Specifications/Docs/GL/glPushName.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glQueryCounter.xml b/Source/Bind/Specifications/Docs/GL/glQueryCounter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glQueryCounter.xml rename to Source/Bind/Specifications/Docs/GL/glQueryCounter.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glRasterPos.xml b/Source/Bind/Specifications/Docs/GL/glRasterPos.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glRasterPos.xml rename to Source/Bind/Specifications/Docs/GL/glRasterPos.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glReadBuffer.xml b/Source/Bind/Specifications/Docs/GL/glReadBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glReadBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glReadBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glReadPixels.xml b/Source/Bind/Specifications/Docs/GL/glReadPixels.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glReadPixels.xml rename to Source/Bind/Specifications/Docs/GL/glReadPixels.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glRect.xml b/Source/Bind/Specifications/Docs/GL/glRect.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glRect.xml rename to Source/Bind/Specifications/Docs/GL/glRect.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glReleaseShaderCompiler.xml b/Source/Bind/Specifications/Docs/GL/glReleaseShaderCompiler.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glReleaseShaderCompiler.xml rename to Source/Bind/Specifications/Docs/GL/glReleaseShaderCompiler.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glRenderMode.xml b/Source/Bind/Specifications/Docs/GL/glRenderMode.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glRenderMode.xml rename to Source/Bind/Specifications/Docs/GL/glRenderMode.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glRenderbufferStorage.xml b/Source/Bind/Specifications/Docs/GL/glRenderbufferStorage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glRenderbufferStorage.xml rename to Source/Bind/Specifications/Docs/GL/glRenderbufferStorage.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glRenderbufferStorageMultisample.xml b/Source/Bind/Specifications/Docs/GL/glRenderbufferStorageMultisample.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glRenderbufferStorageMultisample.xml rename to Source/Bind/Specifications/Docs/GL/glRenderbufferStorageMultisample.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glResetHistogram.xml b/Source/Bind/Specifications/Docs/GL/glResetHistogram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glResetHistogram.xml rename to Source/Bind/Specifications/Docs/GL/glResetHistogram.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glResetMinmax.xml b/Source/Bind/Specifications/Docs/GL/glResetMinmax.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glResetMinmax.xml rename to Source/Bind/Specifications/Docs/GL/glResetMinmax.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glResumeTransformFeedback.xml b/Source/Bind/Specifications/Docs/GL/glResumeTransformFeedback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glResumeTransformFeedback.xml rename to Source/Bind/Specifications/Docs/GL/glResumeTransformFeedback.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glRotate.xml b/Source/Bind/Specifications/Docs/GL/glRotate.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glRotate.xml rename to Source/Bind/Specifications/Docs/GL/glRotate.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glSampleCoverage.xml b/Source/Bind/Specifications/Docs/GL/glSampleCoverage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glSampleCoverage.xml rename to Source/Bind/Specifications/Docs/GL/glSampleCoverage.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glSampleMaski.xml b/Source/Bind/Specifications/Docs/GL/glSampleMaski.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glSampleMaski.xml rename to Source/Bind/Specifications/Docs/GL/glSampleMaski.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glSamplerParameter.xml b/Source/Bind/Specifications/Docs/GL/glSamplerParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glSamplerParameter.xml rename to Source/Bind/Specifications/Docs/GL/glSamplerParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glScale.xml b/Source/Bind/Specifications/Docs/GL/glScale.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glScale.xml rename to Source/Bind/Specifications/Docs/GL/glScale.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glScissor.xml b/Source/Bind/Specifications/Docs/GL/glScissor.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glScissor.xml rename to Source/Bind/Specifications/Docs/GL/glScissor.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glScissorArray.xml b/Source/Bind/Specifications/Docs/GL/glScissorArray.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glScissorArray.xml rename to Source/Bind/Specifications/Docs/GL/glScissorArray.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glScissorIndexed.xml b/Source/Bind/Specifications/Docs/GL/glScissorIndexed.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glScissorIndexed.xml rename to Source/Bind/Specifications/Docs/GL/glScissorIndexed.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glSecondaryColor.xml b/Source/Bind/Specifications/Docs/GL/glSecondaryColor.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glSecondaryColor.xml rename to Source/Bind/Specifications/Docs/GL/glSecondaryColor.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glSecondaryColorPointer.xml b/Source/Bind/Specifications/Docs/GL/glSecondaryColorPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glSecondaryColorPointer.xml rename to Source/Bind/Specifications/Docs/GL/glSecondaryColorPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glSelectBuffer.xml b/Source/Bind/Specifications/Docs/GL/glSelectBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glSelectBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glSelectBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glSeparableFilter2D.xml b/Source/Bind/Specifications/Docs/GL/glSeparableFilter2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glSeparableFilter2D.xml rename to Source/Bind/Specifications/Docs/GL/glSeparableFilter2D.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glShadeModel.xml b/Source/Bind/Specifications/Docs/GL/glShadeModel.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glShadeModel.xml rename to Source/Bind/Specifications/Docs/GL/glShadeModel.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glShaderBinary.xml b/Source/Bind/Specifications/Docs/GL/glShaderBinary.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glShaderBinary.xml rename to Source/Bind/Specifications/Docs/GL/glShaderBinary.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glShaderSource.xml b/Source/Bind/Specifications/Docs/GL/glShaderSource.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glShaderSource.xml rename to Source/Bind/Specifications/Docs/GL/glShaderSource.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glShaderStorageBlockBinding.xml b/Source/Bind/Specifications/Docs/GL/glShaderStorageBlockBinding.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glShaderStorageBlockBinding.xml rename to Source/Bind/Specifications/Docs/GL/glShaderStorageBlockBinding.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glStencilFunc.xml b/Source/Bind/Specifications/Docs/GL/glStencilFunc.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glStencilFunc.xml rename to Source/Bind/Specifications/Docs/GL/glStencilFunc.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glStencilFuncSeparate.xml b/Source/Bind/Specifications/Docs/GL/glStencilFuncSeparate.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glStencilFuncSeparate.xml rename to Source/Bind/Specifications/Docs/GL/glStencilFuncSeparate.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glStencilMask.xml b/Source/Bind/Specifications/Docs/GL/glStencilMask.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glStencilMask.xml rename to Source/Bind/Specifications/Docs/GL/glStencilMask.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glStencilMaskSeparate.xml b/Source/Bind/Specifications/Docs/GL/glStencilMaskSeparate.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glStencilMaskSeparate.xml rename to Source/Bind/Specifications/Docs/GL/glStencilMaskSeparate.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glStencilOp.xml b/Source/Bind/Specifications/Docs/GL/glStencilOp.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glStencilOp.xml rename to Source/Bind/Specifications/Docs/GL/glStencilOp.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glStencilOpSeparate.xml b/Source/Bind/Specifications/Docs/GL/glStencilOpSeparate.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glStencilOpSeparate.xml rename to Source/Bind/Specifications/Docs/GL/glStencilOpSeparate.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexBuffer.xml b/Source/Bind/Specifications/Docs/GL/glTexBuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexBuffer.xml rename to Source/Bind/Specifications/Docs/GL/glTexBuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexBufferRange.xml b/Source/Bind/Specifications/Docs/GL/glTexBufferRange.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexBufferRange.xml rename to Source/Bind/Specifications/Docs/GL/glTexBufferRange.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glTexCoord.xml b/Source/Bind/Specifications/Docs/GL/glTexCoord.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glTexCoord.xml rename to Source/Bind/Specifications/Docs/GL/glTexCoord.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glTexCoordPointer.xml b/Source/Bind/Specifications/Docs/GL/glTexCoordPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glTexCoordPointer.xml rename to Source/Bind/Specifications/Docs/GL/glTexCoordPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glTexEnv.xml b/Source/Bind/Specifications/Docs/GL/glTexEnv.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glTexEnv.xml rename to Source/Bind/Specifications/Docs/GL/glTexEnv.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glTexGen.xml b/Source/Bind/Specifications/Docs/GL/glTexGen.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glTexGen.xml rename to Source/Bind/Specifications/Docs/GL/glTexGen.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexImage1D.xml b/Source/Bind/Specifications/Docs/GL/glTexImage1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexImage1D.xml rename to Source/Bind/Specifications/Docs/GL/glTexImage1D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexImage2D.xml b/Source/Bind/Specifications/Docs/GL/glTexImage2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexImage2D.xml rename to Source/Bind/Specifications/Docs/GL/glTexImage2D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexImage2DMultisample.xml b/Source/Bind/Specifications/Docs/GL/glTexImage2DMultisample.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexImage2DMultisample.xml rename to Source/Bind/Specifications/Docs/GL/glTexImage2DMultisample.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexImage3D.xml b/Source/Bind/Specifications/Docs/GL/glTexImage3D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexImage3D.xml rename to Source/Bind/Specifications/Docs/GL/glTexImage3D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexImage3DMultisample.xml b/Source/Bind/Specifications/Docs/GL/glTexImage3DMultisample.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexImage3DMultisample.xml rename to Source/Bind/Specifications/Docs/GL/glTexImage3DMultisample.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexParameter.xml b/Source/Bind/Specifications/Docs/GL/glTexParameter.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexParameter.xml rename to Source/Bind/Specifications/Docs/GL/glTexParameter.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexStorage1D.xml b/Source/Bind/Specifications/Docs/GL/glTexStorage1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexStorage1D.xml rename to Source/Bind/Specifications/Docs/GL/glTexStorage1D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexStorage2D.xml b/Source/Bind/Specifications/Docs/GL/glTexStorage2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexStorage2D.xml rename to Source/Bind/Specifications/Docs/GL/glTexStorage2D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexStorage2DMultisample.xml b/Source/Bind/Specifications/Docs/GL/glTexStorage2DMultisample.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexStorage2DMultisample.xml rename to Source/Bind/Specifications/Docs/GL/glTexStorage2DMultisample.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexStorage3D.xml b/Source/Bind/Specifications/Docs/GL/glTexStorage3D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexStorage3D.xml rename to Source/Bind/Specifications/Docs/GL/glTexStorage3D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexStorage3DMultisample.xml b/Source/Bind/Specifications/Docs/GL/glTexStorage3DMultisample.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexStorage3DMultisample.xml rename to Source/Bind/Specifications/Docs/GL/glTexStorage3DMultisample.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexSubImage1D.xml b/Source/Bind/Specifications/Docs/GL/glTexSubImage1D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexSubImage1D.xml rename to Source/Bind/Specifications/Docs/GL/glTexSubImage1D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexSubImage2D.xml b/Source/Bind/Specifications/Docs/GL/glTexSubImage2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexSubImage2D.xml rename to Source/Bind/Specifications/Docs/GL/glTexSubImage2D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTexSubImage3D.xml b/Source/Bind/Specifications/Docs/GL/glTexSubImage3D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTexSubImage3D.xml rename to Source/Bind/Specifications/Docs/GL/glTexSubImage3D.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTextureView.xml b/Source/Bind/Specifications/Docs/GL/glTextureView.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTextureView.xml rename to Source/Bind/Specifications/Docs/GL/glTextureView.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glTransformFeedbackVaryings.xml b/Source/Bind/Specifications/Docs/GL/glTransformFeedbackVaryings.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glTransformFeedbackVaryings.xml rename to Source/Bind/Specifications/Docs/GL/glTransformFeedbackVaryings.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glTranslate.xml b/Source/Bind/Specifications/Docs/GL/glTranslate.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glTranslate.xml rename to Source/Bind/Specifications/Docs/GL/glTranslate.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glUniform.xml b/Source/Bind/Specifications/Docs/GL/glUniform.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glUniform.xml rename to Source/Bind/Specifications/Docs/GL/glUniform.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glUniformBlockBinding.xml b/Source/Bind/Specifications/Docs/GL/glUniformBlockBinding.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glUniformBlockBinding.xml rename to Source/Bind/Specifications/Docs/GL/glUniformBlockBinding.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glUniformSubroutines.xml b/Source/Bind/Specifications/Docs/GL/glUniformSubroutines.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glUniformSubroutines.xml rename to Source/Bind/Specifications/Docs/GL/glUniformSubroutines.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glUseProgram.xml b/Source/Bind/Specifications/Docs/GL/glUseProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glUseProgram.xml rename to Source/Bind/Specifications/Docs/GL/glUseProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glUseProgramStages.xml b/Source/Bind/Specifications/Docs/GL/glUseProgramStages.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glUseProgramStages.xml rename to Source/Bind/Specifications/Docs/GL/glUseProgramStages.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glValidateProgram.xml b/Source/Bind/Specifications/Docs/GL/glValidateProgram.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glValidateProgram.xml rename to Source/Bind/Specifications/Docs/GL/glValidateProgram.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glValidateProgramPipeline.xml b/Source/Bind/Specifications/Docs/GL/glValidateProgramPipeline.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glValidateProgramPipeline.xml rename to Source/Bind/Specifications/Docs/GL/glValidateProgramPipeline.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glVertex.xml b/Source/Bind/Specifications/Docs/GL/glVertex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glVertex.xml rename to Source/Bind/Specifications/Docs/GL/glVertex.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glVertexAttrib.xml b/Source/Bind/Specifications/Docs/GL/glVertexAttrib.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glVertexAttrib.xml rename to Source/Bind/Specifications/Docs/GL/glVertexAttrib.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glVertexAttribBinding.xml b/Source/Bind/Specifications/Docs/GL/glVertexAttribBinding.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glVertexAttribBinding.xml rename to Source/Bind/Specifications/Docs/GL/glVertexAttribBinding.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glVertexAttribDivisor.xml b/Source/Bind/Specifications/Docs/GL/glVertexAttribDivisor.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glVertexAttribDivisor.xml rename to Source/Bind/Specifications/Docs/GL/glVertexAttribDivisor.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glVertexAttribFormat.xml b/Source/Bind/Specifications/Docs/GL/glVertexAttribFormat.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glVertexAttribFormat.xml rename to Source/Bind/Specifications/Docs/GL/glVertexAttribFormat.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glVertexAttribPointer.xml b/Source/Bind/Specifications/Docs/GL/glVertexAttribPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glVertexAttribPointer.xml rename to Source/Bind/Specifications/Docs/GL/glVertexAttribPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glVertexBindingDivisor.xml b/Source/Bind/Specifications/Docs/GL/glVertexBindingDivisor.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glVertexBindingDivisor.xml rename to Source/Bind/Specifications/Docs/GL/glVertexBindingDivisor.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glVertexPointer.xml b/Source/Bind/Specifications/Docs/GL/glVertexPointer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glVertexPointer.xml rename to Source/Bind/Specifications/Docs/GL/glVertexPointer.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glViewport.xml b/Source/Bind/Specifications/Docs/GL/glViewport.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glViewport.xml rename to Source/Bind/Specifications/Docs/GL/glViewport.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glViewportArray.xml b/Source/Bind/Specifications/Docs/GL/glViewportArray.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glViewportArray.xml rename to Source/Bind/Specifications/Docs/GL/glViewportArray.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glViewportIndexed.xml b/Source/Bind/Specifications/Docs/GL/glViewportIndexed.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glViewportIndexed.xml rename to Source/Bind/Specifications/Docs/GL/glViewportIndexed.xml diff --git a/Source/Bind/Specifications/Docs/GL4/glWaitSync.xml b/Source/Bind/Specifications/Docs/GL/glWaitSync.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL4/glWaitSync.xml rename to Source/Bind/Specifications/Docs/GL/glWaitSync.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glWindowPos.xml b/Source/Bind/Specifications/Docs/GL/glWindowPos.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glWindowPos.xml rename to Source/Bind/Specifications/Docs/GL/glWindowPos.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXChooseFBConfig.xml b/Source/Bind/Specifications/Docs/GL/glXChooseFBConfig.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXChooseFBConfig.xml rename to Source/Bind/Specifications/Docs/GL/glXChooseFBConfig.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXChooseVisual.xml b/Source/Bind/Specifications/Docs/GL/glXChooseVisual.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXChooseVisual.xml rename to Source/Bind/Specifications/Docs/GL/glXChooseVisual.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXCopyContext.xml b/Source/Bind/Specifications/Docs/GL/glXCopyContext.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXCopyContext.xml rename to Source/Bind/Specifications/Docs/GL/glXCopyContext.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXCreateContext.xml b/Source/Bind/Specifications/Docs/GL/glXCreateContext.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXCreateContext.xml rename to Source/Bind/Specifications/Docs/GL/glXCreateContext.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXCreateGLXPixmap.xml b/Source/Bind/Specifications/Docs/GL/glXCreateGLXPixmap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXCreateGLXPixmap.xml rename to Source/Bind/Specifications/Docs/GL/glXCreateGLXPixmap.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXCreateNewContext.xml b/Source/Bind/Specifications/Docs/GL/glXCreateNewContext.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXCreateNewContext.xml rename to Source/Bind/Specifications/Docs/GL/glXCreateNewContext.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXCreatePbuffer.xml b/Source/Bind/Specifications/Docs/GL/glXCreatePbuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXCreatePbuffer.xml rename to Source/Bind/Specifications/Docs/GL/glXCreatePbuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXCreatePixmap.xml b/Source/Bind/Specifications/Docs/GL/glXCreatePixmap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXCreatePixmap.xml rename to Source/Bind/Specifications/Docs/GL/glXCreatePixmap.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXCreateWindow.xml b/Source/Bind/Specifications/Docs/GL/glXCreateWindow.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXCreateWindow.xml rename to Source/Bind/Specifications/Docs/GL/glXCreateWindow.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXDestroyContext.xml b/Source/Bind/Specifications/Docs/GL/glXDestroyContext.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXDestroyContext.xml rename to Source/Bind/Specifications/Docs/GL/glXDestroyContext.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXDestroyGLXPixmap.xml b/Source/Bind/Specifications/Docs/GL/glXDestroyGLXPixmap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXDestroyGLXPixmap.xml rename to Source/Bind/Specifications/Docs/GL/glXDestroyGLXPixmap.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXDestroyPbuffer.xml b/Source/Bind/Specifications/Docs/GL/glXDestroyPbuffer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXDestroyPbuffer.xml rename to Source/Bind/Specifications/Docs/GL/glXDestroyPbuffer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXDestroyPixmap.xml b/Source/Bind/Specifications/Docs/GL/glXDestroyPixmap.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXDestroyPixmap.xml rename to Source/Bind/Specifications/Docs/GL/glXDestroyPixmap.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXDestroyWindow.xml b/Source/Bind/Specifications/Docs/GL/glXDestroyWindow.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXDestroyWindow.xml rename to Source/Bind/Specifications/Docs/GL/glXDestroyWindow.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXFreeContextEXT.xml b/Source/Bind/Specifications/Docs/GL/glXFreeContextEXT.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXFreeContextEXT.xml rename to Source/Bind/Specifications/Docs/GL/glXFreeContextEXT.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetClientString.xml b/Source/Bind/Specifications/Docs/GL/glXGetClientString.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetClientString.xml rename to Source/Bind/Specifications/Docs/GL/glXGetClientString.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetConfig.xml b/Source/Bind/Specifications/Docs/GL/glXGetConfig.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetConfig.xml rename to Source/Bind/Specifications/Docs/GL/glXGetConfig.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetContextIDEXT.xml b/Source/Bind/Specifications/Docs/GL/glXGetContextIDEXT.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetContextIDEXT.xml rename to Source/Bind/Specifications/Docs/GL/glXGetContextIDEXT.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetCurrentContext.xml b/Source/Bind/Specifications/Docs/GL/glXGetCurrentContext.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetCurrentContext.xml rename to Source/Bind/Specifications/Docs/GL/glXGetCurrentContext.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetCurrentDisplay.xml b/Source/Bind/Specifications/Docs/GL/glXGetCurrentDisplay.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetCurrentDisplay.xml rename to Source/Bind/Specifications/Docs/GL/glXGetCurrentDisplay.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetCurrentDrawable.xml b/Source/Bind/Specifications/Docs/GL/glXGetCurrentDrawable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetCurrentDrawable.xml rename to Source/Bind/Specifications/Docs/GL/glXGetCurrentDrawable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetCurrentReadDrawable.xml b/Source/Bind/Specifications/Docs/GL/glXGetCurrentReadDrawable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetCurrentReadDrawable.xml rename to Source/Bind/Specifications/Docs/GL/glXGetCurrentReadDrawable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetFBConfigAttrib.xml b/Source/Bind/Specifications/Docs/GL/glXGetFBConfigAttrib.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetFBConfigAttrib.xml rename to Source/Bind/Specifications/Docs/GL/glXGetFBConfigAttrib.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetFBConfigs.xml b/Source/Bind/Specifications/Docs/GL/glXGetFBConfigs.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetFBConfigs.xml rename to Source/Bind/Specifications/Docs/GL/glXGetFBConfigs.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetProcAddress.xml b/Source/Bind/Specifications/Docs/GL/glXGetProcAddress.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetProcAddress.xml rename to Source/Bind/Specifications/Docs/GL/glXGetProcAddress.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetSelectedEvent.xml b/Source/Bind/Specifications/Docs/GL/glXGetSelectedEvent.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetSelectedEvent.xml rename to Source/Bind/Specifications/Docs/GL/glXGetSelectedEvent.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXGetVisualFromFBConfig.xml b/Source/Bind/Specifications/Docs/GL/glXGetVisualFromFBConfig.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXGetVisualFromFBConfig.xml rename to Source/Bind/Specifications/Docs/GL/glXGetVisualFromFBConfig.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXImportContextEXT.xml b/Source/Bind/Specifications/Docs/GL/glXImportContextEXT.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXImportContextEXT.xml rename to Source/Bind/Specifications/Docs/GL/glXImportContextEXT.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXIntro.xml b/Source/Bind/Specifications/Docs/GL/glXIntro.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXIntro.xml rename to Source/Bind/Specifications/Docs/GL/glXIntro.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXIsDirect.xml b/Source/Bind/Specifications/Docs/GL/glXIsDirect.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXIsDirect.xml rename to Source/Bind/Specifications/Docs/GL/glXIsDirect.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXMakeContextCurrent.xml b/Source/Bind/Specifications/Docs/GL/glXMakeContextCurrent.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXMakeContextCurrent.xml rename to Source/Bind/Specifications/Docs/GL/glXMakeContextCurrent.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXMakeCurrent.xml b/Source/Bind/Specifications/Docs/GL/glXMakeCurrent.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXMakeCurrent.xml rename to Source/Bind/Specifications/Docs/GL/glXMakeCurrent.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXQueryContext.xml b/Source/Bind/Specifications/Docs/GL/glXQueryContext.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXQueryContext.xml rename to Source/Bind/Specifications/Docs/GL/glXQueryContext.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXQueryContextInfoEXT.xml b/Source/Bind/Specifications/Docs/GL/glXQueryContextInfoEXT.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXQueryContextInfoEXT.xml rename to Source/Bind/Specifications/Docs/GL/glXQueryContextInfoEXT.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXQueryDrawable.xml b/Source/Bind/Specifications/Docs/GL/glXQueryDrawable.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXQueryDrawable.xml rename to Source/Bind/Specifications/Docs/GL/glXQueryDrawable.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXQueryExtension.xml b/Source/Bind/Specifications/Docs/GL/glXQueryExtension.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXQueryExtension.xml rename to Source/Bind/Specifications/Docs/GL/glXQueryExtension.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXQueryExtensionsString.xml b/Source/Bind/Specifications/Docs/GL/glXQueryExtensionsString.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXQueryExtensionsString.xml rename to Source/Bind/Specifications/Docs/GL/glXQueryExtensionsString.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXQueryServerString.xml b/Source/Bind/Specifications/Docs/GL/glXQueryServerString.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXQueryServerString.xml rename to Source/Bind/Specifications/Docs/GL/glXQueryServerString.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXQueryVersion.xml b/Source/Bind/Specifications/Docs/GL/glXQueryVersion.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXQueryVersion.xml rename to Source/Bind/Specifications/Docs/GL/glXQueryVersion.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXSelectEvent.xml b/Source/Bind/Specifications/Docs/GL/glXSelectEvent.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXSelectEvent.xml rename to Source/Bind/Specifications/Docs/GL/glXSelectEvent.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXSwapBuffers.xml b/Source/Bind/Specifications/Docs/GL/glXSwapBuffers.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXSwapBuffers.xml rename to Source/Bind/Specifications/Docs/GL/glXSwapBuffers.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXUseXFont.xml b/Source/Bind/Specifications/Docs/GL/glXUseXFont.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXUseXFont.xml rename to Source/Bind/Specifications/Docs/GL/glXUseXFont.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXWaitGL.xml b/Source/Bind/Specifications/Docs/GL/glXWaitGL.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXWaitGL.xml rename to Source/Bind/Specifications/Docs/GL/glXWaitGL.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glXWaitX.xml b/Source/Bind/Specifications/Docs/GL/glXWaitX.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/glXWaitX.xml rename to Source/Bind/Specifications/Docs/GL/glXWaitX.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBeginCurve.xml b/Source/Bind/Specifications/Docs/GL/gluBeginCurve.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBeginCurve.xml rename to Source/Bind/Specifications/Docs/GL/gluBeginCurve.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBeginPolygon.xml b/Source/Bind/Specifications/Docs/GL/gluBeginPolygon.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBeginPolygon.xml rename to Source/Bind/Specifications/Docs/GL/gluBeginPolygon.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBeginSurface.xml b/Source/Bind/Specifications/Docs/GL/gluBeginSurface.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBeginSurface.xml rename to Source/Bind/Specifications/Docs/GL/gluBeginSurface.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBeginTrim.xml b/Source/Bind/Specifications/Docs/GL/gluBeginTrim.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBeginTrim.xml rename to Source/Bind/Specifications/Docs/GL/gluBeginTrim.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBuild1DMipmapLevels.xml b/Source/Bind/Specifications/Docs/GL/gluBuild1DMipmapLevels.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBuild1DMipmapLevels.xml rename to Source/Bind/Specifications/Docs/GL/gluBuild1DMipmapLevels.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBuild1DMipmaps.xml b/Source/Bind/Specifications/Docs/GL/gluBuild1DMipmaps.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBuild1DMipmaps.xml rename to Source/Bind/Specifications/Docs/GL/gluBuild1DMipmaps.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBuild2DMipmapLevels.xml b/Source/Bind/Specifications/Docs/GL/gluBuild2DMipmapLevels.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBuild2DMipmapLevels.xml rename to Source/Bind/Specifications/Docs/GL/gluBuild2DMipmapLevels.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBuild2DMipmaps.xml b/Source/Bind/Specifications/Docs/GL/gluBuild2DMipmaps.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBuild2DMipmaps.xml rename to Source/Bind/Specifications/Docs/GL/gluBuild2DMipmaps.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBuild3DMipmapLevels.xml b/Source/Bind/Specifications/Docs/GL/gluBuild3DMipmapLevels.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBuild3DMipmapLevels.xml rename to Source/Bind/Specifications/Docs/GL/gluBuild3DMipmapLevels.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluBuild3DMipmaps.xml b/Source/Bind/Specifications/Docs/GL/gluBuild3DMipmaps.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluBuild3DMipmaps.xml rename to Source/Bind/Specifications/Docs/GL/gluBuild3DMipmaps.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluCheckExtension.xml b/Source/Bind/Specifications/Docs/GL/gluCheckExtension.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluCheckExtension.xml rename to Source/Bind/Specifications/Docs/GL/gluCheckExtension.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluCylinder.xml b/Source/Bind/Specifications/Docs/GL/gluCylinder.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluCylinder.xml rename to Source/Bind/Specifications/Docs/GL/gluCylinder.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluDeleteNurbsRenderer.xml b/Source/Bind/Specifications/Docs/GL/gluDeleteNurbsRenderer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluDeleteNurbsRenderer.xml rename to Source/Bind/Specifications/Docs/GL/gluDeleteNurbsRenderer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluDeleteQuadric.xml b/Source/Bind/Specifications/Docs/GL/gluDeleteQuadric.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluDeleteQuadric.xml rename to Source/Bind/Specifications/Docs/GL/gluDeleteQuadric.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluDeleteTess.xml b/Source/Bind/Specifications/Docs/GL/gluDeleteTess.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluDeleteTess.xml rename to Source/Bind/Specifications/Docs/GL/gluDeleteTess.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluDisk.xml b/Source/Bind/Specifications/Docs/GL/gluDisk.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluDisk.xml rename to Source/Bind/Specifications/Docs/GL/gluDisk.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluErrorString.xml b/Source/Bind/Specifications/Docs/GL/gluErrorString.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluErrorString.xml rename to Source/Bind/Specifications/Docs/GL/gluErrorString.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluGetNurbsProperty.xml b/Source/Bind/Specifications/Docs/GL/gluGetNurbsProperty.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluGetNurbsProperty.xml rename to Source/Bind/Specifications/Docs/GL/gluGetNurbsProperty.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluGetString.xml b/Source/Bind/Specifications/Docs/GL/gluGetString.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluGetString.xml rename to Source/Bind/Specifications/Docs/GL/gluGetString.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluGetTessProperty.xml b/Source/Bind/Specifications/Docs/GL/gluGetTessProperty.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluGetTessProperty.xml rename to Source/Bind/Specifications/Docs/GL/gluGetTessProperty.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluLoadSamplingMatrices.xml b/Source/Bind/Specifications/Docs/GL/gluLoadSamplingMatrices.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluLoadSamplingMatrices.xml rename to Source/Bind/Specifications/Docs/GL/gluLoadSamplingMatrices.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluLookAt.xml b/Source/Bind/Specifications/Docs/GL/gluLookAt.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluLookAt.xml rename to Source/Bind/Specifications/Docs/GL/gluLookAt.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNewNurbsRenderer.xml b/Source/Bind/Specifications/Docs/GL/gluNewNurbsRenderer.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNewNurbsRenderer.xml rename to Source/Bind/Specifications/Docs/GL/gluNewNurbsRenderer.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNewQuadric.xml b/Source/Bind/Specifications/Docs/GL/gluNewQuadric.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNewQuadric.xml rename to Source/Bind/Specifications/Docs/GL/gluNewQuadric.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNewTess.xml b/Source/Bind/Specifications/Docs/GL/gluNewTess.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNewTess.xml rename to Source/Bind/Specifications/Docs/GL/gluNewTess.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNextContour.xml b/Source/Bind/Specifications/Docs/GL/gluNextContour.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNextContour.xml rename to Source/Bind/Specifications/Docs/GL/gluNextContour.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNurbsCallback.xml b/Source/Bind/Specifications/Docs/GL/gluNurbsCallback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNurbsCallback.xml rename to Source/Bind/Specifications/Docs/GL/gluNurbsCallback.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNurbsCallbackData.xml b/Source/Bind/Specifications/Docs/GL/gluNurbsCallbackData.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNurbsCallbackData.xml rename to Source/Bind/Specifications/Docs/GL/gluNurbsCallbackData.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNurbsCallbackDataEXT.xml b/Source/Bind/Specifications/Docs/GL/gluNurbsCallbackDataEXT.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNurbsCallbackDataEXT.xml rename to Source/Bind/Specifications/Docs/GL/gluNurbsCallbackDataEXT.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNurbsCurve.xml b/Source/Bind/Specifications/Docs/GL/gluNurbsCurve.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNurbsCurve.xml rename to Source/Bind/Specifications/Docs/GL/gluNurbsCurve.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNurbsProperty.xml b/Source/Bind/Specifications/Docs/GL/gluNurbsProperty.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNurbsProperty.xml rename to Source/Bind/Specifications/Docs/GL/gluNurbsProperty.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluNurbsSurface.xml b/Source/Bind/Specifications/Docs/GL/gluNurbsSurface.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluNurbsSurface.xml rename to Source/Bind/Specifications/Docs/GL/gluNurbsSurface.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluOrtho2D.xml b/Source/Bind/Specifications/Docs/GL/gluOrtho2D.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluOrtho2D.xml rename to Source/Bind/Specifications/Docs/GL/gluOrtho2D.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluPartialDisk.xml b/Source/Bind/Specifications/Docs/GL/gluPartialDisk.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluPartialDisk.xml rename to Source/Bind/Specifications/Docs/GL/gluPartialDisk.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluPerspective.xml b/Source/Bind/Specifications/Docs/GL/gluPerspective.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluPerspective.xml rename to Source/Bind/Specifications/Docs/GL/gluPerspective.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluPickMatrix.xml b/Source/Bind/Specifications/Docs/GL/gluPickMatrix.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluPickMatrix.xml rename to Source/Bind/Specifications/Docs/GL/gluPickMatrix.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluProject.xml b/Source/Bind/Specifications/Docs/GL/gluProject.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluProject.xml rename to Source/Bind/Specifications/Docs/GL/gluProject.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluPwlCurve.xml b/Source/Bind/Specifications/Docs/GL/gluPwlCurve.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluPwlCurve.xml rename to Source/Bind/Specifications/Docs/GL/gluPwlCurve.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluQuadricCallback.xml b/Source/Bind/Specifications/Docs/GL/gluQuadricCallback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluQuadricCallback.xml rename to Source/Bind/Specifications/Docs/GL/gluQuadricCallback.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluQuadricDrawStyle.xml b/Source/Bind/Specifications/Docs/GL/gluQuadricDrawStyle.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluQuadricDrawStyle.xml rename to Source/Bind/Specifications/Docs/GL/gluQuadricDrawStyle.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluQuadricNormals.xml b/Source/Bind/Specifications/Docs/GL/gluQuadricNormals.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluQuadricNormals.xml rename to Source/Bind/Specifications/Docs/GL/gluQuadricNormals.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluQuadricOrientation.xml b/Source/Bind/Specifications/Docs/GL/gluQuadricOrientation.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluQuadricOrientation.xml rename to Source/Bind/Specifications/Docs/GL/gluQuadricOrientation.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluQuadricTexture.xml b/Source/Bind/Specifications/Docs/GL/gluQuadricTexture.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluQuadricTexture.xml rename to Source/Bind/Specifications/Docs/GL/gluQuadricTexture.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluScaleImage.xml b/Source/Bind/Specifications/Docs/GL/gluScaleImage.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluScaleImage.xml rename to Source/Bind/Specifications/Docs/GL/gluScaleImage.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluSphere.xml b/Source/Bind/Specifications/Docs/GL/gluSphere.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluSphere.xml rename to Source/Bind/Specifications/Docs/GL/gluSphere.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluTessBeginContour.xml b/Source/Bind/Specifications/Docs/GL/gluTessBeginContour.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluTessBeginContour.xml rename to Source/Bind/Specifications/Docs/GL/gluTessBeginContour.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluTessBeginPolygon.xml b/Source/Bind/Specifications/Docs/GL/gluTessBeginPolygon.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluTessBeginPolygon.xml rename to Source/Bind/Specifications/Docs/GL/gluTessBeginPolygon.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluTessCallback.xml b/Source/Bind/Specifications/Docs/GL/gluTessCallback.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluTessCallback.xml rename to Source/Bind/Specifications/Docs/GL/gluTessCallback.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluTessEndPolygon.xml b/Source/Bind/Specifications/Docs/GL/gluTessEndPolygon.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluTessEndPolygon.xml rename to Source/Bind/Specifications/Docs/GL/gluTessEndPolygon.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluTessNormal.xml b/Source/Bind/Specifications/Docs/GL/gluTessNormal.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluTessNormal.xml rename to Source/Bind/Specifications/Docs/GL/gluTessNormal.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluTessProperty.xml b/Source/Bind/Specifications/Docs/GL/gluTessProperty.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluTessProperty.xml rename to Source/Bind/Specifications/Docs/GL/gluTessProperty.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluTessVertex.xml b/Source/Bind/Specifications/Docs/GL/gluTessVertex.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluTessVertex.xml rename to Source/Bind/Specifications/Docs/GL/gluTessVertex.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluUnProject.xml b/Source/Bind/Specifications/Docs/GL/gluUnProject.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluUnProject.xml rename to Source/Bind/Specifications/Docs/GL/gluUnProject.xml diff --git a/Source/Bind/Specifications/Docs/GL2/gluUnProject4.xml b/Source/Bind/Specifications/Docs/GL/gluUnProject4.xml similarity index 100% rename from Source/Bind/Specifications/Docs/GL2/gluUnProject4.xml rename to Source/Bind/Specifications/Docs/GL/gluUnProject4.xml diff --git a/Source/Bind/Specifications/Docs/GL2/glActiveTexture.xml b/Source/Bind/Specifications/Docs/GL2/glActiveTexture.xml deleted file mode 100644 index f02bc2c3cb..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glActiveTexture.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glActiveTexture - 3G - - - 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 - GL_TEXTUREi, - where - i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) - and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). - The initial value is GL_TEXTURE0. - - - - - - Description - - glActiveTexture selects which texture unit subsequent texture state calls will - affect. The number of texture units an implementation supports is - implementation dependent, but must be at least 2. - - - Vertex arrays are client-side GL resources, which are selected by the - glClientActiveTexture routine. - - - Notes - - glActiveTexture is only supported if the GL version is 1.3 or greater, or if - ARB_multitexture is included in the string returned by - glGetString when called with the argument GL_EXTENSIONS. - - - Errors - - GL_INVALID_ENUM is generated if texture is not one of - GL_TEXTUREi, - where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) - and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). - - - Associated Gets - - glGet with argument GL_ACTIVE_TEXTURE, GL_MAX_TEXTURE_COORDS, or GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - - - See Also - - glClientActiveTexture, - glMultiTexCoord, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glAttachShader.xml b/Source/Bind/Specifications/Docs/GL2/glAttachShader.xml deleted file mode 100644 index 5b52cf55d6..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glAttachShader.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - glAttachShader - 3G - - - 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 - together in a program object must first be attached to that - program object. glAttachShader attaches the - shader object specified by shader to the - program object specified by program. This - indicates that shader will be included in - link operations that will be performed on - program. - - All operations that can be performed on a shader object - are valid whether or not the shader object is attached to a - 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. It - is permissible to attach multiple shader objects of the same - type because each may contain a portion of the complete shader. - It is also permissible to attach a shader object 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, - and deletion will not occur until - glDetachShader - is called to detach it from all program objects to which it is - attached. - - Notes - glAttachShader - is available only if the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if either - program or shader - is not a value generated by OpenGL. - - GL_INVALID_OPERATION is generated if - 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. - - GL_INVALID_OPERATION is generated if - glAttachShader is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetAttachedShaders - with the handle of a valid program object - - glIsProgram - - glIsShader - - See Also - glCompileShader, - glDetachShader, - glLinkProgram, - glShaderSource - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBeginQuery.xml b/Source/Bind/Specifications/Docs/GL2/glBeginQuery.xml deleted file mode 100644 index 3a41b89c96..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBeginQuery.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glBeginQuery - 3G - - - 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 - - - Specifies the target type of query object to be concluded. - The symbolic constant must be GL_SAMPLES_PASSED. - - - - - - Description - - glBeginQuery and glEndQuery delimit the - boundaries of a query object. If a query object with name id does not yet exist it is created. - - - When glBeginQuery is executed, the query object's samples-passed counter is reset to 0. Subsequent - rendering will increment the counter once for every sample that passes the depth test. When glEndQuery - is executed, the samples-passed counter is assigned to the query object's result value. This value can be queried by - calling glGetQueryObject with pname - GL_QUERY_RESULT. - - - Querying the GL_QUERY_RESULT implicitly flushes the GL pipeline until the rendering delimited by the - query object has completed and the result is available. GL_QUERY_RESULT_AVAILABLE can be queried to - determine if the result is immediately available or if the rendering is not yet complete. - - - Notes - - If the samples-passed count exceeds the maximum value representable in the number of available bits, as reported by - glGetQueryiv with pname - GL_QUERY_COUNTER_BITS, the count becomes undefined. - - - An implementation may support 0 bits in its samples-passed counter, in which case query results are always undefined - and essentially useless. - - - When GL_SAMPLE_BUFFERS is 0, the samples-passed counter will increment once for each fragment that passes - the depth test. When GL_SAMPLE_BUFFERS is 1, an implementation may either increment the samples-passed - counter individually for each sample of a fragment that passes the depth test, or it may choose to increment the counter for - all samples of a fragment if any one of them passes the depth test. - - - glBeginQuery and glEndQuery - are available only if the GL version is 1.5 or greater. - - - Errors - - GL_INVALID_ENUM is generated if target is not GL_SAMPLES_PASSED. - - - GL_INVALID_OPERATION is generated if glBeginQuery is executed while - a query object of the same target is already active. - - - GL_INVALID_OPERATION is generated if glEndQuery - is executed when a query object of the same target is not active. - - - GL_INVALID_OPERATION is generated if id is 0. - - - GL_INVALID_OPERATION is generated if id is the name of an already active query object. - - - GL_INVALID_OPERATION is generated if glBeginQuery or - glEndQuery is executed between the execution of - glBegin and the corresponding execution of - glEnd. - - - See Also - - glDeleteQueries, - glGenQueries, - glGetQueryiv, - glGetQueryObject, - glIsQuery - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBindAttribLocation.xml b/Source/Bind/Specifications/Docs/GL2/glBindAttribLocation.xml deleted file mode 100644 index 2656f844db..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBindAttribLocation.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - glBindAttribLocation - 3G - - - 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 - which index is to be - bound. - - - - - Description - glBindAttribLocation is used to - associate a user-defined attribute variable in the program - object specified by program with a - generic vertex attribute index. The name of the user-defined - attribute variable is passed as a null terminated string in - name. The generic vertex attribute index - to be bound to this variable is specified by - index. When - program is made part of current state, - values provided via the generic vertex attribute - index will modify the value of the - user-defined attribute variable specified by - name. - - If name refers to a matrix - attribute variable, index refers to the - first column of the matrix. Other matrix columns are then - automatically bound to locations index+1 - for a matrix of type mat2; index+1 and - index+2 for a matrix of type mat3; and - index+1, index+2, - and index+3 for a matrix of type - mat4. - - This command makes it possible for vertex shaders to use - descriptive names for attribute variables rather than generic - variables that are numbered from 0 to - GL_MAX_VERTEX_ATTRIBS -1. The values sent - to each generic attribute index are part of current state, just - like standard vertex attributes such as color, normal, and - vertex position. If a different program object is made current - by calling - glUseProgram, - the generic vertex attributes are tracked in such a way that the - same values will be observed by attributes in the new program - object that are also bound to - index. Attribute variable - name-to-generic attribute index bindings for a program object - can be explicitly assigned at any time by calling - glBindAttribLocation. Attribute bindings do - not go into effect until - glLinkProgram - is called. After a program object has been linked successfully, - the index values for generic attributes remain fixed (and their - values can be queried) until the next link command - occurs. - - Applications are not allowed to bind any of the standard - OpenGL vertex attributes using this command, as they are bound - automatically when needed. Any attribute binding that occurs - after the program object has been linked will not take effect - until the next time the program object is linked. - - Notes - glBindAttribLocation is available - only if the GL version is 2.0 or greater. - - glBindAttribLocation can be called - before any vertex shader objects are bound to the specified - program object. It is also permissible to bind a generic - attribute index to an attribute variable name that is never used - in a vertex shader. - - If name was bound previously, that - information is lost. Thus you cannot bind one user-defined - attribute variable to multiple indices, but you can bind - multiple user-defined attribute variables to the same - index. - - Applications are allowed to bind more than one - user-defined attribute variable to the same generic vertex - attribute index. This is called aliasing, - and it is allowed only if just one of the aliased attributes is - active in the executable program, or if no path through the - shader consumes more than one attribute of a set of attributes - aliased to the same location. The compiler and linker are - allowed to assume that no aliasing is done and are free to - employ optimizations that work only in the absence of aliasing. - OpenGL implementations are not required to do error checking to - detect aliasing. Because there is no way to bind standard - attributes, it is not possible to alias generic attributes with - conventional ones (except for generic attribute 0). - - Active attributes that are not explicitly bound will be - bound by the linker when - glLinkProgram - is called. The locations assigned can be queried by calling - glGetAttribLocation. - - OpenGL copies the name string when - glBindAttribLocation is called, so an - application may free its copy of the name - string immediately after the function returns. - - Errors - GL_INVALID_VALUE is generated if - index is greater than or equal to - GL_MAX_VERTEX_ATTRIBS. - - GL_INVALID_OPERATION is generated if - name starts with the reserved prefix - "gl_". - - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_OPERATION is generated if - glBindAttribLocation is executed between - the execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGet - with argument GL_MAX_VERTEX_ATTRIBS - - glGetActiveAttrib - with argument program - - glGetAttribLocation - with arguments program and - name - - glIsProgram - - See Also - glDisableVertexAttribArray, - glEnableVertexAttribArray, - glUseProgram, - glVertexAttrib, - glVertexAttribPointer - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBindBuffer.xml b/Source/Bind/Specifications/Docs/GL2/glBindBuffer.xml deleted file mode 100644 index be3dded821..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBindBuffer.xml +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glBindBuffer - 3G - - - 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, - GL_ELEMENT_ARRAY_BUFFER, - GL_PIXEL_PACK_BUFFER, or - GL_PIXEL_UNPACK_BUFFER. - - - - - buffer - - - Specifies the name of a buffer object. - - - - - - Description - - glBindBuffer lets you create or use a named buffer object. Calling glBindBuffer with - target set to - GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER or - GL_PIXEL_UNPACK_BUFFER 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. - - - Buffer object names are unsigned integers. The value zero is reserved, but - there is no default buffer object for each buffer object target. Instead, buffer set to zero - effectively unbinds any buffer object previously bound, and restores client memory usage for that buffer object target. - Buffer object names and the corresponding buffer object contents are local to - the shared display-list space (see glXCreateContext) of the current - GL rendering context; - two rendering contexts share buffer object names only if they - also share display lists. - - - You may use glGenBuffers to generate a set of new buffer object names. - - - The state of a buffer object immediately after it is first bound is an unmapped zero-sized memory buffer with - 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 - 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 - 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 - 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 - 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, - 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 - 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, - glColorSubTable, - glColorTable, - glCompressedTexImage1D, - glCompressedTexImage2D, - glCompressedTexImage3D, - glCompressedTexSubImage1D, - glCompressedTexSubImage2D, - glCompressedTexSubImage3D, - glConvolutionFilter1D, - glConvolutionFilter2D, - glDrawPixels, - glPixelMap, - glPolygonStipple, - glSeparableFilter2D, - glTexImage1D, - 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 - 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 - buffer object name is bound to the same target, or until the bound buffer object is - deleted with glDeleteBuffers. - - - Once created, a named buffer object may be re-bound to any target as often as needed. However, - the GL implementation may make choices about how to optimize the storage of a buffer object based - on its initial binding target. - - - Notes - - glBindBuffer is available only if the GL version is 1.5 or greater. - - - 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 - values. - - - GL_INVALID_OPERATION is generated if glBindBuffer is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGet with argument GL_ARRAY_BUFFER_BINDING - - - glGet with argument GL_ELEMENT_ARRAY_BUFFER_BINDING - - - glGet with argument GL_PIXEL_PACK_BUFFER_BINDING - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - See Also - - glDeleteBuffers, - glGenBuffers, - glGet, - glIsBuffer - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBindTexture.xml b/Source/Bind/Specifications/Docs/GL2/glBindTexture.xml deleted file mode 100644 index 3f4b03d489..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBindTexture.xml +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glBindTexture - 3G - - - 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, - GL_TEXTURE_2D, - GL_TEXTURE_3D, or - GL_TEXTURE_CUBE_MAP. - - - - - texture - - - Specifies the name of a texture. - - - - - - Description - - glBindTexture lets you create or use a named texture. Calling glBindTexture with - target set to - GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D or - GL_TEXTURE_CUBE_MAP and texture set to the name - of the new texture binds the texture name to the target. - When a texture is bound to a target, the previous binding for that - target is automatically broken. - - - Texture names are unsigned integers. The value zero is reserved to - represent the default texture for each texture target. - Texture names and the corresponding texture contents are local to - the shared display-list space (see glXCreateContext) of the current - GL rendering context; - two rendering contexts share texture names only if they - also share display lists. - - - You may use glGenTextures to generate a set of new texture names. - - - When a texture is first bound, it assumes the specified target: - A texture first bound to GL_TEXTURE_1D becomes one-dimensional texture, a - texture first bound to GL_TEXTURE_2D becomes two-dimensional texture, a - texture first bound to GL_TEXTURE_3D becomes three-dimensional texture, and a - texture first bound to GL_TEXTURE_CUBE_MAP - becomes a cube-mapped texture. The state of a one-dimensional texture - immediately after it is first bound is equivalent to the state of the - default GL_TEXTURE_1D at GL initialization, and similarly for two- - and three-dimensional textures and cube-mapped textures. - - - 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. If texture mapping is active - on the target to which a texture is bound, the bound texture is used. - 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. - - - A texture binding created with glBindTexture remains active until a different - texture is bound to the same target, or until the bound texture is - deleted with glDeleteTextures. - - - Once created, a named texture may be re-bound to its same original target as often as needed. - It is usually much faster to use glBindTexture to bind an existing named - texture to one of the texture targets than it is to reload the texture image - using glTexImage1D, glTexImage2D, or glTexImage3D. - For additional control over performance, use - glPrioritizeTextures. - - - glBindTexture is included in display lists. - - - Notes - - glBindTexture is available only if the GL version is 1.1 or greater. - - - GL_TEXTURE_CUBE_MAP is available only if the GL version is 1.3 or greater. - - - Errors - - GL_INVALID_ENUM is generated if target is not one of the allowable - values. - - - GL_INVALID_OPERATION is generated if texture was previously created with a target - that doesn't match that of target. - - - GL_INVALID_OPERATION is generated if glBindTexture is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGet with argument GL_TEXTURE_BINDING_1D - - - glGet with argument GL_TEXTURE_BINDING_2D - - - glGet with argument GL_TEXTURE_BINDING_3D - - - See Also - - glAreTexturesResident, - glDeleteTextures, - glGenTextures, - glGet, - glGetTexParameter, - glIsTexture, - glPrioritizeTextures, - glTexImage1D, - glTexImage2D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBlendColor.xml b/Source/Bind/Specifications/Docs/GL2/glBlendColor.xml deleted file mode 100644 index e68d7a7ec7..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBlendColor.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glBlendColor - 3G - - - 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 - blending factors. The color components are clamped to the range - - - - 0 - 1 - - - before being stored. See glBlendFunc for a complete description of the - blending operations. - Initially the GL_BLEND_COLOR is set to (0, 0, 0, 0). - - - Notes - - glBlendColor is part of the ARB_imaging subset. glBlendColor is present only - if ARB_imaging is returned when glGetString is called with - GL_EXTENSIONS as its argument. - - - Errors - - GL_INVALID_OPERATION is generated if glBlendColor is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - - - Associated Gets - - glGet with an argument of GL_BLEND_COLOR - - - See Also - - glBlendEquation, - glBlendFunc, - glGetString - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBlendEquation.xml b/Source/Bind/Specifications/Docs/GL2/glBlendEquation.xml deleted file mode 100644 index b349186041..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBlendEquation.xml +++ /dev/null @@ -1,765 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glBlendEquation - 3G - - - 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. - - - - - - Description - - The blend equations determine how a new pixel (the ''source'' color) - is combined with a pixel already in the framebuffer (the ''destination'' - color). This function sets both the RGB blend equation and the alpha - blend equation to a single equation. - - - These equations use the source and destination blend factors - specified by either glBlendFunc or - glBlendFuncSeparate. - See glBlendFunc or glBlendFuncSeparate - for a description of the various blend factors. - - - In the equations that follow, source and destination - color components are referred to as - - - - R - s - - G - s - - B - s - - A - s - - - - and - - - - R - d - - G - d - - B - d - - A - d - - - , - respectively. - The result color is referred to as - - - - R - r - - G - r - - B - r - - A - r - - - . - The source and destination blend factors are denoted - - - - s - R - - s - G - - s - B - - s - A - - - - and - - - - d - R - - d - G - - d - B - - d - A - - - , - respectively. - For these equations all color components are understood to have values - in the range - - - - 0 - 1 - - . - - - - - - - - - - Mode - - - RGB Components - - - Alpha Component - - - - - - - GL_FUNC_ADD - - - - - - Rr - = - - R - s - - - s - R - - + - R - d - - - d - R - - - - - - - - Gr - = - - G - s - - - s - G - - + - G - d - - - d - G - - - - - - - - Br - = - - B - s - - - s - B - - + - B - d - - - d - B - - - - - - - - - - Ar - = - - A - s - - - s - A - - + - A - d - - - d - A - - - - - - - - - GL_FUNC_SUBTRACT - - - - - - Rr - = - - R - s - - - s - R - - - - R - d - - - d - R - - - - - - - - Gr - = - - G - s - - - s - G - - - - G - d - - - d - G - - - - - - - - Br - = - - B - s - - - s - B - - - - B - d - - - d - B - - - - - - - - - - Ar - = - - A - s - - - s - A - - - - A - d - - - d - A - - - - - - - - - GL_FUNC_REVERSE_SUBTRACT - - - - - - Rr - = - - R - d - - - d - R - - - - R - s - - - s - R - - - - - - - - Gr - = - - G - d - - - d - G - - - - G - s - - - s - G - - - - - - - - Br - = - - B - d - - - d - B - - - - B - s - - - s - B - - - - - - - - - - Ar - = - - A - d - - - d - A - - - - A - s - - - s - A - - - - - - - - - GL_MIN - - - - - - Rr - = - - min - - - - R - s - - - - R - d - - - - - - - - - - Gr - = - - min - - - - G - s - - - - G - d - - - - - - - - - - Br - = - - min - - - - B - s - - - - B - d - - - - - - - - - - - - Ar - = - - min - - - - A - s - - - - A - d - - - - - - - - - - - GL_MAX - - - - - - Rr - = - - max - - - - R - s - - - - R - d - - - - - - - - - - Gr - = - - max - - - - G - s - - - - G - d - - - - - - - - - - Br - = - - max - - - - B - s - - - - B - d - - - - - - - - - - - - Ar - = - - max - - - - A - s - - - - A - d - - - - - - - - - - - - - - The results of these equations are clamped to the range - - - - 0 - 1 - - . - - - The GL_MIN and GL_MAX equations are useful for applications - that analyze image data (image thresholding against a constant color, - for example). - The GL_FUNC_ADD equation is useful - for antialiasing and transparency, among other things. - - - Initially, both the RGB blend equation and the alpha blend equation are set to GL_FUNC_ADD. - - - - - Notes - - The GL_MIN, and GL_MAX equations do not use - the source or destination factors, only the source and destination colors. - - - Errors - - GL_INVALID_ENUM is generated if mode is not one of - GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, - GL_MAX, or GL_MIN. - - - GL_INVALID_OPERATION is generated if glBlendEquation is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGet with an argument of GL_BLEND_EQUATION_RGB - - - glGet with an argument of GL_BLEND_EQUATION_ALPHA - - - See Also - - glGetString, - glBlendColor, - glBlendFunc - glBlendFuncSeparate - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBlendEquationSeparate.xml b/Source/Bind/Specifications/Docs/GL2/glBlendEquationSeparate.xml deleted file mode 100644 index d6985df8a0..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBlendEquationSeparate.xml +++ /dev/null @@ -1,779 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glBlendEquationSeparate - 3G - - - 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. - - - - - modeAlpha - - - specifies the alpha blend equation, how the alpha component 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. - - - - - - Description - - The blend equations determines how a new pixel (the ''source'' color) - is combined with a pixel already in the framebuffer (the ''destination'' - color). This function specifies one blend equation for the RGB-color - components and one blend equation for the alpha component. - - - The blend equations use the source and destination blend factors - specified by either glBlendFunc or - glBlendFuncSeparate. - See glBlendFunc or glBlendFuncSeparate - for a description of the various blend factors. - - - In the equations that follow, source and destination - color components are referred to as - - - - R - s - - G - s - - B - s - - A - s - - - - and - - - - R - d - - G - d - - B - d - - A - d - - - , - respectively. - The result color is referred to as - - - - R - r - - G - r - - B - r - - A - r - - - . - The source and destination blend factors are denoted - - - - s - R - - s - G - - s - B - - s - A - - - - and - - - - d - R - - d - G - - d - B - - d - A - - - , - respectively. - For these equations all color components are understood to have values - in the range - - - - 0 - 1 - - . - - - - - - - - - - Mode - - - RGB Components - - - Alpha Component - - - - - - - GL_FUNC_ADD - - - - - - Rr - = - - R - s - - - s - R - - + - R - d - - - d - R - - - - - - - - Gr - = - - G - s - - - s - G - - + - G - d - - - d - G - - - - - - - - Br - = - - B - s - - - s - B - - + - B - d - - - d - B - - - - - - - - - - Ar - = - - A - s - - - s - A - - + - A - d - - - d - A - - - - - - - - - GL_FUNC_SUBTRACT - - - - - - Rr - = - - R - s - - - s - R - - - - R - d - - - d - R - - - - - - - - Gr - = - - G - s - - - s - G - - - - G - d - - - d - G - - - - - - - - Br - = - - B - s - - - s - B - - - - B - d - - - d - B - - - - - - - - - - Ar - = - - A - s - - - s - A - - - - A - d - - - d - A - - - - - - - - - GL_FUNC_REVERSE_SUBTRACT - - - - - - Rr - = - - R - d - - - d - R - - - - R - s - - - s - R - - - - - - - - Gr - = - - G - d - - - d - G - - - - G - s - - - s - G - - - - - - - - Br - = - - B - d - - - d - B - - - - B - s - - - s - B - - - - - - - - - - Ar - = - - A - d - - - d - A - - - - A - s - - - s - A - - - - - - - - - GL_MIN - - - - - - Rr - = - - min - - - - R - s - - - - R - d - - - - - - - - - - Gr - = - - min - - - - G - s - - - - G - d - - - - - - - - - - Br - = - - min - - - - B - s - - - - B - d - - - - - - - - - - - - Ar - = - - min - - - - A - s - - - - A - d - - - - - - - - - - - GL_MAX - - - - - - Rr - = - - max - - - - R - s - - - - R - d - - - - - - - - - - Gr - = - - max - - - - G - s - - - - G - d - - - - - - - - - - Br - = - - max - - - - B - s - - - - B - d - - - - - - - - - - - - Ar - = - - max - - - - A - s - - - - A - d - - - - - - - - - - - - - - The results of these equations are clamped to the range - - - - 0 - 1 - - . - - - The GL_MIN and GL_MAX equations are useful for applications - that analyze image data (image thresholding against a constant color, - for example). - The GL_FUNC_ADD equation is useful - for antialiasing and transparency, among other things. - - - Initially, both the RGB blend equation and the alpha blend equation are set to GL_FUNC_ADD. - - - - - Notes - - glBlendEquationSeparate is available only if the GL version is 2.0 or greater. - - - The GL_MIN, and GL_MAX equations do not use - the source or destination factors, only the source and destination colors. - - - Errors - - GL_INVALID_ENUM is generated if either modeRGB or modeAlpha is not one of - GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, - GL_MAX, or GL_MIN. - - - GL_INVALID_OPERATION is generated if glBlendEquationSeparate is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGet with an argument of GL_BLEND_EQUATION_RGB - - - glGet with an argument of GL_BLEND_EQUATION_ALPHA - - - See Also - - glGetString, - glBlendColor, - glBlendFunc, - glBlendFuncSeparate - - - Copyright - - Copyright 2006 Khronos Group. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBlendFunc.xml b/Source/Bind/Specifications/Docs/GL2/glBlendFunc.xml deleted file mode 100644 index ed7ed92121..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBlendFunc.xml +++ /dev/null @@ -1,1256 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glBlendFunc - 3G - - - 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: - GL_ZERO, - GL_ONE, - GL_SRC_COLOR, - GL_ONE_MINUS_SRC_COLOR, - GL_DST_COLOR, - GL_ONE_MINUS_DST_COLOR, - GL_SRC_ALPHA, - GL_ONE_MINUS_SRC_ALPHA, - GL_DST_ALPHA, - GL_ONE_MINUS_DST_ALPHA, - GL_CONSTANT_COLOR, - GL_ONE_MINUS_CONSTANT_COLOR, - GL_CONSTANT_ALPHA, - GL_ONE_MINUS_CONSTANT_ALPHA, and - GL_SRC_ALPHA_SATURATE. - The initial value is GL_ONE. - - - - - dfactor - - - Specifies how the red, green, blue, - and alpha destination blending factors are computed. - The following symbolic constants are accepted: - GL_ZERO, - GL_ONE, - GL_SRC_COLOR, - GL_ONE_MINUS_SRC_COLOR, - GL_DST_COLOR, - GL_ONE_MINUS_DST_COLOR, - GL_SRC_ALPHA, - GL_ONE_MINUS_SRC_ALPHA, - GL_DST_ALPHA, - GL_ONE_MINUS_DST_ALPHA. - GL_CONSTANT_COLOR, - GL_ONE_MINUS_CONSTANT_COLOR, - GL_CONSTANT_ALPHA, and - GL_ONE_MINUS_CONSTANT_ALPHA. - The initial value is GL_ZERO. - - - - - - Description - - In RGBA mode, pixels can be drawn using a function that blends - the incoming (source) RGBA values with the RGBA values - that are already in the frame buffer (the destination values). - Blending is initially disabled. - Use glEnable and glDisable with argument GL_BLEND - to enable and disable blending. - - - glBlendFunc defines the operation of blending when it is enabled. - sfactor specifies which method is used to scale the - source color components. - dfactor specifies which method is used to scale the - destination color components. - The possible methods are described in the following table. - Each method defines four scale factors, - one each for red, green, blue, and alpha. - In the table and in subsequent equations, source and destination - color components are referred to as - - - - R - s - - G - s - - B - s - - A - s - - - - and - - - - R - d - - G - d - - B - d - - A - d - - - . - The color specified by glBlendColor is referred to as - - - - R - c - - G - c - - B - c - - A - c - - - . - They are understood to have integer values between 0 and - - - - k - R - - k - G - - k - B - - k - A - - - , - where - - - - - - - k - c - - = - - 2 - - m - c - - - - - - 1 - - - - - - - and - - - - m - R - - m - G - - m - B - - m - A - - - - is the number of red, - green, - blue, - and alpha bitplanes. - - - Source and destination scale factors are referred to as - - - - s - R - - s - G - - s - B - - s - A - - - - and - - - - d - R - - d - G - - d - B - - d - A - - - . - The scale factors described in the table, - denoted - - - - f - R - - f - G - - f - B - - f - A - - - , - represent either source or destination factors. - All scale factors have range - - - - 0 - 1 - - . - - - - - - - - - - - Parameter - - - - - - f - R - - f - G - - f - B - - f - A - - - - - - - - - - GL_ZERO - - - - - - 0 - 0 - 0 - 0 - - - - - - - GL_ONE - - - - - - 1 - 1 - 1 - 1 - - - - - - - GL_SRC_COLOR - - - - - - - R - s - - k - R - - - - G - s - - k - G - - - - B - s - - k - B - - - - A - s - - k - A - - - - - - - - - GL_ONE_MINUS_SRC_COLOR - - - - - - - 1 - 1 - 1 - 1 - - - - - - R - s - - k - R - - - - G - s - - k - G - - - - B - s - - k - B - - - - A - s - - k - A - - - - - - - - - - GL_DST_COLOR - - - - - - - R - d - - k - R - - - - G - d - - k - G - - - - B - d - - k - B - - - - A - d - - k - A - - - - - - - - - GL_ONE_MINUS_DST_COLOR - - - - - - - 1 - 1 - 1 - 1 - - - - - - R - d - - k - R - - - - G - d - - k - G - - - - B - d - - k - B - - - - A - d - - k - A - - - - - - - - - - GL_SRC_ALPHA - - - - - - - A - s - - k - A - - - - A - s - - k - A - - - - A - s - - k - A - - - - A - s - - k - A - - - - - - - - - GL_ONE_MINUS_SRC_ALPHA - - - - - - - 1 - 1 - 1 - 1 - - - - - - A - s - - k - A - - - - A - s - - k - A - - - - A - s - - k - A - - - - A - s - - k - A - - - - - - - - - - GL_DST_ALPHA - - - - - - - A - d - - k - A - - - - A - d - - k - A - - - - A - d - - k - A - - - - A - d - - k - A - - - - - - - - - GL_ONE_MINUS_DST_ALPHA - - - - - - - 1 - 1 - 1 - 1 - - - - - - A - d - - k - A - - - - A - d - - k - A - - - - A - d - - k - A - - - - A - d - - k - A - - - - - - - - - - GL_CONSTANT_COLOR - - - - - - R - c - - G - c - - B - c - - A - c - - - - - - - - GL_ONE_MINUS_CONSTANT_COLOR - - - - - - - 1 - 1 - 1 - 1 - - - - - R - c - - G - c - - B - c - - A - c - - - - - - - - - GL_CONSTANT_ALPHA - - - - - - A - c - - A - c - - A - c - - A - c - - - - - - - - GL_ONE_MINUS_CONSTANT_ALPHA - - - - - - - 1 - 1 - 1 - 1 - - - - - A - c - - A - c - - A - c - - A - c - - - - - - - - - GL_SRC_ALPHA_SATURATE - - - - - - i - i - i - 1 - - - - - - - - - In the table, - - - - - - - i - = - - - min - - - A - s - - - k - A - - - - A - d - - - - - k - A - - - - - - - - To determine the blended RGBA values of a pixel when drawing in RGBA mode, - the system uses the following equations: - - - - - - - R - d - - = - - min - - - k - R - - - R - s - - - s - R - - + - R - d - - - d - R - - - - - - - - - - G - d - - = - - min - - - k - G - - - G - s - - - s - G - - + - G - d - - - d - G - - - - - - - - - - B - d - - = - - min - - - k - B - - - B - s - - - s - B - - + - B - d - - - d - B - - - - - - - - - - A - d - - = - - min - - - k - A - - - A - s - - - s - A - - + - A - d - - - d - A - - - - - - - - - - Despite the apparent precision of the above equations, - blending arithmetic is not exactly specified, - because blending operates with imprecise integer color values. - However, - a blend factor that should be equal to 1 - is guaranteed not to modify its multiplicand, - and a blend factor equal to 0 reduces its multiplicand to 0. - For example, - when sfactor is GL_SRC_ALPHA, - dfactor is GL_ONE_MINUS_SRC_ALPHA, - and - - - A - s - - - is equal to - - - k - A - - , - the equations reduce to simple replacement: - - - - - - - R - d - - = - R - s - - - - - - - G - d - - = - G - s - - - - - - - B - d - - = - B - s - - - - - - - A - d - - = - A - s - - - - - - - - - Examples - - - - Transparency is best implemented using blend function - (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) - with primitives sorted from farthest to nearest. - Note that this transparency calculation does not require - the presence of alpha bitplanes in the frame buffer. - - - Blend function - (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) - is also useful for rendering antialiased points and lines - in arbitrary order. - - - Polygon antialiasing is optimized using blend function - (GL_SRC_ALPHA_SATURATE, GL_ONE) - with polygons sorted from nearest to farthest. - (See the glEnable, glDisable reference page and the - GL_POLYGON_SMOOTH argument for information on polygon antialiasing.) - Destination alpha bitplanes, - which must be present for this blend function to operate correctly, - store the accumulated coverage. - - - Notes - - Incoming (source) alpha is correctly thought of as a material opacity, - ranging from 1.0 - ( - - K - A - - ), - representing complete opacity, - to 0.0 (0), representing complete - transparency. - - - When more than one color buffer is enabled for drawing, - the GL performs blending separately for each enabled buffer, - using the contents of that buffer for destination color. - (See glDrawBuffer.) - - - Blending affects only RGBA rendering. - It is ignored by color index renderers. - - - GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, - GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA are available only - if the GL version is 1.4 or greater or if the ARB_imaging is - supported by your implementation. - - - GL_SRC_COLOR and GL_ONE_MINUS_SRC_COLOR are valid only for - sfactor if the GL version is 1.4 or greater. - - - GL_DST_COLOR and GL_ONE_MINUS_DST_COLOR are valid only for - dfactor if the GL version is 1.4 or greater. - - - Errors - - GL_INVALID_ENUM is generated if either sfactor or dfactor is not an - accepted value. - - - GL_INVALID_OPERATION is generated if glBlendFunc - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_BLEND_SRC - - - glGet with argument GL_BLEND_DST - - - glIsEnabled with argument GL_BLEND - - - - - See Also - - glAlphaFunc, - glBlendColor, - glBlendEquation, - glBlendFuncSeparate, - glClear, - glDrawBuffer, - glEnable, - glLogicOp, - glStencilFunc - - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBlendFuncSeparate.xml b/Source/Bind/Specifications/Docs/GL2/glBlendFuncSeparate.xml deleted file mode 100644 index 62c0c8821b..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBlendFuncSeparate.xml +++ /dev/null @@ -1,1315 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glBlendFuncSeparate - 3G - - - 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, - GL_ONE, - GL_SRC_COLOR, - GL_ONE_MINUS_SRC_COLOR, - GL_DST_COLOR, - GL_ONE_MINUS_DST_COLOR, - GL_SRC_ALPHA, - GL_ONE_MINUS_SRC_ALPHA, - GL_DST_ALPHA, - GL_ONE_MINUS_DST_ALPHA, - GL_CONSTANT_COLOR, - GL_ONE_MINUS_CONSTANT_COLOR, - GL_CONSTANT_ALPHA, - GL_ONE_MINUS_CONSTANT_ALPHA, and - GL_SRC_ALPHA_SATURATE. - The initial value is GL_ONE. - - - - - dstRGB - - - Specifies how the red, green, and blue destination blending factors are - computed. The following symbolic constants are accepted: - GL_ZERO, - GL_ONE, - GL_SRC_COLOR, - GL_ONE_MINUS_SRC_COLOR, - GL_DST_COLOR, - GL_ONE_MINUS_DST_COLOR, - GL_SRC_ALPHA, - GL_ONE_MINUS_SRC_ALPHA, - GL_DST_ALPHA, - GL_ONE_MINUS_DST_ALPHA. - GL_CONSTANT_COLOR, - GL_ONE_MINUS_CONSTANT_COLOR, - GL_CONSTANT_ALPHA, and - GL_ONE_MINUS_CONSTANT_ALPHA. - The initial value is GL_ZERO. - - - - - srcAlpha - - - Specified how the alpha source blending factor is computed. The same - symbolic constants are accepted as for srcRGB. - The initial value is GL_ONE. - - - - - dstAlpha - - - Specified how the alpha destination blending factor is computed. The same - symbolic constants are accepted as for dstRGB. - The initial value is GL_ZERO. - - - - - - Description - - In RGBA mode, pixels can be drawn using a function that blends - the incoming (source) RGBA values with the RGBA values - that are already in the frame buffer (the destination values). - Blending is initially disabled. - Use glEnable and glDisable with argument GL_BLEND - to enable and disable blending. - - - glBlendFuncSeparate defines the operation of blending when it is enabled. - srcRGB specifies which method is used to scale the - source RGB-color components. - dstRGB specifies which method is used to scale the - destination RGB-color components. - Likewise, srcAlpha specifies which method is used to scale the source alpha - color component, and dstAlpha specifies which method is used to scale the - destination alpha component. - The possible methods are described in the following table. - Each method defines four scale factors, - one each for red, green, blue, and alpha. - - - In the table and in subsequent equations, source and destination - color components are referred to as - - - - R - s - - G - s - - B - s - - A - s - - - - and - - - - R - d - - G - d - - B - d - - A - d - - - . - The color specified by glBlendColor is referred to as - - - - R - c - - G - c - - B - c - - A - c - - - . - They are understood to have integer values between 0 and - - - - k - R - - k - G - - k - B - - k - A - - - , - where - - - - - - - k - c - - = - - 2 - - m - c - - - - - - 1 - - - - - - - and - - - - m - R - - m - G - - m - B - - m - A - - - - is the number of red, - green, - blue, - and alpha bitplanes. - - - Source and destination scale factors are referred to as - - - - s - R - - s - G - - s - B - - s - A - - - - and - - - - d - R - - d - G - - d - B - - d - A - - - . - All scale factors have range - - - - 0 - 1 - - . - - - - - - - - - - - - Parameter - - - RGB Factor - - - Alpha Factor - - - - - - - GL_ZERO - - - - - - 0 - 0 - 0 - - - - - - - 0 - - - - - - GL_ONE - - - - - - 1 - 1 - 1 - - - - - - - 1 - - - - - - GL_SRC_COLOR - - - - - - - R - s - - k - R - - - - G - s - - k - G - - - - B - s - - k - B - - - - - - - - - - A - s - - k - A - - - - - - - - GL_ONE_MINUS_SRC_COLOR - - - - - - - 1 - 1 - 1 - 1 - - - - - - R - s - - k - R - - - - G - s - - k - G - - - - B - s - - k - B - - - - - - - - - - - 1 - - - - A - s - - k - A - - - - - - - - - GL_DST_COLOR - - - - - - - R - d - - k - R - - - - G - d - - k - G - - - - B - d - - k - B - - - - - - - - - - A - d - - k - A - - - - - - - - GL_ONE_MINUS_DST_COLOR - - - - - - - 1 - 1 - 1 - - - - - - R - d - - k - R - - - - G - d - - k - G - - - - B - d - - k - B - - - - - - - - - - - 1 - - - - A - d - - k - A - - - - - - - - - GL_SRC_ALPHA - - - - - - - A - s - - k - A - - - - A - s - - k - A - - - - A - s - - k - A - - - - - - - - - - A - s - - k - A - - - - - - - - GL_ONE_MINUS_SRC_ALPHA - - - - - - - 1 - 1 - 1 - - - - - - A - s - - k - A - - - - A - s - - k - A - - - - A - s - - k - A - - - - - - - - - - - 1 - - - - A - s - - k - A - - - - - - - - - GL_DST_ALPHA - - - - - - - A - d - - k - A - - - - A - d - - k - A - - - - A - d - - k - A - - - - - - - - - - A - d - - k - A - - - - - - - - GL_ONE_MINUS_DST_ALPHA - - - - - - - 1 - 1 - 1 - - - - - - A - d - - k - A - - - - A - d - - k - A - - - - A - d - - k - A - - - - - - - - - - - 1 - - - - A - d - - k - A - - - - - - - - - GL_CONSTANT_COLOR - - - - - - R - c - - G - c - - B - c - - - - - - - - A - c - - - - - - - GL_ONE_MINUS_CONSTANT_COLOR - - - - - - - 1 - 1 - 1 - - - - - R - c - - G - c - - B - c - - - - - - - - - - 1 - - - A - c - - - - - - - - GL_CONSTANT_ALPHA - - - - - - A - c - - A - c - - A - c - - - - - - - - A - c - - - - - - - GL_ONE_MINUS_CONSTANT_ALPHA - - - - - - - 1 - 1 - 1 - - - - - A - c - - A - c - - A - c - - - - - - - - - - 1 - - - A - c - - - - - - - - GL_SRC_ALPHA_SATURATE - - - - - - i - i - i - - - - - - - 1 - - - - - - - - In the table, - - - - - - - i - = - - min - - - A - s - - - 1 - - - - A - d - - - - - - - - - - - To determine the blended RGBA values of a pixel when drawing in RGBA mode, - the system uses the following equations: - - - - - - - R - d - - = - - min - - - k - R - - - R - s - - - s - R - - + - R - d - - - d - R - - - - - - - - - - G - d - - = - - min - - - k - G - - - G - s - - - s - G - - + - G - d - - - d - G - - - - - - - - - - B - d - - = - - min - - - k - B - - - B - s - - - s - B - - + - B - d - - - d - B - - - - - - - - - - A - d - - = - - min - - - k - A - - - A - s - - - s - A - - + - A - d - - - d - A - - - - - - - - - - Despite the apparent precision of the above equations, blending arithmetic - is not exactly specified, because blending operates with imprecise integer - color values. However, a blend factor that should be equal to 1 is - guaranteed not to modify its multiplicand, and a blend factor equal to 0 - reduces its multiplicand to 0. For example, when srcRGB is - GL_SRC_ALPHA, dstRGB is GL_ONE_MINUS_SRC_ALPHA, and - - - A - s - - - is - equal to - - - k - A - - , - the equations reduce to simple replacement: - - - - - - - R - d - - = - R - s - - - - - - - G - d - - = - G - s - - - - - - - B - d - - = - B - s - - - - - - - A - d - - = - A - s - - - - - - - - - Notes - - glBlendFuncSeparate is available only if the GL version is 1.4 or greater. - - - Incoming (source) alpha is correctly thought of as a material opacity, - ranging from 1.0 - ( - - K - A - - ), - representing complete opacity, - to 0.0 (0), representing complete - transparency. - - - When more than one color buffer is enabled for drawing, - the GL performs blending separately for each enabled buffer, - using the contents of that buffer for destination color. - (See glDrawBuffer.) - - - Blending affects only RGBA rendering. - It is ignored by color index renderers. - - - GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, - GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA are available only - if the GL version is 1.4 or greater or if the ARB_imaging is - supported by your implementation. - - - GL_SRC_COLOR and GL_ONE_MINUS_SRC_COLOR are valid only for - srcRGB if the GL version is 1.4 or greater. - - - GL_DST_COLOR and GL_ONE_MINUS_DST_COLOR are valid only for - dstRGB if the GL version is 1.4 or greater. - - - Errors - - GL_INVALID_ENUM is generated if either srcRGB or dstRGB is not an - accepted value. - - - GL_INVALID_OPERATION is generated if glBlendFuncSeparate - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_BLEND_SRC_RGB - - - glGet with argument GL_BLEND_SRC_ALPHA - - - glGet with argument GL_BLEND_DST_RGB - - - glGet with argument GL_BLEND_DST_ALPHA - - - glIsEnabled with argument GL_BLEND - - - - - See Also - - glAlphaFunc, - glBlendColor, - glBlendFunc, - glBlendEquation, - glClear, - glDrawBuffer, - glEnable, - glLogicOp, - glStencilFunc - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBufferData.xml b/Source/Bind/Specifications/Docs/GL2/glBufferData.xml deleted file mode 100644 index db5213131e..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBufferData.xml +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glBufferData - 3G - - - 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, - GL_PIXEL_PACK_BUFFER, or - GL_PIXEL_UNPACK_BUFFER. - - - - - size - - - Specifies the size in bytes of the buffer object's new data store. - - - - - data - - - Specifies a pointer to data that will be copied into the data store for initialization, - or NULL if no data is to be copied. - - - - - usage - - - Specifies the expected usage pattern of the data store. The symbolic constant must be - GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, - GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, - GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - - - - - - Description - - glBufferData creates a new data store for the buffer object currently bound to - target. Any pre-existing data store is deleted. The new data store is created with the - specified size in bytes and usage. If data - is not NULL, the data store is initialized with data from this pointer. In its initial - state, the new data store is not mapped, it has a NULL mapped pointer, and its mapped access - is GL_READ_WRITE. - - - usage is a hint to the GL implementation as to how a buffer object's data store will be - accessed. This enables the GL implementation to make more intelligent decisions that may significantly - impact buffer object performance. It does not, however, constrain the actual usage of the data store. - usage can be broken down into two parts: first, the frequency of access (modification - and usage), and second, the nature of that access. The frequency of access may be one of these: - - - - STREAM - - - The data store contents will be modified once and used at most a few times. - - - - - STATIC - - - The data store contents will be modified once and used many times. - - - - - DYNAMIC - - - The data store contents will be modified repeatedly and used many times. - - - - - - The nature of access may be one of these: - - - - DRAW - - - The data store contents are modified by the application, and used as the source for GL drawing and - image specification commands. - - - - - READ - - - The data store contents are modified by reading data from the GL, and used to return that data - when queried by the application. - - - - - COPY - - - The data store contents are modified by reading data from the GL, and used as the source for GL - drawing and image specification commands. - - - - - - Notes - - glBufferData is available only if the GL version is 1.5 or greater. - - - Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available - only if the GL version is 2.1 or greater. - - - If data is NULL, a data store of the specified size is still created, - but its contents remain uninitialized and thus undefined. - - - Clients must align data elements consistent with the requirements of the client - platform, with an additional base-level requirement that an offset within a buffer to - a datum comprising N bytes be a - multiple of N. - - - Errors - - 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 usage is not - GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, - GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, - GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - - - GL_INVALID_VALUE is generated if size is negative. - - - GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target. - - - GL_OUT_OF_MEMORY is generated if the GL is unable to create a data store with the specified size. - - - GL_INVALID_OPERATION is generated if glBufferData - is executed between the execution of - glBegin and the corresponding execution of - glEnd. - - - Associated Gets - - glGetBufferSubData - - - glGetBufferParameteriv with argument GL_BUFFER_SIZE or GL_BUFFER_USAGE - - - See Also - - glBindBuffer, - glBufferSubData, - glMapBuffer, - glUnmapBuffer - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glBufferSubData.xml b/Source/Bind/Specifications/Docs/GL2/glBufferSubData.xml deleted file mode 100644 index f5b7022a7b..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glBufferSubData.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glBufferSubData - 3G - - - 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, - GL_PIXEL_PACK_BUFFER, or - GL_PIXEL_UNPACK_BUFFER. - - - - - offset - - - Specifies the offset into the buffer object's data store where data replacement will begin, - measured in bytes. - - - - - size - - - Specifies the size in bytes of the data store region being replaced. - - - - - data - - - Specifies a pointer to the new data that will be copied into the data store. - - - - - - Description - - glBufferSubData redefines some or all of the data store for the buffer object currently - bound to target. Data starting at byte offset offset and - extending for size bytes is copied to the data store from the memory pointed to by - data. An error is thrown if offset and size - together define a range beyond the bounds of the buffer object's data store. - - - Notes - - glBufferSubData is available only if the GL version is 1.5 or greater. - - - Targets GL_PIXEL_PACK_BUFFER and GL_PIXEL_UNPACK_BUFFER are available - only if the GL version is 2.1 or greater. - - - When replacing the entire data store, consider using glBufferSubData rather - than completely recreating the data store with glBufferData. This avoids the cost of - reallocating the data store. - - - Consider using multiple buffer objects to avoid stalling the rendering pipeline during data store updates. - If any rendering in the pipeline makes reference to data in the buffer object being updated by - glBufferSubData, especially from the specific region being updated, that rendering must - drain from the pipeline before the data store can be updated. - - - Clients must align data elements consistent with the requirements of the client - platform, with an additional base-level requirement that an offset within a buffer to - a datum comprising N bytes be a - multiple of N. - - - Errors - - 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 - size is negative, or if together they define a region of memory - that extends beyond the buffer object's allocated data store. - - - GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target. - - - GL_INVALID_OPERATION is generated if the buffer object being updated is mapped. - - - GL_INVALID_OPERATION is generated if glBufferSubData - is executed between the execution of - glBegin and the corresponding execution of - glEnd. - - - Associated Gets - - glGetBufferSubData - - - See Also - - glBindBuffer, - glBufferData, - glMapBuffer, - glUnmapBuffer - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glClear.xml b/Source/Bind/Specifications/Docs/GL2/glClear.xml deleted file mode 100644 index dacb00090d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glClear.xml +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glClear - 3G - - - 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, - GL_DEPTH_BUFFER_BIT, - GL_ACCUM_BUFFER_BIT, and - GL_STENCIL_BUFFER_BIT. - - - - - - Description - - glClear sets the bitplane area of the window to values previously selected - by glClearColor, glClearIndex, glClearDepth, - glClearStencil, and glClearAccum. - Multiple color buffers can be cleared simultaneously by selecting - more than one buffer at a time using glDrawBuffer. - - - The pixel ownership test, - the scissor test, - dithering, and the buffer writemasks affect the operation of glClear. - The scissor box bounds the cleared region. - Alpha function, - blend function, - logical operation, - stenciling, - texture mapping, - and depth-buffering are ignored by glClear. - - - glClear takes a single argument that is the bitwise OR of several - values indicating which buffer is to be cleared. - - - The values are as follows: - - - - GL_COLOR_BUFFER_BIT - - - Indicates the buffers currently enabled for color - writing. - - - - - GL_DEPTH_BUFFER_BIT - - - Indicates the depth buffer. - - - - - GL_ACCUM_BUFFER_BIT - - - Indicates the accumulation buffer. - - - - - GL_STENCIL_BUFFER_BIT - - - Indicates the stencil buffer. - - - - - - The value to which each buffer is cleared depends on the setting of the - clear value for that buffer. - - - Notes - - If a buffer is not present, - then a glClear directed at that buffer has no effect. - - - Errors - - GL_INVALID_VALUE is generated if any bit other than the four defined - bits is set in mask. - - - GL_INVALID_OPERATION is generated if glClear - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_ACCUM_CLEAR_VALUE - - - glGet with argument GL_DEPTH_CLEAR_VALUE - - - glGet with argument GL_INDEX_CLEAR_VALUE - - - glGet with argument GL_COLOR_CLEAR_VALUE - - - glGet with argument GL_STENCIL_CLEAR_VALUE - - - See Also - - glClearAccum, - glClearColor, - glClearDepth, - glClearIndex, - glClearStencil, - glColorMask, - glDepthMask, - glDrawBuffer, - glScissor, - glStencilMask - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glClearColor.xml b/Source/Bind/Specifications/Docs/GL2/glClearColor.xml deleted file mode 100644 index bcfd72df78..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glClearColor.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glClearColor - 3G - - - 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. - - - - - - Description - - glClearColor specifies the red, - green, - blue, - and alpha values used by glClear to clear the color buffers. - Values specified by glClearColor are clamped to the range - - - - 0 - 1 - - . - - - Errors - - GL_INVALID_OPERATION is generated if glClearColor - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_COLOR_CLEAR_VALUE - - - See Also - - glClear - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glClearDepth.xml b/Source/Bind/Specifications/Docs/GL2/glClearDepth.xml deleted file mode 100644 index 43b9b3e703..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glClearDepth.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glClearDepth - 3G - - - 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 - - glClearDepth specifies the depth value used by glClear to clear the depth buffer. - Values specified by glClearDepth are clamped to the range - - - - 0 - 1 - - . - - - Errors - - GL_INVALID_OPERATION is generated if glClearDepth - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_DEPTH_CLEAR_VALUE - - - See Also - - glClear - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glClearStencil.xml b/Source/Bind/Specifications/Docs/GL2/glClearStencil.xml deleted file mode 100644 index 4388874315..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glClearStencil.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glClearStencil - 3G - - - 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 specifies the index used by glClear to clear the stencil buffer. - s is masked with - - - - 2 - m - - - - 1 - - , - where - m - is the number of bits in the stencil buffer. - - - Errors - - GL_INVALID_OPERATION is generated if glClearStencil - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_STENCIL_CLEAR_VALUE - - - glGet with argument GL_STENCIL_BITS - - - See Also - - glClear, - glStencilFunc, - glStencilFuncSeparate, - glStencilMask, - glStencilMaskSeparate, - glStencilOp, - glStencilOpSeparate - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glColorMask.xml b/Source/Bind/Specifications/Docs/GL2/glColorMask.xml deleted file mode 100644 index 7b0aff3400..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glColorMask.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glColorMask - 3G - - - 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, - indicating that the color components can be written. - - - - - - Description - - glColorMask specifies whether the individual color components in the frame buffer - can or cannot be written. - If red is GL_FALSE, - for example, - no change is made to the red component of any pixel in any of the - color buffers, - regardless of the drawing operation attempted. - - - Changes to individual bits of components cannot be controlled. - Rather, - changes are either enabled or disabled for entire color components. - - - Errors - - GL_INVALID_OPERATION is generated if glColorMask - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_COLOR_WRITEMASK - - - glGet with argument GL_RGBA_MODE - - - See Also - - glClear, - glColor, - glColorPointer, - glDepthMask, - glIndex, - glIndexPointer, - glIndexMask, - glStencilMask - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCompileShader.xml b/Source/Bind/Specifications/Docs/GL2/glCompileShader.xml deleted file mode 100644 index 871a4f4b43..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCompileShader.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - glCompileShader - 3G - - - 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 - shader object's state. This value will be set to - GL_TRUE if the shader was compiled without - errors and is ready for use, and GL_FALSE - otherwise. It can be queried by calling - glGetShader - with arguments shader and - GL_COMPILE_STATUS. - - Compilation of a shader can fail for a number of reasons - as specified by the OpenGL Shading Language Specification. - Whether or not the compilation was successful, information about - the compilation can be obtained from the shader object's - information log by calling - glGetShaderInfoLog. - - Notes - glCompileShader - is available only if the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if - shader is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - shader is not a shader object. - - GL_INVALID_OPERATION is generated if - glCompileShader is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetShaderInfoLog - with argument shader - - glGetShader - with arguments shader and - GL_COMPILE_STATUS - glIsShader - - See Also - glCreateShader, - glLinkProgram, - glShaderSource - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage1D.xml b/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage1D.xml deleted file mode 100644 index b1b5ff82f9..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage1D.xml +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCompressedTexImage1D - 3G - - - 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 - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - internalformat - - - Specifies the format of the compressed image data stored at address data. - - - - - width - - - Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - - - - - border - - - Specifies the width of the border. Must be either 0 or 1. - - - - - imageSize - - - Specifies the number of unsigned bytes of image data starting at the address specified by data. - - - - - data - - - Specifies a pointer to the compressed image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image onto each graphical primitive for which texturing is enabled. To enable and disable one-dimensional texturing, call glEnable and glDisable with argument GL_TEXTURE_1D. - - - glCompressedTexImage1D loads a previously defined, and retrieved, compressed one-dimensional texture image if target is GL_TEXTURE_1D (see glTexImage1D). - - - If target is GL_PROXY_TEXTURE_1D, no data is read from data, but - all of the texture image state is recalculated, checked for consistency, and checked against the implementation's capabilities. If the implementation cannot handle a texture of the requested texture size, it sets all of the image state to 0, but does not generate an error (see glGetError). To query for an entire mipmap array, use an image array level greater than or equal to 1. - - - internalformat must be extension-specified compressed-texture format. When a texture is loaded with glTexImage1D using a generic compressed texture format (e.g., GL_COMPRESSED_RGB) the GL selects from one of - its extensions supporting compressed textures. In order to load the - 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 - (see glBindBuffer) while a texture image is - specified, data is treated as a byte offset into the buffer object's data store. - - - Notes - - glCompressedTexImage1D is available only if the GL version is 1.3 or greater. - - - Non-power-of-two textures are supported if the GL version is 2.0 or greater, or if the implementation exports the GL_ARB_texture_non_power_of_two extension. - - - Errors - - GL_INVALID_ENUM is generated if internalformat is one of the generic compressed internal formats: GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, or - GL_COMPRESSED_RGBA. - - - GL_INVALID_VALUE is generated if imageSize is not consistent with - the format, dimensions, and contents of the specified compressed image - data. - - - GL_INVALID_OPERATION is generated if parameter combinations are not - supported by the specific compressed internal format as specified in the - specific texture compression extension. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - object such that the memory reads required would exceed the data store size. - - - GL_INVALID_OPERATION is generated if glCompressedTexImage1D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - 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. - - - Associated Gets - - glGetCompressedTexImage - - - glGet with argument GL_TEXTURE_COMPRESSED - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - glGetTexLevelParameter with arguments GL_TEXTURE_INTERNAL_FORMAT - and GL_TEXTURE_COMPRESSED_IMAGE_SIZE - - - glIsEnabled with argument GL_TEXTURE_1D - - - See Also - - glActiveTexture, - glColorTable, - glCompressedTexImage2D, - glCompressedTexImage3D, - glCompressedTexSubImage1D, - glCompressedTexSubImage2D, - glCompressedTexSubImage3D, - glConvolutionFilter1D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage2D.xml b/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage2D.xml deleted file mode 100644 index 28b75561f2..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage2D.xml +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCompressedTexImage2D - 3G - - - 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, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or - GL_PROXY_TEXTURE_CUBE_MAP. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - internalformat - - - Specifies the format of the compressed image data stored at address data. - - - - - width - - - Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All - implementations support 2D texture images that are at least 64 texels - wide and cube-mapped texture images that are at least 16 texels wide. - - - - - height - - - Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - Must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All - implementations support 2D texture images that are at least 64 texels - high and cube-mapped texture images that are at least 16 texels high. - - - - - border - - - Specifies the width of the border. - Must be either 0 or 1. - - - - - imageSize - - - Specifies the number of unsigned bytes of image data starting at the - address specified by data. - - - - - data - - - Specifies a pointer to the compressed image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image onto each graphical - primitive for which texturing is enabled. To enable and disable - two-dimensional texturing, call glEnable and glDisable with argument - GL_TEXTURE_2D. To enable and disable texturing using - cube-mapped textures, call glEnable and glDisable with argument - GL_TEXTURE_CUBE_MAP. - - - glCompressedTexImage2D loads a previously defined, and retrieved, compressed two-dimensional - texture image if target is GL_TEXTURE_2D (see glTexImage2D). - - - If target is GL_PROXY_TEXTURE_2D, no data is read from data, but - all of the texture image state is recalculated, checked for consistency, - and checked against the implementation's capabilities. If the - implementation cannot handle a texture of the requested texture size, it - sets all of the image state to 0, but does not generate an error (see - glGetError). To query for an entire mipmap array, use an image array level - greater than or equal to 1. - - - internalformat must be an extension-specified compressed-texture format. - When a texture is loaded with glTexImage2D using a generic compressed - texture format (e.g., GL_COMPRESSED_RGB), the GL selects from one of - its extensions supporting compressed textures. In order to load the - 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 - (see glBindBuffer) while a texture image is - specified, data is treated as a byte offset into the buffer object's data store. - - - Notes - - glCompressedTexImage2D is available only if the GL version is 1.3 or greater. - - - Non-power-of-two textures are supported if the GL version is 2.0 or greater, or if the implementation exports the GL_ARB_texture_non_power_of_two extension. - - - Errors - - GL_INVALID_ENUM is generated if internalformat is one of the generic compressed internal formats: GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, or - GL_COMPRESSED_RGBA. - - - GL_INVALID_VALUE is generated if imageSize is not consistent with - the format, dimensions, and contents of the specified compressed image - data. - - - GL_INVALID_OPERATION is generated if parameter combinations are not - supported by the specific compressed internal format as specified in the - specific texture compression extension. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - object such that the memory reads required would exceed the data store size. - - - GL_INVALID_OPERATION is generated if glCompressedTexImage2D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - 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. - - - Associated Gets - - glGetCompressedTexImage - - - glGet with argument GL_TEXTURE_COMPRESSED - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - glGetTexLevelParameter with arguments GL_TEXTURE_INTERNAL_FORMAT - and GL_TEXTURE_COMPRESSED_IMAGE_SIZE - - - glIsEnabled with argument - GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP - - - See Also - - glActiveTexture, - glColorTable, - glCompressedTexImage1D, - glCompressedTexImage3D, - glCompressedTexSubImage1D, - glCompressedTexSubImage2D, - glCompressedTexSubImage3D, - glConvolutionFilter1D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage3D.xml b/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage3D.xml deleted file mode 100644 index f1f460157f..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCompressedTexImage3D.xml +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCompressedTexImage3D - 3G - - - 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 - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - internalformat - - - Specifies the format of the compressed image data stored at address data. - - - - - width - - - Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All - implementations support 3D texture images that are at least 16 texels - wide. - - - - - height - - - Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All - implementations support 3D texture images that are at least 16 texels - high. - - - - - depth - - - Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All - implementations support 3D texture images that are at least 16 texels - deep. - - - - - border - - - Specifies the width of the border. - Must be either 0 or 1. - - - - - imageSize - - - Specifies the number of unsigned bytes of image data starting at the - address specified by data. - - - - - data - - - Specifies a pointer to the compressed image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image onto each graphical - primitive for which texturing is enabled. To enable and disable - three-dimensional texturing, call glEnable and glDisable with argument - GL_TEXTURE_3D. - - - glCompressedTexImage3D loads a previously defined, and retrieved, compressed three-dimensional - texture image if target is GL_TEXTURE_3D (see glTexImage3D). - - - If target is GL_PROXY_TEXTURE_3D, no data is read from data, but - all of the texture image state is recalculated, checked for consistency, - and checked against the implementation's capabilities. If the - implementation cannot handle a texture of the requested texture size, it - sets all of the image state to 0, but does not generate an error (see - glGetError). To query for an entire mipmap array, use an image array level - greater than or equal to 1. - - - internalformat must be an extension-specified compressed-texture format. - When a texture is loaded with glTexImage2D using a generic compressed - texture format (e.g., GL_COMPRESSED_RGB), the GL selects from one of - its extensions supporting compressed textures. In order to load the - 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 - (see glBindBuffer) while a texture image is - specified, data is treated as a byte offset into the buffer object's data store. - - - Notes - - glCompressedTexImage3D is available only if the GL version is 1.3 or greater. - - - Non-power-of-two textures are supported if the GL version is 2.0 or greater, or if the implementation exports the GL_ARB_texture_non_power_of_two extension. - - - Errors - - GL_INVALID_ENUM is generated if internalformat is one of the generic compressed internal formats: GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, or - GL_COMPRESSED_RGBA. - - - GL_INVALID_VALUE is generated if imageSize is not consistent with - the format, dimensions, and contents of the specified compressed image data. - - - GL_INVALID_OPERATION is generated if parameter combinations are not - supported by the specific compressed internal format as specified in the - specific texture compression extension. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - object such that the memory reads required would exceed the data store size. - - - GL_INVALID_OPERATION is generated if glCompressedTexImage3D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - 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. - - - Associated Gets - - glGetCompressedTexImage - - - glGet with argument GL_TEXTURE_COMPRESSED - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - glGetTexLevelParameter with arguments GL_TEXTURE_INTERNAL_FORMAT - and GL_TEXTURE_COMPRESSED_IMAGE_SIZE - - - glIsEnabled with argument GL_TEXTURE_3D - - - See Also - - glActiveTexture, - glColorTable, - glCompressedTexImage1D, - glCompressedTexImage2D, - glCompressedTexSubImage1D, - glCompressedTexSubImage2D, - glCompressedTexSubImage3D, - glConvolutionFilter1D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage1D.xml b/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage1D.xml deleted file mode 100644 index d04e7fbacc..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage1D.xml +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCompressedTexSubImage1D - 3G - - - 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 - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies a texel offset in the x direction within the texture array. - - - - - width - - - Specifies the width of the texture subimage. - - - - - format - - - Specifies the format of the compressed image data stored at address data. - - - - - imageSize - - - Specifies the number of unsigned bytes of image data starting at the - address specified by data. - - - - - data - - - Specifies a pointer to the compressed image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image onto each graphical - primitive for which texturing is enabled. To enable and disable - one-dimensional texturing, call glEnable and glDisable with argument - GL_TEXTURE_1D. - - - glCompressedTexSubImage1D redefines a contiguous subregion of an existing one-dimensional - texture image. The texels referenced by data replace the portion of the - existing texture array with x indices xoffset and - - - - xoffset - + - width - - - 1 - - , - inclusive. This region may not include any texels - outside the range of the texture array as it was originally specified. It - is not an error to specify a subtexture with width of 0, but such a - specification has no effect. - - - format must be an extension-specified - compressed-texture format. The format of the compressed texture - image is selected by the GL implementation that compressed it (see - glTexImage1D), and should be queried at the time the texture was - compressed with glGetTexLevelParameter. - - - 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. - - - Notes - - glCompressedTexSubImage1D is available only if the GL version is 1.3 or greater. - - - Errors - - GL_INVALID_ENUM is generated if format is one of these generic compressed internal formats: - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_RGB, - GL_COMPRESSED_RGBA, - GL_COMPRESSED_SLUMINANCE, - GL_COMPRESSED_SLUMINANCE_ALPHA, - GL_COMPRESSED_SRGB, - GL_COMPRESSED_SRGBA, or - GL_COMPRESSED_SRGB_ALPHA. - - - GL_INVALID_VALUE is generated if imageSize is not consistent with - the format, dimensions, and contents of the specified compressed image - data. - - - GL_INVALID_OPERATION is generated if parameter combinations are not - supported by the specific compressed internal format as specified in the - specific texture compression extension. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - object such that the memory reads required would exceed the data store size. - - - GL_INVALID_OPERATION is generated if glCompressedTexSubImage1D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - 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. - - - Associated Gets - - glGetCompressedTexImage - - - glGet with argument GL_TEXTURE_COMPRESSED - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - glGetTexLevelParameter with arguments GL_TEXTURE_INTERNAL_FORMAT - and GL_TEXTURE_COMPRESSED_IMAGE_SIZE - - - glIsEnabled with argument GL_TEXTURE_1D - - - See Also - - glActiveTexture, - glColorTable, - glCompressedTexImage1D, - glCompressedTexImage2D, - glCompressedTexImage3D, - glCompressedTexSubImage2D, - glCompressedTexSubImage3D, - glConvolutionFilter1D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage2D.xml b/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage2D.xml deleted file mode 100644 index c3708e597f..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage2D.xml +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCompressedTexSubImage2D - 3G - - - 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, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies a texel offset in the x direction within the texture array. - - - - - yoffset - - - Specifies a texel offset in the y direction within the texture array. - - - - - width - - - Specifies the width of the texture subimage. - - - - - height - - - Specifies the height of the texture subimage. - - - - - format - - - Specifies the format of the compressed image data stored at address data. - - - - - imageSize - - - Specifies the number of unsigned bytes of image data starting at the - address specified by data. - - - - - data - - - Specifies a pointer to the compressed image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image onto each graphical - primitive for which texturing is enabled. To enable and disable - two-dimensional texturing, call glEnable and glDisable with argument - GL_TEXTURE_2D. To enable and disable texturing using - cube-mapped texture, call glEnable and glDisable with argument - GL_TEXTURE_CUBE_MAP. - - - glCompressedTexSubImage2D redefines a contiguous subregion of an existing two-dimensional - texture image. The texels referenced by data replace the portion of the - existing texture array with x indices xoffset and - - - - xoffset - + - width - - - 1 - - , - and the y indices yoffset and - - - - yoffset - + - height - - - 1 - - , - inclusive. - This region may not include any texels - outside the range of the texture array as it was originally specified. It - is not an error to specify a subtexture with width of 0, but such a - specification has no effect. - - - format must be an extension-specified - compressed-texture format. The format of the compressed texture - image is selected by the GL implementation that compressed it (see - glTexImage2D) and should be queried at the time the texture was - compressed with glGetTexLevelParameter. - - - 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. - - - Notes - - glCompressedTexSubImage2D is available only if the GL version is 1.3 or greater. - - - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or - GL_PROXY_TEXTURE_CUBE_MAP are available only if the GL version is 1.3 - or greater. - - - Errors - - GL_INVALID_ENUM is generated if format is one of these generic compressed internal formats: - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_RGB, - GL_COMPRESSED_RGBA, - GL_COMPRESSED_SLUMINANCE, - GL_COMPRESSED_SLUMINANCE_ALPHA, - GL_COMPRESSED_SRGB, - GL_COMPRESSED_SRGBA, or - GL_COMPRESSED_SRGB_ALPHA. - - - GL_INVALID_VALUE is generated if imageSize is not consistent with - the format, dimensions, and contents of the specified compressed image - data. - - - GL_INVALID_OPERATION is generated if parameter combinations are not - supported by the specific compressed internal format as specified in the - specific texture compression extension. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - object such that the memory reads required would exceed the data store size. - - - GL_INVALID_OPERATION is generated if glCompressedTexSubImage2D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - 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. - - - Associated Gets - - glGetCompressedTexImage - - - glGet with argument GL_TEXTURE_COMPRESSED - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - glGetTexLevelParameter with arguments GL_TEXTURE_INTERNAL_FORMAT - and GL_TEXTURE_COMPRESSED_IMAGE_SIZE - - - glIsEnabled with argument GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP - - - See Also - - glActiveTexture, - glColorTable, - glCompressedTexImage1D, - glCompressedTexImage2D, - glCompressedTexImage3D, - glCompressedTexSubImage1D, - glCompressedTexSubImage3D, - glConvolutionFilter1D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage3D.xml b/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage3D.xml deleted file mode 100644 index 6018b47188..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCompressedTexSubImage3D.xml +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCompressedTexSubImage3D - 3G - - - 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 - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies a texel offset in the x direction within the texture array. - - - - - yoffset - - - Specifies a texel offset in the y direction within the texture array. - - - - - width - - - Specifies the width of the texture subimage. - - - - - height - - - Specifies the height of the texture subimage. - - - - - depth - - - Specifies the depth of the texture subimage. - - - - - format - - - Specifies the format of the compressed image data stored at address data. - - - - - imageSize - - - Specifies the number of unsigned bytes of image data starting at the - address specified by data. - - - - - data - - - Specifies a pointer to the compressed image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image onto each graphical - primitive for which texturing is enabled. To enable and disable - three-dimensional texturing, call glEnable and glDisable with argument - GL_TEXTURE_3D. - - - glCompressedTexSubImage3D redefines a contiguous subregion of an existing three-dimensional - texture image. The texels referenced by data replace the portion of the - existing texture array with x indices xoffset and - - - - xoffset - + - width - - - 1 - - , - and the y indices yoffset and - - - - yoffset - + - height - - - 1 - - , - and the z indices zoffset and - - - - zoffset - + - depth - - - 1 - - , - inclusive. This region may not include - any texels outside the range of the texture array as it was originally - specified. It is not an error to specify a subtexture with width of 0, - but such a specification has no effect. - - - format must be an extension-specified - compressed-texture format. The format of the compressed texture - image is selected by the GL implementation that compressed it (see - glTexImage3D) and should be queried at the time the texture was - compressed with glGetTexLevelParameter. - - - 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. - - - Notes - - glCompressedTexSubImage3D is available only if the GL version is 1.3 or greater. - - - Errors - - GL_INVALID_ENUM is generated if format is one of these generic compressed internal formats: - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_RGB, - GL_COMPRESSED_RGBA, - GL_COMPRESSED_SLUMINANCE, - GL_COMPRESSED_SLUMINANCE_ALPHA, - GL_COMPRESSED_SRGB, - GL_COMPRESSED_SRGBA, or - GL_COMPRESSED_SRGB_ALPHA. - - - GL_INVALID_VALUE is generated if imageSize is not consistent with - the format, dimensions, and contents of the specified compressed image - data. - - - GL_INVALID_OPERATION is generated if parameter combinations are not - supported by the specific compressed internal format as specified in the - specific texture compression extension. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - object such that the memory reads required would exceed the data store size. - - - GL_INVALID_OPERATION is generated if glCompressedTexSubImage3D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - 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. - - - Associated Gets - - glGetCompressedTexImage - - - glGet with argument GL_TEXTURE_COMPRESSED - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - glGetTexLevelParameter with arguments GL_TEXTURE_INTERNAL_FORMAT - and GL_TEXTURE_COMPRESSED_IMAGE_SIZE - - - glIsEnabled with argument GL_TEXTURE_3D - - - See Also - - glActiveTexture, - glColorTable, - glCompressedTexImage1D, - glCompressedTexImage2D, - glCompressedTexImage3D, - glCompressedTexSubImage1D, - glCompressedTexSubImage2D, - glConvolutionFilter1D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyTexImage1D.xml b/Source/Bind/Specifications/Docs/GL2/glCopyTexImage1D.xml deleted file mode 100644 index 390d3977c8..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCopyTexImage1D.xml +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCopyTexImage1D - 3G - - - 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 - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - internalformat - - - Specifies the internal format of the texture. - Must be one of the following symbolic constants: - GL_ALPHA, - GL_ALPHA4, - GL_ALPHA8, - GL_ALPHA12, - GL_ALPHA16, - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_RGB, - GL_COMPRESSED_RGBA, - GL_DEPTH_COMPONENT, - GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, - GL_DEPTH_COMPONENT32, - GL_LUMINANCE, - GL_LUMINANCE4, - GL_LUMINANCE8, - GL_LUMINANCE12, - GL_LUMINANCE16, - GL_LUMINANCE_ALPHA, - GL_LUMINANCE4_ALPHA4, - GL_LUMINANCE6_ALPHA2, - GL_LUMINANCE8_ALPHA8, - GL_LUMINANCE12_ALPHA4, - GL_LUMINANCE12_ALPHA12, - GL_LUMINANCE16_ALPHA16, - GL_INTENSITY, - GL_INTENSITY4, - GL_INTENSITY8, - GL_INTENSITY12, - GL_INTENSITY16, - GL_RGB, - GL_R3_G3_B2, - GL_RGB4, - GL_RGB5, - GL_RGB8, - GL_RGB10, - GL_RGB12, - GL_RGB16, - GL_RGBA, - GL_RGBA2, - GL_RGBA4, - GL_RGB5_A1, - GL_RGBA8, - GL_RGB10_A2, - GL_RGBA12, - GL_RGBA16, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, - GL_SLUMINANCE8_ALPHA8, - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, or - GL_SRGB8_ALPHA8. - - - - - x - y - - - Specify the window coordinates of the left corner - of the row of pixels to be copied. - - - - - width - - - Specifies the width of the texture image. - Must be 0 or - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - The height of the texture image is 1. - - - - - border - - - Specifies the width of the border. - Must be either 0 or 1. - - - - - - Description - - glCopyTexImage1D defines a one-dimensional texture image with pixels from the current - GL_READ_BUFFER. - - - The screen-aligned pixel row with left corner at - - - - x - y - - - and with a length of - - - - width - + - - 2 - - - border - - - - - defines the texture array - at the mipmap level specified by level. - internalformat specifies the internal format of the texture array. - - - The pixels in the row are processed exactly as if - glCopyPixels had been called, but the process stops just before - final conversion. - At this point all pixel component values are clamped to the range - - - - 0 - 1 - - - and then converted to the texture's internal format for storage in the texel - array. - - - Pixel ordering is such that lower - x - screen coordinates correspond to - lower texture coordinates. - - - If any of the pixels within the specified row of the current - GL_READ_BUFFER are outside the window associated with the current - rendering context, then the values obtained for those pixels are undefined. - - - glCopyTexImage1D defines a one-dimensional texture image with pixels from the current - GL_READ_BUFFER. - - - When internalformat is one of the sRGB types, the GL does not automatically convert the source pixels to the sRGB color space. In this case, the glPixelMap function can be used to accomplish the conversion. - - - Notes - - glCopyTexImage1D is available only if the GL version is 1.1 or greater. - - - Texturing has no effect in color index mode. - - - 1, 2, 3, and 4 are not accepted values for internalformat. - - - An image with 0 width indicates a NULL texture. - - - When the ARB_imaging extension is supported, the RGBA components copied from the framebuffer may be processed by the imaging pipeline. See glTexImage1D for specific details. - - - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, and GL_DEPTH_COMPONENT32 are available only - if the GL version is 1.4 or greater. - - - Non-power-of-two textures are supported if the GL version is 2.0 or greater, or if the implementation exports the GL_ARB_texture_non_power_of_two extension. - - - The - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, - GL_SRGB8_ALPHA8, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, and - GL_SLUMINANCE8_ALPHA8 - internal formats are only available if the GL version is 2.1 or greater. See glTexImage1D for specific details about sRGB conversion. - - - Errors - - GL_INVALID_ENUM is generated if target is not one of the allowable values. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater - than - - - - log - 2 - - - max - - , - where - max - is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if internalformat is not an allowable value. - - - GL_INVALID_VALUE is generated if width is less than 0 or greater than - 2 + GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if non-power-of-two textures are not supported and the width cannot be represented as - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer value of n. - - - GL_INVALID_VALUE is generated if border is not 0 or 1. - - - GL_INVALID_OPERATION is generated if glCopyTexImage1D is executed between the execution of glBegin and the corresponding execution of glEnd. - - - GL_INVALID_OPERATION is generated if internalformat is - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32 and there is no depth - buffer. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_1D - - - See Also - - glCopyPixels, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexSubImage1D, - glTexSubImage2D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyTexImage2D.xml b/Source/Bind/Specifications/Docs/GL2/glCopyTexImage2D.xml deleted file mode 100644 index 59804c332d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCopyTexImage2D.xml +++ /dev/null @@ -1,432 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCopyTexImage2D - 3G - - - 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, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - internalformat - - - Specifies the internal format of the texture. - Must be one of the following symbolic constants: - GL_ALPHA, - GL_ALPHA4, - GL_ALPHA8, - GL_ALPHA12, - GL_ALPHA16, - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_RGB, - GL_COMPRESSED_RGBA, - GL_DEPTH_COMPONENT, - GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, - GL_DEPTH_COMPONENT32, - GL_LUMINANCE, - GL_LUMINANCE4, - GL_LUMINANCE8, - GL_LUMINANCE12, - GL_LUMINANCE16, - GL_LUMINANCE_ALPHA, - GL_LUMINANCE4_ALPHA4, - GL_LUMINANCE6_ALPHA2, - GL_LUMINANCE8_ALPHA8, - GL_LUMINANCE12_ALPHA4, - GL_LUMINANCE12_ALPHA12, - GL_LUMINANCE16_ALPHA16, - GL_INTENSITY, - GL_INTENSITY4, - GL_INTENSITY8, - GL_INTENSITY12, - GL_INTENSITY16, - GL_RGB, - GL_R3_G3_B2, - GL_RGB4, - GL_RGB5, - GL_RGB8, - GL_RGB10, - GL_RGB12, - GL_RGB16, - GL_RGBA, - GL_RGBA2, - GL_RGBA4, - GL_RGB5_A1, - GL_RGBA8, - GL_RGB10_A2, - GL_RGBA12, - GL_RGBA16, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, - GL_SLUMINANCE8_ALPHA8, - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, or - GL_SRGB8_ALPHA8. - - - - - x - y - - - Specify the window coordinates of the lower left corner - of the rectangular region of pixels to be copied. - - - - - width - - - Specifies the width of the texture image. - Must be 0 or - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - - - - - height - - - Specifies the height of the texture image. - Must be 0 or - - - - 2 - m - - + - - 2 - - - border - - - - - for some integer - m. - - - - - border - - - Specifies the width of the border. - Must be either 0 or 1. - - - - - - Description - - glCopyTexImage2D defines a two-dimensional texture image, or cube-map texture image - with pixels from the current - GL_READ_BUFFER. - - - The screen-aligned pixel rectangle with lower left corner at (x, - y) and with a width of - - - - width - + - - 2 - - - border - - - - - and a height of - - - - height - + - - 2 - - - border - - - - - defines the texture array - at the mipmap level specified by level. - internalformat specifies the internal format of the texture array. - - - The pixels in the rectangle are processed exactly as if - glCopyPixels had been called, but the process stops just before - final conversion. - At this point all pixel component values are clamped to the range - - - - 0 - 1 - - - and then converted to the texture's internal format for storage in the texel - array. - - - Pixel ordering is such that lower - x - and - y - screen coordinates correspond to - lower - s - and - t - texture coordinates. - - - If any of the pixels within the specified rectangle of the current - GL_READ_BUFFER are outside the window associated with the current - rendering context, then the values obtained for those pixels are undefined. - - - When internalformat is one of the sRGB types, the GL does not automatically convert the source pixels to the sRGB color space. In this case, the glPixelMap function can be used to accomplish the conversion. - - - Notes - - glCopyTexImage2D is available only if the GL version is 1.1 or greater. - - - Texturing has no effect in color index mode. - - - 1, 2, 3, and 4 are not accepted values for internalformat. - - - An image with height or width of 0 indicates a NULL texture. - - - When the ARB_imaging extension is supported, the RGBA components read from the framebuffer may be processed by the imaging pipeline. See glTexImage1D for specific details. - - - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or - GL_PROXY_TEXTURE_CUBE_MAP are available only if the GL version is 1.3 - or greater. - - - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, - and GL_DEPTH_COMPONENT32 are available only if the GL version is 1.4 - or greater. - - - The - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, - GL_SRGB8_ALPHA8, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, and - GL_SLUMINANCE8_ALPHA8 - internal formats are only available if the GL version is 2.1 or greater. See glTexImage2D for specific details about sRGB conversion. - - - Errors - - GL_INVALID_ENUM is generated if target is not GL_TEXTURE_2D, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater - than - - - - log - 2 - - - max - - , - where - max - is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if width is less than 0 - or greater than - 2 + GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if non-power-of-two textures are not supported and the width or depth cannot be represented as - - - - 2 - k - - + - - 2 - - - border - - - - - for some integer - k. - - - GL_INVALID_VALUE is generated if border is not 0 or 1. - - - GL_INVALID_VALUE is generated if internalformat is not an - accepted format. - - - GL_INVALID_OPERATION is generated if glCopyTexImage2D is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - GL_INVALID_OPERATION is generated if internalformat is - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32 and there is no depth - buffer. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP - - - See Also - - glCopyPixels, - glCopyTexImage1D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexSubImage1D, - glTexSubImage2D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage1D.xml b/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage1D.xml deleted file mode 100644 index c5028810c0..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage1D.xml +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCopyTexSubImage1D - 3G - - - 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. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies the texel offset within the texture array. - - - - - x - y - - - Specify the window coordinates of the left corner - of the row of pixels to be copied. - - - - - width - - - Specifies the width of the texture subimage. - - - - - - Description - - glCopyTexSubImage1D replaces a portion of a one-dimensional - texture image with pixels from the current GL_READ_BUFFER (rather - than from main memory, as is the case for glTexSubImage1D). - - - The screen-aligned pixel row with left corner at (x,\ y), and with - length width replaces the portion of the - texture array with x indices xoffset through - - - - xoffset - + - width - - - 1 - - , - inclusive. The destination in the texture array may not - include any texels outside the texture array as it was - originally specified. - - - The pixels in the row are processed exactly as if - glCopyPixels had been called, but the process stops just before - final conversion. - At this point, all pixel component values are clamped to the range - - - - 0 - 1 - - - and then converted to the texture's internal format for storage in the texel - array. - - - It is not an error to specify a subtexture with zero width, but - such a specification has no effect. - If any of the pixels within the specified row of the current - GL_READ_BUFFER are outside the read window associated with the current - rendering context, then the values obtained for those pixels are undefined. - - - No change is made to the internalformat, width, - or border parameters of the specified texture - array or to texel values outside the specified subregion. - - - Notes - - glCopyTexSubImage1D is available only if the GL version is 1.1 or greater. - - - Texturing has no effect in color index mode. - - - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - When the ARB_imaging extension is supported, the RGBA components - copied from the framebuffer may be processed by the imaging pipeline. See - glTexImage1D for specific details. - - - Errors - - GL_INVALID_ENUM is generated if /target is not GL_TEXTURE_1D. - - - GL_INVALID_OPERATION is generated if the texture array has not - been defined by a previous glTexImage1D or glCopyTexImage1D operation. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if - - - - level - > - - log - 2 - - - - max - - - - , - where max is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if - - - - xoffset - < - - - - b - - - , - or - - - - - - xoffset - + - width - - - > - - - w - - - b - - - - , - where - w - is the GL_TEXTURE_WIDTH and - b - is the GL_TEXTURE_BORDER - of the texture image being modified. - Note that - w - includes twice the border width. - - - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_1D - - - See Also - - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glPixelStore, - glPixelTransfer, - glReadBuffer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexParameter, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage2D.xml b/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage2D.xml deleted file mode 100644 index 9fd026907c..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage2D.xml +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCopyTexSubImage2D - 3G - - - 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, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies a texel offset in the x direction within the texture array. - - - - - yoffset - - - Specifies a texel offset in the y direction within the texture array. - - - - - x - y - - - Specify the window coordinates of the lower left corner - of the rectangular region of pixels to be copied. - - - - - width - - - Specifies the width of the texture subimage. - - - - - height - - - Specifies the height of the texture subimage. - - - - - - Description - - glCopyTexSubImage2D replaces a rectangular portion of a two-dimensional texture image or - cube-map texture image with pixels from the current GL_READ_BUFFER - (rather than from main memory, as is the case for glTexSubImage2D). - - - The screen-aligned pixel rectangle with lower left corner at - - - - x - y - - - and with - width width and height height replaces the portion of the - texture array with x indices xoffset through - - - - xoffset - + - width - - - 1 - - , - inclusive, and y indices yoffset through - - - - yoffset - + - height - - - 1 - - , - inclusive, at the mipmap level specified by level. - - - The pixels in the rectangle are processed exactly as if - glCopyPixels had been called, but the process stops just before - final conversion. - At this point, all pixel component values are clamped to the range - - - - 0 - 1 - - - and then converted to the texture's internal format for storage in the texel - array. - - - The destination rectangle in the texture array may not include any texels - outside the texture array as it was originally specified. - It is not an error to specify a subtexture with zero width or height, but - such a specification has no effect. - - - If any of the pixels within the specified rectangle of the current - GL_READ_BUFFER are outside the read window associated with the current - rendering context, then the values obtained for those pixels are undefined. - - - No change is made to the internalformat, width, - height, or border parameters of the specified texture - array or to texel values outside the specified subregion. - - - Notes - - glCopyTexSubImage2D is available only if the GL version is 1.1 or greater. - - - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or - GL_PROXY_TEXTURE_CUBE_MAP are available only if the GL version is 1.3 - or greater. - - - Texturing has no effect in color index mode. - - - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - When the ARB_imaging extension is supported, the RGBA components - read from the framebuffer may be processed by the imaging pipeline. See - glTexImage1D for specific details. - - - Errors - - GL_INVALID_ENUM is generated if target is not GL_TEXTURE_2D, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - - - GL_INVALID_OPERATION is generated if the texture array has not been - defined by a previous glTexImage2D or glCopyTexImage2D operation. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if - - - - level - > - - log - 2 - - - - max - - - - , - where - max - is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if - - - - xoffset - < - - - - b - - - , - - - - - - xoffset - + - width - - - > - - - w - - - b - - - - , - - - - yoffset - < - - - - b - - - , - or - - - - - - yoffset - + - height - - - > - - - h - - - b - - - - , - where - w - is the GL_TEXTURE_WIDTH, - h - is the GL_TEXTURE_HEIGHT, - and - b - is the GL_TEXTURE_BORDER - of the texture image being modified. - Note that - w - and - h - include twice the border width. - - - GL_INVALID_OPERATION is generated if glCopyTexSubImage2D is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_2D - - - See Also - - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage3D, - glPixelStore, - glPixelTransfer, - glReadBuffer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexParameter, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage3D.xml b/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage3D.xml deleted file mode 100644 index ff0bb18f15..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCopyTexSubImage3D.xml +++ /dev/null @@ -1,385 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCopyTexSubImage3D - 3G - - - 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 - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies a texel offset in the x direction within the texture array. - - - - - yoffset - - - Specifies a texel offset in the y direction within the texture array. - - - - - zoffset - - - Specifies a texel offset in the z direction within the texture array. - - - - - x - y - - - Specify the window coordinates of the lower left corner - of the rectangular region of pixels to be copied. - - - - - width - - - Specifies the width of the texture subimage. - - - - - height - - - Specifies the height of the texture subimage. - - - - - - Description - - glCopyTexSubImage3D replaces a rectangular portion of a three-dimensional - texture image with pixels from the current GL_READ_BUFFER (rather - than from main memory, as is the case for glTexSubImage3D). - - - The screen-aligned pixel rectangle with lower left corner at - (x,\ y) and with - width width and height height replaces the portion of the - texture array with x indices xoffset through - - - - xoffset - + - width - - - 1 - - , - inclusive, and y indices yoffset through - - - - yoffset - + - height - - - 1 - - , - inclusive, at z index zoffset and at the mipmap level specified by level. - - - The pixels in the rectangle are processed exactly as if - glCopyPixels had been called, but the process stops just before - final conversion. - At this point, all pixel component values are clamped to the range - - - - 0 - 1 - - - and then converted to the texture's internal format for storage in the texel - array. - - - The destination rectangle in the texture array may not include any texels - outside the texture array as it was originally specified. - It is not an error to specify a subtexture with zero width or height, but - such a specification has no effect. - - - If any of the pixels within the specified rectangle of the current - GL_READ_BUFFER are outside the read window associated with the current - rendering context, then the values obtained for those pixels are undefined. - - - No change is made to the internalformat, width, - height, depth, or border parameters of the specified texture - array or to texel values outside the specified subregion. - - - Notes - - glCopyTexSubImage3D is available only if the GL version is 1.2 or greater. - - - Texturing has no effect in color index mode. - - - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - When the ARB_imaging extension is supported, the RGBA components - copied from the framebuffer may be processed by the imaging pipeline, as - if they were a two-dimensional texture. See glTexImage2D for - specific details. - - - Errors - - GL_INVALID_ENUM is generated if /target is not GL_TEXTURE_3D. - - - GL_INVALID_OPERATION is generated if the texture array has not - been defined by a previous glTexImage3D operation. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if - - - - level - > - - log - 2 - - - - max - - - - , - where - max - is the returned value of GL_MAX_3D_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if - - - - xoffset - < - - - - b - - - , - - - - - - xoffset - + - width - - - > - - - w - - - b - - - - , - - - - yoffset - < - - - - b - - - , - - - - - - yoffset - + - height - - - > - - - h - - - b - - - - , - - - - zoffset - < - - - - b - - - , - or - - - - - - zoffset - + - 1 - - - > - - - d - - - b - - - - , - where - w - is the GL_TEXTURE_WIDTH, - h - is the GL_TEXTURE_HEIGHT, - d - is the GL_TEXTURE_DEPTH, - and - b - is the GL_TEXTURE_BORDER - of the texture image being modified. - Note that - w, - h, - and - d - include twice the border width. - - - GL_INVALID_OPERATION is generated if glCopyTexSubImage3D is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_3D - - - See Also - - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glPixelStore, - glPixelTransfer, - glReadBuffer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexParameter, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCreateProgram.xml b/Source/Bind/Specifications/Docs/GL2/glCreateProgram.xml deleted file mode 100644 index 345ec44344..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCreateProgram.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - glCreateProgram - 3G - - - 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 - the shader objects that will be linked to create a program. It - also provides a means for checking the compatibility of the - shaders that will be used to create a program (for instance, - checking the compatibility between a vertex shader and a - fragment shader). When no longer needed as part of a program - object, shader objects can be detached. - - One or more executables are created in a program object by - successfully attaching shader objects to it with - glAttachShader, - successfully compiling the shader objects with - glCompileShader, - and successfully linking the program object with - glLinkProgram. - These executables are made part of current state when - glUseProgram - is called. Program objects can be deleted by calling - glDeleteProgram. - The memory associated with the program object will be deleted - when it is no longer part of current rendering state for any - context. - - Notes - glCreateProgram is available only if - the GL version is 2.0 or greater. - - Like display lists and texture objects, the name space for - program objects may be shared across a set of contexts, as long - as the server sides of the contexts share the same address - space. If the name space is shared across contexts, any attached - objects and the data associated with those attached objects are - shared as well. - - Applications are responsible for providing the - synchronization across API calls when objects are accessed from - different execution threads. - - Errors - This function returns 0 if an error occurs creating the program object. - - GL_INVALID_OPERATION is generated if - glCreateProgram is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGet - with the argument GL_CURRENT_PROGRAM - - glGetActiveAttrib - with a valid program object and the index of an active attribute - variable - - glGetActiveUniform - with a valid program object and the index of an active uniform - variable - - glGetAttachedShaders - with a valid program object - - glGetAttribLocation - with a valid program object and the name of an attribute - variable - - glGetProgram - with a valid program object and the parameter to be queried - - glGetProgramInfoLog - with a valid program object - - glGetUniform - with a valid program object and the location of a uniform - variable - - glGetUniformLocation - with a valid program object and the name of a uniform - variable - - glIsProgram - - See Also - glAttachShader, - glBindAttribLocation, - glCreateShader, - glDeleteProgram, - glDetachShader, - glLinkProgram, - glUniform, - glUseProgram, - glValidateProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCreateShader.xml b/Source/Bind/Specifications/Docs/GL2/glCreateShader.xml deleted file mode 100644 index 137bff7ef4..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCreateShader.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - - glCreateShader - 3G - - - 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 - referenced. A shader object is used to maintain the source code - strings that define a shader. shaderType - indicates the type of shader to be created. Two types of shaders - are supported. A shader of type - GL_VERTEX_SHADER is a shader that is - intended to run on the programmable vertex processor and replace - the fixed functionality vertex processing in OpenGL. A shader of - type GL_FRAGMENT_SHADER is a shader that is - intended to run on the programmable fragment processor and - replace the fixed functionality fragment processing in - OpenGL. - - When created, a shader object's - GL_SHADER_TYPE parameter is set to either - GL_VERTEX_SHADER or - GL_FRAGMENT_SHADER, depending on the value - of shaderType. - - Notes - glCreateShader is available only if - the GL version is 2.0 or greater. - - Like display lists and texture objects, the name space for - shader objects may be shared across a set of contexts, as long - as the server sides of the contexts share the same address - space. If the name space is shared across contexts, any attached - objects and the data associated with those attached objects are - shared as well. - - Applications are responsible for providing the - synchronization across API calls when objects are accessed from - different execution threads. - - Errors - This function returns 0 if an error occurs creating the - shader object. - - GL_INVALID_ENUM is generated if - shaderType is not an accepted value. - - GL_INVALID_OPERATION is generated if - glCreateShader is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetShader - with a valid shader object and the parameter to be queried - - glGetShaderInfoLog - with a valid shader object - - glGetShaderSource - with a valid shader object - - glIsShader - - See Also - glAttachShader, - glCompileShader, - glDeleteShader, - glDetachShader, - glShaderSource - - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glCullFace.xml b/Source/Bind/Specifications/Docs/GL2/glCullFace.xml deleted file mode 100644 index ead278c255..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glCullFace.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glCullFace - 3G - - - 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. - The initial value is GL_BACK. - - - - - - Description - - glCullFace specifies whether front- or back-facing facets are culled - (as specified by mode) when facet culling is enabled. Facet - culling is initially disabled. - To enable and disable facet culling, call the - glEnable and glDisable commands - with the argument GL_CULL_FACE. - Facets include triangles, - quadrilaterals, - polygons, and - rectangles. - - - glFrontFace specifies which of the clockwise and counterclockwise facets - are front-facing and back-facing. - See glFrontFace. - - - Notes - - If mode is GL_FRONT_AND_BACK, no facets are drawn, but other - primitives such as points and lines are drawn. - - - Errors - - GL_INVALID_ENUM is generated if mode is not an accepted value. - - - GL_INVALID_OPERATION is generated if glCullFace - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glIsEnabled with argument GL_CULL_FACE - - - glGet with argument GL_CULL_FACE_MODE - - - See Also - - glEnable, - glFrontFace - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDeleteBuffers.xml b/Source/Bind/Specifications/Docs/GL2/glDeleteBuffers.xml deleted file mode 100644 index e4424cede6..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDeleteBuffers.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glDeleteBuffers - 3G - - - 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. - - - - - - Description - - glDeleteBuffers deletes n buffer objects named by the elements of the array buffers. - After a buffer object is deleted, it has no contents, - and its name is free for reuse (for example by glGenBuffers). - If a buffer object that is currently bound is deleted, the binding reverts - to 0 (the absence of any buffer object, which reverts to client memory usage). - - - glDeleteBuffers silently ignores 0's and names that do not correspond to - existing buffer objects. - - - Notes - - glDeleteBuffers is available only if the GL version is 1.5 or greater. - - - Errors - - GL_INVALID_VALUE is generated if n is negative. - - - GL_INVALID_OPERATION is generated if glDeleteBuffers is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glIsBuffer - - - See Also - - glBindBuffer, - glGenBuffers, - glGet - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDeleteProgram.xml b/Source/Bind/Specifications/Docs/GL2/glDeleteProgram.xml deleted file mode 100644 index 0469c23565..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDeleteProgram.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - glDeleteProgram - 3G - - - 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 - effectively undoes the effects of a call to - glCreateProgram. - - If a program object is in use as part of current rendering - state, it will be flagged for deletion, but it will not be - deleted until it is no longer part of current state for any - rendering context. If a program object to be deleted has shader - objects attached to it, those shader objects will be - automatically detached but not deleted unless they have already - been flagged for deletion by a previous call to - glDeleteShader. - A value of 0 for program will be silently - ignored. - - To determine whether a program object has been flagged for - deletion, call - glGetProgram - with arguments program and - GL_DELETE_STATUS. - - Notes - glDeleteProgram is available only if - the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - glDeleteProgram is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGet - with argument GL_CURRENT_PROGRAM - - glGetProgram - with arguments program and - GL_DELETE_STATUS - - glIsProgram - - See Also - glCreateShader, - glDetachShader, - glUseProgram - - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDeleteQueries.xml b/Source/Bind/Specifications/Docs/GL2/glDeleteQueries.xml deleted file mode 100644 index d2b1bdb7bf..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDeleteQueries.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glDeleteQueries - 3G - - - 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. - - - - - - Description - - glDeleteQueries deletes n query objects named by the elements of the array ids. - After a query object is deleted, it has no contents, - and its name is free for reuse (for example by glGenQueries). - - - glDeleteQueries silently ignores 0's and names that do not correspond to - existing query objects. - - - Notes - - glDeleteQueries is available only if the GL version is 1.5 or greater. - - - Errors - - GL_INVALID_VALUE is generated if n is negative. - - - GL_INVALID_OPERATION is generated if glDeleteQueries is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glIsQuery - - - See Also - - glBeginQuery, - glEndQuery, - glGenQueries, - glGetQueryiv, - glGetQueryObject - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDeleteShader.xml b/Source/Bind/Specifications/Docs/GL2/glDeleteShader.xml deleted file mode 100644 index 72a73e943f..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDeleteShader.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - glDeleteShader - 3G - - - 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 - glCreateShader. - - If a shader object to be deleted is attached to a program - object, it will be flagged for deletion, but it will not be - deleted until it is no longer attached to any program object, - for any rendering context (i.e., it must be detached from - wherever it was attached before it will be deleted). A value of - 0 for shader will be silently - ignored. - - To determine whether an object has been flagged for - deletion, call - glGetShader - with arguments shader and - GL_DELETE_STATUS. - - Notes - glDeleteShader is available only if - the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if - shader is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - glDeleteShader is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetAttachedShaders - with the program object to be queried - - glGetShader - with arguments shader and - GL_DELETE_STATUS - - glIsShader - - See Also - glCreateProgram, - glCreateShader, - glDetachShader, - glUseProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDeleteTextures.xml b/Source/Bind/Specifications/Docs/GL2/glDeleteTextures.xml deleted file mode 100644 index 57bee58d17..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDeleteTextures.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glDeleteTextures - 3G - - - 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. - - - - - - Description - - glDeleteTextures deletes n textures named by the elements of the array textures. - After a texture is deleted, it has no contents or dimensionality, - and its name is free for reuse (for example by glGenTextures). - If a texture that is currently bound is deleted, the binding reverts - to 0 (the default texture). - - - glDeleteTextures silently ignores 0's and names that do not correspond to - existing textures. - - - Notes - - glDeleteTextures is available only if the GL version is 1.1 or greater. - - - Errors - - GL_INVALID_VALUE is generated if n is negative. - - - GL_INVALID_OPERATION is generated if glDeleteTextures is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glIsTexture - - - See Also - - glAreTexturesResident, - glBindTexture, - glCopyTexImage1D, - glCopyTexImage2D, - glGenTextures, - glGet, - glGetTexParameter, - glPrioritizeTextures, - glTexImage1D, - glTexImage2D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDepthFunc.xml b/Source/Bind/Specifications/Docs/GL2/glDepthFunc.xml deleted file mode 100644 index 78cb635674..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDepthFunc.xml +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glDepthFunc - 3G - - - 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, - GL_LESS, - GL_EQUAL, - GL_LEQUAL, - GL_GREATER, - GL_NOTEQUAL, - GL_GEQUAL, and - GL_ALWAYS are accepted. - The initial value is GL_LESS. - - - - - - Description - - glDepthFunc specifies the function used to compare each incoming pixel depth value - with the depth value present in the depth buffer. - The comparison is performed only if depth testing is enabled. - (See glEnable and glDisable of GL_DEPTH_TEST.) - - - func specifies the conditions under which the pixel will be drawn. - The comparison functions are as follows: - - - - GL_NEVER - - - Never passes. - - - - - GL_LESS - - - Passes if the incoming depth value is less than the stored depth value. - - - - - GL_EQUAL - - - Passes if the incoming depth value is equal to the stored depth value. - - - - - GL_LEQUAL - - - Passes if the incoming depth value is less than or equal to - the stored depth value. - - - - - GL_GREATER - - - Passes if the incoming depth value is greater than the stored depth value. - - - - - GL_NOTEQUAL - - - Passes if the incoming depth value is not equal to the stored depth value. - - - - - GL_GEQUAL - - - Passes if the incoming depth value is greater than or equal to - the stored depth value. - - - - - GL_ALWAYS - - - Always passes. - - - - - - The initial value of func is GL_LESS. - Initially, depth testing is disabled. If depth testing is disabled or if 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 - depth buffer is not updated if the depth test is disabled. - - - Errors - - GL_INVALID_ENUM is generated if func is not an accepted value. - - - GL_INVALID_OPERATION is generated if glDepthFunc - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_DEPTH_FUNC - - - glIsEnabled with argument GL_DEPTH_TEST - - - See Also - - glDepthRange, - glEnable, - glPolygonOffset - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDepthMask.xml b/Source/Bind/Specifications/Docs/GL2/glDepthMask.xml deleted file mode 100644 index 172cee0aa9..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDepthMask.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glDepthMask - 3G - - - 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. - Otherwise, it is enabled. - Initially, depth buffer writing is enabled. - - - - - - Description - - glDepthMask specifies whether the depth buffer is enabled for writing. - If flag is GL_FALSE, - depth buffer writing is disabled. - Otherwise, it is enabled. - Initially, depth buffer writing is enabled. - - - Errors - - GL_INVALID_OPERATION is generated if glDepthMask - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_DEPTH_WRITEMASK - - - See Also - - glColorMask, - glDepthFunc, - glDepthRange, - glIndexMask, - glStencilMask - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDepthRange.xml b/Source/Bind/Specifications/Docs/GL2/glDepthRange.xml deleted file mode 100644 index 8bc52a80dc..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDepthRange.xml +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glDepthRange - 3G - - - 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 - - - Specifies the mapping of the far clipping plane to window coordinates. - The initial value is 1. - - - - - - Description - - After clipping and division by w, - depth coordinates range from - - - -1 - - to 1, - corresponding to the near and far clipping planes. - glDepthRange specifies a linear mapping of the normalized depth coordinates - in this range to window depth coordinates. - Regardless of the actual depth buffer implementation, - window coordinate depth values are treated as though they range - from 0 through 1 (like color components). - Thus, - the values accepted by glDepthRange are both clamped to this range - before they are accepted. - - - The setting of (0,1) maps the near plane to 0 and - the far plane to 1. - With this mapping, - the depth buffer range is fully utilized. - - - Notes - - It is not necessary that nearVal be less than farVal. - Reverse mappings such as - - - - nearVal - = - 1 - - , - and - - - - farVal - = - 0 - - - are acceptable. - - - Errors - - GL_INVALID_OPERATION is generated if glDepthRange - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_DEPTH_RANGE - - - See Also - - glDepthFunc, - glPolygonOffset, - glViewport - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDetachShader.xml b/Source/Bind/Specifications/Docs/GL2/glDetachShader.xml deleted file mode 100644 index d821cc511a..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDetachShader.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - glDetachShader - 3G - - - 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 - program object specified by program. This - command can be used to undo the effect of the command - glAttachShader. - - If shader has already been flagged - for deletion by a call to - glDeleteShader - and it is not attached to any other program object, it will be - deleted after it has been detached. - - Notes - glDetachShader is available only if - the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if either - program or shader - is a value that was not generated by OpenGL. - - GL_INVALID_OPERATION is generated if - 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 not attached to - program. - - GL_INVALID_OPERATION is generated if - glDetachShader is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetAttachedShaders - with the handle of a valid program object - - glGetShader - with arguments shader and - GL_DELETE_STATUS - - glIsProgram - - glIsShader - - See Also - glAttachShader - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDrawArrays.xml b/Source/Bind/Specifications/Docs/GL2/glDrawArrays.xml deleted file mode 100644 index a093616645..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDrawArrays.xml +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glDrawArrays - 3G - - - 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, - GL_LINE_STRIP, - GL_LINE_LOOP, - GL_LINES, - GL_TRIANGLE_STRIP, - GL_TRIANGLE_FAN, - GL_TRIANGLES, - GL_QUAD_STRIP, - GL_QUADS, - and GL_POLYGON are accepted. - - - - - first - - - Specifies the starting index in the enabled arrays. - - - - - count - - - Specifies the number of indices to be rendered. - - - - - - Description - - glDrawArrays specifies multiple geometric primitives - with very few subroutine calls. Instead of calling a GL procedure - to pass each individual vertex, normal, texture coordinate, edge - flag, or color, you can prespecify - separate arrays of vertices, normals, and colors and use them to - construct a sequence of primitives with a single - call to glDrawArrays. - - - When glDrawArrays is called, it uses count sequential elements from each - enabled array to construct a sequence of geometric primitives, - beginning with element first. mode specifies what kind of - primitives are constructed and how the array elements - construct those primitives. If GL_VERTEX_ARRAY is not enabled, no - geometric primitives are generated. - - - Vertex attributes that are modified by glDrawArrays have an - unspecified value after glDrawArrays returns. For example, if - GL_COLOR_ARRAY is enabled, the value of the current color is - undefined after glDrawArrays executes. Attributes that aren't - modified remain well defined. - - - Notes - - glDrawArrays is available only if the GL version is 1.1 or greater. - - - glDrawArrays is included in display lists. If glDrawArrays is entered into a - display list, - the necessary array data (determined by the array pointers and - enables) is also - entered into the display list. Because the array pointers and - enables are client-side state, their values affect display lists - when the lists are created, not when the lists are executed. - - - Errors - - GL_INVALID_ENUM is generated if mode is not an accepted value. - - - GL_INVALID_VALUE is generated if count is negative. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an - enabled array and the buffer object's data store is currently mapped. - - - GL_INVALID_OPERATION is generated if glDrawArrays is executed between - the execution of glBegin and the corresponding glEnd. - - - See Also - - glArrayElement, - glColorPointer, - glDrawElements, - glDrawRangeElements, - glEdgeFlagPointer, - glFogCoordPointer, - glGetPointerv, - glIndexPointer, - glInterleavedArrays, - glNormalPointer, - glSecondaryColorPointer, - glTexCoordPointer, - glVertexPointer - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDrawBuffer.xml b/Source/Bind/Specifications/Docs/GL2/glDrawBuffer.xml deleted file mode 100644 index 1b17b86d72..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDrawBuffer.xml +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glDrawBuffer - 3G - - - 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, - GL_FRONT_LEFT, - GL_FRONT_RIGHT, - GL_BACK_LEFT, - GL_BACK_RIGHT, - GL_FRONT, - GL_BACK, - GL_LEFT, - GL_RIGHT, - GL_FRONT_AND_BACK, and - GL_AUXi, - where i is between 0 and the value of GL_AUX_BUFFERS minus 1, - are accepted. (GL_AUX_BUFFERS is not the upper limit; use glGet - to query the number of available aux buffers.) - The initial value is GL_FRONT for single-buffered contexts, - and GL_BACK for double-buffered contexts. - - - - - - Description - - When colors are written to the frame buffer, - they are written into the color buffers specified by glDrawBuffer. - The specifications are as follows: - - - - GL_NONE - - - No color buffers are written. - - - - - GL_FRONT_LEFT - - - Only the front left color buffer is written. - - - - - GL_FRONT_RIGHT - - - Only the front right color buffer is written. - - - - - GL_BACK_LEFT - - - Only the back left color buffer is written. - - - - - GL_BACK_RIGHT - - - Only the back right color buffer is written. - - - - - GL_FRONT - - - Only the front left and front right color buffers are written. - If there is no front right color buffer, - only the front left color buffer is written. - - - - - GL_BACK - - - Only the back left and back right color buffers are written. - If there is no back right color buffer, - only the back left color buffer is written. - - - - - GL_LEFT - - - Only the front left and back left color buffers are written. - If there is no back left color buffer, - only the front left color buffer is written. - - - - - GL_RIGHT - - - Only the front right and back right color buffers are written. - If there is no back right color buffer, - only the front right color buffer is written. - - - - - GL_FRONT_AND_BACK - - - All the front and back color buffers - (front left, front right, back left, back right) - are written. - If there are no back color buffers, - only the front left and front right color buffers are written. - If there are no right color buffers, - only the front left and back left color buffers are written. - If there are no right or back color buffers, - only the front left color buffer is written. - - - - - GL_AUXi - - - Only auxiliary color buffer i is written. - - - - - - If more than one color buffer is selected for drawing, - then blending or logical operations are computed and applied independently - for each color buffer and can produce different results in each buffer. - - - Monoscopic contexts include only - left - buffers, and stereoscopic contexts include both - left - and - right - buffers. - Likewise, single-buffered contexts include only - front - buffers, and double-buffered contexts include both - front - and - back - buffers. - The context is selected at GL initialization. - - - Notes - - It is always the case that GL_AUX - i - = GL_AUX0 + - i. - - - Errors - - GL_INVALID_ENUM is generated if mode is not an accepted value. - - - GL_INVALID_OPERATION is generated if none of the buffers indicated - by mode exists. - - - GL_INVALID_OPERATION is generated if glDrawBuffer - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_DRAW_BUFFER - - - glGet with argument GL_AUX_BUFFERS - - - See Also - - glBlendFunc, - glColorMask, - glIndexMask, - glLogicOp, - glReadBuffer - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDrawBuffers.xml b/Source/Bind/Specifications/Docs/GL2/glDrawBuffers.xml deleted file mode 100644 index 446e062763..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDrawBuffers.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - glDrawBuffers - 3G - - - 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 - buffers into which fragment color values or fragment data will - be written. If no fragment shader is active, rendering - operations will generate only one fragment color per fragment - and it will be written into each of the buffers specified by - bufs. If a fragment shader is active and - it writes a value to the output variable - gl_FragColor, then that value will be - written into each of the buffers specified by - bufs. If a fragment shader is active and - it writes a value to one or more elements of the output array - variable gl_FragData[], then the value of - gl_FragData[0] will be written into the - first buffer specified by bufs, the value - of gl_FragData[1] will be written into the - second buffer specified by bufs, and so - on up to gl_FragData[n-1]. The draw buffer - used for gl_FragData[n] and beyond is - implicitly set to be GL_NONE. - - The symbolic constants contained in - bufs may be any of the following: - - - - GL_NONE - - The fragment color/data value is not written into - any color buffer. - - - - GL_FRONT_LEFT - - The fragment color/data value is written into the - front left color buffer. - - - - GL_FRONT_RIGHT - - The fragment color/data value is written into the - front right color buffer. - - - - GL_BACK_LEFT - - The fragment color/data value is written into the - back left color buffer. - - - - GL_BACK_RIGHT - - The fragment color/data value is written into the - back right color buffer. - - - - GL_AUXi - - The fragment color/data value is written into - auxiliary buffer i. - - - - - Except for GL_NONE, the preceding - symbolic constants may not appear more than once in - bufs. The maximum number of draw buffers - supported is implementation dependent and can be queried by - calling - glGet - with the argument GL_MAX_DRAW_BUFFERS. The - number of auxiliary buffers can be queried by calling - glGet - with the argument GL_AUX_BUFFERS. - - Notes - glDrawBuffers is available only if - the GL version is 2.0 or greater. - - It is always the case that GL_AUXi = - GL_AUX0 + i. - - The symbolic constants GL_FRONT, - GL_BACK, GL_LEFT, - GL_RIGHT, and - GL_FRONT_AND_BACK are not allowed in the - bufs array since they may refer to - multiple buffers. - - If a fragment shader writes to neither - gl_FragColor nor - gl_FragData, the values of the fragment - colors following shader execution are undefined. For each - fragment generated in this situation, a different value may be - written into each of the buffers specified by - bufs. - - Errors - GL_INVALID_ENUM is generated if one of the - values in bufs is not an accepted - value. - - GL_INVALID_ENUM is generated if - n is less than 0. - - GL_INVALID_OPERATION is generated if a - symbolic constant other than GL_NONE - appears more than once in bufs. - - GL_INVALID_OPERATION is generated if any of - the entries in bufs (other than - GL_NONE ) indicates a color buffer that - does not exist in the current GL context. - - GL_INVALID_VALUE is generated if - n is greater than - GL_MAX_DRAW_BUFFERS. - - GL_INVALID_OPERATION is generated if - glDrawBuffers is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGet - with argument GL_MAX_DRAW_BUFFERS - - glGet - with argument GL_DRAW_BUFFERSi where - i indicates the number of the draw buffer - whose value is to be queried - - See Also - glBlendFunc, - glColorMask, - glDrawBuffers, - glIndexMask, - glLogicOp, - glReadBuffer - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDrawElements.xml b/Source/Bind/Specifications/Docs/GL2/glDrawElements.xml deleted file mode 100644 index 0e557b2982..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDrawElements.xml +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glDrawElements - 3G - - - 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, - GL_LINE_STRIP, - GL_LINE_LOOP, - GL_LINES, - GL_TRIANGLE_STRIP, - GL_TRIANGLE_FAN, - GL_TRIANGLES, - GL_QUAD_STRIP, - GL_QUADS, - and GL_POLYGON are accepted. - - - - - count - - - Specifies the number of elements to be rendered. - - - - - type - - - Specifies the type of the values in indices. Must be one of - GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or - GL_UNSIGNED_INT. - - - - - indices - - - Specifies a pointer to the location where the indices are stored. - - - - - - Description - - glDrawElements specifies multiple geometric primitives - with very few subroutine calls. Instead of calling a GL function - to pass each individual vertex, normal, texture coordinate, edge - flag, or color, you can prespecify - separate arrays of vertices, normals, and so on, and use them to - construct a sequence of primitives with a single - call to glDrawElements. - - - When glDrawElements is called, it uses count sequential elements from an - enabled array, starting at indices to construct a sequence of - geometric primitives. mode specifies what kind of primitives are - constructed and how the array elements construct these primitives. If - more than one array is enabled, each is used. If - GL_VERTEX_ARRAY is not enabled, no geometric primitives are - constructed. - - - Vertex attributes that are modified by glDrawElements have an - unspecified value after glDrawElements returns. For example, if - GL_COLOR_ARRAY is enabled, the value of the current color is - undefined after glDrawElements executes. Attributes that aren't - modified maintain their previous values. - - - Notes - - glDrawElements is available only if the GL version is 1.1 or greater. - - - glDrawElements is included in display lists. If glDrawElements is entered into a - display list, - the necessary array data (determined by the array pointers and - enables) is also - entered into the display list. Because the array pointers and - enables are client-side state, their values affect display lists - when the lists are created, not when the lists are executed. - - - Errors - - GL_INVALID_ENUM is generated if mode is not an accepted value. - - - GL_INVALID_VALUE is generated if count is negative. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an - enabled array or the element array and the buffer object's data store is currently mapped. - - - GL_INVALID_OPERATION is generated if glDrawElements is executed between - the execution of glBegin and the corresponding glEnd. - - - See Also - - glArrayElement, - glColorPointer, - glDrawArrays, - glDrawRangeElements, - glEdgeFlagPointer, - glFogCoordPointer, - glGetPointerv, - glIndexPointer, - glInterleavedArrays, - glNormalPointer, - glSecondaryColorPointer, - glTexCoordPointer, - glVertexPointer - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glDrawRangeElements.xml b/Source/Bind/Specifications/Docs/GL2/glDrawRangeElements.xml deleted file mode 100644 index 9d46068588..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glDrawRangeElements.xml +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glDrawRangeElements - 3G - - - 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, - GL_LINE_STRIP, - GL_LINE_LOOP, - GL_LINES, - GL_TRIANGLE_STRIP, - GL_TRIANGLE_FAN, - GL_TRIANGLES, - GL_QUAD_STRIP, - GL_QUADS, - and GL_POLYGON are accepted. - - - - - start - - - Specifies the minimum array index contained in indices. - - - - - end - - - Specifies the maximum array index contained in indices. - - - - - count - - - Specifies the number of elements to be rendered. - - - - - type - - - Specifies the type of the values in indices. Must be one of - GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or - GL_UNSIGNED_INT. - - - - - indices - - - Specifies a pointer to the location where the indices are stored. - - - - - - Description - - glDrawRangeElements is a restricted form of glDrawElements. mode, start, end, - and count match the corresponding arguments to glDrawElements, with - the additional constraint that all values in the arrays count must lie - between start and end, inclusive. - - - Implementations denote recommended maximum amounts of vertex and - index data, - which may be queried by calling glGet with argument - GL_MAX_ELEMENTS_VERTICES and GL_MAX_ELEMENTS_INDICES. - If - - - - end - - - start - + - 1 - - - is greater than the value of - GL_MAX_ELEMENTS_VERTICES, or if count is greater than the value of - GL_MAX_ELEMENTS_INDICES, then the call may operate at reduced - performance. There is no requirement that all vertices in the range - - - - start - end - - - be referenced. However, the implementation may - partially process unused vertices, reducing performance from what could - be achieved with an optimal index set. - - - When glDrawRangeElements is called, it uses count sequential elements from an - enabled array, starting at start to construct a sequence of - geometric primitives. mode specifies what kind of primitives are - constructed, and how the array elements construct these primitives. If - more than one array is enabled, each is used. If - GL_VERTEX_ARRAY is not enabled, no geometric primitives are - constructed. - - - Vertex attributes that are modified by glDrawRangeElements have an - unspecified value after glDrawRangeElements returns. For example, if - GL_COLOR_ARRAY is enabled, the value of the current color is - undefined after glDrawRangeElements executes. Attributes that aren't - modified maintain their previous values. - - - Notes - - glDrawRangeElements is available only if the GL version is 1.2 or greater. - - - glDrawRangeElements is included in display lists. If glDrawRangeElements is entered into a - display list, - the necessary array data (determined by the array pointers and - enables) is also - entered into the display list. Because the array pointers and - enables are client-side state, their values affect display lists - when the lists are created, not when the lists are executed. - - - Errors - - It is an error for indices to lie outside the range - - - - start - end - - , - but implementations may not check for this situation. Such indices - cause implementation-dependent behavior. - - - GL_INVALID_ENUM is generated if mode is not an accepted value. - - - GL_INVALID_VALUE is generated if count is negative. - - - GL_INVALID_VALUE is generated if - - - - end - < - start - - . - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an - enabled array or the element array and the buffer object's data store is currently mapped. - - - GL_INVALID_OPERATION is generated if glDrawRangeElements is executed between - the execution of glBegin and the corresponding glEnd. - - - Associated Gets - - glGet with argument GL_MAX_ELEMENTS_VERTICES - - - glGet with argument GL_MAX_ELEMENTS_INDICES - - - See Also - - glArrayElement, - glColorPointer, - glDrawArrays, - glDrawElements, - glEdgeFlagPointer, - glGetPointerv, - glIndexPointer, - glInterleavedArrays, - glNormalPointer, - glSecondaryColorPointer, - glTexCoordPointer, - glVertexPointer - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glEnable.xml b/Source/Bind/Specifications/Docs/GL2/glEnable.xml deleted file mode 100644 index 5bc32f74ec..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glEnable.xml +++ /dev/null @@ -1,1110 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glEnable - 3G - - - 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 - - - Specifies a symbolic constant indicating a GL capability. - - - - - - Description - - glEnable and glDisable enable and disable various capabilities. - Use glIsEnabled or glGet to determine the current setting - of any capability. The initial value for each capability with the - exception of GL_DITHER and GL_MULTISAMPLE is GL_FALSE. The initial value for - GL_DITHER and GL_MULTISAMPLE is GL_TRUE. - - - Both glEnable and glDisable take a single argument, cap, - which can assume one of the following values: - - - - GL_ALPHA_TEST - - - - - If enabled, - do alpha testing. See - glAlphaFunc. - - - - - GL_AUTO_NORMAL - - - - - If enabled, - generate normal vectors when either - GL_MAP2_VERTEX_3 or - GL_MAP2_VERTEX_4 is used to generate vertices. - See glMap2. - - - - - GL_BLEND - - - - - If enabled, - blend the computed fragment color values with the values in the color - buffers. See glBlendFunc. - - - - - GL_CLIP_PLANEi - - - - - If enabled, - clip geometry against user-defined clipping plane i. - See glClipPlane. - - - - - GL_COLOR_LOGIC_OP - - - - - If enabled, - apply the currently selected logical operation to the computed fragment - color and color buffer values. See glLogicOp. - - - - - GL_COLOR_MATERIAL - - - - - If enabled, - have one or more material parameters track the current color. - See glColorMaterial. - - - - - GL_COLOR_SUM - - - - - If enabled and no fragment shader is active, - add the secondary color value to the computed fragment color. - See glSecondaryColor. - - - - - GL_COLOR_TABLE - - - - - If enabled, - perform a color table lookup on the incoming RGBA color values. - See glColorTable. - - - - - GL_CONVOLUTION_1D - - - - - If enabled, - perform a 1D convolution operation on incoming RGBA color values. - See glConvolutionFilter1D. - - - - - GL_CONVOLUTION_2D - - - - - If enabled, - perform a 2D convolution operation on incoming RGBA color values. - See glConvolutionFilter2D. - - - - - GL_CULL_FACE - - - - - If enabled, - cull polygons based on their winding in window coordinates. - See glCullFace. - - - - - GL_DEPTH_TEST - - - - - If enabled, - do depth comparisons and update the depth buffer. Note that even if - the depth buffer exists and the depth mask is non-zero, the - depth buffer is not updated if the depth test is disabled. See - glDepthFunc and - glDepthRange. - - - - - GL_DITHER - - - - - If enabled, - dither color components or indices before they are written to the - color buffer. - - - - - GL_FOG - - - - - If enabled and no fragment shader is active, - blend a fog color into the post-texturing color. - See glFog. - - - - - GL_HISTOGRAM - - - - - If enabled, - histogram incoming RGBA color values. - See glHistogram. - - - - - GL_INDEX_LOGIC_OP - - - - - If enabled, - apply the currently selected logical operation to the incoming index and color - buffer indices. - See glLogicOp. - - - - - GL_LIGHTi - - - - - If enabled, - include light i in the evaluation of the lighting - equation. See glLightModel and glLight. - - - - - GL_LIGHTING - - - - - If enabled and no vertex shader is active, - use the current lighting parameters to compute the vertex color or index. - Otherwise, simply associate the current color or index with each - vertex. See - glMaterial, glLightModel, and glLight. - - - - - GL_LINE_SMOOTH - - - - - If enabled, - draw lines with correct filtering. - Otherwise, - draw aliased lines. - See glLineWidth. - - - - - GL_LINE_STIPPLE - - - - - If enabled, - use the current line stipple pattern when drawing lines. See - glLineStipple. - - - - - GL_MAP1_COLOR_4 - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate RGBA values. - See glMap1. - - - - - GL_MAP1_INDEX - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate color indices. - See glMap1. - - - - - GL_MAP1_NORMAL - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate normals. - See glMap1. - - - - - GL_MAP1_TEXTURE_COORD_1 - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate - s - texture coordinates. - See glMap1. - - - - - GL_MAP1_TEXTURE_COORD_2 - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate - s and - t texture coordinates. - See glMap1. - - - - - GL_MAP1_TEXTURE_COORD_3 - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate - s, - t, and - r texture coordinates. - See glMap1. - - - - - GL_MAP1_TEXTURE_COORD_4 - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate - s, - t, - r, and - q texture coordinates. - See glMap1. - - - - - GL_MAP1_VERTEX_3 - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate - x, y, and z vertex coordinates. - See glMap1. - - - - - GL_MAP1_VERTEX_4 - - - - - If enabled, - calls to - glEvalCoord1, - glEvalMesh1, and - glEvalPoint1 generate - homogeneous - x, - y, - z, and - w vertex coordinates. - See glMap1. - - - - - GL_MAP2_COLOR_4 - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate RGBA values. - See glMap2. - - - - - GL_MAP2_INDEX - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate color indices. - See glMap2. - - - - - GL_MAP2_NORMAL - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate normals. - See glMap2. - - - - - GL_MAP2_TEXTURE_COORD_1 - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate - s - texture coordinates. - See glMap2. - - - - - GL_MAP2_TEXTURE_COORD_2 - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate - s and - t texture coordinates. - See glMap2. - - - - - GL_MAP2_TEXTURE_COORD_3 - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate - s, - t, and - r texture coordinates. - See glMap2. - - - - - GL_MAP2_TEXTURE_COORD_4 - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate - s, - t, - r, and - q texture coordinates. - See glMap2. - - - - - GL_MAP2_VERTEX_3 - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate - x, y, and z vertex coordinates. - See glMap2. - - - - - GL_MAP2_VERTEX_4 - - - - - If enabled, - calls to - glEvalCoord2, - glEvalMesh2, and - glEvalPoint2 generate - homogeneous - x, - y, - z, and - w vertex coordinates. - See glMap2. - - - - - GL_MINMAX - - - - - If enabled, - compute the minimum and maximum values of incoming RGBA color values. - See glMinmax. - - - - - GL_MULTISAMPLE - - - - - If enabled, - use multiple fragment samples in computing the final color of a pixel. - See glSampleCoverage. - - - - - GL_NORMALIZE - - - - - 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 - glNormal and - glNormalPointer. - - - - - GL_POINT_SMOOTH - - - - - If enabled, - draw points with proper filtering. - Otherwise, - draw aliased points. - See glPointSize. - - - - - GL_POINT_SPRITE - - - - - If enabled, - calculate texture coordinates for points based on texture - environment and point parameter settings. Otherwise texture coordinates - are constant across points. - - - - - GL_POLYGON_OFFSET_FILL - - - - - If enabled, and if the polygon is rendered in - GL_FILL mode, an offset is added to depth values of a polygon's - fragments before the depth comparison is performed. - See glPolygonOffset. - - - - - GL_POLYGON_OFFSET_LINE - - - - - If enabled, and if the polygon is rendered in - GL_LINE mode, an offset is added to depth values of a polygon's - fragments before the depth comparison is performed. - See glPolygonOffset. - - - - - GL_POLYGON_OFFSET_POINT - - - - - If enabled, an offset is added to depth values of a polygon's fragments - before the depth comparison is performed, if the polygon is rendered in - GL_POINT mode. See glPolygonOffset. - - - - - GL_POLYGON_SMOOTH - - - - - If enabled, draw polygons with proper filtering. - Otherwise, draw aliased polygons. For correct antialiased polygons, - an alpha buffer is needed and the polygons must be sorted front to - back. - - - - - GL_POLYGON_STIPPLE - - - - - If enabled, - use the current polygon stipple pattern when rendering - polygons. See glPolygonStipple. - - - - - GL_POST_COLOR_MATRIX_COLOR_TABLE - - - - - If enabled, - perform a color table lookup on RGBA color values after color matrix - transformation. - See glColorTable. - - - - - GL_POST_CONVOLUTION_COLOR_TABLE - - - - - If enabled, - perform a color table lookup on RGBA color values after convolution. - See glColorTable. - - - - - GL_RESCALE_NORMAL - - - - - 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 - 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 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 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 glSampleCoverage. - - - - - GL_SEPARABLE_2D - - - - - If enabled, perform a two-dimensional convolution operation using a separable - convolution filter on incoming RGBA color values. - See glSeparableFilter2D. - - - - - GL_SCISSOR_TEST - - - - - If enabled, - discard fragments that are outside the scissor rectangle. - See glScissor. - - - - - GL_STENCIL_TEST - - - - - If enabled, - do stencil testing and update the stencil buffer. - See glStencilFunc and glStencilOp. - - - - - GL_TEXTURE_1D - - - - - 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, - 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, - 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, - cube-mapped texturing is performed. - See glTexImage2D. - - - - - GL_TEXTURE_GEN_Q - - - - - If enabled and no vertex shader is active, - the q texture coordinate is computed using - the texture generation function defined with glTexGen. - Otherwise, the current q texture coordinate is used. - See glTexGen. - - - - - GL_TEXTURE_GEN_R - - - - - If enabled and no vertex shader is active, - the r texture coordinate is computed using - the texture generation function defined with glTexGen. - Otherwise, the current r texture coordinate is used. - See glTexGen. - - - - - GL_TEXTURE_GEN_S - - - - - If enabled and no vertex shader is active, - the s texture coordinate is computed using - the texture generation function defined with glTexGen. - Otherwise, the current s texture coordinate is used. - See glTexGen. - - - - - GL_TEXTURE_GEN_T - - - - - If enabled and no vertex shader is active, - the t texture coordinate is computed using - the texture generation function defined with glTexGen. - Otherwise, the current t texture coordinate is used. - See glTexGen. - - - - - GL_VERTEX_PROGRAM_POINT_SIZE - - - - - If enabled - and a vertex shader is active, then the derived point size is taken from the (potentially clipped) shader builtin - gl_PointSize and clamped to the implementation-dependent point size range. - - - - - GL_VERTEX_PROGRAM_TWO_SIDE - - - - - If enabled - and a vertex shader is active, it specifies that the GL will choose between front and back colors based on the - polygon's face direction of which the vertex being shaded is a part. It has no effect on points or lines. - - - - - - Notes - - GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, - GL_POLYGON_OFFSET_POINT, - GL_COLOR_LOGIC_OP, and GL_INDEX_LOGIC_OP are available - only if the GL version is 1.1 or greater. - - - GL_RESCALE_NORMAL, and GL_TEXTURE_3D are available only if the - GL version is 1.2 or greater. - - - GL_MULTISAMPLE, - GL_SAMPLE_ALPHA_TO_COVERAGE, - GL_SAMPLE_ALPHA_TO_ONE, - GL_SAMPLE_COVERAGE, - GL_TEXTURE_CUBE_MAP - are available only if the GL version is 1.3 or greater. - - - GL_POINT_SPRITE, - GL_VERTEX_PROGRAM_POINT_SIZE, and - GL_VERTEX_PROGRAM_TWO_SIDE - is available only if the GL version is 2.0 or greater. - - - GL_COLOR_TABLE, GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, - GL_HISTOGRAM, GL_MINMAX, - GL_POST_COLOR_MATRIX_COLOR_TABLE, - GL_POST_CONVOLUTION_COLOR_TABLE, and - GL_SEPARABLE_2D are available only if ARB_imaging is returned - from glGet with an argument of GL_EXTENSIONS. - - - For OpenGL versions 1.3 and greater, or when ARB_multitexture is supported, GL_TEXTURE_1D, - GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_GEN_S, - GL_TEXTURE_GEN_T, GL_TEXTURE_GEN_R, and GL_TEXTURE_GEN_Q - enable or disable the respective state for the active texture unit - specified with glActiveTexture. - - - Errors - - GL_INVALID_ENUM is generated if cap is not one of the values - listed previously. - - - GL_INVALID_OPERATION is generated if glEnable or glDisable - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glIsEnabled - - - glGet - - - See Also - - glActiveTexture, - glAlphaFunc, - glBlendFunc, - glClipPlane, - glColorMaterial, - glCullFace, - glDepthFunc, - glDepthRange, - glEnableClientState, - glFog, - glGet, - glIsEnabled, - glLight, - glLightModel, - glLineWidth, - glLineStipple, - glLogicOp, - glMap1, - glMap2, - glMaterial, - glNormal, - glNormalPointer, - glPointSize, - glPolygonMode, - glPolygonOffset, - glPolygonStipple, - glSampleCoverage, - glScissor, - glStencilFunc, - glStencilOp, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glEnableVertexAttribArray.xml b/Source/Bind/Specifications/Docs/GL2/glEnableVertexAttribArray.xml deleted file mode 100644 index 3b0ab922b1..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glEnableVertexAttribArray.xml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - glEnableVertexAttribArray - 3G - - - glEnableVertexAttribArray - glEnableVertexAttribArray - glDisableVertexAttribArray - 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. - glDisableVertexAttribArray disables the - generic vertex attribute array specified by - index. By default, all client-side - capabilities are disabled, including all generic vertex - attribute arrays. If enabled, the values in the generic vertex - attribute array will be accessed and used for rendering when - calls are made to vertex array commands such as - glDrawArrays, - glDrawElements, - glDrawRangeElements, - glArrayElement, - glMultiDrawElements, - or - glMultiDrawArrays. - - Notes - glEnableVertexAttribArray and - glDisableVertexAttribArray are available - only if the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if - index is greater than or equal to - GL_MAX_VERTEX_ATTRIBS. - - GL_INVALID_OPERATION is generated if either - glEnableVertexAttribArray or - glDisableVertexAttribArray is executed - between the execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGet - with argument GL_MAX_VERTEX_ATTRIBS - - glGetVertexAttrib - with arguments index and - GL_VERTEX_ATTRIB_ARRAY_ENABLED - - - glGetVertexAttribPointerv - with arguments index and - GL_VERTEX_ATTRIB_ARRAY_POINTER - - See Also - glArrayElement, - glBindAttribLocation, - glDrawArrays, - glDrawElements, - glDrawRangeElements, - glMultiDrawElements, - glPopClientAttrib, - glPushClientAttrib, - glVertexAttrib, - glVertexAttribPointer - - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glFinish.xml b/Source/Bind/Specifications/Docs/GL2/glFinish.xml deleted file mode 100644 index 0d6341d857..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glFinish.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glFinish - 3G - - - 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, - all changes to connection state, - and all changes to the frame buffer contents. - - - Notes - - glFinish requires a round trip to the server. - - - Errors - - GL_INVALID_OPERATION is generated if glFinish is executed between - the execution of glBegin - and the corresponding execution of glEnd. - - - See Also - - glFlush - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glFlush.xml b/Source/Bind/Specifications/Docs/GL2/glFlush.xml deleted file mode 100644 index 3e56a10ce2..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glFlush.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glFlush - 3G - - - 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, - causing all issued commands to be executed as quickly as - they are accepted by the actual rendering engine. - Though this execution may not be completed in any particular - time period, - it does complete in finite time. - - - Because any GL program might be executed over a network, - or on an accelerator that buffers commands, - all programs should call glFlush whenever they count on having - all of their previously issued commands completed. - For example, - call glFlush before waiting for user input that depends on - the generated image. - - - Notes - - glFlush can return at any time. - It does not wait until the execution of all previously - issued GL commands is complete. - - - Errors - - GL_INVALID_OPERATION is generated if glFlush - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - See Also - - glFinish - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glFrontFace.xml b/Source/Bind/Specifications/Docs/GL2/glFrontFace.xml deleted file mode 100644 index 1af2a16dda..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glFrontFace.xml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glFrontFace - 3G - - - 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. - - - - - - Description - - In a scene composed entirely of opaque closed surfaces, - back-facing polygons are never visible. - Eliminating these invisible polygons has the obvious benefit - of speeding up the rendering of the image. - To enable and disable elimination of back-facing polygons, call glEnable - and glDisable with argument GL_CULL_FACE. - - - The projection of a polygon to window coordinates is said to have - clockwise winding if an imaginary object following the path - from its first vertex, - its second vertex, - and so on, - to its last vertex, - and finally back to its first vertex, - moves in a clockwise direction about the interior of the polygon. - The polygon's winding is said to be counterclockwise if the imaginary - object following the same path moves in a counterclockwise direction - about the interior of the polygon. - glFrontFace specifies whether polygons with clockwise winding in window coordinates, - or counterclockwise winding in window coordinates, - are taken to be front-facing. - Passing GL_CCW to mode selects counterclockwise polygons as - front-facing; - GL_CW selects clockwise polygons as front-facing. - By default, counterclockwise polygons are taken to be front-facing. - - - Errors - - GL_INVALID_ENUM is generated if mode is not an accepted value. - - - GL_INVALID_OPERATION is generated if glFrontFace - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_FRONT_FACE - - - See Also - - glCullFace, - glLightModel - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGenBuffers.xml b/Source/Bind/Specifications/Docs/GL2/glGenBuffers.xml deleted file mode 100644 index c8c9bb1174..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGenBuffers.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glGenBuffers - 3G - - - 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. - - - - - - Description - - glGenBuffers returns n buffer object names in buffers. - There is no guarantee that the names form a contiguous set of integers; - however, it is guaranteed that none of the returned names 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 - glBindBuffer. - - - Notes - - glGenBuffers is available only if the GL version is 1.5 or greater. - - - Errors - - GL_INVALID_VALUE is generated if n is negative. - - - GL_INVALID_OPERATION is generated if glGenBuffers is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glIsBuffer - - - See Also - - glBindBuffer, - glDeleteBuffers, - glGet - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGenQueries.xml b/Source/Bind/Specifications/Docs/GL2/glGenQueries.xml deleted file mode 100644 index 5b2bc7bd92..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGenQueries.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glGenQueries - 3G - - - 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. - - - - - - Description - - glGenQueries returns n query object names in ids. - There is no guarantee that the names form a contiguous set of integers; - however, it is guaranteed that none of the returned names was in use - immediately before the call to glGenQueries. - - - Query object names returned by a call to glGenQueries are not returned by - subsequent calls, unless they are first deleted with - glDeleteQueries. - - - No query objects are associated with the returned query object names until they are first used by calling - glBeginQuery. - - - Notes - - glGenQueries is available only if the GL version is 1.5 or greater. - - - Errors - - GL_INVALID_VALUE is generated if n is negative. - - - GL_INVALID_OPERATION is generated if glGenQueries is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glIsQuery - - - See Also - - glBeginQuery, - glDeleteQueries, - glEndQuery - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGenTextures.xml b/Source/Bind/Specifications/Docs/GL2/glGenTextures.xml deleted file mode 100644 index bf97c33bfe..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGenTextures.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glGenTextures - 3G - - - 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. - - - - - - Description - - glGenTextures returns n texture names in textures. - There is no guarantee that the names form a contiguous set of integers; - however, it is guaranteed that none of the returned names was in use - immediately before the call to glGenTextures. - - - The generated textures have no dimensionality; they assume the dimensionality - of the texture target to which they are first bound - (see glBindTexture). - - - Texture names returned by a call to glGenTextures are not returned by - subsequent calls, unless they are first deleted with - glDeleteTextures. - - - Notes - - glGenTextures is available only if the GL version is 1.1 or greater. - - - Errors - - GL_INVALID_VALUE is generated if n is negative. - - - GL_INVALID_OPERATION is generated if glGenTextures is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glIsTexture - - - See Also - - glBindTexture, - glCopyTexImage1D, - glCopyTexImage2D, - glDeleteTextures, - glGet, - glGetTexParameter, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGet.xml b/Source/Bind/Specifications/Docs/GL2/glGet.xml deleted file mode 100644 index e8ca91962b..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGet.xml +++ /dev/null @@ -1,4897 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glGet - 3G - - - 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 - - - Returns the value or values of the specified parameter. - - - - - - Description - - These four commands return values for simple state variables in GL. - pname is a symbolic constant indicating the state variable to be returned, - and params is a pointer to an array of the indicated type in - which to place the returned data. - - - Type conversion is performed if params has a different type than - the state variable value being requested. - If glGetBooleanv is called, - a floating-point (or integer) value is converted to GL_FALSE if - and only if it is 0.0 (or 0). - Otherwise, - it is converted to GL_TRUE. - If glGetIntegerv is called, boolean values are returned as - GL_TRUE or GL_FALSE, and most floating-point values are - rounded to the nearest integer value. Floating-point colors and - normals, however, are returned with a linear mapping that maps 1.0 to - the most positive representable integer value - and - - - -1.0 - - to the most negative representable integer value. - If glGetFloatv or glGetDoublev is called, - boolean values are returned as GL_TRUE or GL_FALSE, - and integer values are converted to floating-point values. - - - The following symbolic constants are accepted by pname: - - - - GL_ACCUM_ALPHA_BITS - - - - - params returns one value, - the number of alpha bitplanes in the accumulation buffer. - - - - - GL_ACCUM_BLUE_BITS - - - - - params returns one value, - the number of blue bitplanes in the accumulation buffer. - - - - - GL_ACCUM_CLEAR_VALUE - - - - - params returns four values: - the red, green, blue, and alpha values used to clear the accumulation buffer. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer - value. The initial value is (0, 0, 0, 0). - See glClearAccum. - - - - - GL_ACCUM_GREEN_BITS - - - - - params returns one value, - the number of green bitplanes in the accumulation buffer. - - - - - GL_ACCUM_RED_BITS - - - - - params returns one value, - the number of red bitplanes in the accumulation buffer. - - - - - GL_ACTIVE_TEXTURE - - - - - params returns a single value indicating the active multitexture unit. - The initial value is GL_TEXTURE0. - See glActiveTexture. - - - - - GL_ALIASED_POINT_SIZE_RANGE - - - - - params returns two values, - the smallest and largest supported sizes for aliased points. - - - - - GL_ALIASED_LINE_WIDTH_RANGE - - - - - params returns two values, - the smallest and largest supported widths for aliased lines. - - - - - GL_ALPHA_BIAS - - - - - params returns one value, - the alpha bias factor used during pixel transfers. The initial value is 0. - See glPixelTransfer. - - - - - GL_ALPHA_BITS - - - - - params returns one value, - the number of alpha bitplanes in each color buffer. - - - - - GL_ALPHA_SCALE - - - - - params returns one value, - the alpha scale factor used - during pixel transfers. The initial value is 1. - See glPixelTransfer. - - - - - GL_ALPHA_TEST - - - - - params returns a single boolean value indicating whether alpha testing - of fragments is enabled. The initial value is GL_FALSE. - See glAlphaFunc. - - - - - GL_ALPHA_TEST_FUNC params returns one value, - - - - - the symbolic name of the alpha test function. The initial value is - GL_ALWAYS. - See glAlphaFunc. - - - - - GL_ALPHA_TEST_REF - - - - - params returns one value, - the reference value for the alpha test. The initial value is 0. - See glAlphaFunc. - An integer value, - if requested, - is linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer value. - - - - - GL_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - currently bound to the target GL_ARRAY_BUFFER. If no buffer object - is bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_ATTRIB_STACK_DEPTH - - - - - params returns one value, - the depth of the attribute stack. - If the stack is empty, - 0 is returned. The initial value is 0. - See glPushAttrib. - - - - - GL_AUTO_NORMAL - - - - - params returns a single boolean value indicating whether 2D map evaluation - automatically generates surface normals. The initial value is GL_FALSE. - See glMap2. - - - - - GL_AUX_BUFFERS - - - - - params returns one value, - the number of auxiliary color buffers available. - - - - - GL_BLEND - - - - - params returns a single boolean value indicating whether blending is - enabled. The initial value is GL_FALSE. - See glBlendFunc. - - - - - GL_BLEND_COLOR - - - - - params returns four values, - the red, green, blue, and alpha values which are the components of - the blend color. - See glBlendColor. - - - - - GL_BLEND_DST_ALPHA - - - - - params returns one value, - the symbolic constant identifying the alpha destination blend - function. The initial value is GL_ZERO. - See glBlendFunc and glBlendFuncSeparate. - - - - - GL_BLEND_DST_RGB - - - - - params returns one value, - the symbolic constant identifying the RGB destination blend - function. The initial value is GL_ZERO. - See glBlendFunc and glBlendFuncSeparate. - - - - - GL_BLEND_EQUATION_RGB - - - - - params returns one value, a symbolic constant indicating whether - the RGB blend equation is GL_FUNC_ADD, GL_FUNC_SUBTRACT, - GL_FUNC_REVERSE_SUBTRACT, GL_MIN or GL_MAX. - See glBlendEquationSeparate. - - - - - GL_BLEND_EQUATION_ALPHA - - - - - params returns one value, a symbolic constant indicating whether - the Alpha blend equation is GL_FUNC_ADD, GL_FUNC_SUBTRACT, - GL_FUNC_REVERSE_SUBTRACT, GL_MIN or GL_MAX. - See glBlendEquationSeparate. - - - - - GL_BLEND_SRC_ALPHA - - - - - params returns one value, - the symbolic constant identifying the alpha source blend function. The initial - value is GL_ONE. - See glBlendFunc and glBlendFuncSeparate. - - - - - GL_BLEND_SRC_RGB - - - - - params returns one value, - the symbolic constant identifying the RGB source blend function. The initial - value is GL_ONE. - See glBlendFunc and glBlendFuncSeparate. - - - - - GL_BLUE_BIAS - - - - - params returns one value, - the blue bias factor used during pixel transfers. The initial value is 0. - See glPixelTransfer. - - - - - GL_BLUE_BITS - - - - - params returns one value, - the number of blue bitplanes in each color buffer. - - - - - GL_BLUE_SCALE - - - - - params returns one value, - the blue scale factor used during pixel transfers. The initial value is 1. - See glPixelTransfer. - - - - - GL_CLIENT_ACTIVE_TEXTURE - - - - - params returns a single integer value indicating the current client active - multitexture unit. The initial value is GL_TEXTURE0. - See glClientActiveTexture. - - - - - GL_CLIENT_ATTRIB_STACK_DEPTH - - - - - params returns one value indicating the depth of the - attribute stack. The initial value is 0. - See glPushClientAttrib. - - - - - GL_CLIP_PLANEi - - - - - params returns a single boolean value indicating whether the specified - clipping plane is enabled. The initial value is GL_FALSE. - See glClipPlane. - - - - - GL_COLOR_ARRAY - - - - - params returns a single boolean value indicating whether the color array is enabled. The initial value is GL_FALSE. - See glColorPointer. - - - - - GL_COLOR_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - associated with the color array. This buffer object would have been bound to the - target GL_ARRAY_BUFFER at the time of the most recent call to - glColorPointer. - If no buffer object was bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_COLOR_ARRAY_SIZE - - - - - params returns one value, - the number of components per color in the color array. The initial value - is 4. - See glColorPointer. - - - - - GL_COLOR_ARRAY_STRIDE - - - - - params returns one value, - the byte offset between consecutive colors in the color array. The initial - value is 0. - See glColorPointer. - - - - - GL_COLOR_ARRAY_TYPE - - - - - params returns one value, - the data type of each component in the color array. The initial value - is GL_FLOAT. - See glColorPointer. - - - - - GL_COLOR_CLEAR_VALUE - - - - - params returns four values: - the red, green, blue, and alpha values used to clear the color buffers. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer - value. The initial value is (0, 0, 0, 0). - See glClearColor. - - - - - GL_COLOR_LOGIC_OP - - - - - params returns a single boolean value indicating whether a fragment's - RGBA color values are merged into the framebuffer using a logical - operation. The initial value is GL_FALSE. - See glLogicOp. - - - - - GL_COLOR_MATERIAL - - - - - params returns a single boolean value indicating whether one or more - material parameters are tracking the current color. The initial value - is GL_FALSE. - See glColorMaterial. - - - - - GL_COLOR_MATERIAL_FACE - - - - - params returns one value, - a symbolic constant indicating which materials have a parameter that is - tracking the current color. The initial value is GL_FRONT_AND_BACK. - See glColorMaterial. - - - - - GL_COLOR_MATERIAL_PARAMETER - - - - - params returns one value, - a symbolic constant indicating which material parameters are - tracking the current color. The initial value is - GL_AMBIENT_AND_DIFFUSE. - See glColorMaterial. - - - - - GL_COLOR_MATRIX - - - - - params returns sixteen values: - the color matrix on the top of the color matrix stack. Initially - this matrix is the identity matrix. - See glPushMatrix. - - - - - GL_COLOR_MATRIX_STACK_DEPTH - - - - - params returns one value, - the maximum supported depth of the projection matrix stack. The value must - be at least 2. - See glPushMatrix. - - - - - GL_COLOR_SUM - - - - - params returns a single boolean value indicating whether primary and - secondary color sum is enabled. - See glSecondaryColor. - - - - - GL_COLOR_TABLE - - - - - params returns a single boolean value indicating whether the color table - lookup is enabled. - See glColorTable. - - - - - GL_COLOR_WRITEMASK - - - - - params returns four boolean values: - the red, green, blue, and alpha write enables for the color - buffers. The initial value is (GL_TRUE, GL_TRUE, - GL_TRUE, GL_TRUE). - See glColorMask. - - - - - GL_COMPRESSED_TEXTURE_FORMATS - - - - - params returns a list of symbolic - constants of length GL_NUM_COMPRESSED_TEXTURE_FORMATS - indicating which compressed texture formats are available. - See glCompressedTexImage2D. - - - - - GL_CONVOLUTION_1D - - - - - params returns a single boolean value indicating whether 1D convolution - is enabled. The initial value is GL_FALSE. - See glConvolutionFilter1D. - - - - - GL_CONVOLUTION_2D - - - - - params returns a single boolean value indicating whether 2D convolution - is enabled. The initial value is GL_FALSE. - See glConvolutionFilter2D. - - - - - GL_CULL_FACE - - - - - params returns a single boolean value indicating whether polygon culling - is enabled. The initial value is GL_FALSE. - See glCullFace. - - - - - GL_CULL_FACE_MODE - - - - - params returns one value, - a symbolic constant indicating which polygon faces are to be - culled. The initial value is GL_BACK. - See glCullFace. - - - - - GL_CURRENT_COLOR - - - - - params returns four values: - the red, green, blue, and alpha values of the current color. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer value. - The initial value is (1, 1, 1, 1). - See glColor. - - - - - GL_CURRENT_FOG_COORD - - - - - params returns one value, the current fog coordinate. The initial value - is 0. - See glFogCoord. - - - - - GL_CURRENT_INDEX - - - - - params returns one value, - the current color index. The initial value is 1. - See glIndex. - - - - - GL_CURRENT_NORMAL - - - - - params returns three values: - the x, y, and z values of the current normal. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer value. - The initial value is (0, 0, 1). - See glNormal. - - - - - GL_CURRENT_PROGRAM - - - - - params returns one value, - the name of the program object that is currently active, or 0 if no program object is active. - See glUseProgram. - - - - - GL_CURRENT_RASTER_COLOR - - - - - params returns four values: - the red, green, blue, and alpha color values of the current raster position. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer - value. The initial value is (1, 1, 1, 1). - See glRasterPos. - - - - - GL_CURRENT_RASTER_DISTANCE - - - - - params returns one value, the distance from the eye to the current - raster position. The initial value is 0. - See glRasterPos. - - - - - GL_CURRENT_RASTER_INDEX - - - - - params returns one value, - the color index of the current raster position. The initial value is 1. - See glRasterPos. - - - - - GL_CURRENT_RASTER_POSITION - - - - - params returns four values: - the x, y, z, and w components of the current - raster position. - x, y, and z are in window coordinates, - and w is in clip coordinates. The initial value is (0, 0, 0, 1). - See glRasterPos. - - - - - GL_CURRENT_RASTER_POSITION_VALID - - - - - params returns a single boolean value indicating whether the current - raster position is valid. The initial value is GL_TRUE. - See glRasterPos. - - - - - GL_CURRENT_RASTER_SECONDARY_COLOR - - - - - params returns four values: - the red, green, blue, and alpha secondary color values of the current raster position. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer - value. The initial value is (1, 1, 1, 1). - See glRasterPos. - - - - - GL_CURRENT_RASTER_TEXTURE_COORDS - - - - - params returns four values: the s, t, r, and q - texture coordinates of the current raster position. The initial value is (0, 0, 0, 1). - See glRasterPos and glMultiTexCoord. - - - - - GL_CURRENT_SECONDARY_COLOR - - - - - params returns four values: the red, green, blue, and alpha values of the - current secondary color. Integer values, if requested, are linearly mapped - from the internal floating-point representation such that 1.0 returns the - most positive representable integer value, and - - - -1.0 - - returns the most - negative representable integer value. The initial value is (0, 0, 0, 0). - See glSecondaryColor. - - - - - GL_CURRENT_TEXTURE_COORDS - - - - - params returns four values: - the s, t, r, and q current texture - coordinates. The initial value is (0, 0, 0, 1). - See glMultiTexCoord. - - - - - GL_DEPTH_BIAS - - - - - params returns one value, - the depth bias factor used during pixel transfers. The initial value is 0. - See glPixelTransfer. - - - - - GL_DEPTH_BITS - - - - - params returns one value, - the number of bitplanes in the depth buffer. - - - - - GL_DEPTH_CLEAR_VALUE - - - - - params returns one value, - the value that is used to clear the depth buffer. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer - value. The initial value is 1. - See glClearDepth. - - - - - GL_DEPTH_FUNC - - - - - params returns one value, - the symbolic constant that indicates the depth comparison - function. The initial value is GL_LESS. - See glDepthFunc. - - - - - GL_DEPTH_RANGE - - - - - params returns two values: - the near and far mapping limits for the depth buffer. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer - value. The initial value is (0, 1). - See glDepthRange. - - - - - GL_DEPTH_SCALE - - - - - params returns one value, - the depth scale factor used during pixel transfers. The initial value is 1. - See glPixelTransfer. - - - - - GL_DEPTH_TEST - - - - - params returns a single boolean value indicating whether depth testing - of fragments is enabled. The initial value is GL_FALSE. - See glDepthFunc and glDepthRange. - - - - - GL_DEPTH_WRITEMASK - - - - - params returns a single boolean value indicating if the depth buffer - is enabled for writing. The initial value is GL_TRUE. - See glDepthMask. - - - - - GL_DITHER - - - - - params returns a single boolean value indicating whether dithering of - fragment colors and indices is enabled. The initial value is GL_TRUE. - - - - - GL_DOUBLEBUFFER - - - - - params returns a single boolean value indicating whether double buffering - is supported. - - - - - GL_DRAW_BUFFER - - - - - params returns one value, - a symbolic constant indicating which buffers are being drawn to. - See glDrawBuffer. The initial value is GL_BACK if there - are back buffers, otherwise it is GL_FRONT. - - - - - GL_DRAW_BUFFERi - - - - - params returns one value, - a symbolic constant indicating which buffers are being drawn to by the corresponding output color. - See glDrawBuffers. - The initial value of GL_DRAW_BUFFER0 is GL_BACK if there - are back buffers, otherwise it is GL_FRONT. The - initial values of draw buffers for all other output colors is GL_NONE. - - - - - GL_EDGE_FLAG - - - - - params returns a single boolean value indicating whether the current - edge flag is GL_TRUE or GL_FALSE. The initial value is GL_TRUE. - See glEdgeFlag. - - - - - GL_EDGE_FLAG_ARRAY - - - - - params returns a single boolean value indicating whether the edge - flag array is enabled. The initial value is GL_FALSE. - See glEdgeFlagPointer. - - - - - GL_EDGE_FLAG_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - associated with the edge flag array. This buffer object would have been bound to the - target GL_ARRAY_BUFFER at the time of the most recent call to - glEdgeFlagPointer. - If no buffer object was bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_EDGE_FLAG_ARRAY_STRIDE - - - - - params returns one value, - the byte offset between consecutive edge flags in the edge flag - array. The initial value is 0. - See glEdgeFlagPointer. - - - - - GL_ELEMENT_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - currently bound to the target GL_ELEMENT_ARRAY_BUFFER. If no buffer object - is bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_FEEDBACK_BUFFER_SIZE - - - - - params returns one value, the size of the feedback buffer. - See glFeedbackBuffer. - - - - - GL_FEEDBACK_BUFFER_TYPE - - - - - params returns one value, the type of the feedback buffer. - See glFeedbackBuffer. - - - - - GL_FOG - - - - - params returns a single boolean value indicating whether fogging is - enabled. The initial value is GL_FALSE. - See glFog. - - - - - GL_FOG_COORD_ARRAY - - - - - params returns a single boolean value indicating whether the fog coordinate array is enabled. The initial value is GL_FALSE. - See glFogCoordPointer. - - - - - GL_FOG_COORD_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - associated with the fog coordinate array. This buffer object would have been bound to the - target GL_ARRAY_BUFFER at the time of the most recent call to - glFogCoordPointer. - If no buffer object was bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_FOG_COORD_ARRAY_STRIDE - - - - - params returns one value, - the byte offset between consecutive fog coordinates in the fog coordinate - array. The initial value is 0. - See glFogCoordPointer. - - - - - GL_FOG_COORD_ARRAY_TYPE - - - - - params returns one value, the type of the fog coordinate array. - The initial value is GL_FLOAT. - See glFogCoordPointer. - - - - - GL_FOG_COORD_SRC - - - - - params returns one value, a symbolic constant indicating the source of the fog coordinate. - The initial value is GL_FRAGMENT_DEPTH. - See glFog. - - - - - GL_FOG_COLOR - - - - - params returns four values: - the red, green, blue, and alpha components of the fog color. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer - value. The initial value is (0, 0, 0, 0). - See glFog. - - - - - GL_FOG_DENSITY - - - - - params returns one value, - the fog density parameter. The initial value is 1. - See glFog. - - - - - GL_FOG_END - - - - - params returns one value, - the end factor for the linear fog equation. The initial value is 1. - See glFog. - - - - - GL_FOG_HINT - - - - - params returns one value, - a symbolic constant indicating the mode of the fog hint. The initial value - is GL_DONT_CARE. - See glHint. - - - - - GL_FOG_INDEX - - - - - params returns one value, - the fog color index. The initial value is 0. - See glFog. - - - - - GL_FOG_MODE - - - - - params returns one value, - a symbolic constant indicating which fog equation is selected. The initial - value is GL_EXP. - See glFog. - - - - - GL_FOG_START - - - - - params returns one value, - the start factor for the linear fog equation. The initial value is 0. - See glFog. - - - - - GL_FRAGMENT_SHADER_DERIVATIVE_HINT - - - - - params returns one value, - a symbolic constant indicating the mode of the derivative accuracy hint - for fragment shaders. The initial value - is GL_DONT_CARE. - See glHint. - - - - - GL_FRONT_FACE - - - - - params returns one value, - a symbolic constant indicating whether clockwise or counterclockwise - polygon winding is treated as front-facing. The initial value is - GL_CCW. - See glFrontFace. - - - - - GL_GENERATE_MIPMAP_HINT - - - - - params returns one value, - a symbolic constant indicating the mode of the mipmap generation filtering - hint. The initial value is GL_DONT_CARE. - See glHint. - - - - - GL_GREEN_BIAS - - - - - params returns one value, - the green bias factor used during pixel transfers. The initial value is 0. - - - - - GL_GREEN_BITS - - - - - params returns one value, - the number of green bitplanes in each color buffer. - - - - - GL_GREEN_SCALE - - - - - params returns one value, - the green scale factor used during pixel transfers. The initial value is 1. - See glPixelTransfer. - - - - - GL_HISTOGRAM - - - - - params returns a single boolean value indicating whether histogram is - enabled. The initial value is GL_FALSE. - See glHistogram. - - - - - GL_INDEX_ARRAY - - - - - params returns a single boolean value indicating whether the color - index array is enabled. The initial value is GL_FALSE. - See glIndexPointer. - - - - - GL_INDEX_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - associated with the color index array. This buffer object would have been bound to the - target GL_ARRAY_BUFFER at the time of the most recent call to - glIndexPointer. - If no buffer object was bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_INDEX_ARRAY_STRIDE - - - - - params returns one value, - the byte offset between consecutive color indexes in the color index - array. The initial value is 0. - See glIndexPointer. - - - - - GL_INDEX_ARRAY_TYPE - - - - - params returns one value, - the data type of indexes in the color index array. The initial value is - GL_FLOAT. - See glIndexPointer. - - - - - GL_INDEX_BITS - - - - - params returns one value, - the number of bitplanes in each color index buffer. - - - - - GL_INDEX_CLEAR_VALUE - - - - - params returns one value, - the color index used to clear the color index buffers. The initial value - is 0. - See glClearIndex. - - - - - GL_INDEX_LOGIC_OP - - - - - params returns a single boolean value indicating whether a fragment's index - values are merged into the framebuffer using a logical - operation. The initial value is GL_FALSE. - See glLogicOp. - - - - - GL_INDEX_MODE - - - - - params returns a single boolean value indicating whether the GL is in - color index mode (GL_TRUE) or RGBA mode (GL_FALSE). - - - - - GL_INDEX_OFFSET - - - - - params returns one value, - the offset added to color and stencil indices during pixel - transfers. The initial value is 0. - See glPixelTransfer. - - - - - GL_INDEX_SHIFT - - - - - params returns one value, - the amount that color and stencil indices are shifted during pixel - transfers. The initial value is 0. - See glPixelTransfer. - - - - - GL_INDEX_WRITEMASK - - - - - params returns one value, - a mask indicating which bitplanes of each color index buffer can be - written. The initial value is all 1's. - See glIndexMask. - - - - - GL_LIGHTi - - - - - params returns a single boolean value indicating whether the specified - light is enabled. The initial value is GL_FALSE. - See glLight and glLightModel. - - - - - GL_LIGHTING - - - - - params returns a single boolean value indicating whether lighting is - enabled. The initial value is GL_FALSE. - See glLightModel. - - - - - GL_LIGHT_MODEL_AMBIENT - - - - - params returns four values: - the red, green, blue, and alpha components of the ambient intensity of - the entire scene. - Integer values, - if requested, - are linearly mapped from the internal floating-point representation such - that 1.0 returns the most positive representable integer value, - and - - - -1.0 - - returns the most negative representable integer - value. The initial value is (0.2, 0.2, 0.2, 1.0). - See glLightModel. - - - - - GL_LIGHT_MODEL_COLOR_CONTROL - - - - - params returns single enumerated value indicating whether specular - reflection calculations are separated from normal lighting computations. - The initial value is GL_SINGLE_COLOR. - - - - - GL_LIGHT_MODEL_LOCAL_VIEWER - - - - - params returns a single boolean value indicating whether specular reflection - calculations treat the viewer as being local to the scene. The initial - value is GL_FALSE. - See glLightModel. - - - - - GL_LIGHT_MODEL_TWO_SIDE - - - - - params returns a single boolean value indicating whether separate materials - are used to compute lighting for front- and back-facing - polygons. The initial value is GL_FALSE. - See glLightModel. - - - - - GL_LINE_SMOOTH - - - - - params returns a single boolean value indicating whether antialiasing of - lines is enabled. The initial value is GL_FALSE. - See glLineWidth. - - - - - GL_LINE_SMOOTH_HINT - - - - - params returns one value, - a symbolic constant indicating the mode of the line antialiasing - hint. The initial value is GL_DONT_CARE. - See glHint. - - - - - GL_LINE_STIPPLE - - - - - params returns a single boolean value indicating whether stippling of lines - is enabled. The initial value is GL_FALSE. - See glLineStipple. - - - - - GL_LINE_STIPPLE_PATTERN - - - - - params returns one value, - the 16-bit line stipple pattern. The initial value is all 1's. - See glLineStipple. - - - - - GL_LINE_STIPPLE_REPEAT - - - - - params returns one value, - the line stipple repeat factor. The initial value is 1. - See glLineStipple. - - - - - GL_LINE_WIDTH - - - - - params returns one value, - the line width as specified with glLineWidth. The initial value is - 1. - - - - - GL_LINE_WIDTH_GRANULARITY - - - - - params returns one value, - the width difference between adjacent supported widths for antialiased lines. - See glLineWidth. - - - - - GL_LINE_WIDTH_RANGE - - - - - params returns two values: - the smallest and largest supported widths for antialiased - lines. - See glLineWidth. - - - - - GL_LIST_BASE - - - - - params returns one value, - the base offset added to all names in arrays presented to - glCallLists. The initial value is 0. - See glListBase. - - - - - GL_LIST_INDEX - - - - - params returns one value, - the name of the display list currently under construction. - 0 is returned if no display list is currently under - construction. The initial value is 0. - See glNewList. - - - - - GL_LIST_MODE - - - - - params returns one value, - a symbolic constant indicating the construction mode of the display list - currently under construction. The initial value is 0. - See glNewList. - - - - - GL_LOGIC_OP_MODE - - - - - params returns one value, - a symbolic constant indicating the selected logic operation - mode. The initial value is GL_COPY. - See glLogicOp. - - - - - GL_MAP1_COLOR_4 - - - - - params returns a single boolean value indicating whether - 1D evaluation generates colors. The initial value is GL_FALSE. - See glMap1. - - - - - GL_MAP1_GRID_DOMAIN - - - - - params returns two values: - the endpoints of the 1D map's grid domain. The initial value is (0, 1). - See glMapGrid. - - - - - GL_MAP1_GRID_SEGMENTS - - - - - params returns one value, - the number of partitions in the 1D map's grid domain. The initial value - is 1. - See glMapGrid. - - - - - GL_MAP1_INDEX - - - - - params returns a single boolean value indicating whether - 1D evaluation generates color indices. The initial value is GL_FALSE. - See glMap1. - - - - - GL_MAP1_NORMAL - - - - - params returns a single boolean value indicating whether - 1D evaluation generates normals. The initial value is GL_FALSE. - See glMap1. - - - - - GL_MAP1_TEXTURE_COORD_1 - - - - - params returns a single boolean value indicating whether - 1D evaluation generates 1D texture coordinates. The initial value is - GL_FALSE. - See glMap1. - - - - - GL_MAP1_TEXTURE_COORD_2 - - - - - params returns a single boolean value indicating whether - 1D evaluation generates 2D texture coordinates. The initial value is - GL_FALSE. - See glMap1. - - - - - GL_MAP1_TEXTURE_COORD_3 - - - - - params returns a single boolean value indicating whether - 1D evaluation generates 3D texture coordinates. The initial value is - GL_FALSE. - See glMap1. - - - - - GL_MAP1_TEXTURE_COORD_4 - - - - - params returns a single boolean value indicating whether - 1D evaluation generates 4D texture coordinates. The initial value is - GL_FALSE. - See glMap1. - - - - - GL_MAP1_VERTEX_3 - - - - - params returns a single boolean value indicating whether - 1D evaluation generates 3D vertex coordinates. The initial value is - GL_FALSE. - See glMap1. - - - - - GL_MAP1_VERTEX_4 - - - - - params returns a single boolean value indicating whether - 1D evaluation generates 4D vertex coordinates. The initial value is - GL_FALSE. - See glMap1. - - - - - GL_MAP2_COLOR_4 - - - - - params returns a single boolean value indicating whether - 2D evaluation generates colors. The initial value is GL_FALSE. - See glMap2. - - - - - GL_MAP2_GRID_DOMAIN - - - - - params returns four values: - the endpoints of the 2D map's - i - and - j - grid domains. The initial value - is (0,1; 0,1). - See glMapGrid. - - - - - GL_MAP2_GRID_SEGMENTS - - - - - params returns two values: - the number of partitions in the 2D map's - i - and - j - grid - domains. The initial value is (1,1). - See glMapGrid. - - - - - GL_MAP2_INDEX - - - - - params returns a single boolean value indicating whether - 2D evaluation generates color indices. The initial value is GL_FALSE. - See glMap2. - - - - - GL_MAP2_NORMAL - - - - - params returns a single boolean value indicating whether - 2D evaluation generates normals. The initial value is GL_FALSE. - See glMap2. - - - - - GL_MAP2_TEXTURE_COORD_1 - - - - - params returns a single boolean value indicating whether - 2D evaluation generates 1D texture coordinates. The initial value is - GL_FALSE. - See glMap2. - - - - - GL_MAP2_TEXTURE_COORD_2 - - - - - params returns a single boolean value indicating whether - 2D evaluation generates 2D texture coordinates. The initial value is - GL_FALSE. - See glMap2. - - - - - GL_MAP2_TEXTURE_COORD_3 - - - - - params returns a single boolean value indicating whether - 2D evaluation generates 3D texture coordinates. The initial value is - GL_FALSE. - See glMap2. - - - - - GL_MAP2_TEXTURE_COORD_4 - - - - - params returns a single boolean value indicating whether - 2D evaluation generates 4D texture coordinates. The initial value is - GL_FALSE. - See glMap2. - - - - - GL_MAP2_VERTEX_3 - - - - - params returns a single boolean value indicating whether - 2D evaluation generates 3D vertex coordinates. The initial value is - GL_FALSE. - See glMap2. - - - - - GL_MAP2_VERTEX_4 - - - - - params returns a single boolean value indicating whether - 2D evaluation generates 4D vertex coordinates. The initial value is - GL_FALSE. - See glMap2. - - - - - GL_MAP_COLOR - - - - - params returns a single boolean value indicating if colors and - color indices are to be replaced by table lookup during pixel - transfers. The initial value is GL_FALSE. - See glPixelTransfer. - - - - - GL_MAP_STENCIL - - - - - params returns a single boolean value indicating if stencil indices - are to be replaced by table lookup during pixel transfers. The initial - value is GL_FALSE. - See glPixelTransfer. - - - - - GL_MATRIX_MODE - - - - - params returns one value, - a symbolic constant indicating which matrix stack is currently the - target of all matrix operations. The initial value is GL_MODELVIEW. - See glMatrixMode. - - - - - GL_MAX_3D_TEXTURE_SIZE - - - - - params returns one value, - a rough estimate of the largest 3D texture that the GL can handle. - The value must be at least 16. - If the GL version is 1.2 or greater, use - GL_PROXY_TEXTURE_3D to determine if a texture is too large. - See glTexImage3D. - - - - - GL_MAX_CLIENT_ATTRIB_STACK_DEPTH - - - - - params returns one value indicating the maximum supported depth - of the client attribute stack. - See glPushClientAttrib. - - - - - GL_MAX_ATTRIB_STACK_DEPTH - - - - - params returns one value, - the maximum supported depth of the attribute stack. The value must be - at least 16. - See glPushAttrib. - - - - - GL_MAX_CLIP_PLANES - - - - - params returns one value, - the maximum number of application-defined clipping planes. The value must be at least 6. - See glClipPlane. - - - - - GL_MAX_COLOR_MATRIX_STACK_DEPTH - - - - - params returns one value, the maximum supported depth of the color matrix - stack. The value must be at least 2. - See glPushMatrix. - - - - - GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - - - - - params returns one value, the maximum supported texture image units that - can be used to access texture maps from the vertex shader and the fragment processor combined. - If both the vertex shader and the fragment processing stage access the same texture image - unit, then that counts as using two texture image units against this limit. - The value must be at least 2. - See glActiveTexture. - - - - - GL_MAX_CUBE_MAP_TEXTURE_SIZE - - - - - params returns one value. - The value gives a rough estimate of the largest cube-map texture that - the GL can handle. The value must be at least 16. - If the GL version is 1.3 or greater, use GL_PROXY_TEXTURE_CUBE_MAP - to determine if a texture is too large. - See glTexImage2D. - - - - - GL_MAX_DRAW_BUFFERS - - - - - params returns one value, the maximum number - of simultaneous output colors allowed from a fragment shader using the - gl_FragData built-in array. The value must be at least 1. - See glDrawBuffers. - - - - - GL_MAX_ELEMENTS_INDICES - - - - - params returns one value, - the recommended maximum number of vertex array indices. - See glDrawRangeElements. - - - - - GL_MAX_ELEMENTS_VERTICES - - - - - params returns one value, - the recommended maximum number of vertex array vertices. - See glDrawRangeElements. - - - - - GL_MAX_EVAL_ORDER - - - - - params returns one value, - the maximum equation order supported by 1D and 2D - evaluators. The value must be at least 8. - See glMap1 and glMap2. - - - - - GL_MAX_FRAGMENT_UNIFORM_COMPONENTS - - - - - params returns one value, - the maximum number of individual floating-point, integer, or boolean values that can be held - in uniform variable storage for a fragment shader. The value must be at least 64. - See glUniform. - - - - - GL_MAX_LIGHTS - - - - - params returns one value, - the maximum number of lights. The value must be at least 8. - See glLight. - - - - - GL_MAX_LIST_NESTING - - - - - params returns one value, - the maximum recursion depth allowed during display-list - traversal. The value must be at least 64. - See glCallList. - - - - - GL_MAX_MODELVIEW_STACK_DEPTH - - - - - params returns one value, - the maximum supported depth of the modelview matrix stack. The value must - be at least 32. - See glPushMatrix. - - - - - GL_MAX_NAME_STACK_DEPTH - - - - - params returns one value, - the maximum supported depth of the selection name stack. The value must be at least 64. - See glPushName. - - - - - GL_MAX_PIXEL_MAP_TABLE - - - - - params returns one value, - the maximum supported size of a glPixelMap lookup table. - The value must be at least 32. - See glPixelMap. - - - - - GL_MAX_PROJECTION_STACK_DEPTH - - - - - params returns one value, the maximum supported depth of the projection - matrix stack. The value must be at least 2. - See glPushMatrix. - - - - - GL_MAX_TEXTURE_COORDS - - - - - params returns one value, - the maximum number of texture coordinate sets available to vertex and fragment shaders. - The value must be at least 2. - See glActiveTexture and - glClientActiveTexture. - - - - - GL_MAX_TEXTURE_IMAGE_UNITS - - - - - params returns one value, the maximum supported texture image units that - can be used to access texture maps from the fragment shader. - The value must be at least 2. - See glActiveTexture. - - - - - GL_MAX_TEXTURE_LOD_BIAS - - - - - params returns one value, - the maximum, absolute value of the texture level-of-detail bias. The - value must be at least 4. - - - - - GL_MAX_TEXTURE_SIZE - - - - - params returns one value. - The value gives a rough estimate of the largest texture that - the GL can handle. The value must be at least 64. - If the GL version is 1.1 or greater, use - GL_PROXY_TEXTURE_1D or GL_PROXY_TEXTURE_2D - to determine if a texture is too large. - See glTexImage1D and glTexImage2D. - - - - - GL_MAX_TEXTURE_STACK_DEPTH - - - - - params returns one value, - the maximum supported depth of the texture matrix stack. The value must be at least 2. - See glPushMatrix. - - - - - GL_MAX_TEXTURE_UNITS - - - - - params returns a single value indicating the number of conventional - texture units supported. Each conventional texture unit includes both a texture coordinate set - and a texture image unit. Conventional texture units may be used for fixed-function (non-shader) - rendering. The value must be at least 2. Additional texture coordinate sets and texture - image units may be accessed from vertex and fragment shaders. - See glActiveTexture and - glClientActiveTexture. - - - - - GL_MAX_VARYING_FLOATS - - - - - params returns one value, - the maximum number of interpolators available for processing varying variables used by - vertex and fragment shaders. This value represents the number of individual floating-point - values that can be interpolated; varying variables declared as vectors, matrices, and arrays - will all consume multiple interpolators. The value must be at least 32. - - - - - GL_MAX_VERTEX_ATTRIBS - - - - - params returns one value, - the maximum number of 4-component generic vertex attributes accessible to a vertex shader. - The value must be at least 16. - See glVertexAttrib. - - - - - GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS - - - - - params returns one value, the maximum supported texture image units that - can be used to access texture maps from the vertex shader. The value may be 0. - See glActiveTexture. - - - - - GL_MAX_VERTEX_UNIFORM_COMPONENTS - - - - - params returns one value, - the maximum number of individual floating-point, integer, or boolean values that can be held - in uniform variable storage for a vertex shader. The value must be at least 512. - See glUniform. - - - - - GL_MAX_VIEWPORT_DIMS - - - - - params returns two values: - the maximum supported width and height of the viewport. - These must be at least as large as the visible dimensions of the display - being rendered to. - See glViewport. - - - - - GL_MINMAX - - - - - params returns a single boolean value indicating whether pixel minmax - values are computed. The initial value is GL_FALSE. - See glMinmax. - - - - - GL_MODELVIEW_MATRIX - - - - - params returns sixteen values: - the modelview matrix on the top of the modelview matrix stack. Initially - this matrix is the identity matrix. - See glPushMatrix. - - - - - GL_MODELVIEW_STACK_DEPTH - - - - - params returns one value, - the number of matrices on the modelview matrix stack. - The initial value is 1. - See glPushMatrix. - - - - - GL_NAME_STACK_DEPTH - - - - - params returns one value, - the number of names on the selection name stack. The initial value is 0. - See glPushName. - - - - - GL_NORMAL_ARRAY - - - - - params returns a single boolean value, indicating whether the normal - array is enabled. The initial value is GL_FALSE. - See glNormalPointer. - - - - - GL_NORMAL_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - associated with the normal array. This buffer object would have been bound to the - target GL_ARRAY_BUFFER at the time of the most recent call to - glNormalPointer. - If no buffer object was bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_NORMAL_ARRAY_STRIDE - - - - - params returns one value, - the byte offset between consecutive normals in the normal - array. The initial value is 0. - See glNormalPointer. - - - - - GL_NORMAL_ARRAY_TYPE - - - - - params returns one value, - the data type of each coordinate in the normal array. The initial value is - GL_FLOAT. - See glNormalPointer. - - - - - GL_NORMALIZE - - - - - params returns a single boolean value indicating whether normals are - automatically scaled to unit length after they have been transformed to - eye coordinates. The initial value is GL_FALSE. - See glNormal. - - - - - GL_NUM_COMPRESSED_TEXTURE_FORMATS - - - - - params returns a single integer value indicating the number of available - compressed texture formats. The minimum value is 0. - See glCompressedTexImage2D. - - - - - GL_PACK_ALIGNMENT - - - - - params returns one value, - the byte alignment used for writing pixel data to memory. The initial - value is 4. - See glPixelStore. - - - - - GL_PACK_IMAGE_HEIGHT - - - - - params returns one value, - the image height used for writing pixel data to memory. The initial - value is 0. - See glPixelStore. - - - - - GL_PACK_LSB_FIRST - - - - - params returns a single boolean value indicating whether single-bit - pixels being written to memory are written first to the least significant - bit of each unsigned byte. The initial value is GL_FALSE. - See glPixelStore. - - - - - GL_PACK_ROW_LENGTH - - - - - params returns one value, - the row length used for writing pixel data to memory. The initial value is - 0. - See glPixelStore. - - - - - GL_PACK_SKIP_IMAGES - - - - - params returns one value, - the number of pixel images skipped before the first pixel is written - into memory. The initial value is 0. - See glPixelStore. - - - - - GL_PACK_SKIP_PIXELS - - - - - params returns one value, - the number of pixel locations skipped before the first pixel is written - into memory. The initial value is 0. - See glPixelStore. - - - - - GL_PACK_SKIP_ROWS - - - - - params returns one value, - the number of rows of pixel locations skipped before the first pixel is written - into memory. The initial value is 0. - See glPixelStore. - - - - - GL_PACK_SWAP_BYTES - - - - - params returns a single boolean value indicating whether the bytes of - two-byte and four-byte pixel indices and components are swapped before being - written to memory. The initial value is GL_FALSE. - See glPixelStore. - - - - - GL_PERSPECTIVE_CORRECTION_HINT - - - - - params returns one value, - a symbolic constant indicating the mode of the perspective correction - hint. The initial value is GL_DONT_CARE. - See glHint. - - - - - GL_PIXEL_MAP_A_TO_A_SIZE - - - - - params returns one value, - the size of the alpha-to-alpha pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_B_TO_B_SIZE - - - - - params returns one value, - the size of the blue-to-blue pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_G_TO_G_SIZE - - - - - params returns one value, - the size of the green-to-green pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_I_TO_A_SIZE - - - - - params returns one value, - the size of the index-to-alpha pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_I_TO_B_SIZE - - - - - params returns one value, - the size of the index-to-blue pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_I_TO_G_SIZE - - - - - params returns one value, - the size of the index-to-green pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_I_TO_I_SIZE - - - - - params returns one value, - the size of the index-to-index pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_I_TO_R_SIZE - - - - - params returns one value, - the size of the index-to-red pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_R_TO_R_SIZE - - - - - params returns one value, - the size of the red-to-red pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_MAP_S_TO_S_SIZE - - - - - params returns one value, - the size of the stencil-to-stencil pixel translation table. - The initial value is 1. - See glPixelMap. - - - - - GL_PIXEL_PACK_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - currently bound to the target GL_PIXEL_PACK_BUFFER. If no buffer object - is bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_PIXEL_UNPACK_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - currently bound to the target GL_PIXEL_UNPACK_BUFFER. If no buffer object - is bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_POINT_DISTANCE_ATTENUATION - - - - - params returns three values, - the coefficients for computing the attenuation value for points. - See glPointParameter. - - - - - GL_POINT_FADE_THRESHOLD_SIZE - - - - - params returns one value, - the point size threshold for determining the point size. - See glPointParameter. - - - - - GL_POINT_SIZE - - - - - params returns one value, - the point size as specified by glPointSize. The initial value is 1. - - - - - GL_POINT_SIZE_GRANULARITY - - - - - params returns one value, - the size difference between adjacent supported sizes for antialiased points. - See glPointSize. - - - - - GL_POINT_SIZE_MAX - - - - - params returns one value, - the upper bound for the attenuated point sizes. The initial value is 0.0. - See glPointParameter. - - - - - GL_POINT_SIZE_MIN - - - - - params returns one value, - the lower bound for the attenuated point sizes. The initial value is 1.0. - See glPointParameter. - - - - - GL_POINT_SIZE_RANGE - - - - - params returns two values: - the smallest and largest supported sizes for antialiased - points. The smallest size must be at most 1, and the largest size must - be at least 1. - See glPointSize. - - - - - GL_POINT_SMOOTH - - - - - params returns a single boolean value indicating whether antialiasing of - points is enabled. The initial value is GL_FALSE. - See glPointSize. - - - - - GL_POINT_SMOOTH_HINT - - - - - params returns one value, - a symbolic constant indicating the mode of the point antialiasing - hint. The initial value is GL_DONT_CARE. - See glHint. - - - - - GL_POINT_SPRITE - - - - - params returns a single boolean value indicating whether point sprite is - enabled. The initial value is GL_FALSE. - - - - - GL_POLYGON_MODE - - - - - params returns two values: - symbolic constants indicating whether front-facing and back-facing polygons - are rasterized as points, lines, or filled polygons. The initial value is - GL_FILL. - See glPolygonMode. - - - - - GL_POLYGON_OFFSET_FACTOR - - - - - params returns one value, - the scaling factor used to determine the variable offset that is added - to the depth value of each fragment generated when a polygon is - rasterized. The initial value is 0. - See glPolygonOffset. - - - - - GL_POLYGON_OFFSET_UNITS - - - - - params returns one value. - This value is multiplied by an implementation-specific value and then - added to the depth value of each fragment - generated when a polygon is rasterized. The initial value is 0. - See glPolygonOffset. - - - - - GL_POLYGON_OFFSET_FILL - - - - - params returns a single boolean value indicating whether polygon offset - is enabled for polygons in fill mode. The initial value is GL_FALSE. - See glPolygonOffset. - - - - - GL_POLYGON_OFFSET_LINE - - - - - params returns a single boolean value indicating whether polygon offset - is enabled for polygons in line mode. The initial value is GL_FALSE. - See glPolygonOffset. - - - - - GL_POLYGON_OFFSET_POINT - - - - - params returns a single boolean value indicating whether polygon offset - is enabled for polygons in point mode. The initial value is GL_FALSE. - See glPolygonOffset. - - - - - GL_POLYGON_SMOOTH - - - - - params returns a single boolean value indicating whether antialiasing of - polygons is enabled. The initial value is GL_FALSE. - See glPolygonMode. - - - - - GL_POLYGON_SMOOTH_HINT - - - - - params returns one value, - a symbolic constant indicating the mode of the polygon antialiasing - hint. The initial value is GL_DONT_CARE. - See glHint. - - - - - GL_POLYGON_STIPPLE - - - - - params returns a single boolean value indicating whether polygon - stippling is enabled. The initial value is GL_FALSE. - See glPolygonStipple. - - - - - GL_POST_COLOR_MATRIX_COLOR_TABLE - - - - - params returns a single boolean value indicating whether post color - matrix transformation lookup is enabled. - The initial value is GL_FALSE. - See glColorTable. - - - - - GL_POST_COLOR_MATRIX_RED_BIAS - - - - - params returns one value, the red bias factor applied to RGBA fragments - after color matrix transformations. - The initial value is 0. - See glPixelTransfer. - - - - - GL_POST_COLOR_MATRIX_GREEN_BIAS - - - - - params returns one value, the green bias factor applied to RGBA fragments - after color matrix transformations. - The initial value is 0. - See glPixelTransfer - - - - - GL_POST_COLOR_MATRIX_BLUE_BIAS - - - - - params returns one value, the blue bias factor applied to RGBA fragments - after color matrix transformations. - The initial value is 0. - See glPixelTransfer. - - - - - GL_POST_COLOR_MATRIX_ALPHA_BIAS - - - - - params returns one value, the alpha bias factor applied to RGBA fragments - after color matrix transformations. - The initial value is 0. - See glPixelTransfer. - - - - - GL_POST_COLOR_MATRIX_RED_SCALE - - - - - params returns one value, the red scale factor applied to RGBA fragments - after color matrix transformations. - The initial value is 1. - See glPixelTransfer. - - - - - GL_POST_COLOR_MATRIX_GREEN_SCALE - - - - - params returns one value, the green scale factor applied to RGBA fragments - after color matrix transformations. - The initial value is 1. - See glPixelTransfer. - - - - - GL_POST_COLOR_MATRIX_BLUE_SCALE - - - - - params returns one value, the blue scale factor applied to RGBA fragments - after color matrix transformations. - The initial value is 1. - See glPixelTransfer. - - - - - GL_POST_COLOR_MATRIX_ALPHA_SCALE - - - - - params returns one value, the alpha scale factor applied to RGBA fragments - after color matrix transformations. - The initial value is 1. - See glPixelTransfer. - - - - - GL_POST_CONVOLUTION_COLOR_TABLE - - - - - params returns a single boolean value indicating whether post convolution - lookup is enabled. The initial value is GL_FALSE. - See glColorTable. - - - - - GL_POST_CONVOLUTION_RED_BIAS - - - - - params returns one value, the red bias factor applied to RGBA fragments - after convolution. The initial value is 0. - See glPixelTransfer. - - - - - GL_POST_CONVOLUTION_GREEN_BIAS - - - - - params returns one value, the green bias factor applied to RGBA fragments - after convolution. The initial value is 0. - See glPixelTransfer. - - - - - GL_POST_CONVOLUTION_BLUE_BIAS - - - - - params returns one value, the blue bias factor applied to RGBA fragments - after convolution. The initial value is 0. - See glPixelTransfer. - - - - - GL_POST_CONVOLUTION_ALPHA_BIAS - - - - - params returns one value, the alpha bias factor applied to RGBA fragments - after convolution. The initial value is 0. - See glPixelTransfer. - - - - - GL_POST_CONVOLUTION_RED_SCALE - - - - - params returns one value, the red scale factor applied to RGBA fragments - after convolution. The initial value is 1. - See glPixelTransfer. - - - - - GL_POST_CONVOLUTION_GREEN_SCALE - - - - - params returns one value, the green scale factor applied to RGBA fragments - after convolution. The initial value is 1. - See glPixelTransfer. - - - - - GL_POST_CONVOLUTION_BLUE_SCALE - - - - - params returns one value, the blue scale factor applied to RGBA fragments - after convolution. The initial value is 1. - See glPixelTransfer. - - - - - GL_POST_CONVOLUTION_ALPHA_SCALE - - - - - params returns one value, the alpha scale factor applied to RGBA fragments - after convolution. The initial value is 1. - See glPixelTransfer. - - - - - GL_PROJECTION_MATRIX - - - - - params returns sixteen values: - the projection matrix on the top of the projection matrix - stack. Initially this matrix is the identity matrix. - See glPushMatrix. - - - - - GL_PROJECTION_STACK_DEPTH - - - - - params returns one value, - the number of matrices on the projection matrix stack. - The initial value is 1. - See glPushMatrix. - - - - - GL_READ_BUFFER - - - - - params returns one value, - a symbolic constant indicating which color buffer is selected for - reading. The initial value is GL_BACK if there is a back buffer, - otherwise it is GL_FRONT. - See - glReadPixels and glAccum. - - - - - GL_RED_BIAS - - - - - params returns one value, - the red bias factor used during pixel transfers. The initial value is 0. - - - - - GL_RED_BITS - - - - - params returns one value, - the number of red bitplanes in each color buffer. - - - - - GL_RED_SCALE - - - - - params returns one value, - the red scale factor used during pixel transfers. The initial value is 1. - See glPixelTransfer. - - - - - GL_RENDER_MODE - - - - - params returns one value, - a symbolic constant indicating whether the GL is in render, - select, - or feedback mode. The initial value is GL_RENDER. - See glRenderMode. - - - - - GL_RESCALE_NORMAL - - - - - params returns single boolean value - indicating whether normal rescaling is enabled. - See glEnable. - - - - - GL_RGBA_MODE - - - - - params returns a single boolean value indicating whether the GL is in RGBA - mode (true) or color index mode (false). - See glColor. - - - - - GL_SAMPLE_BUFFERS - - - - - params returns a single integer value indicating the number of sample buffers - associated with the framebuffer. - See glSampleCoverage. - - - - - GL_SAMPLE_COVERAGE_VALUE - - - - - params returns a single positive floating-point value indicating the - current sample coverage value. - See glSampleCoverage. - - - - - GL_SAMPLE_COVERAGE_INVERT - - - - - params returns a single boolean value indicating if the temporary - coverage value should be inverted. - See glSampleCoverage. - - - - - GL_SAMPLES - - - - - params returns a single integer value indicating the coverage mask size. - See glSampleCoverage. - - - - - GL_SCISSOR_BOX - - - - - params returns four values: - the - x - and - y - window coordinates of the scissor box, - followed by its width and height. - Initially the - x - and - y - window coordinates are both 0 and the - width and height are set to the size of the window. - See glScissor. - - - - - GL_SCISSOR_TEST - - - - - params returns a single boolean value indicating whether scissoring is - enabled. The initial value is GL_FALSE. - See glScissor. - - - - - GL_SECONDARY_COLOR_ARRAY - - - - - params returns a single boolean value indicating whether the secondary color array is enabled. The initial value is GL_FALSE. - See glSecondaryColorPointer. - - - - - GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - associated with the secondary color array. This buffer object would have been bound to the - target GL_ARRAY_BUFFER at the time of the most recent call to - glSecondaryColorPointer. - If no buffer object was bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_SECONDARY_COLOR_ARRAY_SIZE - - - - - params returns one value, the number of components per color in the - secondary color array. The initial value is 3. - See glSecondaryColorPointer. - - - - - GL_SECONDARY_COLOR_ARRAY_STRIDE - - - - - params returns one value, the byte offset between consecutive colors in - the secondary color array. The initial value is 0. - See glSecondaryColorPointer. - - - - - GL_SECONDARY_COLOR_ARRAY_TYPE - - - - - params returns one value, the data type of each component in the secondary - color array. The initial value is GL_FLOAT. - See glSecondaryColorPointer. - - - - - GL_SELECTION_BUFFER_SIZE - - - - - params return one value, - the size of the selection buffer. - See glSelectBuffer. - - - - - GL_SEPARABLE_2D - - - - - params returns a single boolean value indicating whether 2D separable - convolution is enabled. The initial value is GL_FALSE. - See glSeparableFilter2D. - - - - - GL_SHADE_MODEL - - - - - params returns one value, - a symbolic constant indicating whether the shading mode is flat or - smooth. The initial value is GL_SMOOTH. - See glShadeModel. - - - - - GL_SMOOTH_LINE_WIDTH_RANGE - - - - - params returns two values, - the smallest and largest supported widths for antialiased lines. - See glLineWidth. - - - - - GL_SMOOTH_LINE_WIDTH_GRANULARITY - - - - - params returns one value, - the granularity of widths for antialiased lines. - See glLineWidth. - - - - - GL_SMOOTH_POINT_SIZE_RANGE - - - - - params returns two values, - the smallest and largest supported widths for antialiased points. - See glPointSize. - - - - - GL_SMOOTH_POINT_SIZE_GRANULARITY - - - - - params returns one value, - the granularity of sizes for antialiased points. - See glPointSize. - - - - - GL_STENCIL_BACK_FAIL - - - - - params returns one value, - a symbolic constant indicating what action is taken for back-facing polygons when the stencil - test fails. The initial value is GL_KEEP. - See glStencilOpSeparate. - - - - - GL_STENCIL_BACK_FUNC - - - - - params returns one value, - a symbolic constant indicating what function is used for back-facing polygons to compare the - stencil reference value with the stencil buffer value. The initial value - is GL_ALWAYS. - See glStencilFuncSeparate. - - - - - GL_STENCIL_BACK_PASS_DEPTH_FAIL - - - - - params returns one value, - a symbolic constant indicating what action is taken for back-facing polygons when the stencil - test passes, - but the depth test fails. The initial value is GL_KEEP. - See glStencilOpSeparate. - - - - - GL_STENCIL_BACK_PASS_DEPTH_PASS - - - - - params returns one value, - a symbolic constant indicating what action is taken for back-facing polygons when the stencil - test passes and the depth test passes. The initial value is GL_KEEP. - See glStencilOpSeparate. - - - - - GL_STENCIL_BACK_REF - - - - - params returns one value, - the reference value that is compared with the contents of the stencil - buffer for back-facing polygons. The initial value is 0. - See glStencilFuncSeparate. - - - - - GL_STENCIL_BACK_VALUE_MASK - - - - - params returns one value, - the mask that is used for back-facing polygons to mask both the stencil reference value and the - stencil buffer value before they are compared. The initial value is all 1's. - See glStencilFuncSeparate. - - - - - GL_STENCIL_BACK_WRITEMASK - - - - - params returns one value, - the mask that controls writing of the stencil bitplanes for back-facing polygons. The initial value - is all 1's. - See glStencilMaskSeparate. - - - - - GL_STENCIL_BITS - - - - - params returns one value, - the number of bitplanes in the stencil buffer. - - - - - GL_STENCIL_CLEAR_VALUE - - - - - params returns one value, - the index to which the stencil bitplanes are cleared. The initial value is - 0. - See glClearStencil. - - - - - GL_STENCIL_FAIL - - - - - params returns one value, - a symbolic constant indicating what action is taken when the stencil - test fails. The initial value is GL_KEEP. - See glStencilOp. - If the GL version is 2.0 or greater, this stencil state only affects non-polygons - and front-facing polygons. Back-facing polygons use separate stencil state. - See glStencilOpSeparate. - - - - - GL_STENCIL_FUNC - - - - - params returns one value, - a symbolic constant indicating what function is used to compare the - stencil reference value with the stencil buffer value. The initial value - is GL_ALWAYS. - See glStencilFunc. - If the GL version is 2.0 or greater, this stencil state only affects non-polygons - and front-facing polygons. Back-facing polygons use separate stencil state. - See glStencilFuncSeparate. - - - - - GL_STENCIL_PASS_DEPTH_FAIL - - - - - params returns one value, - a symbolic constant indicating what action is taken when the stencil - test passes, - but the depth test fails. The initial value is GL_KEEP. - See glStencilOp. - If the GL version is 2.0 or greater, this stencil state only affects non-polygons - and front-facing polygons. Back-facing polygons use separate stencil state. - See glStencilOpSeparate. - - - - - GL_STENCIL_PASS_DEPTH_PASS - - - - - params returns one value, - a symbolic constant indicating what action is taken when the stencil - test passes and the depth test passes. The initial value is GL_KEEP. - See glStencilOp. - If the GL version is 2.0 or greater, this stencil state only affects non-polygons - and front-facing polygons. Back-facing polygons use separate stencil state. - See glStencilOpSeparate. - - - - - GL_STENCIL_REF - - - - - params returns one value, - the reference value that is compared with the contents of the stencil - buffer. The initial value is 0. - See glStencilFunc. - If the GL version is 2.0 or greater, this stencil state only affects non-polygons - and front-facing polygons. Back-facing polygons use separate stencil state. - See glStencilFuncSeparate. - - - - - GL_STENCIL_TEST - - - - - params returns a single boolean value indicating whether stencil testing - of fragments is enabled. The initial value is GL_FALSE. - See glStencilFunc and glStencilOp. - - - - - GL_STENCIL_VALUE_MASK - - - - - params returns one value, - the mask that is used to mask both the stencil reference value and the - stencil buffer value before they are compared. The initial value is all 1's. - See glStencilFunc. - If the GL version is 2.0 or greater, this stencil state only affects non-polygons - and front-facing polygons. Back-facing polygons use separate stencil state. - See glStencilFuncSeparate. - - - - - GL_STENCIL_WRITEMASK - - - - - params returns one value, - the mask that controls writing of the stencil bitplanes. The initial value - is all 1's. - See glStencilMask. - If the GL version is 2.0 or greater, this stencil state only affects non-polygons - and front-facing polygons. Back-facing polygons use separate stencil state. - See glStencilMaskSeparate. - - - - - GL_STEREO - - - - - params returns a single boolean value indicating whether stereo buffers - (left and right) are supported. - - - - - GL_SUBPIXEL_BITS - - - - - params returns one value, - an estimate of the number of bits of subpixel resolution that are used to - position rasterized geometry in window coordinates. The value must be at least 4. - - - - - GL_TEXTURE_1D - - - - - params returns a single boolean value indicating whether 1D texture - mapping is enabled. The initial value is GL_FALSE. - See glTexImage1D. - - - - - GL_TEXTURE_BINDING_1D - - - - - params returns a single value, the name of the texture - currently bound to the target GL_TEXTURE_1D. The initial value is 0. - See glBindTexture. - - - - - GL_TEXTURE_2D - - - - - params returns a single boolean value indicating whether 2D texture - mapping is enabled. The initial value is GL_FALSE. - See glTexImage2D. - - - - - GL_TEXTURE_BINDING_2D - - - - - params returns a single value, the name of the texture - currently bound to the target GL_TEXTURE_2D. The initial value is 0. - See glBindTexture. - - - - - GL_TEXTURE_3D - - - - - params returns a single boolean value indicating whether 3D texture - mapping is enabled. The initial value is GL_FALSE. - See glTexImage3D. - - - - - GL_TEXTURE_BINDING_3D - - - - - params returns a single value, the name of the texture - currently bound to the target GL_TEXTURE_3D. The initial value is 0. - See glBindTexture. - - - - - GL_TEXTURE_BINDING_CUBE_MAP - - - - - params returns a single value, the name of the texture - currently bound to the target GL_TEXTURE_CUBE_MAP. The initial value is 0. - See glBindTexture. - - - - - GL_TEXTURE_COMPRESSION_HINT - - - - - params returns a single value indicating the mode of the texture - compression hint. The initial value is GL_DONT_CARE. - - - - - GL_TEXTURE_COORD_ARRAY - - - - - params returns a single boolean value indicating whether the texture - coordinate array is enabled. The initial value is GL_FALSE. - See glTexCoordPointer. - - - - - GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - associated with the texture coordinate array. This buffer object would have been bound to the - target GL_ARRAY_BUFFER at the time of the most recent call to - glTexCoordPointer. - If no buffer object was bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_TEXTURE_COORD_ARRAY_SIZE - - - - - params returns one value, - the number of coordinates per element in the texture coordinate - array. The initial value is 4. - See glTexCoordPointer. - - - - - GL_TEXTURE_COORD_ARRAY_STRIDE - - - - - params returns one value, - the byte offset between consecutive elements in the texture coordinate - array. The initial value is 0. - See glTexCoordPointer. - - - - - GL_TEXTURE_COORD_ARRAY_TYPE - - - - - params returns one value, - the data type of the coordinates in the texture coordinate - array. The initial value is GL_FLOAT. - See glTexCoordPointer. - - - - - GL_TEXTURE_CUBE_MAP - - - - - params returns a single boolean value indicating whether cube-mapped texture - mapping is enabled. The initial value is GL_FALSE. - See glTexImage2D. - - - - - GL_TEXTURE_GEN_Q - - - - - params returns a single boolean value indicating whether automatic generation - of the q texture coordinate is enabled. The initial value is GL_FALSE. - See glTexGen. - - - - - GL_TEXTURE_GEN_R - - - - - params returns a single boolean value indicating whether automatic generation - of the r texture coordinate is enabled. The initial value is GL_FALSE. - See glTexGen. - - - - - GL_TEXTURE_GEN_S - - - - - params returns a single boolean value indicating whether automatic generation - of the S texture coordinate is enabled. The initial value is GL_FALSE. - See glTexGen. - - - - - GL_TEXTURE_GEN_T - - - - - params returns a single boolean value indicating whether automatic generation - of the T texture coordinate is enabled. The initial value is GL_FALSE. - See glTexGen. - - - - - GL_TEXTURE_MATRIX - - - - - params returns sixteen values: - the texture matrix on the top of the texture matrix stack. Initially this - matrix is the identity matrix. - See glPushMatrix. - - - - - GL_TEXTURE_STACK_DEPTH - - - - - params returns one value, - the number of matrices on the texture matrix stack. - The initial value is 1. - See glPushMatrix. - - - - - GL_TRANSPOSE_COLOR_MATRIX - - - - - params returns 16 values, the elements of the color matrix in row-major - order. - See glLoadTransposeMatrix. - - - - - GL_TRANSPOSE_MODELVIEW_MATRIX - - - - - params returns 16 values, the elements of the modelview matrix in row-major - order. - See glLoadTransposeMatrix. - - - - - GL_TRANSPOSE_PROJECTION_MATRIX - - - - - params returns 16 values, the elements of the projection matrix in row-major - order. - See glLoadTransposeMatrix. - - - - - GL_TRANSPOSE_TEXTURE_MATRIX - - - - - params returns 16 values, the elements of the texture matrix in row-major - order. - See glLoadTransposeMatrix. - - - - - GL_UNPACK_ALIGNMENT - - - - - params returns one value, - the byte alignment used for reading pixel data from memory. The initial - value is 4. - See glPixelStore. - - - - - GL_UNPACK_IMAGE_HEIGHT - - - - - params returns one value, - the image height used for reading pixel data from memory. The initial - is 0. - See glPixelStore. - - - - - GL_UNPACK_LSB_FIRST - - - - - params returns a single boolean value indicating whether single-bit - pixels being read from memory are read first from the least significant - bit of each unsigned byte. The initial value is GL_FALSE. - See glPixelStore. - - - - - GL_UNPACK_ROW_LENGTH - - - - - params returns one value, - the row length used for reading pixel data from memory. The initial value - is 0. - See glPixelStore. - - - - - GL_UNPACK_SKIP_IMAGES - - - - - params returns one value, - the number of pixel images skipped before the first pixel is read - from memory. The initial value is 0. - See glPixelStore. - - - - - GL_UNPACK_SKIP_PIXELS - - - - - params returns one value, - the number of pixel locations skipped before the first pixel is read - from memory. The initial value is 0. - See glPixelStore. - - - - - GL_UNPACK_SKIP_ROWS - - - - - params returns one value, - the number of rows of pixel locations skipped before the first pixel is read - from memory. The initial value is 0. - See glPixelStore. - - - - - GL_UNPACK_SWAP_BYTES - - - - - params returns a single boolean value indicating whether the bytes of - two-byte and four-byte pixel indices and components are swapped after being - read from memory. The initial value is GL_FALSE. - See glPixelStore. - - - - - GL_VERTEX_ARRAY - - - - - params returns a single boolean value indicating whether the vertex - array is enabled. The initial value is GL_FALSE. - See glVertexPointer. - - - - - GL_VERTEX_ARRAY_BUFFER_BINDING - - - - - params returns a single value, the name of the buffer object - associated with the vertex array. This buffer object would have been bound to the - target GL_ARRAY_BUFFER at the time of the most recent call to - glVertexPointer. - If no buffer object was bound to this target, 0 is returned. The initial value is 0. - See glBindBuffer. - - - - - GL_VERTEX_ARRAY_SIZE - - - - - params returns one value, - the number of coordinates per vertex in the vertex array. The initial - value is 4. - See glVertexPointer. - - - - - GL_VERTEX_ARRAY_STRIDE - - - - - params returns one value, - the byte offset between consecutive vertices in the vertex - array. The initial value is 0. - See glVertexPointer. - - - - - GL_VERTEX_ARRAY_TYPE - - - - - params returns one value, - the data type of each coordinate in the vertex array. The initial value is - GL_FLOAT. - See glVertexPointer. - - - - - GL_VERTEX_PROGRAM_POINT_SIZE - - - - - params returns a single boolean value indicating whether vertex - program point size mode is enabled. If enabled, and a vertex shader is active, then the - point size is taken from the shader built-in gl_PointSize. If disabled, - and a vertex shader is active, then the point size is taken from the point state as specified - by glPointSize. - The initial value is GL_FALSE. - - - - - GL_VERTEX_PROGRAM_TWO_SIDE - - - - - params returns a single boolean value indicating whether vertex - program two-sided color mode is enabled. If enabled, and a vertex shader is active, then the - GL chooses the back color output for back-facing polygons, and the front color output for - non-polygons and front-facing polygons. If disabled, and a vertex shader is active, then the - front color output is always selected. The initial value is GL_FALSE. - - - - - GL_VIEWPORT - - - - - params returns four values: - the - x - and - y - window coordinates of the viewport, - followed by its width and height. - Initially the - x - and - y - window coordinates are both set to 0, - and the width and height are set to the width and height of the window into - which the GL will do its rendering. - See glViewport. - - - - - GL_ZOOM_X - - - - - params returns one value, - the - x - pixel zoom factor. The initial value is 1. - See glPixelZoom. - - - - - GL_ZOOM_Y - - - - - params returns one value, - the - y - pixel zoom factor. The initial value is 1. - See glPixelZoom. - - - - - - Many of the boolean parameters can also be queried more easily using - glIsEnabled. - - - Notes - - GL_COLOR_LOGIC_OP, - GL_COLOR_ARRAY, - GL_COLOR_ARRAY_SIZE, - GL_COLOR_ARRAY_STRIDE, - GL_COLOR_ARRAY_TYPE, - GL_EDGE_FLAG_ARRAY, - GL_EDGE_FLAG_ARRAY_STRIDE, - GL_INDEX_ARRAY, - GL_INDEX_ARRAY_STRIDE, - GL_INDEX_ARRAY_TYPE, - GL_INDEX_LOGIC_OP, - GL_NORMAL_ARRAY, - GL_NORMAL_ARRAY_STRIDE, - GL_NORMAL_ARRAY_TYPE, - GL_POLYGON_OFFSET_UNITS, - GL_POLYGON_OFFSET_FACTOR, - GL_POLYGON_OFFSET_FILL, - GL_POLYGON_OFFSET_LINE, - GL_POLYGON_OFFSET_POINT, - GL_TEXTURE_COORD_ARRAY, - GL_TEXTURE_COORD_ARRAY_SIZE, - GL_TEXTURE_COORD_ARRAY_STRIDE, - GL_TEXTURE_COORD_ARRAY_TYPE, - GL_VERTEX_ARRAY, - GL_VERTEX_ARRAY_SIZE, - GL_VERTEX_ARRAY_STRIDE, and - GL_VERTEX_ARRAY_TYPE - are available only if the GL version is 1.1 or greater. - - - GL_ALIASED_POINT_SIZE_RANGE, - GL_FEEDBACK_BUFFER_SIZE, - GL_FEEDBACK_BUFFER_TYPE, - GL_LIGHT_MODEL_AMBIENT, - GL_LIGHT_MODEL_COLOR_CONTROL, - GL_MAX_3D_TEXTURE_SIZE, - GL_MAX_ELEMENTS_INDICES, - GL_MAX_ELEMENTS_VERTICES, - GL_PACK_IMAGE_HEIGHT, - GL_PACK_SKIP_IMAGES, - GL_RESCALE_NORMAL, - GL_SELECTION_BUFFER_SIZE, - GL_SMOOTH_LINE_WIDTH_GRANULARITY, - GL_SMOOTH_LINE_WIDTH_RANGE, - GL_SMOOTH_POINT_SIZE_GRANULARITY, - GL_SMOOTH_POINT_SIZE_RANGE, - GL_TEXTURE_3D, - GL_TEXTURE_BINDING_3D, - GL_UNPACK_IMAGE_HEIGHT, and - GL_UNPACK_SKIP_IMAGES - are available only if the GL version is 1.2 or greater. - - - GL_COMPRESSED_TEXTURE_FORMATS, - GL_NUM_COMPRESSED_TEXTURE_FORMATS, - GL_TEXTURE_BINDING_CUBE_MAP, and - GL_TEXTURE_COMPRESSION_HINT - are available only if the GL version is 1.3 or greater. - - - GL_BLEND_DST_ALPHA, - GL_BLEND_DST_RGB, - GL_BLEND_SRC_ALPHA, - GL_BLEND_SRC_RGB, - GL_CURRENT_FOG_COORD, - GL_CURRENT_SECONDARY_COLOR, - GL_FOG_COORD_ARRAY_STRIDE, - GL_FOG_COORD_ARRAY_TYPE, - GL_FOG_COORD_SRC, - GL_MAX_TEXTURE_LOD_BIAS, - GL_POINT_SIZE_MIN, - GL_POINT_SIZE_MAX, - GL_POINT_FADE_THRESHOLD_SIZE, - GL_POINT_DISTANCE_ATTENUATION, - GL_SECONDARY_COLOR_ARRAY_SIZE, - GL_SECONDARY_COLOR_ARRAY_STRIDE, and - GL_SECONDARY_COLOR_ARRAY_TYPE - are available only if the GL version is 1.4 or greater. - - - GL_ARRAY_BUFFER_BINDING, - GL_COLOR_ARRAY_BUFFER_BINDING, - GL_EDGE_FLAG_ARRAY_BUFFER_BINDING, - GL_ELEMENT_ARRAY_BUFFER_BINDING, - GL_FOG_COORD_ARRAY_BUFFER_BINDING, - GL_INDEX_ARRAY_BUFFER_BINDING, - GL_NORMAL_ARRAY_BUFFER_BINDING, - GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING, - GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING, and - GL_VERTEX_ARRAY_BUFFER_BINDING - are available only if the GL version is 1.5 or greater. - - - GL_BLEND_EQUATION_ALPHA, - GL_BLEND_EQUATION_RGB, - GL_DRAW_BUFFERi, - GL_FRAGMENT_SHADER_DERIVATIVE_HINT, - GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, - GL_MAX_DRAW_BUFFERS, - GL_MAX_FRAGMENT_UNIFORM_COMPONENTS, - GL_MAX_TEXTURE_COORDS, - GL_MAX_TEXTURE_IMAGE_UNITS, - GL_MAX_VARYING_FLOATS, - GL_MAX_VERTEX_ATTRIBS, - GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, - GL_MAX_VERTEX_UNIFORM_COMPONENTS, - GL_POINT_SPRITE, - GL_STENCIL_BACK_FAIL, - GL_STENCIL_BACK_FUNC, - GL_STENCIL_BACK_PASS_DEPTH_FAIL, - GL_STENCIL_BACK_PASS_DEPTH_PASS, - GL_STENCIL_BACK_REF, - GL_STENCIL_BACK_VALUE_MASK, - GL_STENCIL_BACK_WRITEMASK, - GL_VERTEX_PROGRAM_POINT_SIZE, and - GL_VERTEX_PROGRAM_TWO_SIDE - are available only if the GL version is 2.0 or greater. - - - GL_CURRENT_RASTER_SECONDARY_COLOR, - GL_PIXEL_PACK_BUFFER_BINDING and - GL_PIXEL_UNPACK_BUFFER_BINDING - are available only if the GL version is 2.1 or greater. - - - GL_LINE_WIDTH_GRANULARITY was deprecated in GL version 1.2. Its - functionality was replaced by GL_SMOOTH_LINE_WIDTH_GRANULARITY. - - - GL_LINE_WIDTH_RANGE was deprecated in GL version 1.2. Its - functionality was replaced by GL_SMOOTH_LINE_WIDTH_RANGE. - - - GL_POINT_SIZE_GRANULARITY was deprecated in GL version 1.2. Its - functionality was replaced by GL_SMOOTH_POINT_SIZE_GRANULARITY. - - - GL_POINT_SIZE_RANGE was deprecated in GL version 1.2. Its - functionality was replaced by GL_SMOOTH_POINT_SIZE_RANGE. - - - GL_BLEND_EQUATION was deprecated in GL version 2.0. Its - functionality was replaced by GL_BLEND_EQUATION_RGB and - GL_BLEND_EQUATION_ALPHA. - - - GL_COLOR_MATRIX, - GL_COLOR_MATRIX_STACK_DEPTH, - GL_COLOR_TABLE, - GL_CONVOLUTION_1D, - GL_CONVOLUTION_2D, - GL_HISTOGRAM, - GL_MAX_COLOR_MATRIX_STACK_DEPTH, - GL_MINMAX, - GL_POST_COLOR_MATRIX_COLOR_TABLE, - GL_POST_COLOR_MATRIX_RED_BIAS, - GL_POST_COLOR_MATRIX_GREEN_BIAS, - GL_POST_COLOR_MATRIX_BLUE_BIAS, - GL_POST_COLOR_MATRIX_ALPHA_BIAS, - GL_POST_COLOR_MATRIX_RED_SCALE, - GL_POST_COLOR_MATRIX_GREEN_SCALE, - GL_POST_COLOR_MATRIX_BLUE_SCALE, - GL_POST_COLOR_MATRIX_ALPHA_SCALE, - GL_POST_CONVOLUTION_COLOR_TABLE, - GL_POST_CONVOLUTION_RED_BIAS, - GL_POST_CONVOLUTION_GREEN_BIAS, - GL_POST_CONVOLUTION_BLUE_BIAS, - GL_POST_CONVOLUTION_ALPHA_BIAS, - GL_POST_CONVOLUTION_RED_SCALE, - GL_POST_CONVOLUTION_GREEN_SCALE, - GL_POST_CONVOLUTION_BLUE_SCALE, - GL_POST_CONVOLUTION_ALPHA_SCALE, and - GL_SEPARABLE_2D - are available only if ARB_imaging is returned from glGet - when called with the argument GL_EXTENSIONS. - - - When the ARB_multitexture extension is supported, or the GL version - is 1.3 or greater, the following - parameters return the associated value for the active texture unit: - GL_CURRENT_RASTER_TEXTURE_COORDS, - GL_TEXTURE_1D, GL_TEXTURE_BINDING_1D, - GL_TEXTURE_2D, GL_TEXTURE_BINDING_2D, - GL_TEXTURE_3D, GL_TEXTURE_BINDING_3D, - GL_TEXTURE_GEN_S, - GL_TEXTURE_GEN_T, - GL_TEXTURE_GEN_R, - GL_TEXTURE_GEN_Q, - GL_TEXTURE_MATRIX, and - GL_TEXTURE_STACK_DEPTH. - Likewise, the following parameters return the associated value for the - active client texture unit: - GL_TEXTURE_COORD_ARRAY, - GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING, - GL_TEXTURE_COORD_ARRAY_SIZE, - GL_TEXTURE_COORD_ARRAY_STRIDE, - GL_TEXTURE_COORD_ARRAY_TYPE. - - - Errors - - GL_INVALID_ENUM is generated if pname is not an accepted value. - - - GL_INVALID_OPERATION is generated if glGet - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - - - See Also - - glGetActiveAttrib, - glGetActiveUniform, - glGetAttachedShaders, - glGetAttribLocation, - glGetBufferParameteriv, - glGetBufferPointerv, - glGetBufferSubData, - glGetClipPlane, - glGetColorTable, - glGetColorTableParameter, - glGetCompressedTexImage, - glGetConvolutionFilter, - glGetConvolutionParameter, - glGetError, - glGetHistogram, - glGetHistogramParameter, - glGetLight, - glGetMap, - glGetMaterial, - glGetMinmax, - glGetMinmaxParameter, - glGetPixelMap, - glGetPointerv, - glGetPolygonStipple, - glGetProgram, - glGetProgramInfoLog, - glGetQueryiv, - glGetQueryObject, - glGetSeparableFilter, - glGetShader, - glGetShaderInfoLog, - glGetShaderSource, - glGetString, - glGetTexEnv, - glGetTexGen, - glGetTexImage, - glGetTexLevelParameter, - glGetTexParameter, - glGetUniform, - glGetUniformLocation, - glGetVertexAttrib, - glGetVertexAttribPointerv, - glIsEnabled - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetActiveAttrib.xml b/Source/Bind/Specifications/Docs/GL2/glGetActiveAttrib.xml deleted file mode 100644 index da8bb51d8b..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetActiveAttrib.xml +++ /dev/null @@ -1,231 +0,0 @@ - - - - - glGetActiveAttrib - 3G - - - 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 - indicated by name. - - - - length - - Returns the number of characters actually - written by OpenGL in the string indicated by - name (excluding the null - terminator) if a value other than - NULL is passed. - - - - size - - Returns the size of the attribute - variable. - - - - type - - Returns the data type of the attribute - variable. - - - - name - - Returns a null terminated string containing - the name of the attribute variable. - - - - - Description - glGetActiveAttrib returns information - about an active attribute variable in the program object - specified by program. The number of - active attributes can be obtained by calling - glGetProgram - with the value GL_ACTIVE_ATTRIBUTES. A - value of 0 for index selects the first - active attribute variable. Permissible values for - index range from 0 to the number of - active attribute variables minus 1. - - A vertex shader may use either built-in attribute - variables, user-defined attribute variables, or both. Built-in - attribute variables have a prefix of "gl_" and - reference conventional OpenGL vertex attribtes (e.g., - gl_Vertex, - gl_Normal, etc., see the OpenGL Shading - Language specification for a complete list.) User-defined - attribute variables have arbitrary names and obtain their values - through numbered generic vertex attributes. An attribute - variable (either built-in or user-defined) is considered active - if it is determined during the link operation that it may be - accessed during program execution. Therefore, - program should have previously been the - target of a call to - glLinkProgram, - but it is not necessary for it to have been linked - successfully. - - The size of the character buffer required to store the - longest attribute variable name in - program can be obtained by calling - glGetProgram - with the value - GL_ACTIVE_ATTRIBUTE_MAX_LENGTH. This value - should be used to allocate a buffer of sufficient size to store - the returned attribute name. The size of this character buffer - is passed in bufSize, and a pointer to - this character buffer is passed in - name. - - glGetActiveAttrib returns the name of - the attribute variable indicated by - index, storing it in the character buffer - specified by name. The string returned - will be null terminated. The actual number of characters written - into this buffer is returned in length, - and this count does not include the null termination character. - If the length of the returned string is not required, a value of - NULL can be passed in the - length argument. - - The type argument will return a - pointer to the attribute variable's data type. The symbolic - constants GL_FLOAT, - GL_FLOAT_VEC2, - GL_FLOAT_VEC3, - GL_FLOAT_VEC4, - GL_FLOAT_MAT2, - GL_FLOAT_MAT3, - GL_FLOAT_MAT4, - GL_FLOAT_MAT2x3, - GL_FLOAT_MAT2x4, - GL_FLOAT_MAT3x2, - GL_FLOAT_MAT3x4, - GL_FLOAT_MAT4x2, or - GL_FLOAT_MAT4x3 may be returned. The - size argument will return the size of the - attribute, in units of the type returned in - type. - - The list of active attribute variables may include both - built-in attribute variables (which begin with the prefix - "gl_") as well as user-defined attribute variable - names. - - This function will return as much information as it can - about the specified active attribute variable. If no information - is available, length will be 0, and - name will be an empty string. This - situation could occur if this function is called after a link - operation that failed. If an error occurs, the return values - length, size, - type, and name - will be unmodified. - - Notes - glGetActiveAttrib - is available only if the GL version is 2.0 or greater. - - GL_FLOAT_MAT2x3, - GL_FLOAT_MAT2x4, - GL_FLOAT_MAT3x2, - GL_FLOAT_MAT3x4, - GL_FLOAT_MAT4x2, and - GL_FLOAT_MAT4x3 - will only be returned as a type - if the GL version is 2.1 or greater. - - Errors - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_VALUE is generated if - index is greater than or equal to the - number of active attribute variables in - program. - - GL_INVALID_OPERATION is generated if - glGetActiveAttrib is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - GL_INVALID_VALUE is generated if - bufSize is less than 0. - - Associated Gets - glGet - with argument GL_MAX_VERTEX_ATTRIBS. - - glGetProgram - with argument GL_ACTIVE_ATTRIBUTES or - GL_ACTIVE_ATTRIBUTE_MAX_LENGTH. - - glIsProgram - - See Also - glBindAttribLocation, - glLinkProgram, - glVertexAttrib, - glVertexAttribPointer - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetActiveUniform.xml b/Source/Bind/Specifications/Docs/GL2/glGetActiveUniform.xml deleted file mode 100644 index 699af8f73d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetActiveUniform.xml +++ /dev/null @@ -1,277 +0,0 @@ - - - - - glGetActiveUniform - 3G - - - 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 - indicated by name. - - - - length - - Returns the number of characters actually - written by OpenGL in the string indicated by - name (excluding the null - terminator) if a value other than - NULL is passed. - - - - size - - Returns the size of the uniform - variable. - - - - type - - Returns the data type of the uniform - variable. - - - - name - - Returns a null terminated string containing - the name of the uniform variable. - - - - - Description - glGetActiveUniform returns - information about an active uniform variable in the program - object specified by program. The number - of active uniform variables can be obtained by calling - glGetProgram - with the value GL_ACTIVE_UNIFORMS. A value - of 0 for index selects the first active - uniform variable. Permissible values for - index range from 0 to the number of - active uniform variables minus 1. - - Shaders may use either built-in uniform variables, - user-defined uniform variables, or both. Built-in uniform - variables have a prefix of "gl_" and reference - existing OpenGL state or values derived from such state (e.g., - gl_Fog, - gl_ModelViewMatrix, etc., see the OpenGL - Shading Language specification for a complete list.) - User-defined uniform variables have arbitrary names and obtain - their values from the application through calls to - glUniform. - A uniform variable (either built-in or user-defined) is - considered active if it is determined during the link operation - that it may be accessed during program execution. Therefore, - program should have previously been the - target of a call to - glLinkProgram, - but it is not necessary for it to have been linked - successfully. - - The size of the character buffer required to store the - longest uniform variable name in program - can be obtained by calling - glGetProgram - with the value - GL_ACTIVE_UNIFORM_MAX_LENGTH. This value - should be used to allocate a buffer of sufficient size to store - the returned uniform variable name. The size of this character - buffer is passed in bufSize, and a - pointer to this character buffer is passed in - name. - - glGetActiveUniform returns the name - of the uniform variable indicated by - index, storing it in the character buffer - specified by name. The string returned - will be null terminated. The actual number of characters written - into this buffer is returned in length, - and this count does not include the null termination character. - If the length of the returned string is not required, a value of - NULL can be passed in the - length argument. - - The type - argument will return a pointer to the uniform variable's data - type. The symbolic constants - GL_FLOAT, - GL_FLOAT_VEC2, - GL_FLOAT_VEC3, - GL_FLOAT_VEC4, - GL_INT, - GL_INT_VEC2, - GL_INT_VEC3, - GL_INT_VEC4, - GL_BOOL, - GL_BOOL_VEC2, - GL_BOOL_VEC3, - GL_BOOL_VEC4, - GL_FLOAT_MAT2, - GL_FLOAT_MAT3, - GL_FLOAT_MAT4, - GL_FLOAT_MAT2x3, - GL_FLOAT_MAT2x4, - GL_FLOAT_MAT3x2, - GL_FLOAT_MAT3x4, - GL_FLOAT_MAT4x2, - GL_FLOAT_MAT4x3, - GL_SAMPLER_1D, - GL_SAMPLER_2D, - GL_SAMPLER_3D, - GL_SAMPLER_CUBE, - GL_SAMPLER_1D_SHADOW, or - GL_SAMPLER_2D_SHADOW - may be returned. - - If one or more elements of an array are active, the name - of the array is returned in name, the - type is returned in type, and the - size parameter returns the highest array - element index used, plus one, as determined by the compiler - and/or linker. Only one active uniform variable will be reported - for a uniform array. - - Uniform variables that are declared as structures or - arrays of structures will not be returned directly by this - function. Instead, each of these uniform variables will be - reduced to its fundamental components containing the - "." and "[]" operators such that each of the - names is valid as an argument to - glGetUniformLocation. - Each of these reduced uniform variables is counted as one active - uniform variable and is assigned an index. A valid name cannot - be a structure, an array of structures, or a subcomponent of a - vector or matrix. - - The size of the uniform variable will be returned in - size. Uniform variables other than arrays - will have a size of 1. Structures and arrays of structures will - be reduced as described earlier, such that each of the names - returned will be a data type in the earlier list. If this - reduction results in an array, the size returned will be as - described for uniform arrays; otherwise, the size returned will - be 1. - - The list of active uniform variables may include both - built-in uniform variables (which begin with the prefix - "gl_") as well as user-defined uniform variable - names. - - This function will return as much information as it can - about the specified active uniform variable. If no information - is available, length will be 0, and - name will be an empty string. This - situation could occur if this function is called after a link - operation that failed. If an error occurs, the return values - length, size, - type, and name - will be unmodified. - - Notes - glGetActiveUniform is available only - if the GL version is 2.0 or greater. - - GL_FLOAT_MAT2x3, - GL_FLOAT_MAT2x4, - GL_FLOAT_MAT3x2, - GL_FLOAT_MAT3x4, - GL_FLOAT_MAT4x2, and - GL_FLOAT_MAT4x3 - will only be returned as a type - if the GL version is 2.1 or greater. - - Errors - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_VALUE is generated if - index is greater than or equal to the - number of active uniform variables in - program. - - GL_INVALID_OPERATION is generated if - glGetActiveUniform is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - GL_INVALID_VALUE is generated if - bufSize is less than 0. - - Associated Gets - glGet - with argument GL_MAX_VERTEX_UNIFORM_COMPONENTS - or - GL_MAX_FRAGMENT_UNIFORM_COMPONENTS. - - glGetProgram - with argument GL_ACTIVE_UNIFORMS or - GL_ACTIVE_UNIFORM_MAX_LENGTH. - - glIsProgram - - See Also - glGetUniform, - glGetUniformLocation, - glLinkProgram, - glUniform, - glUseProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetAttachedShaders.xml b/Source/Bind/Specifications/Docs/GL2/glGetAttachedShaders.xml deleted file mode 100644 index 349ef410cf..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetAttachedShaders.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - glGetAttachedShaders - 3G - - - 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 - names of attached shader objects. - - - - - Description - glGetAttachedShaders returns the - names of the shader objects attached to - program. The names of shader objects that - are attached to program will be returned - in shaders. The actual number of shader - names written into shaders is returned in - count. If no shader objects are attached - to program, count - is set to 0. The maximum number of shader names that may be - returned in shaders is specified by - maxCount. - - If the number of names actually returned is not required - (for instance, if it has just been obtained by calling - glGetProgram), - a value of NULL may be passed for count. If - no shader objects are attached to - program, a value of 0 will be returned in - count. The actual number of attached - shaders can be obtained by calling - glGetProgram - with the value GL_ATTACHED_SHADERS. - - Notes - glGetAttachedShaders - is available only if the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_VALUE is generated if - maxCount is less than 0. - - GL_INVALID_OPERATION is generated if - glGetAttachedShaders - is executed between the execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetProgram - with argument GL_ATTACHED_SHADERS - - glIsProgram - - See Also - glAttachShader, - glDetachShader. - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetAttribLocation.xml b/Source/Bind/Specifications/Docs/GL2/glGetAttribLocation.xml deleted file mode 100644 index bd072b0461..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetAttribLocation.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - glGetAttribLocation - 3G - - - 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 - previously linked program object specified by - program for the attribute variable - specified by name and returns the index - of the generic vertex attribute that is bound to that attribute - variable. If name is a matrix attribute - variable, the index of the first column of the matrix is - returned. If the named attribute variable is not an active - attribute in the specified program object or if - name starts with the reserved prefix - "gl_", a value of -1 is returned. - - The association between an attribute variable name and a - generic attribute index can be specified at any time by calling - glBindAttribLocation. - Attribute bindings do not go into effect until - glLinkProgram - is called. After a program object has been linked successfully, - the index values for attribute variables remain fixed until the - next link command occurs. The attribute values can only be - queried after a link if the link was successful. - glGetAttribLocation returns the binding - that actually went into effect the last time - glLinkProgram - was called for the specified program object. Attribute bindings - that have been specified since the last link operation are not - returned by glGetAttribLocation. - - Notes - glGetAttribLocation is available only - if the GL version is 2.0 or greater. - - Errors - GL_INVALID_OPERATION is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_OPERATION is generated if - program has not been successfully - linked. - - GL_INVALID_OPERATION is generated if - glGetAttribLocation is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetActiveAttrib - with argument program and the index of an - active attribute - - glIsProgram - - See Also - glBindAttribLocation, - glLinkProgram, - glVertexAttrib, - glVertexAttribPointer - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetBufferPointerv.xml b/Source/Bind/Specifications/Docs/GL2/glGetBufferPointerv.xml deleted file mode 100644 index fb9b362e67..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetBufferPointerv.xml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glGetBufferPointerv - 3G - - - 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_ELEMENT_ARRAY_BUFFER, - GL_PIXEL_PACK_BUFFER, or - GL_PIXEL_UNPACK_BUFFER. - - - - - pname - - - Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. - - - - - params - - - Returns the pointer value specified by pname. - - - - - - Description - - glGetBufferPointerv returns pointer information. pname is a symbolic constant - indicating the pointer to be returned, which must be GL_BUFFER_MAP_POINTER, the pointer - to which the buffer object's data store is mapped. If the data store is not currently mapped, NULL is returned. - params is a pointer to a location in which to place the returned pointer value. - - - Notes - - If an error is generated, - no change is made to the contents of params. - - - 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 - only if the GL version is 2.1 or greater. - - - The initial value for the pointer is NULL. - - - Errors - - GL_INVALID_ENUM is generated if target or pname is not an - accepted value. - - - GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target. - - - GL_INVALID_OPERATION is generated if glGetBufferPointerv - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - See Also - - glBindBuffer, - glMapBuffer - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetBufferSubData.xml b/Source/Bind/Specifications/Docs/GL2/glGetBufferSubData.xml deleted file mode 100644 index 7b25903a68..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetBufferSubData.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glGetBufferSubData - 3G - - - 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_ELEMENT_ARRAY_BUFFER, - GL_PIXEL_PACK_BUFFER, or - GL_PIXEL_UNPACK_BUFFER. - - - - - offset - - - Specifies the offset into the buffer object's data store from which data will be returned, - measured in bytes. - - - - - size - - - Specifies the size in bytes of the data store region being returned. - - - - - 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 - 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 - of the buffer object's data store. - - - Notes - - If an error is generated, - no change is made to the contents of data. - - - 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 - 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_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - - - 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. - - - GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target. - - - GL_INVALID_OPERATION is generated if the buffer object being queried is mapped. - - - GL_INVALID_OPERATION is generated if glGetBufferSubData - is executed between the execution of - glBegin and the corresponding execution of - glEnd. - - - See Also - - glBindBuffer, - glBufferData, - glBufferSubData, - glMapBuffer, - glUnmapBuffer - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetCompressedTexImage.xml b/Source/Bind/Specifications/Docs/GL2/glGetCompressedTexImage.xml deleted file mode 100644 index f9ac1f8d37..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetCompressedTexImage.xml +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glGetCompressedTexImage - 3G - - - 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, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z - are accepted. - - - - - lod - - - Specifies the level-of-detail number of the desired image. - Level 0 is the base image level. - Level - n - is the - nth - mipmap reduction image. - - - - - img - - - Returns the compressed texture image. - - - - - - Description - - glGetCompressedTexImage returns the compressed texture image associated with target and lod - into img. img should be an array of - GL_TEXTURE_COMPRESSED_IMAGE_SIZE bytes. - target specifies whether the desired texture image was one specified by - glTexImage1D (GL_TEXTURE_1D), - glTexImage2D (GL_TEXTURE_2D or any of GL_TEXTURE_CUBE_MAP_*), or - glTexImage3D (GL_TEXTURE_3D). - lod specifies the level-of-detail number of the desired image. - - - If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target - (see glBindBuffer) while a texture image is - requested, img is treated as a byte offset into the buffer object's data store. - - - To minimize errors, first verify that the texture is compressed by calling - glGetTexLevelParameter with argument GL_TEXTURE_COMPRESSED. If - the texture is compressed, then determine the amount of memory required to - store the compressed texture by calling glGetTexLevelParameter with - argument GL_TEXTURE_COMPRESSED_IMAGE_SIZE. Finally, retrieve the - internal format of the texture by calling glGetTexLevelParameter with - argument GL_TEXTURE_INTERNAL_FORMAT. - To store the texture for later use, associate the internal format and size - with the retrieved texture image. These data can be used by the respective - texture or subtexture loading routine used for loading target textures. - - - Notes - - glGetCompressedTexImage is available only if the GL version is 1.3 or greater. - - - Errors - - GL_INVALID_VALUE is generated if lod is less than zero or greater - than the maximum number of LODs permitted by the implementation. - - - GL_INVALID_OPERATION is generated if glGetCompressedTexImage is used to retrieve a - texture that is in an uncompressed internal format. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - object such that the memory writes required would exceed the data store size. - - - GL_INVALID_OPERATION is generated if glGetCompressedTexImage - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGetTexLevelParameter with argument GL_TEXTURE_COMPRESSED - - - glGetTexLevelParameter with argument GL_TEXTURE_COMPRESSED_IMAGE_SIZE - - - glGetTexLevelParameter with argument GL_TEXTURE_INTERNAL_FORMAT - - - glGet with argument GL_PIXEL_PACK_BUFFER_BINDING - - - See Also - - glActiveTexture, - glCompressedTexImage1D, - glCompressedTexImage2D, - glCompressedTexImage3D, - glCompressedTexSubImage1D, - glCompressedTexSubImage2D, - glCompressedTexSubImage3D, - glDrawPixels, - glReadPixels, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexParameter, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D - - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetError.xml b/Source/Bind/Specifications/Docs/GL2/glGetError.xml deleted file mode 100644 index 454fb9ca5d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetError.xml +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glGetError - 3G - - - 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, - the error flag is set to the appropriate error code value. - No other errors are recorded until glGetError is called, - the error code is returned, - and the flag is reset to GL_NO_ERROR. - If a call to glGetError returns GL_NO_ERROR, - there has been no detectable error since the last call to glGetError, - or since the GL was initialized. - - - To allow for distributed implementations, - there may be several error flags. - If any single error flag has recorded an error, - the value of that flag is returned - and that flag is reset to GL_NO_ERROR - when glGetError is called. - If more than one flag has recorded an error, - glGetError returns and clears an arbitrary error flag value. - Thus, glGetError should always be called in a loop, - until it returns GL_NO_ERROR, - if all error flags are to be reset. - - - Initially, all error flags are set to GL_NO_ERROR. - - - The following errors are currently defined: - - - - GL_NO_ERROR - - - No error has been recorded. - The value of this symbolic constant is guaranteed to be 0. - - - - - GL_INVALID_ENUM - - - An unacceptable value is specified for an enumerated argument. - The offending command is ignored - and has no other side effect than to set the error flag. - - - - - GL_INVALID_VALUE - - - A numeric argument is out of range. - The offending command is ignored - and has no other side effect than to set the error flag. - - - - - GL_INVALID_OPERATION - - - The specified operation is not allowed in the current state. - The offending command is ignored - and has no other side effect than to set the error flag. - - - - - GL_STACK_OVERFLOW - - - This command would cause a stack overflow. - The offending command is ignored - and has no other side effect than to set the error flag. - - - - - GL_STACK_UNDERFLOW - - - This command would cause a stack underflow. - The offending command is ignored - and has no other side effect than to set the error flag. - - - - - GL_OUT_OF_MEMORY - - - There is not enough memory left to execute the command. - The state of the GL is undefined, - except for the state of the error flags, - after this error is recorded. - - - - - GL_TABLE_TOO_LARGE - - - The specified table exceeds the implementation's maximum supported table - size. The offending command is ignored and has no other side effect - than to set the error flag. - - - - - - When an error flag is set, - results of a GL operation are undefined only if GL_OUT_OF_MEMORY - has occurred. - In all other cases, - the command generating the error is ignored and has no effect on the GL state - or frame buffer contents. - If the generating command returns a value, it returns 0. - If glGetError itself generates an error, it returns 0. - - - Notes - - GL_TABLE_TOO_LARGE was introduced in GL version 1.2. - - - Errors - - GL_INVALID_OPERATION is generated if glGetError - is executed between the execution of glBegin - and the corresponding execution of glEnd. - In this case, glGetError returns 0. - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetProgram.xml b/Source/Bind/Specifications/Docs/GL2/glGetProgram.xml deleted file mode 100644 index 4268d005a6..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetProgram.xml +++ /dev/null @@ -1,241 +0,0 @@ - - - - - glGetProgram - 3G - - - 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, - GL_LINK_STATUS, - GL_VALIDATE_STATUS, - GL_INFO_LOG_LENGTH, - GL_ATTACHED_SHADERS, - GL_ACTIVE_ATTRIBUTES, - GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, - GL_ACTIVE_UNIFORMS, - GL_ACTIVE_UNIFORM_MAX_LENGTH. - - - - params - - Returns the requested object parameter. - - - - - Description - glGetProgram - returns in params - the value of a parameter for a specific program object. The following parameters are defined: - - - - GL_DELETE_STATUS - - - - params returns - GL_TRUE if - program is currently flagged - for deletion, and GL_FALSE - otherwise. - - - - - GL_LINK_STATUS - - - - params returns - GL_TRUE if the last link - operation on program was - successful, and GL_FALSE - otherwise. - - - - - GL_VALIDATE_STATUS - - - - params returns - GL_TRUE or if the last - validation operation on - program was successful, and - GL_FALSE - otherwise. - - - - - GL_INFO_LOG_LENGTH - - - - params returns the - number of characters in the information log for - program including the null - termination character (i.e., the size of the - character buffer required to store the information - log). If program has no - information log, a value of 0 is - returned. - - - - - GL_ATTACHED_SHADERS - - - - params returns the - number of shader objects attached to - program. - - - - - GL_ACTIVE_ATTRIBUTES - - - - params returns the - number of active attribute variables for - program. - - - - - GL_ACTIVE_ATTRIBUTE_MAX_LENGTH - - - - params returns the - length of the longest active attribute name for - program, including the null - termination character (i.e., the size of the - character buffer required to store the longest - attribute name). If no active attributes exist, 0 is - returned. - - - - - GL_ACTIVE_UNIFORMS - - - - params returns the - number of active uniform variables for - program. - - - - - GL_ACTIVE_UNIFORM_MAX_LENGTH - - - - params returns the - length of the longest active uniform variable name - for program, including the - null termination character (i.e., the size of the - character buffer required to store the longest - uniform variable name). If no active uniform - variables exist, 0 is returned. - - - - - Notes - glGetProgram is available only if the - GL version is 2.0 or greater. - - If an error is generated, no change is made to the - contents of params. - - Errors - GL_INVALID_VALUE - is generated if program - is not a value generated by OpenGL. - - GL_INVALID_OPERATION - is generated if program - does not refer to a program object. - - GL_INVALID_ENUM - is generated if pname - is not an accepted value. - - GL_INVALID_OPERATION is generated if - glGetProgram is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetActiveAttrib - with argument program - - glGetActiveUniform - with argument program - - glGetAttachedShaders - with argument program - - glGetProgramInfoLog - with argument program - - glIsProgram - - - See Also - glAttachShader, - glCreateProgram, - glDeleteProgram, - glGetShader, - glLinkProgram, - glValidateProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetProgramInfoLog.xml b/Source/Bind/Specifications/Docs/GL2/glGetProgramInfoLog.xml deleted file mode 100644 index dca2ec6876..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetProgramInfoLog.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - - glGetProgramInfoLog - 3G - - - 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 - terminator). - - - - infoLog - - Specifies an array of characters that is used - to return the information log. - - - - - Description - glGetProgramInfoLog returns the - information log for the specified program object. The - information log for a program object is modified when the - program object is linked or validated. The string that is - returned will be null terminated. - - glGetProgramInfoLog returns in - infoLog as much of the information log as - it can, up to a maximum of maxLength - characters. The number of characters actually returned, - excluding the null termination character, is specified by - length. If the length of the returned - string is not required, a value of NULL can - be passed in the length argument. The - size of the buffer required to store the returned information - log can be obtained by calling - glGetProgram - with the value GL_INFO_LOG_LENGTH. - - The information log for a program object is either an - empty string, or a string containing information about the last - link operation, or a string containing information about the - last validation operation. It may contain diagnostic messages, - warning messages, and other information. When a program object - is created, its information log will be a string of length - 0. - - Notes - glGetProgramInfoLog is available only - if the GL version is 2.0 or greater. - - The information log for a program object is the OpenGL - implementer's primary mechanism for conveying information about - linking and validating. Therefore, the information log can be - helpful to application developers during the development - process, even when these operations are successful. Application - developers should not expect different OpenGL implementations to - produce identical information logs. - - Errors - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_VALUE is generated if - maxLength is less than 0. - - GL_INVALID_OPERATION is generated if - glGetProgramInfoLog is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetProgram - with argument GL_INFO_LOG_LENGTH - - glIsProgram - - See Also - glCompileShader, - glGetShaderInfoLog, - glLinkProgram, - glValidateProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetQueryObject.xml b/Source/Bind/Specifications/Docs/GL2/glGetQueryObject.xml deleted file mode 100644 index 49a54b413d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetQueryObject.xml +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glGetQueryObject - 3G - - - 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. - Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - - - - - params - - - Returns the requested data. - - - - - - Description - - glGetQueryObject returns in params a selected parameter of the query object - specified by id. - - - 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. - 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. - Otherwise, GL_TRUE is returned, which also indicates that the results of all - previous queries are available as well. - - - - - - Notes - - If an error is generated, - no change is made to the contents of params. - - - 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 - 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. - - - glGetQueryObject is available only if the GL version is 1.5 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 - query object. - - - GL_INVALID_OPERATION is generated if glGetQueryObject - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - See Also - - glBeginQuery, - glEndQuery, - glGetQueryiv, - glIsQuery - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetQueryiv.xml b/Source/Bind/Specifications/Docs/GL2/glGetQueryiv.xml deleted file mode 100644 index ad492a307c..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetQueryiv.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glGetQueryiv - 3G - - - 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 - - - Specifies the symbolic name of a query object target parameter. - Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS. - - - - - params - - - Returns the requested data. - - - - - - Description - - 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 - 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 - obtained from glGetQueryObject are useless. - - - - - - Notes - - If an error is generated, - no change is made to the contents of params. - - - glGetQueryiv is available only if the GL version is 1.5 or greater. - - - Errors - - GL_INVALID_ENUM is generated if target or pname is not an - accepted value. - - - GL_INVALID_OPERATION is generated if glGetQueryiv - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - See Also - - glGetQueryObject, - glIsQuery - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetShader.xml b/Source/Bind/Specifications/Docs/GL2/glGetShader.xml deleted file mode 100644 index daf5916e1c..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetShader.xml +++ /dev/null @@ -1,172 +0,0 @@ - - - - - glGetShader - 3G - - - 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, - GL_DELETE_STATUS, - GL_COMPILE_STATUS, - GL_INFO_LOG_LENGTH, - GL_SHADER_SOURCE_LENGTH. - - - - params - - Returns the requested object parameter. - - - - - Description - - glGetShader - returns in params - the value of a parameter for a specific shader object. The - following parameters are defined: - - - - GL_SHADER_TYPE - - params returns - GL_VERTEX_SHADER if - shader is a vertex shader - object, and GL_FRAGMENT_SHADER - if shader is a fragment - shader object. - - - - - GL_DELETE_STATUS - - params returns - GL_TRUE if - shader is currently flagged - for deletion, and GL_FALSE - otherwise. - - - - - GL_COMPILE_STATUS - - params returns - GL_TRUE if the last compile - operation on shader was - successful, and GL_FALSE - otherwise. - - - - - GL_INFO_LOG_LENGTH - - 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 - - params returns the - length of the concatenation of the source strings - that make up the shader source for the - shader, including the null - termination character. (i.e., the size of the - character buffer required to store the shader - source). If no source code exists, 0 is - returned. - - - - - Notes - glGetShader is available only if the - GL version is 2.0 or greater. - - If an error is generated, no change is made to the - contents of params. - - Errors - GL_INVALID_VALUE is generated if - shader is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - shader does not refer to a shader - object. - - GL_INVALID_ENUM is generated if - pname is not an accepted value. - - GL_INVALID_OPERATION is generated if - glGetShader is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetShaderInfoLog - with argument shader - - glGetShaderSource - with argument shader - - glIsShader - - See Also - glCompileShader, - glCreateShader, - glDeleteShader, - glGetProgram, - glShaderSource - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetShaderInfoLog.xml b/Source/Bind/Specifications/Docs/GL2/glGetShaderInfoLog.xml deleted file mode 100644 index ed10964e39..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetShaderInfoLog.xml +++ /dev/null @@ -1,132 +0,0 @@ - - - - - glGetShaderInfoLog - 3G - - - 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 - terminator). - - - - infoLog - - Specifies an array of characters that is used - to return the information log. - - - - - Description - glGetShaderInfoLog returns the - information log for the specified shader object. The information - log for a shader object is modified when the shader is compiled. - The string that is returned will be null terminated. - - glGetShaderInfoLog returns in - infoLog as much of the information log as - it can, up to a maximum of maxLength - characters. The number of characters actually returned, - excluding the null termination character, is specified by - length. If the length of the returned - string is not required, a value of NULL can - be passed in the length argument. The - size of the buffer required to store the returned information - log can be obtained by calling - glGetShader - with the value GL_INFO_LOG_LENGTH. - - The information log for a shader object is a string that - may contain diagnostic messages, warning messages, and other - information about the last compile operation. When a shader - object is created, its information log will be a string of - length 0. - - Notes - glGetShaderInfoLog is available only - if the GL version is 2.0 or greater. - - The information log for a shader object is the OpenGL - implementer's primary mechanism for conveying information about - the compilation process. Therefore, the information log can be - helpful to application developers during the development - process, even when compilation is successful. Application - developers should not expect different OpenGL implementations to - produce identical information logs. - - Errors - GL_INVALID_VALUE is generated if - shader is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - shader is not a shader object. - - GL_INVALID_VALUE is generated if - maxLength is less than 0. - - GL_INVALID_OPERATION is generated if - glGetShaderInfoLog is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetShader - with argument GL_INFO_LOG_LENGTH - - glIsShader - - See Also - glCompileShader, - glGetProgramInfoLog, - glLinkProgram, - glValidateProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetShaderSource.xml b/Source/Bind/Specifications/Docs/GL2/glGetShaderSource.xml deleted file mode 100644 index 2e5230c58d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetShaderSource.xml +++ /dev/null @@ -1,121 +0,0 @@ - - - - - glGetShaderSource - 3G - - - 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 - terminator). - - - - source - - Specifies an array of characters that is used - to return the source code string. - - - - - Description - glGetShaderSource returns the - concatenation of the source code strings from the shader object - specified by shader. The source code - strings for a shader object are the result of a previous call to - glShaderSource. - The string returned by the function will be null - terminated. - - glGetShaderSource returns in - source as much of the source code string - as it can, up to a maximum of bufSize - characters. The number of characters actually returned, - excluding the null termination character, is specified by - length. If the length of the returned - string is not required, a value of NULL can - be passed in the length argument. The - size of the buffer required to store the returned source code - string can be obtained by calling - glGetShader - with the value - GL_SHADER_SOURCE_LENGTH. - - Notes - glGetShaderSource is available only - if the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if - shader is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - shader is not a shader object. - - GL_INVALID_VALUE is generated if - bufSize is less than 0. - - GL_INVALID_OPERATION is generated if - glGetShaderSource is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetShader - with argument - GL_SHADER_SOURCE_LENGTH - - glIsShader - - See Also - glCreateShader, - glShaderSource - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetString.xml b/Source/Bind/Specifications/Docs/GL2/glGetString.xml deleted file mode 100644 index e431d7a36a..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetString.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glGetString - 3G - - - 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 - - glGetString returns a pointer to a static string - describing some aspect of the current GL connection. - name can be one of the following: - - - - GL_VENDOR - - - - - Returns the company responsible for this GL implementation. - This name does not change from release to release. - - - - - GL_RENDERER - - - - - Returns the name of the renderer. - This name is typically specific to a particular configuration of a hardware - platform. - It does not change from release to release. - - - - - GL_VERSION - - - - - Returns a version or release number. - - - - - GL_SHADING_LANGUAGE_VERSION - - - - - Returns a version or release number for the shading language. - - - - - GL_EXTENSIONS - - - - - Returns a space-separated list of supported extensions to GL. - - - - - - Because the GL does not include queries for the performance - characteristics of an implementation, some applications are written to - recognize known platforms and modify their GL usage based on known - performance characteristics of these platforms. - Strings GL_VENDOR and GL_RENDERER together uniquely specify - a platform. They do not change from release to release and should be used - by platform-recognition algorithms. - - - Some applications want to make use of features that - are not part of the standard GL. These features - may be implemented 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 and GL_SHADING_LANGUAGE_VERSION strings begin with a version number. - The version number uses one - of these forms: - - - major_number.minor_number - major_number.minor_number.release_number - - - Vendor-specific information may follow the version - number. Its format depends on the implementation, but - a space always separates the version number and - the vendor-specific information. - - - All strings are null-terminated. - - - Notes - - If an error is generated, glGetString returns 0. - - - The client and server may support different versions or extensions. - glGetString always returns a compatible version number or list of extensions. - The release number always describes the server. - - - GL_SHADING_LANGUAGE_VERSION is available only if the GL version is 2.0 or greater. - - - Errors - - GL_INVALID_ENUM is generated if name is not an accepted value. - - - GL_INVALID_OPERATION is generated if glGetString - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetTexImage.xml b/Source/Bind/Specifications/Docs/GL2/glGetTexImage.xml deleted file mode 100644 index 72accf569d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetTexImage.xml +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glGetTexImage - 3G - - - 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, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z - are accepted. - - - - - level - - - Specifies the level-of-detail number of the desired image. - Level 0 is the base image level. - Level - n - is the - nth - mipmap reduction image. - - - - - format - - - Specifies a pixel format for the returned data. - The supported formats are - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, and - GL_LUMINANCE_ALPHA. - - - - - type - - - Specifies a pixel type for the returned data. - The supported types are - GL_UNSIGNED_BYTE, - GL_BYTE, - GL_UNSIGNED_SHORT, - GL_SHORT, - GL_UNSIGNED_INT, - GL_INT, - GL_FLOAT, - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV. - - - - - img - - - Returns the texture image. - Should be a pointer to an array of the type specified by type. - - - - - - Description - - glGetTexImage returns a texture image into img. - target specifies whether the desired texture image is one specified by - glTexImage1D (GL_TEXTURE_1D), - glTexImage2D (GL_TEXTURE_2D or any of - GL_TEXTURE_CUBE_MAP_*), - or - glTexImage3D (GL_TEXTURE_3D). - level specifies the level-of-detail number of the desired image. - format and type specify the format and type of the desired image array. - See the reference pages glTexImage1D and glDrawPixels - for a description of the acceptable values for the format and type - parameters, respectively. - - - If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target - (see glBindBuffer) while a texture image is - requested, img is treated as a byte offset into the buffer object's data store. - - - To understand the operation of glGetTexImage, consider the selected internal - four-component texture image to be an RGBA color buffer the size of the image. - The semantics of glGetTexImage are then identical to those of glReadPixels, - with the exception that no pixel transfer operations are performed, - when called with the same format and type, - with x and y set to 0, - width set to the width of the texture image - (including border if one was specified), - and height set to 1 for 1D images, - or to the height of the texture image - (including border if one was specified) - for 2D images. - Because the internal texture image is an RGBA image, - pixel formats GL_COLOR_INDEX, - GL_STENCIL_INDEX, - and GL_DEPTH_COMPONENT are not accepted, - and pixel type GL_BITMAP is not accepted. - - - If the selected texture image does not contain four components, - the following mappings are applied. - Single-component textures are treated as RGBA buffers with red set - to the single-component value, - green set to 0, blue set to 0, and alpha set to 1. - Two-component textures are treated as RGBA buffers with red set to - the value of component zero, - alpha set to the value of component one, - and green and blue set to 0. - Finally, - three-component textures are treated as RGBA buffers with red set to - component zero, - green set to component one, - blue set to component two, - and alpha set to 1. - - - To determine the required size of img, - use glGetTexLevelParameter to determine the dimensions of the - internal texture image, - then scale the required number of pixels by the storage required for - each pixel, - based on format and type. - Be sure to take the pixel storage parameters into account, - especially GL_PACK_ALIGNMENT. - - - Notes - - If an error is generated, - no change is made to the contents of img. - - - The types GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, - GL_UNSIGNED_INT_2_10_10_10_REV, - and the formats - GL_BGR, and GL_BGRA are available only if the GL version is - 1.2 or greater. - - - For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, glGetTexImage returns - the texture image for the active texture unit. - - - Errors - - GL_INVALID_ENUM is generated if target, format, or type is not - an accepted value. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater - than - - - - log - 2 - - - - max - - - , - where - max - is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_OPERATION is returned if type is one of - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, or - GL_UNSIGNED_SHORT_5_6_5_REV and format is not GL_RGB. - - - GL_INVALID_OPERATION is returned if type is one of - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV, and format is neither GL_RGBA - or GL_BGRA. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - 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 img 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 glGetTexImage - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGetTexLevelParameter with argument GL_TEXTURE_WIDTH - - - glGetTexLevelParameter with argument GL_TEXTURE_HEIGHT - - - glGetTexLevelParameter with argument GL_TEXTURE_BORDER - - - glGetTexLevelParameter with argument GL_TEXTURE_INTERNAL_FORMAT - - - glGet with arguments GL_PACK_ALIGNMENT and others - - - glGet with argument GL_PIXEL_PACK_BUFFER_BINDING - - - See Also - - glActiveTexture, - glDrawPixels, - glReadPixels, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetTexLevelParameter.xml b/Source/Bind/Specifications/Docs/GL2/glGetTexLevelParameter.xml deleted file mode 100644 index ec5a06bb98..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetTexLevelParameter.xml +++ /dev/null @@ -1,372 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glGetTexLevelParameter - 3G - - - 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, - GL_PROXY_TEXTURE_3D, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or - GL_PROXY_TEXTURE_CUBE_MAP. - - - - - level - - - Specifies the level-of-detail number of the desired image. - Level 0 is the base image level. - Level - n - is the - nth - mipmap reduction image. - - - - - pname - - - Specifies the symbolic name of a texture parameter. - GL_TEXTURE_WIDTH, - GL_TEXTURE_HEIGHT, - GL_TEXTURE_DEPTH, - GL_TEXTURE_INTERNAL_FORMAT, - GL_TEXTURE_BORDER, - GL_TEXTURE_RED_SIZE, - GL_TEXTURE_GREEN_SIZE, - GL_TEXTURE_BLUE_SIZE, - GL_TEXTURE_ALPHA_SIZE, - GL_TEXTURE_LUMINANCE_SIZE, - GL_TEXTURE_INTENSITY_SIZE, - GL_TEXTURE_DEPTH_SIZE, - GL_TEXTURE_COMPRESSED, and - GL_TEXTURE_COMPRESSED_IMAGE_SIZE - are accepted. - - - - - params - - - Returns the requested data. - - - - - - Description - - glGetTexLevelParameter returns in params texture parameter values for a specific - level-of-detail value, - specified as level. - target defines the target texture, - either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, - GL_PROXY_TEXTURE_1D, - GL_PROXY_TEXTURE_2D, - GL_PROXY_TEXTURE_3D, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or - GL_PROXY_TEXTURE_CUBE_MAP. - - - GL_MAX_TEXTURE_SIZE, and GL_MAX_3D_TEXTURE_SIZE are not really - descriptive enough. - It has to report the largest square texture image that can be - accommodated with mipmaps and borders, - but a long skinny texture, or a texture without mipmaps and borders, may - easily fit in texture memory. - The proxy targets allow the user to more accurately query - whether the GL can accommodate a texture of a given configuration. - If the texture cannot be accommodated, the texture state variables, which - may be queried with glGetTexLevelParameter, are set to 0. If the texture can be accommodated, - the texture state values will be set as they would be set for a - non-proxy target. - - - pname specifies the texture parameter whose value or values - will be returned. - - - The accepted parameter names are as follows: - - - - GL_TEXTURE_WIDTH - - - - - params returns a single value, - the width of the texture image. - This value includes the border of the texture image. The initial value is - 0. - - - - - GL_TEXTURE_HEIGHT - - - - - params returns a single value, - the height of the texture image. - This value includes the border of the texture image. The initial value is - 0. - - - - - GL_TEXTURE_DEPTH - - - - - params returns a single value, - the depth of the texture image. - This value includes the border of the texture image. The initial value is - 0. - - - - - GL_TEXTURE_INTERNAL_FORMAT - - - - - params returns a single value, - the internal format of the texture image. - - - - - GL_TEXTURE_BORDER - - - - - params returns a single value, - the width in pixels of the border of the texture image. The initial value - is 0. - - - - - GL_TEXTURE_RED_SIZE, - - - - - GL_TEXTURE_GREEN_SIZE, - - - - - GL_TEXTURE_BLUE_SIZE, - - - - - GL_TEXTURE_ALPHA_SIZE, - - - - - GL_TEXTURE_LUMINANCE_SIZE, - - - - - GL_TEXTURE_INTENSITY_SIZE, - - - - - GL_TEXTURE_DEPTH_SIZE - - - - - The internal storage resolution of an individual component. - The resolution chosen by the GL will be a close match for the resolution - requested by the user with the component argument of glTexImage1D, - glTexImage2D, glTexImage3D, glCopyTexImage1D, and - glCopyTexImage2D. The initial value is 0. - - - - - GL_TEXTURE_COMPRESSED - - - - - params returns a single boolean value indicating if the texture image is - stored in a compressed internal format. The initiali value is GL_FALSE. - - - - - GL_TEXTURE_COMPRESSED_IMAGE_SIZE - - - - - params returns a single integer value, the number of unsigned bytes of the - compressed texture image that would be returned from - glGetCompressedTexImage. - - - - - - Notes - - If an error is generated, - no change is made to the contents of params. - - - GL_TEXTURE_INTERNAL_FORMAT is available only if the GL version is - 1.1 or greater. In version 1.0, use GL_TEXTURE_COMPONENTS - instead. - - - GL_PROXY_TEXTURE_1D and GL_PROXY_TEXTURE_2D are - available only if the GL version is 1.1 or greater. - - - GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, and GL_TEXTURE_DEPTH - are available only if the GL version is 1.2 or greater. - - - GL_TEXTURE_COMPRESSED, - GL_TEXTURE_COMPRESSED_IMAGE_SIZE, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, and - GL_PROXY_TEXTURE_CUBE_MAP are available only if the GL version is 1.3 - or greater. - - - For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, glGetTexLevelParameter returns - the texture level parameters for the active texture unit. - - - Errors - - GL_INVALID_ENUM is generated if target or pname is not an - accepted value. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater - than - - - log - 2 - - - max, - where max is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_OPERATION is generated if glGetTexLevelParameter - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - GL_INVALID_OPERATION is generated if - GL_TEXTURE_COMPRESSED_IMAGE_SIZE is queried on texture images with an - uncompressed internal format or on proxy targets. - - - See Also - - glActiveTexture, - glGetTexParameter, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetTexParameter.xml b/Source/Bind/Specifications/Docs/GL2/glGetTexParameter.xml deleted file mode 100644 index 1d986c7516..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetTexParameter.xml +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glGetTexParameter - 3G - - - 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, - GL_TEXTURE_3D, and - GL_TEXTURE_CUBE_MAP - are accepted. - - - - - pname - - - Specifies the symbolic name of a texture parameter. - GL_TEXTURE_MAG_FILTER, - GL_TEXTURE_MIN_FILTER, - GL_TEXTURE_MIN_LOD, - GL_TEXTURE_MAX_LOD, - GL_TEXTURE_BASE_LEVEL, - GL_TEXTURE_MAX_LEVEL, - GL_TEXTURE_WRAP_S, - GL_TEXTURE_WRAP_T, - GL_TEXTURE_WRAP_R, - GL_TEXTURE_BORDER_COLOR, - GL_TEXTURE_PRIORITY, - GL_TEXTURE_RESIDENT, - GL_TEXTURE_COMPARE_MODE, - GL_TEXTURE_COMPARE_FUNC, - GL_DEPTH_TEXTURE_MODE, and - GL_GENERATE_MIPMAP - are accepted. - - - - - params - - - Returns the texture parameters. - - - - - - Description - - glGetTexParameter returns in params the value or values of the texture parameter - specified as pname. - target defines the target texture, - either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP, - to specify one-, two-, or three-dimensional or cube-mapped texturing. - pname accepts the same symbols as glTexParameter, - with the same interpretations: - - - - GL_TEXTURE_MAG_FILTER - - - Returns the single-valued texture magnification filter, - a symbolic constant. The initial value is GL_LINEAR. - - - - - GL_TEXTURE_MIN_FILTER - - - Returns the single-valued texture minification filter, - a symbolic constant. The initial value is GL_NEAREST_MIPMAP_LINEAR. - - - - - GL_TEXTURE_MIN_LOD - - - Returns the single-valued texture minimum level-of-detail value. The - initial value is - - - -1000 - . - - - - - GL_TEXTURE_MAX_LOD - - - Returns the single-valued texture maximum level-of-detail value. The - initial value is 1000. - - - - - GL_TEXTURE_BASE_LEVEL - - - Returns the single-valued base texture mipmap level. The initial value is 0. - - - - - GL_TEXTURE_MAX_LEVEL - - - Returns the single-valued maximum texture mipmap array level. The initial - value is 1000. - - - - - GL_TEXTURE_WRAP_S - - - Returns the single-valued wrapping function for texture coordinate - s, - a symbolic constant. The initial value is GL_REPEAT. - - - - - GL_TEXTURE_WRAP_T - - - Returns the single-valued wrapping function for texture coordinate - t, - a symbolic constant. The initial value is GL_REPEAT. - - - - - GL_TEXTURE_WRAP_R - - - Returns the single-valued wrapping function for texture coordinate - r, - a symbolic constant. The initial value is GL_REPEAT. - - - - - GL_TEXTURE_BORDER_COLOR - - - Returns four integer or floating-point numbers that comprise the RGBA color - of the texture border. - Floating-point values are returned in the range - - - - 0 - 1 - - . - Integer values are returned as a linear mapping of the internal floating-point - representation such that 1.0 maps to the most positive representable - integer and - - - -1.0 - - maps to the most negative representable - integer. The initial value is (0, 0, 0, 0). - - - - - GL_TEXTURE_PRIORITY - - - Returns the residence priority of the target texture (or the named - texture bound to it). The initial value is 1. - See glPrioritizeTextures. - - - - - GL_TEXTURE_RESIDENT - - - Returns the residence status of the target texture. - If the value returned in params is GL_TRUE, the texture is - resident in texture memory. - See glAreTexturesResident. - - - - - GL_TEXTURE_COMPARE_MODE - - - Returns a single-valued texture comparison mode, a symbolic constant. The - initial value is GL_NONE. See glTexParameter. - - - - - GL_TEXTURE_COMPARE_FUNC - - - Returns a single-valued texture comparison function, a symbolic constant. The - initial value is GL_LEQUAL. See glTexParameter. - - - - - GL_DEPTH_TEXTURE_MODE - - - Returns a single-valued texture format indicating how the depth values - should be converted into color components. The initial value is - GL_LUMINANCE. See glTexParameter. - - - - - GL_GENERATE_MIPMAP - - - Returns a single boolean value indicating if automatic mipmap level updates - are enabled. - See glTexParameter. - - - - - - Notes - - GL_TEXTURE_PRIORITY and GL_TEXTURE_RESIDENT are - available only if the GL version is 1.1 or greater. - - - GL_TEXTURE_3D, - GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, - GL_TEXTURE_MAX_LEVEL, and GL_TEXTURE_WRAP_R are available only - if the GL version is 1.2 or greater. - - - GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, and - GL_GENERATE_MIPMAP is available only if the GL version is 1.4 or - greater. - - - If an error is generated, - no change is made to the contents of params. - - - Errors - - GL_INVALID_ENUM is generated if target or pname is not an - accepted value. - - - GL_INVALID_OPERATION is generated if glGetTexParameter - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - See Also - - glAreTexturesResident, - glPrioritizeTextures, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetUniform.xml b/Source/Bind/Specifications/Docs/GL2/glGetUniform.xml deleted file mode 100644 index 762b51c834..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetUniform.xml +++ /dev/null @@ -1,145 +0,0 @@ - - - - - glGetUniform - 3G - - - glGetUniform - glGetUniformfv - glGetUniformiv - 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 - params the value(s) of the specified - uniform variable. The type of the uniform variable specified by - location determines the number of values - returned. If the uniform variable is defined in the shader as a - boolean, int, or float, a single value will be returned. If it - is defined as a vec2, ivec2, or bvec2, two values will be - returned. If it is defined as a vec3, ivec3, or bvec3, three - values will be returned, and so on. To query values stored in - uniform variables declared as arrays, call - glGetUniform for each element of the array. - To query values stored in uniform variables declared as - structures, call glGetUniform for each - field in the structure. The values for uniform variables - declared as a matrix will be returned in column major - order. - - The locations assigned to uniform variables are not known - until the program object is linked. After linking has occurred, - the command - glGetUniformLocation - can be used to obtain the location of a uniform variable. This - location value can then be passed to - glGetUniform in order to query the current - value of the uniform variable. After a program object has been - linked successfully, the index values for uniform variables - remain fixed until the next link command occurs. The uniform - variable values can only be queried after a link if the link was - successful. - - Notes - glGetUniform is available only if the - GL version is 2.0 or greater. - - If an error is generated, no change is made to the - contents of params. - - Errors - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_OPERATION is generated if - program has not been successfully - linked. - - GL_INVALID_OPERATION is generated if - location does not correspond to a valid - uniform variable location for the specified program object. - - GL_INVALID_OPERATION is generated if - glGetUniform is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetActiveUniform - with arguments program and the index of an active - uniform variable - - glGetProgram - with arguments program and - GL_ACTIVE_UNIFORMS or - GL_ACTIVE_UNIFORM_MAX_LENGTH - - glGetUniformLocation - with arguments program and the name of a - uniform variable - glIsProgram - - See Also - glCreateProgram, - glLinkProgram, - glUniform - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetUniformLocation.xml b/Source/Bind/Specifications/Docs/GL2/glGetUniformLocation.xml deleted file mode 100644 index d1fd0d17a6..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetUniformLocation.xml +++ /dev/null @@ -1,133 +0,0 @@ - - - - - glGetUniformLocation - 3G - - - 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 - integer that represents the location of a specific uniform - variable within a program object. name - must be a null terminated string that contains no white space. - name must be an active uniform variable - name in program that is not a structure, - an array of structures, or a subcomponent of a vector or a - matrix. This function returns -1 if name - does not correspond to an active uniform variable in - program or if name - starts with the reserved prefix "gl_". - - Uniform variables that are structures or arrays of - structures may be queried by calling - glGetUniformLocation for each field within - the structure. The array element operator "[]" and the - structure field operator "." may be used in - name in order to select elements within - an array or fields within a structure. The result of using these - operators is not allowed to be another structure, an array of - structures, or a subcomponent of a vector or a matrix. Except if - the last part of name indicates a uniform - variable array, the location of the first element of an array - can be retrieved by using the name of the array, or by using the - name appended by "[0]". - - The actual locations assigned to uniform variables are not - known until the program object is linked successfully. After - linking has occurred, the command - glGetUniformLocation can be used to obtain - the location of a uniform variable. This location value can then - be passed to - glUniform - to set the value of the uniform variable or to - glGetUniform - in order to query the current value of the uniform variable. - After a program object has been linked successfully, the index - values for uniform variables remain fixed until the next link - command occurs. Uniform variable locations and values can only - be queried after a link if the link was successful. - - Notes - glGetUniformLocation is available - only if the GL version is 2.0 or greater. - - Errors - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_OPERATION is generated if - program has not been successfully - linked. - - GL_INVALID_OPERATION is generated if - glGetUniformLocation is executed between - the execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetActiveUniform - with arguments program and the index of - an active uniform variable - - glGetProgram - with arguments program and - GL_ACTIVE_UNIFORMS or - GL_ACTIVE_UNIFORM_MAX_LENGTH - - glGetUniform - with arguments program and the name of a - uniform variable - glIsProgram - - See Also - glLinkProgram, - glUniform - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetVertexAttrib.xml b/Source/Bind/Specifications/Docs/GL2/glGetVertexAttrib.xml deleted file mode 100644 index bc28164cea..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetVertexAttrib.xml +++ /dev/null @@ -1,234 +0,0 @@ - - - - - glGetVertexAttrib - 3G - - - glGetVertexAttrib - glGetVertexAttribdv - glGetVertexAttribfv - glGetVertexAttribiv - 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, - GL_VERTEX_ATTRIB_ARRAY_ENABLED, - GL_VERTEX_ATTRIB_ARRAY_SIZE, - GL_VERTEX_ATTRIB_ARRAY_STRIDE, - GL_VERTEX_ATTRIB_ARRAY_TYPE, - GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or - GL_CURRENT_VERTEX_ATTRIB. - - - - params - - Returns the requested data. - - - - - Description - glGetVertexAttrib returns in - params the value of a generic vertex - attribute parameter. The generic vertex attribute to be queried - 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, - 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 - enabled and 0 (false) if it is disabled. The initial - value is GL_FALSE. - - - - - GL_VERTEX_ATTRIB_ARRAY_SIZE - - - - params returns a - single value, the size of the vertex attribute array - for index. The size is the - number of values for each element of the vertex - attribute array, and it will be 1, 2, 3, or 4. The - initial value is 4. - - - - - GL_VERTEX_ATTRIB_ARRAY_STRIDE - - - - params returns a - single value, the array stride for (number of bytes - between successive elements in) the vertex attribute - array for index. A value of 0 - indicates that the array elements are stored - sequentially in memory. The initial value is 0. - - - - - GL_VERTEX_ATTRIB_ARRAY_TYPE - - - - params returns a - single value, a symbolic constant indicating the - array type for the vertex attribute array for - index. Possible values are - GL_BYTE, - GL_UNSIGNED_BYTE, - GL_SHORT, - GL_UNSIGNED_SHORT, - GL_INT, - GL_UNSIGNED_INT, - GL_FLOAT, and - GL_DOUBLE. The initial value is - GL_FLOAT. - - - - - GL_VERTEX_ATTRIB_ARRAY_NORMALIZED - - - - params returns a - single value that is non-zero (true) if fixed-point - data types for the vertex attribute array indicated - by index are normalized when - they are converted to floating point, and 0 (false) - 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 0 is unique in that it has no - current state, so an error will be generated if - index is 0. The initial value - for all other generic vertex attributes is - (0,0,0,1). - - - - - All of the parameters except GL_CURRENT_VERTEX_ATTRIB - represent client-side state. - - - Notes - glGetVertexAttrib is available only - if the GL version is 2.0 or greater. - - If an error is generated, no change is made to the - contents of params. - - Errors - GL_INVALID_VALUE is generated if - index is greater than or equal to - GL_MAX_VERTEX_ATTRIBS. - - GL_INVALID_ENUM is generated if - pname is not an accepted value. - - GL_INVALID_OPERATION is generated if - index is 0 and - pname is - GL_CURRENT_VERTEX_ATTRIB. - - Associated Gets - glGet - with argument GL_MAX_VERTEX_ATTRIBS - - glGetVertexAttribPointerv - with arguments index and - GL_VERTEX_ATTRIB_ARRAY_POINTER - - See Also - glBindAttribLocation, - glBindBuffer, - glDisableVertexAttribArray, - glEnableVertexAttribArray, - glVertexAttrib, - glVertexAttribPointer - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glGetVertexAttribPointerv.xml b/Source/Bind/Specifications/Docs/GL2/glGetVertexAttribPointerv.xml deleted file mode 100644 index 0c3518935e..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glGetVertexAttribPointerv.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - glGetVertexAttribPointerv - 3G - - - 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 - pointer information. index is the generic - 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 - (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 - is available only if the GL version is 2.0 or greater. - - The pointer returned is client-side state. - - The initial value for each pointer is 0. - - Errors - GL_INVALID_VALUE - is generated if index - is greater than or equal to GL_MAX_VERTEX_ATTRIBS. - - GL_INVALID_ENUM - is generated if pname - is not an accepted value. - - Associated Gets - glGet - with argument GL_MAX_VERTEX_ATTRIBS - - See Also - glGetVertexAttrib, - glVertexAttribPointer - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glHint.xml b/Source/Bind/Specifications/Docs/GL2/glHint.xml deleted file mode 100644 index 37049b5571..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glHint.xml +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glHint - 3G - - - 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_GENERATE_MIPMAP_HINT, - GL_LINE_SMOOTH_HINT, - GL_PERSPECTIVE_CORRECTION_HINT, - GL_POINT_SMOOTH_HINT, - GL_POLYGON_SMOOTH_HINT, - GL_TEXTURE_COMPRESSION_HINT, and - GL_FRAGMENT_SHADER_DERIVATIVE_HINT - are accepted. - - - - - mode - - - Specifies a symbolic constant indicating the desired behavior. - GL_FASTEST, - GL_NICEST, and - GL_DONT_CARE are accepted. - - - - - - Description - - Certain aspects of GL behavior, - when there is room for interpretation, - can be controlled with hints. - A hint is specified with two arguments. - target is a symbolic - constant indicating the behavior to be controlled, - and mode is another symbolic constant indicating the desired - behavior. The initial value for each target is GL_DONT_CARE. - mode can be one of the following: - - - - GL_FASTEST - - - - - The most efficient option should be chosen. - - - - - GL_NICEST - - - - - The most correct, - or highest quality, - option should be chosen. - - - - - GL_DONT_CARE - - - - - No preference. - - - - - - Though the implementation aspects that can be hinted are well defined, - the interpretation of the hints depends on the implementation. - The hint aspects that can be specified with target, - along with suggested semantics, - are as follows: - - - - GL_FOG_HINT - - - - - Indicates the accuracy of fog calculation. - If per-pixel fog calculation is not efficiently supported - by the GL implementation, - hinting GL_DONT_CARE or GL_FASTEST can result in per-vertex - calculation of fog effects. - - - - - GL_FRAGMENT_SHADER_DERIVATIVE_HINT - - - - - Indicates the accuracy of the derivative calculation for the GL shading language fragment processing built-in functions: - dFdx, dFdy, and fwidth. - - - - - GL_GENERATE_MIPMAP_HINT - - - - - Indicates the quality of filtering when generating mipmap images. - - - - - GL_LINE_SMOOTH_HINT - - - - - Indicates the sampling quality of antialiased lines. - If a larger filter function is applied, hinting GL_NICEST can - result in more pixel fragments being generated during rasterization. - - - - - GL_PERSPECTIVE_CORRECTION_HINT - - - - - Indicates the quality of color, texture coordinate, and fog coordinate - interpolation. If perspective-corrected parameter interpolation is not - efficiently supported by the GL implementation, hinting GL_DONT_CARE - or GL_FASTEST can result in simple linear interpolation of colors - and/or texture coordinates. - - - - - GL_POINT_SMOOTH_HINT - - - - - Indicates the sampling quality of antialiased points. - If a larger filter function is applied, hinting GL_NICEST can - result in more pixel fragments being generated during rasterization. - - - - - GL_POLYGON_SMOOTH_HINT - - - - - Indicates the sampling quality of antialiased polygons. - Hinting GL_NICEST can result in more pixel fragments being generated - during rasterization, - if a larger filter function is applied. - - - - - GL_TEXTURE_COMPRESSION_HINT - - - - - Indicates the quality and performance of the compressing texture images. - Hinting GL_FASTEST indicates that texture images should be compressed - as quickly as possible, while GL_NICEST indicates that texture images - should be compressed with as little image quality loss as possible. - GL_NICEST should be selected if the texture is to be retrieved by - glGetCompressedTexImage for reuse. - - - - - - Notes - - The interpretation of hints depends on the implementation. - Some implementations ignore glHint settings. - - - GL_TEXTURE_COMPRESSION_HINT is available only if the GL version is 1.3 - or greater. - - - GL_GENERATE_MIPMAP_HINT is available only if the GL version is 1.4 - or greater. - - - GL_FRAGMENT_SHADER_DERIVATIVE_HINT is available only if the GL version is 2.0 - or greater. - - - Errors - - GL_INVALID_ENUM is generated if either target or mode is not - an accepted value. - - - GL_INVALID_OPERATION is generated if glHint - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glIsBuffer.xml b/Source/Bind/Specifications/Docs/GL2/glIsBuffer.xml deleted file mode 100644 index 8f489592cf..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glIsBuffer.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glIsBuffer - 3G - - - 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. - If buffer is zero, or is a non-zero value that is not currently the - name of a buffer object, or if an error occurs, glIsBuffer returns GL_FALSE. - - - A name returned by glGenBuffers, but not yet associated with a buffer object - by calling glBindBuffer, is not the name of a buffer object. - - - Notes - - glIsBuffer is available only if the GL version is 1.5 or greater. - - - Errors - - GL_INVALID_OPERATION is generated if glIsBuffer is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - See Also - - glBindBuffer, - glDeleteBuffers, - glGenBuffers, - glGet - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glIsEnabled.xml b/Source/Bind/Specifications/Docs/GL2/glIsEnabled.xml deleted file mode 100644 index ba88ec4cbf..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glIsEnabled.xml +++ /dev/null @@ -1,752 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glIsEnabled - 3G - - - 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 - and returns GL_FALSE otherwise. - Initially all capabilities except GL_DITHER are disabled; - GL_DITHER is initially enabled. - - - The following capabilities are accepted for cap: - - - - - - - - - - - Constant - - - See - - - - - - - GL_ALPHA_TEST - - - glAlphaFunc - - - - - GL_AUTO_NORMAL - - - glEvalCoord - - - - - GL_BLEND - - - glBlendFunc, glLogicOp - - - - - GL_CLIP_PLANEi - - - glClipPlane - - - - - GL_COLOR_ARRAY - - - glColorPointer - - - - - GL_COLOR_LOGIC_OP - - - glLogicOp - - - - - GL_COLOR_MATERIAL - - - glColorMaterial - - - - - GL_COLOR_SUM - - - glSecondaryColor - - - - - GL_COLOR_TABLE - - - glColorTable - - - - - GL_CONVOLUTION_1D - - - glConvolutionFilter1D - - - - - GL_CONVOLUTION_2D - - - glConvolutionFilter2D - - - - - GL_CULL_FACE - - - glCullFace - - - - - GL_DEPTH_TEST - - - glDepthFunc, glDepthRange - - - - - GL_DITHER - - - glEnable - - - - - GL_EDGE_FLAG_ARRAY - - - glEdgeFlagPointer - - - - - GL_FOG - - - glFog - - - - - GL_FOG_COORD_ARRAY - - - glFogCoordPointer - - - - - GL_HISTOGRAM - - - glHistogram - - - - - GL_INDEX_ARRAY - - - glIndexPointer - - - - - GL_INDEX_LOGIC_OP - - - glLogicOp - - - - - GL_LIGHTi - - - glLightModel, glLight - - - - - GL_LIGHTING - - - glMaterial, glLightModel, glLight - - - - - GL_LINE_SMOOTH - - - glLineWidth - - - - - GL_LINE_STIPPLE - - - glLineStipple - - - - - GL_MAP1_COLOR_4 - - - glMap1 - - - - - GL_MAP1_INDEX - - - glMap1 - - - - - GL_MAP1_NORMAL - - - glMap1 - - - - - GL_MAP1_TEXTURE_COORD_1 - - - glMap1 - - - - - GL_MAP1_TEXTURE_COORD_2 - - - glMap1 - - - - - GL_MAP1_TEXTURE_COORD_3 - - - glMap1 - - - - - GL_MAP1_TEXTURE_COORD_4 - - - glMap1 - - - - - GL_MAP2_COLOR_4 - - - glMap2 - - - - - GL_MAP2_INDEX - - - glMap2 - - - - - GL_MAP2_NORMAL - - - glMap2 - - - - - GL_MAP2_TEXTURE_COORD_1 - - - glMap2 - - - - - GL_MAP2_TEXTURE_COORD_2 - - - glMap2 - - - - - GL_MAP2_TEXTURE_COORD_3 - - - glMap2 - - - - - GL_MAP2_TEXTURE_COORD_4 - - - glMap2 - - - - - GL_MAP2_VERTEX_3 - - - glMap2 - - - - - GL_MAP2_VERTEX_4 - - - glMap2 - - - - - GL_MINMAX - - - glMinmax - - - - - GL_MULTISAMPLE - - - glSampleCoverage - - - - - GL_NORMAL_ARRAY - - - glNormalPointer - - - - - GL_NORMALIZE - - - glNormal - - - - - GL_POINT_SMOOTH - - - glPointSize - - - - - GL_POINT_SPRITE - - - glEnable - - - - - GL_POLYGON_SMOOTH - - - glPolygonMode - - - - - GL_POLYGON_OFFSET_FILL - - - glPolygonOffset - - - - - GL_POLYGON_OFFSET_LINE - - - glPolygonOffset - - - - - GL_POLYGON_OFFSET_POINT - - - glPolygonOffset - - - - - GL_POLYGON_STIPPLE - - - glPolygonStipple - - - - - GL_POST_COLOR_MATRIX_COLOR_TABLE - - - glColorTable - - - - - GL_POST_CONVOLUTION_COLOR_TABLE - - - glColorTable - - - - - GL_RESCALE_NORMAL - - - glNormal - - - - - GL_SAMPLE_ALPHA_TO_COVERAGE - - - glSampleCoverage - - - - - GL_SAMPLE_ALPHA_TO_ONE - - - glSampleCoverage - - - - - GL_SAMPLE_COVERAGE - - - glSampleCoverage - - - - - GL_SCISSOR_TEST - - - glScissor - - - - - GL_SECONDARY_COLOR_ARRAY - - - glSecondaryColorPointer - - - - - GL_SEPARABLE_2D - - - glSeparableFilter2D - - - - - GL_STENCIL_TEST - - - glStencilFunc, glStencilOp - - - - - GL_TEXTURE_1D - - - glTexImage1D - - - - - GL_TEXTURE_2D - - - glTexImage2D - - - - - GL_TEXTURE_3D - - - glTexImage3D - - - - - GL_TEXTURE_COORD_ARRAY - - - glTexCoordPointer - - - - - GL_TEXTURE_CUBE_MAP - - - glTexImage2D - - - - - GL_TEXTURE_GEN_Q - - - glTexGen - - - - - GL_TEXTURE_GEN_R - - - glTexGen - - - - - GL_TEXTURE_GEN_S - - - glTexGen - - - - - GL_TEXTURE_GEN_T - - - glTexGen - - - - - GL_VERTEX_ARRAY - - - glVertexPointer - - - - - GL_VERTEX_PROGRAM_POINT_SIZE - - - glEnable - - - - - GL_VERTEX_PROGRAM_TWO_SIDE - - - glEnable - - - - - - - - - Notes - - If an error is generated, - glIsEnabled returns 0. - - - GL_COLOR_LOGIC_OP, - GL_COLOR_ARRAY, - GL_EDGE_FLAG_ARRAY, - GL_INDEX_ARRAY, - GL_INDEX_LOGIC_OP, - GL_NORMAL_ARRAY, - GL_POLYGON_OFFSET_FILL, - GL_POLYGON_OFFSET_LINE, - GL_POLYGON_OFFSET_POINT, - GL_TEXTURE_COORD_ARRAY, and - GL_VERTEX_ARRAY - are available only - if the GL version is 1.1 or greater. - - - GL_RESCALE_NORMAL, and GL_TEXTURE_3D are available only if the GL - version is 1.2 or greater. - - - GL_MULTISAMPLE, - GL_SAMPLE_ALPHA_TO_COVERAGE, - GL_SAMPLE_ALPHA_TO_ONE, - GL_SAMPLE_COVERAGE, - GL_TEXTURE_CUBE_MAP - are available only if the GL version is 1.3 or greater. - - - GL_FOG_COORD_ARRAY and GL_SECONDARY_COLOR_ARRAY - are available only if the GL version is 1.4 or greater. - - - GL_POINT_SPRITE, - GL_VERTEX_PROGRAM_POINT_SIZE, and - GL_VERTEX_PROGRAM_TWO_SIDE - are available only if the GL version is 2.0 or greater. - - - GL_COLOR_TABLE, GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, - GL_HISTOGRAM, GL_MINMAX, - GL_POST_COLOR_MATRIX_COLOR_TABLE, - GL_POST_CONVOLUTION_COLOR_TABLE, and - GL_SEPARABLE_2D are available only if ARB_imaging is - returned when glGet is called with GL_EXTENSIONS. - - - For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, the following - parameters return the associated value for the active texture unit: - GL_TEXTURE_1D, - GL_TEXTURE_2D, - GL_TEXTURE_3D, - GL_TEXTURE_CUBE_MAP, - GL_TEXTURE_GEN_S, - GL_TEXTURE_GEN_T, - GL_TEXTURE_GEN_R, - GL_TEXTURE_GEN_Q, - GL_TEXTURE_MATRIX, and - GL_TEXTURE_STACK_DEPTH. - Likewise, the following parameters return the associated value for the - active client texture unit: - GL_TEXTURE_COORD_ARRAY, - GL_TEXTURE_COORD_ARRAY_SIZE, - GL_TEXTURE_COORD_ARRAY_STRIDE, - GL_TEXTURE_COORD_ARRAY_TYPE. - - - Errors - - GL_INVALID_ENUM is generated if cap is not an accepted value. - - - GL_INVALID_OPERATION is generated if glIsEnabled - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - See Also - - glEnable, - glEnableClientState, - glGet - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glIsProgram.xml b/Source/Bind/Specifications/Docs/GL2/glIsProgram.xml deleted file mode 100644 index d2f8f2cd42..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glIsProgram.xml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - glIsProgram - 3G - - - 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 - 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, - 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 - a program object and glIsProgram will return GL_TRUE. - - Errors - GL_INVALID_OPERATION is generated if - glIsProgram is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGet - with the argument GL_CURRENT_PROGRAM - - glGetActiveAttrib - with arguments program and the index of - an active attribute variable - - glGetActiveUniform - with arguments program and the index of - an active uniform variable - - glGetAttachedShaders - with argument program - - glGetAttribLocation - with arguments program and the name of an - attribute variable - - glGetProgram - with arguments program and the parameter - to be queried - - glGetProgramInfoLog - with argument program - - glGetUniform - with arguments program and the location - of a uniform variable - - glGetUniformLocation - with arguments program and the name of a - uniform variable - - See Also - glAttachShader, - glBindAttribLocation, - glCreateProgram, - glDeleteProgram, - glDetachShader, - glLinkProgram, - glUniform, - glUseProgram, - glValidateProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glIsQuery.xml b/Source/Bind/Specifications/Docs/GL2/glIsQuery.xml deleted file mode 100644 index 264e4cc15d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glIsQuery.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glIsQuery - 3G - - - 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. - If id is zero, or is a non-zero value that is not currently the - name of a query object, or if an error occurs, glIsQuery returns GL_FALSE. - - - A name returned by glGenQueries, but not yet associated with a query object - by calling glBeginQuery, is not the name of a query object. - - - Notes - - glIsQuery is available only if the GL version is 1.5 or greater. - - - Errors - - GL_INVALID_OPERATION is generated if glIsQuery is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - See Also - - glBeginQuery, - glDeleteQueries, - glEndQuery, - glGenQueries - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glIsShader.xml b/Source/Bind/Specifications/Docs/GL2/glIsShader.xml deleted file mode 100644 index 6ed6ce42e6..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glIsShader.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - glIsShader - 3G - - - 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. - 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 - a shader object and glIsShader will return GL_TRUE. - - Errors - GL_INVALID_OPERATION is generated if - glIsShader is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetAttachedShaders - with a valid program object - - glGetShader - with arguments shader and a parameter to - be queried - - glGetShaderInfoLog - with argument object - - glGetShaderSource - with argument object - - See Also - glAttachShader, - glCompileShader, - glCreateShader, - glDeleteShader, - glDetachShader, - glLinkProgram, - glShaderSource - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glIsTexture.xml b/Source/Bind/Specifications/Docs/GL2/glIsTexture.xml deleted file mode 100644 index d9760fa002..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glIsTexture.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glIsTexture - 3G - - - 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. - If texture is zero, or is a non-zero value that is not currently the - name of a texture, or if an error occurs, glIsTexture returns GL_FALSE. - - - A name returned by glGenTextures, but not yet associated with a texture - by calling glBindTexture, is not the name of a texture. - - - Notes - - glIsTexture is available only if the GL version is 1.1 or greater. - - - Errors - - GL_INVALID_OPERATION is generated if glIsTexture is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - See Also - - glBindTexture, - glCopyTexImage1D, - glCopyTexImage2D, - glDeleteTextures, - glGenTextures, - glGet, - glGetTexParameter, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glLineWidth.xml b/Source/Bind/Specifications/Docs/GL2/glLineWidth.xml deleted file mode 100644 index c303c34848..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glLineWidth.xml +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glLineWidth - 3G - - - 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 - - glLineWidth specifies the rasterized width of both aliased and antialiased - lines. - Using a line width other than 1 has different effects, - depending on whether line antialiasing is enabled. - To enable and disable line antialiasing, call - glEnable and glDisable - with argument GL_LINE_SMOOTH. Line antialiasing is initially - disabled. - - - If line antialiasing is disabled, - the actual width is determined by rounding the supplied width - to the nearest integer. - (If the rounding results in the value 0, - it is as if the line width were 1.) - If - - - - - - Δ - x - - - >= - - - Δ - y - - - - , - i pixels are filled in each column that is rasterized, - where i is the rounded value of width. - Otherwise, - i pixels are filled in each row that is rasterized. - - - If antialiasing is enabled, - line rasterization produces a fragment for each pixel square - that intersects the region lying within the rectangle having width - equal to the current line width, - length equal to the actual length of the line, - and centered on the mathematical line segment. - The coverage value for each fragment is the window coordinate area - of the intersection of the rectangular region with the corresponding - pixel square. - This value is saved and used in the final rasterization step. - - - Not all widths can be supported when line antialiasing is enabled. If an - unsupported width is requested, the nearest supported width is used. - Only width 1 is guaranteed to be supported; others depend on the - implementation. Likewise, there is a range for aliased line widths as well. - To query the range of supported widths and the size - difference between supported widths within the range, call glGet - with arguments GL_ALIASED_LINE_WIDTH_RANGE, - GL_SMOOTH_LINE_WIDTH_RANGE, and GL_SMOOTH_LINE_WIDTH_GRANULARITY. - - - Notes - - The line width specified by glLineWidth is always returned when GL_LINE_WIDTH - is queried. - Clamping and rounding for aliased and antialiased lines have no effect on the specified value. - - - Nonantialiased line width may be clamped to an implementation-dependent maximum. Call glGet with GL_ALIASED_LINE_WIDTH_RANGE to determine the maximum width. - - - In OpenGL 1.2, the tokens GL_LINE_WIDTH_RANGE and GL_LINE_WIDTH_GRANULARITY were replaced by GL_ALIASED_LINE_WIDTH_RANGE, - GL_SMOOTH_LINE_WIDTH_RANGE, and GL_SMOOTH_LINE_WIDTH_GRANULARITY. The old names are retained for backward compatibility, but should not be used in new code. - - - Errors - - GL_INVALID_VALUE is generated if width is less than or equal to 0. - - - GL_INVALID_OPERATION is generated if glLineWidth - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_LINE_WIDTH - - - glGet with argument GL_ALIASED_LINE_WIDTH_RANGE - - - glGet with argument GL_SMOOTH_LINE_WIDTH_RANGE - - - glGet with argument GL_SMOOTH_LINE_WIDTH_GRANULARITY - - - glIsEnabled with argument GL_LINE_SMOOTH - - - See Also - - glEnable - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glLinkProgram.xml b/Source/Bind/Specifications/Docs/GL2/glLinkProgram.xml deleted file mode 100644 index bded29682d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glLinkProgram.xml +++ /dev/null @@ -1,223 +0,0 @@ - - - - - glLinkProgram - 3G - - - 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 - create an executable that will run on the programmable vertex - processor. If any shader objects of type - GL_FRAGMENT_SHADER are attached to - program, they will be 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 - the program object's state. This value will be set to - GL_TRUE if the program object was linked - without errors and is ready for use, and - GL_FALSE otherwise. It can be queried by - calling - glGetProgram - with arguments program and - GL_LINK_STATUS. - - As a result of a successful link operation, all active - user-defined uniform variables belonging to - program will be initialized to 0, and - each of the program object's active uniform variables will be - assigned a location that can be queried by calling - glGetUniformLocation. - Also, any active user-defined attribute variables that have not - been bound to a generic vertex attribute index will be bound to - one at this time. - - Linking of a program object can fail for a number of - reasons as specified in the OpenGL Shading Language - Specification. The following lists some of the - conditions that will cause a link error. - - - - 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 - by the implementation has been exceeded. - - - The main function is missing - for the vertex shader or the fragment shader. - - - A varying variable actually used in the fragment - shader is not declared in the same way (or is not - 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. - - - 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 - be found to bind attribute matrices. - - - - When a program object has been successfully linked, the - program object can be made part of current state by calling - glUseProgram. - Whether or not the link operation was successful, the program - object's information log will be overwritten. The information - log can be retrieved by calling - glGetProgramInfoLog. - - glLinkProgram will also install the - generated executables as part of the current rendering state if - the link operation was successful and the specified program - object is already currently in use as a result of a previous - call to - glUseProgram. - If the program object currently in use is relinked - unsuccessfully, its link status will be set to - GL_FALSE , but the executables and - associated state will remain part of the current state until a - subsequent call to glUseProgram removes it - from use. After it is removed from use, it cannot be made part - of current state until it has been successfully relinked. - - If program contains shader objects - of type GL_VERTEX_SHADER but does not - contain shader objects of type - GL_FRAGMENT_SHADER, the vertex shader will - be linked against the implicit interface for fixed functionality - fragment processing. Similarly, if - program contains shader objects of type - GL_FRAGMENT_SHADER but it does not contain - shader objects of type GL_VERTEX_SHADER, - the fragment shader will be linked against the implicit - interface for fixed functionality vertex processing. - - The program object's information log is updated and the - program is generated at the time of the link operation. After - the link operation, applications are free to modify attached - shader objects, compile attached shader objects, detach shader - objects, delete shader objects, and attach additional shader - objects. None of these operations affects the information log or - the program that is part of the program object. - - Notes - glLinkProgram - is available only if the GL version is 2.0 or greater. - If the link operation is unsuccessful, any information about a previous link operation on program - is lost (i.e., a failed link does not restore the old state of program - ). Certain information can still be retrieved from program - even after an unsuccessful link operation. See for instance glGetActiveAttrib - and glGetActiveUniform. - - Errors - GL_INVALID_VALUE - is generated if program - is not a value generated by OpenGL. - GL_INVALID_OPERATION - is generated if program - is not a program object. - GL_INVALID_OPERATION - is generated if glLinkProgram - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - Associated Gets - glGet - with the argument GL_CURRENT_PROGRAM - glGetActiveAttrib - with argument program - and the index of an active attribute variable - glGetActiveUniform - with argument program - and the index of an active uniform variable - glGetAttachedShaders - with argument program - glGetAttribLocation - with argument program - and an attribute variable name - glGetProgram - with arguments program - and GL_LINK_STATUS - glGetProgramInfoLog - with argument program - glGetUniform - with argument program - and a uniform variable location - glGetUniformLocation - with argument program - and a uniform variable name - glIsProgram - - See Also - glAttachShader, - glBindAttribLocation, - glCompileShader, - glCreateProgram, - glDeleteProgram, - glDetachShader, - glUniform, - glUseProgram, - glValidateProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glLogicOp.xml b/Source/Bind/Specifications/Docs/GL2/glLogicOp.xml deleted file mode 100644 index 389cc5c363..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glLogicOp.xml +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glLogicOp - 3G - - - 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, - GL_SET, - GL_COPY, - GL_COPY_INVERTED, - GL_NOOP, - GL_INVERT, - GL_AND, - GL_NAND, - GL_OR, - GL_NOR, - GL_XOR, - GL_EQUIV, - GL_AND_REVERSE, - GL_AND_INVERTED, - GL_OR_REVERSE, and - GL_OR_INVERTED. The initial value is GL_COPY. - - - - - - Description - - glLogicOp specifies a logical operation that, - when enabled, - is applied between the incoming color index or RGBA color - and the color index or RGBA color at the corresponding location in the - frame buffer. - To enable or disable the logical operation, call - glEnable and glDisable - using the symbolic constant GL_COLOR_LOGIC_OP for RGBA mode or - GL_INDEX_LOGIC_OP for color index mode. The initial value is - disabled for both operations. - - - - - - - - - - - Opcode - - - Resulting Operation - - - - - - - GL_CLEAR - - - 0 - - - - - GL_SET - - - 1 - - - - - GL_COPY - - - s - - - - - GL_COPY_INVERTED - - - ~s - - - - - GL_NOOP - - - d - - - - - GL_INVERT - - - ~d - - - - - GL_AND - - - s & d - - - - - GL_NAND - - - ~(s & d) - - - - - GL_OR - - - s | d - - - - - GL_NOR - - - ~(s | d) - - - - - GL_XOR - - - s ^ d - - - - - GL_EQUIV - - - ~(s ^ d) - - - - - GL_AND_REVERSE - - - s & ~d - - - - - GL_AND_INVERTED - - - ~s & d - - - - - GL_OR_REVERSE - - - s | ~d - - - - - GL_OR_INVERTED - - - ~s | d - - - - - - - opcode is a symbolic constant chosen from the list above. - In the explanation of the logical operations, - s represents the incoming color index and - d represents the index in the frame buffer. - Standard C-language operators are used. - As these bitwise operators suggest, - the logical operation is applied independently to each bit pair of the - source and destination indices or colors. - - - Notes - - Color index logical operations are always supported. RGBA logical - operations are supported only if the GL version is 1.1 or greater. - - - When more than one RGBA color or index buffer is enabled for drawing, - logical operations are performed separately for each enabled buffer, - using for the destination value the contents of that buffer - (see glDrawBuffer). - - - Errors - - GL_INVALID_ENUM is generated if opcode is not an accepted value. - - - GL_INVALID_OPERATION is generated if glLogicOp - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_LOGIC_OP_MODE. - - - glIsEnabled with argument GL_COLOR_LOGIC_OP or GL_INDEX_LOGIC_OP. - - - See Also - - glAlphaFunc, - glBlendFunc, - glDrawBuffer, - glEnable, - glStencilOp - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glMapBuffer.xml b/Source/Bind/Specifications/Docs/GL2/glMapBuffer.xml deleted file mode 100644 index 15fcb09b8f..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glMapBuffer.xml +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - 2005 - Sams Publishing - - - glMapBuffer - 3G - - - 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, - GL_ELEMENT_ARRAY_BUFFER, - GL_PIXEL_PACK_BUFFER, or - GL_PIXEL_UNPACK_BUFFER. - - - - - access - - - 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 - - - Specifies the target buffer object being unmapped. - The symbolic constant must be - GL_ARRAY_BUFFER, - GL_ELEMENT_ARRAY_BUFFER, - 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 - 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 - 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, - 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 - access parameters. - - - A mapped data store must be unmapped with glUnmapBuffer before its buffer object is used. - Otherwise an error will be generated by any GL command that attempts to dereference the buffer object's data store. - When a data store is unmapped, the pointer to its data store becomes invalid. glUnmapBuffer - returns GL_TRUE unless the data store contents have become corrupt during the time - the data store was mapped. This can occur for system-specific reasons that affect the availability of graphics - 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 - is recreated with glBufferData. - - - Notes - - If an error is generated, glMapBuffer returns NULL, and - glUnmapBuffer returns GL_FALSE. - - - 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 - 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_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - - - 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 - 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. - - - GL_INVALID_OPERATION is generated if glMapBuffer is executed for - a buffer object whose data store is already mapped. - - - GL_INVALID_OPERATION is generated if glUnmapBuffer is executed for - a buffer object whose data store is not currently mapped. - - - GL_INVALID_OPERATION is generated if glMapBuffer or glUnmapBuffer is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGetBufferPointerv with argument GL_BUFFER_MAP_POINTER - - - glGetBufferParameteriv with argument GL_BUFFER_MAPPED, GL_BUFFER_ACCESS, or GL_BUFFER_USAGE - - - See Also - - glBindBuffer, - glBufferData, - glBufferSubData, - glDeleteBuffers - - - Copyright - - Copyright 2005 Addison-Wesley. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glMultiDrawArrays.xml b/Source/Bind/Specifications/Docs/GL2/glMultiDrawArrays.xml deleted file mode 100644 index 2077ece470..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glMultiDrawArrays.xml +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glMultiDrawArrays - 3G - - - 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, - GL_LINE_STRIP, - GL_LINE_LOOP, - GL_LINES, - GL_TRIANGLE_STRIP, - GL_TRIANGLE_FAN, - GL_TRIANGLES, - GL_QUAD_STRIP, - GL_QUADS, - and GL_POLYGON are accepted. - - - - - first - - - Points to an array of starting indices in the enabled arrays. - - - - - count - - - Points to an array of the number of indices to be rendered. - - - - - primcount - - - Specifies the size of the first and count - - - - - - Description - - glMultiDrawArrays specifies multiple sets of geometric primitives - with very few subroutine calls. Instead of calling a GL procedure - to pass each individual vertex, normal, texture coordinate, edge - flag, or color, you can prespecify - separate arrays of vertices, normals, and colors and use them to - construct a sequence of primitives with a single - call to glMultiDrawArrays. - - - glMultiDrawArrays behaves identically to glDrawArrays except that primcount - separate ranges of elements are specified instead. - - - When glMultiDrawArrays is called, it uses count sequential elements from each - enabled array to construct a sequence of geometric primitives, - beginning with element first. mode specifies what kind of - primitives are constructed, and how the array elements - construct those primitives. If GL_VERTEX_ARRAY is not enabled, no - geometric primitives are generated. - - - Vertex attributes that are modified by glMultiDrawArrays have an - unspecified value after glMultiDrawArrays returns. For example, if - GL_COLOR_ARRAY is enabled, the value of the current color is - undefined after glMultiDrawArrays executes. Attributes that aren't - modified remain well defined. - - - Notes - - glMultiDrawArrays is available only if the GL version is 1.4 or greater. - - - glMultiDrawArrays is included in display lists. If glMultiDrawArrays is entered into a - display list, - the necessary array data (determined by the array pointers and - enables) is also - entered into the display list. Because the array pointers and - enables are client-side state, their values affect display lists - when the lists are created, not when the lists are executed. - - - Errors - - GL_INVALID_ENUM is generated if mode is not an accepted value. - - - GL_INVALID_VALUE is generated if primcount is negative. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an - enabled array and the buffer object's data store is currently mapped. - - - GL_INVALID_OPERATION is generated if glMultiDrawArrays is executed between - the execution of glBegin and the corresponding glEnd. - - - See Also - - glArrayElement, - glColorPointer, - glDrawElements, - glDrawRangeElements, - glEdgeFlagPointer, - glFogCoordPointer, - glGetPointerv, - glIndexPointer, - glInterleavedArrays, - glNormalPointer, - glSecondaryColorPointer, - glTexCoordPointer, - glVertexPointer - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glMultiDrawElements.xml b/Source/Bind/Specifications/Docs/GL2/glMultiDrawElements.xml deleted file mode 100644 index ca4ba67839..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glMultiDrawElements.xml +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glMultiDrawElements - 3G - - - 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, - GL_LINE_STRIP, - GL_LINE_LOOP, - GL_LINES, - GL_TRIANGLE_STRIP, - GL_TRIANGLE_FAN, - GL_TRIANGLES, - GL_QUAD_STRIP, - GL_QUADS, - and GL_POLYGON are accepted. - - - - - count - - - Points to an array of the elements counts. - - - - - type - - - Specifies the type of the values in indices. Must be one of - GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or - GL_UNSIGNED_INT. - - - - - indices - - - Specifies a pointer to the location where the indices are stored. - - - - - primcount - - - Specifies the size of the count array. - - - - - - Description - - glMultiDrawElements specifies multiple sets of geometric primitives with very few subroutine - calls. Instead of calling a GL function to pass each individual vertex, - normal, texture coordinate, edge flag, or color, you can prespecify - separate arrays of vertices, normals, and so on, and use them to construct a - sequence of primitives with a single call to glMultiDrawElements. - - - glMultiDrawElements is identical in operation to glDrawElements except that - primcount separate lists of elements are specified. - - - Vertex attributes that are modified by glMultiDrawElements have an - unspecified value after glMultiDrawElements returns. For example, if - GL_COLOR_ARRAY is enabled, the value of the current color is - undefined after glMultiDrawElements executes. Attributes that aren't - modified maintain their previous values. - - - Notes - - glMultiDrawElements is available only if the GL version is 1.4 or greater. - - - glMultiDrawElements is included in display lists. If glMultiDrawElements is entered into a - display list, - the necessary array data (determined by the array pointers and - enables) is also - entered into the display list. Because the array pointers and - enables are client-side state, their values affect display lists - when the lists are created, not when the lists are executed. - - - Errors - - GL_INVALID_ENUM is generated if mode is not an accepted value. - - - GL_INVALID_VALUE is generated if primcount is negative. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to an - enabled array or the element array and the buffer object's data store is currently mapped. - - - GL_INVALID_OPERATION is generated if glMultiDrawElements is executed between - the execution of glBegin and the corresponding glEnd. - - - See Also - - glArrayElement, - glColorPointer, - glDrawArrays, - glDrawRangeElements, - glEdgeFlagPointer, - glFogCoordPointer, - glGetPointerv, - glIndexPointer, - glInterleavedArrays, - glNormalPointer, - glSecondaryColorPointer, - glTexCoordPointer, - glVertexPointer - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glPixelStore.xml b/Source/Bind/Specifications/Docs/GL2/glPixelStore.xml deleted file mode 100644 index 3acce3b512..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glPixelStore.xml +++ /dev/null @@ -1,1490 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glPixelStore - 3G - - - 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, - GL_PACK_LSB_FIRST, - GL_PACK_ROW_LENGTH, - GL_PACK_IMAGE_HEIGHT, - GL_PACK_SKIP_PIXELS, - GL_PACK_SKIP_ROWS, - GL_PACK_SKIP_IMAGES, and - GL_PACK_ALIGNMENT. - Six more affect the unpacking of pixel data from memory: - GL_UNPACK_SWAP_BYTES, - GL_UNPACK_LSB_FIRST, - GL_UNPACK_ROW_LENGTH, - GL_UNPACK_IMAGE_HEIGHT, - GL_UNPACK_SKIP_PIXELS, - GL_UNPACK_SKIP_ROWS, - GL_UNPACK_SKIP_IMAGES, and - GL_UNPACK_ALIGNMENT. - - - - - param - - - Specifies the value that pname is set to. - - - - - - Description - - glPixelStore sets pixel storage modes that affect the operation of subsequent - glDrawPixels and glReadPixels as well as the unpacking of - polygon stipple patterns (see glPolygonStipple), bitmaps (see - glBitmap), texture patterns (see glTexImage1D, - glTexImage2D, glTexImage3D, glTexSubImage1D, - glTexSubImage2D, glTexSubImage3D). - Additionally, if the ARB_imaging extension is supported, pixel - storage modes affect convolution filters - (see glConvolutionFilter1D, glConvolutionFilter2D, and - glSeparableFilter2D, color table (see glColorTable, and - glColorSubTable, and unpacking histogram (See glHistogram), - and minmax (See glMinmax) data. - - - pname is a symbolic constant indicating the parameter to be set, and - param is the new value. Six of the twelve storage parameters affect - how pixel data is returned to client memory. - They are as follows: - - - - GL_PACK_SWAP_BYTES - - - If true, - byte ordering for multibyte color components, - depth components, - color indices, - or stencil indices - is reversed. - That is, - if a four-byte component consists of bytes - - - b - 0 - - , - - - b - 1 - - , - - - b - 2 - - , - - - b - 3 - - , - it is stored in memory as - - - b - 3 - - , - - - b - 2 - - , - - - b - 1 - - , - - - b - 0 - - - if GL_PACK_SWAP_BYTES is true. - GL_PACK_SWAP_BYTES has no effect on the memory order of components - within a pixel, - only on the order of bytes within components or indices. - For example, - the three components of a GL_RGB format pixel are always stored with - red first, - green second, - and blue third, - regardless of the value of GL_PACK_SWAP_BYTES. - - - - - GL_PACK_LSB_FIRST - - - If true, - bits are ordered within a byte from least significant to most significant; - otherwise, - the first bit in each byte is the most significant one. - This parameter is significant for bitmap data only. - - - - - GL_PACK_ROW_LENGTH - - - If greater than 0, - GL_PACK_ROW_LENGTH defines the number of pixels in a row. - If the first pixel of a row is placed at location - p - in memory, - then the location of the first pixel of the next row is obtained by skipping - - - - - - k - = - - - - - - n - - l - - - - - - - a - s - - - - - - - - s - - n - - l - - - a - - - - - - - - - - s - >= - a - - - - - s - < - a - - - - - - - - - - components or indices, - where - n - is the number of components or indices in a pixel, - l - is the number of pixels in a row - (GL_PACK_ROW_LENGTH if it is greater than 0, - the - width - argument to the pixel routine otherwise), - a - is the value of GL_PACK_ALIGNMENT, and - s - is the size, in bytes, of a single component - (if - - - - a - < - s - - , - then it is as if - - - - a - = - s - - ). - In the case of 1-bit values, - the location of the next row is obtained by skipping - - - - - - k - = - - 8 - - a - - - - - - n - - l - - - - - 8 - - a - - - - - - - - - - components or indices. - - - The word component in this description refers to the nonindex values - red, - green, - blue, - alpha, - and depth. - Storage format GL_RGB, - for example, - has three components per pixel: - first red, - then green, - and finally blue. - - - - - GL_PACK_IMAGE_HEIGHT - - - If greater than 0, - GL_PACK_IMAGE_HEIGHT defines the number of pixels in an image - three-dimensional texture volume, where ``image'' is defined by all pixels - sharing the same third dimension index. - If the first pixel of a row is placed at location - p - in memory, - then the location of the first pixel of the next row is obtained by skipping - - - - - - k - = - - - - - - n - - l - - h - - - - - - - a - s - - - - - - - - s - - n - - l - - h - - - a - - - - - - - - - - s - >= - a - - - - - s - < - a - - - - - - - - - - components or indices, where - n - is the number of components or indices - in a pixel, - l - is the number of pixels in a row - (GL_PACK_ROW_LENGTH if it is greater than 0, the - width - argument to glTexImage3D otherwise), - h - is the number of - rows in a pixel image (GL_PACK_IMAGE_HEIGHT if it is greater than - 0, the - height - argument to the glTexImage3D routine otherwise), - a - is the value of - GL_PACK_ALIGNMENT, and - s - is the size, in bytes, of a single - component (if - - - - a - < - s - - , - then it is as if - - - - a - = - s - - ). - - - The word component in this description refers to the nonindex values - red, - green, - blue, - alpha, - and depth. - Storage format GL_RGB, - for example, - has three components per pixel: - first red, - then green, - and finally blue. - - - - - GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, and GL_PACK_SKIP_IMAGES - - - These values are provided as a convenience to the programmer; - they provide no functionality that cannot be duplicated simply by - incrementing the pointer passed to glReadPixels. - Setting GL_PACK_SKIP_PIXELS to - i - is equivalent to incrementing - the pointer by - - - - i - - n - - - components or indices, - where - n - is the number of components or indices in each pixel. - Setting GL_PACK_SKIP_ROWS to - j - is equivalent to incrementing - the pointer by - - - - j - - m - - - components or indices, - where - m - is the number of components or indices per row, - as just computed in the GL_PACK_ROW_LENGTH section. - Setting GL_PACK_SKIP_IMAGES to - k - is equivalent to incrementing - the pointer by - - - - k - - p - - , - where - p - is the number of components or indices - per image, as computed in the GL_PACK_IMAGE_HEIGHT section. - - - - - GL_PACK_ALIGNMENT - - - Specifies the alignment requirements for the start of each pixel row in memory. - The allowable values are - 1 (byte-alignment), - 2 (rows aligned to even-numbered bytes), - 4 (word-alignment), and - 8 (rows start on double-word boundaries). - - - - - - The other six of the twelve storage parameters affect how pixel data is - read from client memory. - These values are significant for glDrawPixels, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glBitmap, and - glPolygonStipple. - - - Additionally, if the ARB_imaging extension is supported, - glColorTable, - glColorSubTable, - glConvolutionFilter1D, - glConvolutionFilter2D, and - glSeparableFilter2D. - They are as follows: - - - - GL_UNPACK_SWAP_BYTES - - - If true, - byte ordering for multibyte color components, - depth components, - color indices, - or stencil indices - is reversed. - That is, - if a four-byte component consists of bytes - - - b - 0 - - , - - - b - 1 - - , - - - b - 2 - - , - - - b - 3 - - , - it is taken from memory as - - - b - 3 - - , - - - b - 2 - - , - - - b - 1 - - , - - - b - 0 - - - if GL_UNPACK_SWAP_BYTES is true. - GL_UNPACK_SWAP_BYTES has no effect on the memory order of components - within a pixel, - only on the order of bytes within components or indices. - For example, - the three components of a GL_RGB format pixel are always stored with - red first, - green second, - and blue third, - regardless of the value of GL_UNPACK_SWAP_BYTES. - - - - - GL_UNPACK_LSB_FIRST - - - If true, - bits are ordered within a byte from least significant to most significant; - otherwise, - the first bit in each byte is the most significant one. - This is relevant only for bitmap data. - - - - - GL_UNPACK_ROW_LENGTH - - - If greater than 0, - GL_UNPACK_ROW_LENGTH defines the number of pixels in a row. - If the first pixel of a row is placed at location - p - in memory, - then the location of the first pixel of the next row is obtained by skipping - - - - - - k - = - - - - - - n - - l - - - - - - - a - s - - - - - - - - s - - n - - l - - - a - - - - - - - - - - s - >= - a - - - - - s - < - a - - - - - - - - - - components or indices, - where - n - is the number of components or indices in a pixel, - l - is the number of pixels in a row - (GL_UNPACK_ROW_LENGTH if it is greater than 0, - the - width - argument to the pixel routine otherwise), - a - is the value of GL_UNPACK_ALIGNMENT, and - s - is the size, in bytes, of a single component - (if - - - - a - < - s - - , - then it is as if - - - - a - = - s - - ). - In the case of 1-bit values, - the location of the next row is obtained by skipping - - - - - - k - = - - 8 - - a - - - - - - n - - l - - - - - 8 - - a - - - - - - - - - - components or indices. - - - The word component in this description refers to the nonindex values - red, - green, - blue, - alpha, - and depth. - Storage format GL_RGB, - for example, - has three components per pixel: - first red, - then green, - and finally blue. - - - - - GL_UNPACK_IMAGE_HEIGHT - - - If greater than 0, - GL_UNPACK_IMAGE_HEIGHT defines the number of pixels in an image of - a three-dimensional texture volume. Where ``image'' is defined by all - pixel sharing the same third dimension index. - If the first pixel of a row is placed at location - p - in memory, - then the location of the first pixel of the next row is obtained by skipping - - - - - - k - = - - - - - - n - - l - - h - - - - - - - a - s - - - - - - - - s - - n - - l - - h - - - a - - - - - - - - - - s - >= - a - - - - - s - < - a - - - - - - - - - - components or indices, - where - n - is the number of components or indices in a pixel, - l - is the number of pixels in a row - (GL_UNPACK_ROW_LENGTH if it is greater than 0, - the - width - argument to glTexImage3D otherwise), - h - is the number of rows in an image (GL_UNPACK_IMAGE_HEIGHT if - it is greater than 0, the - height - argument to glTexImage3D otherwise), - a - is the value of GL_UNPACK_ALIGNMENT, and - s - is the size, in bytes, of a single component - (if - - - - a - < - s - - , - then it is as if - - - - a - = - s - - ). - - - The word component in this description refers to the nonindex values - red, - green, - blue, - alpha, - and depth. - Storage format GL_RGB, - for example, - has three components per pixel: - first red, - then green, - and finally blue. - - - - - GL_UNPACK_SKIP_PIXELS and GL_UNPACK_SKIP_ROWS - - - These values are provided as a convenience to the programmer; - they provide no functionality that cannot be duplicated by - incrementing the pointer passed to - glDrawPixels, - glTexImage1D, - glTexImage2D, - glTexSubImage1D, - glTexSubImage2D, - glBitmap, or - glPolygonStipple. - Setting GL_UNPACK_SKIP_PIXELS to - i - is equivalent to incrementing - the pointer by - - - - i - - n - - - components or indices, - where - n - is the number of components or indices in each pixel. - Setting GL_UNPACK_SKIP_ROWS to - j - is equivalent to incrementing - the pointer by - - - - j - - k - - - components or indices, - where - k - is the number of components or indices per row, - as just computed in the GL_UNPACK_ROW_LENGTH section. - - - - - GL_UNPACK_ALIGNMENT - - - Specifies the alignment requirements for the start of each pixel row in memory. - The allowable values are - 1 (byte-alignment), - 2 (rows aligned to even-numbered bytes), - 4 (word-alignment), and - 8 (rows start on double-word boundaries). - - - - - - The following table gives the type, - initial value, - and range of valid values for each storage parameter - that can be set with glPixelStore. - - - - - - - - - - - - - pname - - - Type - - - Initial Value - - - Valid Range - - - - - - - GL_PACK_SWAP_BYTES - - - boolean - - - false - - - true or false - - - - - GL_PACK_LSB_FIRST - - - boolean - - - false - - - true or false - - - - - GL_PACK_ROW_LENGTH - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_PACK_IMAGE_HEIGHT - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_PACK_SKIP_ROWS - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_PACK_SKIP_PIXELS - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_PACK_SKIP_IMAGES - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_PACK_ALIGNMENT - - - integer - - - 4 - - - 1, 2, 4, or 8 - - - - - GL_UNPACK_SWAP_BYTES - - - boolean - - - false - - - true or false - - - - - GL_UNPACK_LSB_FIRST - - - boolean - - - false - - - true or false - - - - - GL_UNPACK_ROW_LENGTH - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_UNPACK_IMAGE_HEIGHT - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_UNPACK_SKIP_ROWS - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_UNPACK_SKIP_PIXELS - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_UNPACK_SKIP_IMAGES - - - integer - - - 0 - - - - - - 0 - - - - - - - - GL_UNPACK_ALIGNMENT - - - integer - - - 4 - - - 1, 2, 4, or 8 - - - - - - - glPixelStoref can be used to set any pixel store parameter. - If the parameter type is boolean, - then if param is 0, - the parameter is false; - otherwise it is set to true. - If pname is a integer type parameter, - param is rounded to the nearest integer. - - - Likewise, glPixelStorei can also be used to set any of the - pixel store parameters. - Boolean parameters are set to false if param is 0 and true otherwise. - - - Notes - - The pixel storage modes in effect when - glDrawPixels, - glReadPixels, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glBitmap, - or glPolygonStipple is placed in a display list control the interpretation - of memory data. - Likewise, if the ARB_imaging extension is supported, the pixel - storage modes in effect when - glColorTable, - glColorSubTable, - glConvolutionFilter1D, - glConvolutionFilter2D, of - glSeparableFilter2D is placed in a display list control the - interpretation of memory data. - The pixel storage modes in effect when a display list is executed are - not significant. - - - Pixel storage modes are client state and must be pushed and restored - using - glPushClientAttrib and glPopClientAttrib. - - - Errors - - GL_INVALID_ENUM is generated if pname is not an accepted value. - - - GL_INVALID_VALUE is generated if a negative row length, - pixel skip, - or row skip value is specified, - or if alignment is specified as other than 1, 2, 4, or 8. - - - GL_INVALID_OPERATION is generated if glPixelStore - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_PACK_SWAP_BYTES - - - glGet with argument GL_PACK_LSB_FIRST - - - glGet with argument GL_PACK_ROW_LENGTH - - - glGet with argument GL_PACK_IMAGE_HEIGHT - - - glGet with argument GL_PACK_SKIP_ROWS - - - glGet with argument GL_PACK_SKIP_PIXELS - - - glGet with argument GL_PACK_SKIP_IMAGES - - - glGet with argument GL_PACK_ALIGNMENT - - - glGet with argument GL_UNPACK_SWAP_BYTES - - - glGet with argument GL_UNPACK_LSB_FIRST - - - glGet with argument GL_UNPACK_ROW_LENGTH - - - glGet with argument GL_UNPACK_IMAGE_HEIGHT - - - glGet with argument GL_UNPACK_SKIP_ROWS - - - glGet with argument GL_UNPACK_SKIP_PIXELS - - - glGet with argument GL_UNPACK_SKIP_IMAGES - - - glGet with argument GL_UNPACK_ALIGNMENT - - - See Also - - glBitmap, - glColorTable, - glColorSubTable, - glConvolutionFilter1D, - glConvolutionFilter2D, - glSeparableFilter2D, - glDrawPixels, - glHistogram, - glMinmax, - glPixelMap, - glPixelTransfer, - glPixelZoom, - glPolygonStipple, - glPushClientAttrib, - glReadPixels, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glPointParameter.xml b/Source/Bind/Specifications/Docs/GL2/glPointParameter.xml deleted file mode 100644 index f342a4a6aa..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glPointParameter.xml +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glPointParameter - 3G - - - 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, - 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 - - - Specifies a point parameter. - GL_POINT_SIZE_MIN, - GL_POINT_SIZE_MAX, - GL_POINT_DISTANCE_ATTENUATION, - GL_POINT_FADE_THRESHOLD_SIZE, and - GL_POINT_SPRITE_COORD_ORIGIN - are accepted. - - - - - params - - - Specifies the value or values to be assigned to pname. - GL_POINT_DISTANCE_ATTENUATION requires an array of three values. - All other parameters accept an array containing only a single value. - - - - - - Description - - The following values are accepted for pname: - - - - GL_POINT_SIZE_MIN - - - - - params is a single floating-point value that specifies the minimum point size. The default value is 0.0. - - - - - GL_POINT_SIZE_MAX - - - - - params is a single floating-point value that specifies the maximum point size. The default value is 1.0. - - - - - GL_POINT_FADE_THRESHOLD_SIZE - - - - - params is a single floating-point value that specifies the threshold value - to which point sizes are clamped if they exceed the specified value. The - default value is 1.0. - - - - - GL_POINT_DISTANCE_ATTENUATION - - - - - params is an array of three floating-point values that specify the - coefficients used for scaling the computed point size. The default values - are - - - - 1 - 0 - 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. - The default value is GL_UPPER_LEFT. - - - - - - Notes - - glPointParameter is available only if the GL version is 1.4 or greater. - - - GL_POINT_SPRITE_COORD_ORIGIN is available only if the GL version is 2.0 or greater. - - - Errors - - GL_INVALID_VALUE is generated If the value specified for - GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, or - GL_POINT_FADE_THRESHOLD_SIZE is less than zero. - - - GL_INVALID_ENUM is generated If the value specified for - GL_POINT_SPRITE_COORD_ORIGIN is not GL_LOWER_LEFT or GL_UPPER_LEFT. - - - If the value for GL_POINT_SIZE_MIN is greater than - GL_POINT_SIZE_MAX, the point size after clamping is undefined, but no - error is generated. - - - - - Associated Gets - - glGet with argument GL_POINT_SIZE_MIN - - - glGet with argument GL_POINT_SIZE_MAX - - - glGet with argument GL_POINT_FADE_THRESHOLD_SIZE - - - glGet with argument GL_POINT_DISTANCE_ATTENUATION - - - glGet with argument GL_POINT_SPRITE_COORD_ORIGIN - - - See Also - - glPointSize - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glPointSize.xml b/Source/Bind/Specifications/Docs/GL2/glPointSize.xml deleted file mode 100644 index 42ad2c98c5..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glPointSize.xml +++ /dev/null @@ -1,403 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glPointSize - 3G - - - 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 - - glPointSize specifies the rasterized diameter of both aliased and antialiased - points. Using a point size other than 1 has different effects, depending - on whether point antialiasing is enabled. To enable and disable point - antialiasing, call glEnable and glDisable with argument - GL_POINT_SMOOTH. Point antialiasing is initially disabled. - - - The specified point size is multiplied with a distance attenuation factor - and clamped to the specified point size range, and further clamped to the - implementation-dependent point size range to produce the derived point size - using - - - - - - pointSize - = - - clamp - - - - size - × - - - - - 1 - - - a - + - - b - × - d - - + - - c - × - - d - 2 - - - - - - - - - - - - - - - - - where - d - is the eye-coordinate distance from the eye to the vertex, and - a, - b, - and - c - are the distance attenuation coefficients (see - glPointParameter). - - - If multisampling is disabled, the computed point size is used as the - point's width. - - - If multisampling is enabled, the point may be faded by modifying the point - alpha value (see glSampleCoverage) instead of allowing the point width - to go below a given threshold (see glPointParameter). In this case, - the width is further modified in the following manner: - - - - - - pointWidth - = - - - - - pointSize - - - threshold - - - - - - - pointSize - >= - threshold - - - - otherwise - - - - - - - - - The point alpha value is modified by computing: - - - - - - pointAlpha - = - - - - - 1 - - - - - pointSize - threshold - - - 2 - - - - - - - - pointSize - >= - threshold - - - - otherwise - - - - - - - - - If point antialiasing is disabled, the actual size is determined by - rounding the supplied size to the nearest integer. (If the rounding - results in the value 0, it is as if the point size were 1.) If the rounded - size is odd, then the center point - ( - - x - , - - - y - ) - of the pixel fragment - that represents the point is computed as - - - - - - - - x - w - - - + - .5 - - - - y - w - - - + - .5 - - - - - - where - w - subscripts indicate window coordinates. All pixels that lie - within the square grid of the rounded size centered at - ( - - x - , - - - y - ) - make - up the fragment. If the size is even, the center point is - - - - - - - - x - w - - + - .5 - - - - - y - w - - + - .5 - - - - - - - and the rasterized fragment's centers are the half-integer window - coordinates within the square of the rounded size centered at - - - - x - y - - . - All pixel fragments produced in rasterizing a nonantialiased point are - assigned the same associated data, that of the vertex corresponding to the - point. - - - If antialiasing is enabled, then point rasterization produces a fragment - for each pixel square that intersects the region lying within the circle - having diameter equal to the current point size and centered at the point's - - - - x - w - - y - w - - - . - The coverage value for each fragment is the - window coordinate area of the intersection of the circular region with the - corresponding pixel square. This value is saved and used in the final - rasterization step. The data associated with each fragment is the data - associated with the point being rasterized. - - - Not all sizes are supported when point antialiasing is enabled. If an - unsupported size is requested, the nearest supported size is used. Only - size 1 is guaranteed to be supported; others depend on the implementation. - To query the range of supported sizes and the size difference between - supported sizes within the range, call glGet with arguments - GL_SMOOTH_POINT_SIZE_RANGE and GL_SMOOTH_POINT_SIZE_GRANULARITY. - For aliased points, query the supported ranges and granularity with - glGet with arguments GL_ALIASED_POINT_SIZE_RANGE. - - - Notes - - The point size specified by glPointSize is always returned when - GL_POINT_SIZE is queried. Clamping and rounding for aliased and - antialiased points have no effect on the specified value. - - - A non-antialiased point size may be clamped to an implementation-dependent - maximum. Although this maximum cannot be queried, it must be no less than - the maximum value for antialiased points, rounded to the nearest integer - value. - - - GL_POINT_SIZE_RANGE and GL_POINT_SIZE_GRANULARITY are - deprecated in GL versions 1.2 and greater. Their functionality has been - replaced by GL_SMOOTH_POINT_SIZE_RANGE and - GL_SMOOTH_POINT_SIZE_GRANULARITY. - - - Errors - - GL_INVALID_VALUE is generated if size is less than or equal to 0. - - - GL_INVALID_OPERATION is generated if glPointSize - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_ALIASED_POINT_SIZE_RANGE - - - glGet with argument GL_POINT_SIZE - - - glGet with argument GL_POINT_SIZE_MIN - - - glGet with argument GL_POINT_SIZE_MAX - - - glGet with argument GL_POINT_FADE_THRESHOLD_SIZE - - - glGet with argument GL_POINT_DISTANCE_ATTENUATION - - - glGet with argument GL_SMOOTH_POINT_SIZE_RANGE - - - glGet with argument GL_SMOOTH_POINT_SIZE_GRANULARITY - - - glIsEnabled with argument GL_POINT_SMOOTH - - - See Also - - glEnable, - glPointParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glPolygonMode.xml b/Source/Bind/Specifications/Docs/GL2/glPolygonMode.xml deleted file mode 100644 index 71613136ea..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glPolygonMode.xml +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glPolygonMode - 3G - - - 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, - GL_BACK for back-facing polygons, - or GL_FRONT_AND_BACK for front- and back-facing polygons. - - - - - mode - - - Specifies how polygons will be rasterized. - Accepted values are - GL_POINT, - GL_LINE, and - GL_FILL. - The initial value is GL_FILL for both front- and back-facing polygons. - - - - - - Description - - glPolygonMode controls the interpretation of polygons for rasterization. - face describes which polygons mode applies to: - front-facing polygons (GL_FRONT), - back-facing polygons (GL_BACK), - or both (GL_FRONT_AND_BACK). - The polygon mode affects only the final rasterization of polygons. - In particular, - a polygon's vertices are lit and - the polygon is clipped and possibly culled before these modes are applied. - - - Three modes are defined and can be specified in mode: - - - - GL_POINT - - - Polygon vertices that are marked as the start of a boundary edge - are drawn as points. - Point attributes such as - GL_POINT_SIZE and - GL_POINT_SMOOTH control - the rasterization of the points. - Polygon rasterization attributes other than GL_POLYGON_MODE have no effect. - - - - - GL_LINE - - - Boundary edges of the polygon are drawn as line segments. - They are treated as connected line segments for line stippling; - the line stipple counter and pattern are not reset between segments - (see glLineStipple). - Line attributes such as - GL_LINE_WIDTH and - GL_LINE_SMOOTH control - the rasterization of the lines. - Polygon rasterization attributes other than GL_POLYGON_MODE have no effect. - - - - - GL_FILL - - - The interior of the polygon is filled. - Polygon attributes such as - GL_POLYGON_STIPPLE and - GL_POLYGON_SMOOTH control the rasterization of the polygon. - - - - - - Examples - - To draw a surface with filled back-facing polygons - and outlined front-facing polygons, - call - -glPolygonMode(GL_FRONT, GL_LINE); - - - - Notes - - Vertices are marked as boundary or nonboundary with an edge flag. - Edge flags are generated internally by the GL when it decomposes - polygons; they can be set explicitly using glEdgeFlag. - - - Errors - - GL_INVALID_ENUM is generated if either face or mode is not - an accepted value. - - - GL_INVALID_OPERATION is generated if glPolygonMode - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_POLYGON_MODE - - - See Also - - glBegin, - glEdgeFlag, - glLineStipple, - glLineWidth, - glPointSize, - glPolygonStipple - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glPolygonOffset.xml b/Source/Bind/Specifications/Docs/GL2/glPolygonOffset.xml deleted file mode 100644 index d43edf8410..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glPolygonOffset.xml +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glPolygonOffset - 3G - - - 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 - - - Is multiplied by an implementation-specific value to - create a constant depth offset. The initial value is 0. - - - - - - Description - - When GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, or - GL_POLYGON_OFFSET_POINT is enabled, each - fragment's depth value will be offset after it is interpolated - from the depth values of the appropriate vertices. - The value of the offset is - - - - - factor - × - DZ - - + - - r - × - units - - - , - where - - - DZ - - is a measurement of the change in depth relative to the screen - area of the polygon, and - r - is the smallest value that is guaranteed to - produce a resolvable offset for a given implementation. - The offset is added before the depth test is performed and before - the value is written into the depth buffer. - - - glPolygonOffset is useful for rendering hidden-line images, for applying decals - to surfaces, and for rendering solids with highlighted edges. - - - Notes - - glPolygonOffset is available only if the GL version is 1.1 or greater. - - - glPolygonOffset has no effect on depth coordinates placed in the - feedback buffer. - - - glPolygonOffset has no effect on selection. - - - Errors - - GL_INVALID_OPERATION is generated if glPolygonOffset is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glIsEnabled with argument - GL_POLYGON_OFFSET_FILL, - GL_POLYGON_OFFSET_LINE, - or GL_POLYGON_OFFSET_POINT. - - - glGet with argument GL_POLYGON_OFFSET_FACTOR or - GL_POLYGON_OFFSET_UNITS. - - - See Also - - glDepthFunc, - glEnable, - glGet, - glIsEnabled - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glReadBuffer.xml b/Source/Bind/Specifications/Docs/GL2/glReadBuffer.xml deleted file mode 100644 index c867bef261..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glReadBuffer.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glReadBuffer - 3G - - - 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, - GL_FRONT_RIGHT, - GL_BACK_LEFT, - GL_BACK_RIGHT, - GL_FRONT, - GL_BACK, - GL_LEFT, - GL_RIGHT, and - GL_AUXi, - where i is between 0 and the value of GL_AUX_BUFFERS minus 1. - - - - - - Description - - glReadBuffer specifies a color buffer as the source for subsequent - glReadPixels, glCopyTexImage1D, glCopyTexImage2D, - glCopyTexSubImage1D, glCopyTexSubImage2D, - glCopyTexSubImage3D, and - glCopyPixels commands. - mode accepts one of twelve or more predefined values. - (GL_AUX0 through GL_AUX3 are always defined.) - In a fully configured system, - GL_FRONT, - GL_LEFT, and - GL_FRONT_LEFT all name the front left buffer, - GL_FRONT_RIGHT and - GL_RIGHT name the front right buffer, and - GL_BACK_LEFT and - GL_BACK name the back left buffer. - - - Nonstereo double-buffered configurations have only a front left and a - back left buffer. - Single-buffered configurations have a front left and a front right - buffer if stereo, and only a front left buffer if nonstereo. - It is an error to specify a nonexistent buffer to glReadBuffer. - - - mode is initially GL_FRONT in single-buffered configurations - and GL_BACK in double-buffered configurations. - - - Errors - - GL_INVALID_ENUM is generated if mode is not one of the twelve - (or more) accepted values. - - - GL_INVALID_OPERATION is generated if mode specifies a buffer - that does not exist. - - - GL_INVALID_OPERATION is generated if glReadBuffer - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_READ_BUFFER - - - See Also - - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawBuffer, - glReadPixels - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glReadPixels.xml b/Source/Bind/Specifications/Docs/GL2/glReadPixels.xml deleted file mode 100644 index 296244f2be..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glReadPixels.xml +++ /dev/null @@ -1,859 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glReadPixels - 3G - - - 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. - - - - - width - height - - - Specify the dimensions of the pixel rectangle. - width and height of one correspond to a single pixel. - - - - - format - - - Specifies the format of the pixel data. - The following symbolic values are accepted: - GL_COLOR_INDEX, - GL_STENCIL_INDEX, - GL_DEPTH_COMPONENT, - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, and - GL_LUMINANCE_ALPHA. - - - - - type - - - Specifies the data type of the pixel data. - Must be one of - GL_UNSIGNED_BYTE, - GL_BYTE, - GL_BITMAP, - GL_UNSIGNED_SHORT, - GL_SHORT, - GL_UNSIGNED_INT, - GL_INT, - GL_FLOAT, - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV. - - - - - data - - - Returns the pixel data. - - - - - - Description - - glReadPixels returns pixel data from the frame buffer, - starting with the pixel whose lower left corner - is at location (x, y), - into client memory starting at location data. - Several parameters control the processing of the pixel data before - it is placed into client memory. - These parameters are set with three commands: - glPixelStore, - glPixelTransfer, and - glPixelMap. - This reference page describes the effects on glReadPixels of most, - but not all of the parameters specified by these three commands. - - - If a non-zero named buffer object is bound to the GL_PIXEL_PACK_BUFFER target - (see glBindBuffer) while a block of pixels is - requested, data is treated as a byte offset into the buffer object's data store - rather than a pointer to client memory. - - - When the ARB_imaging extension is supported, the pixel data may - be processed by additional operations including color table lookup, - color matrix transformations, convolutions, histograms, and minimum and - maximum pixel value computations. - - - glReadPixels returns values from each pixel with lower left corner at - - - - - x - + - i - - - y - + - j - - - - for - - - - 0 - <= - i - < - width - - - and - - - - 0 - <= - j - < - height - - . - This pixel is said to be the - ith - pixel in the - jth - row. - Pixels are returned in row order from the lowest to the highest row, - left to right in each row. - - - format specifies the format for the returned pixel values; - accepted values are: - - - - GL_COLOR_INDEX - - - Color indices are read from the color buffer - selected by glReadBuffer. - Each index is converted to fixed point, - shifted left or right depending on the value and sign of GL_INDEX_SHIFT, - and added to GL_INDEX_OFFSET. - If GL_MAP_COLOR is GL_TRUE, - indices are replaced by their mappings in the table GL_PIXEL_MAP_I_TO_I. - - - - - GL_STENCIL_INDEX - - - Stencil values are read from the stencil buffer. - Each index is converted to fixed point, - shifted left or right depending on the value and sign of GL_INDEX_SHIFT, - and added to GL_INDEX_OFFSET. - If GL_MAP_STENCIL is GL_TRUE, - indices are replaced by their mappings in the table GL_PIXEL_MAP_S_TO_S. - - - - - GL_DEPTH_COMPONENT - - - Depth values are read from the depth buffer. - Each component is converted to floating point such that the minimum depth - value maps to 0 and the maximum value maps to 1. - Each component is then multiplied by GL_DEPTH_SCALE, - added to GL_DEPTH_BIAS, - and finally clamped to the range - - - - 0 - 1 - - . - - - - - GL_RED - - - - - GL_GREEN - - - - - GL_BLUE - - - - - GL_ALPHA - - - - - GL_RGB - - - - - GL_BGR - - - - - GL_RGBA - - - - - GL_BGRA - - - - - GL_LUMINANCE - - - - - GL_LUMINANCE_ALPHA - - - Processing differs depending on whether color buffers store color indices - or RGBA color components. - If color indices are stored, - they are read from the color buffer selected by glReadBuffer. - Each index is converted to fixed point, - shifted left or right depending on the value and sign of GL_INDEX_SHIFT, - and added to GL_INDEX_OFFSET. - Indices are then replaced by the red, - green, - blue, - and alpha values obtained by indexing the tables - GL_PIXEL_MAP_I_TO_R, - GL_PIXEL_MAP_I_TO_G, - GL_PIXEL_MAP_I_TO_B, and - GL_PIXEL_MAP_I_TO_A. - Each table must be of size - - - 2 - n - - , - but - n - may be different for - different tables. - Before an index is used to look up a value in a table of - size - - - 2 - n - - , - it must be masked against - - - - 2 - n - - - - 1 - - . - - - If RGBA color components are stored in the color buffers, - they are read from the color buffer selected by glReadBuffer. - Each color component is converted to floating point such that zero intensity - maps to 0.0 and full intensity maps to 1.0. - Each component is then multiplied by GL_c_SCALE and - added to GL_c_BIAS, - where c is RED, GREEN, BLUE, or ALPHA. - Finally, - if GL_MAP_COLOR is GL_TRUE, - each component is clamped to the range - - - - 0 - 1 - - , - scaled to the size of its corresponding table, and is then - replaced by its mapping in the table - GL_PIXEL_MAP_c_TO_c, - where c is R, G, B, or A. - - - Unneeded data is then discarded. - For example, - GL_RED discards the green, blue, and alpha components, - while GL_RGB discards only the alpha component. - GL_LUMINANCE computes a single-component value as the sum of - the red, - green, - and blue components, - and GL_LUMINANCE_ALPHA does the same, - while keeping alpha as a second value. - The final values are clamped to the range - - - - 0 - 1 - - . - - - - - - The shift, - scale, - bias, - and lookup factors just described are all specified by - glPixelTransfer. - The lookup table contents themselves are specified by glPixelMap. - - - Finally, the indices or components - are converted to the proper format, - as specified by type. - If format is GL_COLOR_INDEX or GL_STENCIL_INDEX - and type is not GL_FLOAT, - each index is masked with the mask value given in the following table. - If type is GL_FLOAT, then each integer index is converted to - single-precision floating-point format. - - - If format is - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, or - GL_LUMINANCE_ALPHA and type is not GL_FLOAT, - each component is multiplied by the multiplier shown in the following table. - If type is GL_FLOAT, then each component is passed as is - (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 - - - Component Conversion - - - - - - - GL_UNSIGNED_BYTE - - - - - - 2 - 8 - - - - 1 - - - - - - - - - - 2 - 8 - - - - 1 - - - - c - - - - - - - GL_BYTE - - - - - - 2 - 7 - - - - 1 - - - - - - - - - - - - 2 - 8 - - - - 1 - - - - c - - - 1 - - - 2 - - - - - - - GL_BITMAP - - - - - 1 - - - - - - 1 - - - - - - GL_UNSIGNED_SHORT - - - - - - 2 - 16 - - - - 1 - - - - - - - - - - 2 - 16 - - - - 1 - - - - c - - - - - - - GL_SHORT - - - - - - 2 - 15 - - - - 1 - - - - - - - - - - - - 2 - 16 - - - - 1 - - - - c - - - 1 - - - 2 - - - - - - - GL_UNSIGNED_INT - - - - - - 2 - 32 - - - - 1 - - - - - - - - - - 2 - 32 - - - - 1 - - - - c - - - - - - - GL_INT - - - - - - 2 - 31 - - - - 1 - - - - - - - - - - - - 2 - 32 - - - - 1 - - - - c - - - 1 - - - 2 - - - - - - - GL_FLOAT - - - none - - - c - - - - - - - Return values are placed in memory as follows. - If format is - GL_COLOR_INDEX, - GL_STENCIL_INDEX, - GL_DEPTH_COMPONENT, - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, or - GL_LUMINANCE, - a single value is returned and the data for the - ith - pixel in the - jth - row - is placed in location - - - - - j - - - width - + - i - - . - GL_RGB and GL_BGR return three values, - GL_RGBA and GL_BGRA return four values, - and GL_LUMINANCE_ALPHA returns two values for each pixel, - with all values corresponding to a single pixel occupying contiguous space - in data. - Storage parameters set by glPixelStore, - such as GL_PACK_LSB_FIRST and GL_PACK_SWAP_BYTES, - affect the way that data is written into memory. - See glPixelStore for a description. - - - Notes - - Values for pixels that lie outside the window - connected to the current GL context are undefined. - - - If an error is generated, - no change is made to the contents of data. - - - Errors - - GL_INVALID_ENUM is generated if format or type is not an - accepted value. - - - GL_INVALID_ENUM is generated if type is GL_BITMAP and format is - not GL_COLOR_INDEX or GL_STENCIL_INDEX. - - - GL_INVALID_VALUE is generated if either width or height is negative. - - - GL_INVALID_OPERATION is generated if format is GL_COLOR_INDEX - and the color buffers store RGBA color components. - - - GL_INVALID_OPERATION is generated if format is GL_STENCIL_INDEX - and there is no stencil buffer. - - - GL_INVALID_OPERATION is generated if format is GL_DEPTH_COMPONENT - and there is no depth buffer. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, or - GL_UNSIGNED_SHORT_5_6_5_REV - and format is not GL_RGB. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV - and format is neither GL_RGBA nor GL_BGRA. - - - The formats GL_BGR, and GL_BGRA and types - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV are available only if the GL version - is 1.2 or greater. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - 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 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 glReadPixels - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_INDEX_MODE - - - glGet with argument GL_PIXEL_PACK_BUFFER_BINDING - - - See Also - - glCopyPixels, - glDrawPixels, - glPixelMap, - glPixelStore, - glPixelTransfer, - glReadBuffer - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glSampleCoverage.xml b/Source/Bind/Specifications/Docs/GL2/glSampleCoverage.xml deleted file mode 100644 index f79e44b1d8..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glSampleCoverage.xml +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glSampleCoverage - 3G - - - 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 - - - - 0 - 1 - - . - The initial value is 1.0. - - - - - invert - - - Specify a single boolean value representing if the coverage masks should be - inverted. GL_TRUE and GL_FALSE are accepted. The initial value - is GL_FALSE. - - - - - - Description - - Multisampling samples a pixel multiple times at various - implementation-dependent subpixel locations to generate antialiasing - effects. Multisampling transparently antialiases points, lines, polygons, - bitmaps, and images if it is enabled. - - - value is used in constructing a temporary mask used in determining which - samples will be used in resolving the final fragment color. This mask is - bitwise-anded with the coverage mask generated from the multisampling - computation. If the invert flag is set, the temporary mask is inverted - (all bits flipped) and then the bitwise-and is computed. - - - If an implementation does not have any multisample buffers available, or - multisampling is disabled, rasterization occurs with only a single sample - computing a pixel's final RGB color. - - - Provided an implementation supports multisample buffers, and multisampling - is enabled, then a pixel's final color is generated by combining several - samples per pixel. Each sample contains color, depth, and stencil - information, allowing those operations to be performed on each sample. - - - Notes - - glSampleCoverage is available only if the GL version is 1.3 or greater. - - - Errors - - GL_INVALID_OPERATION is generated if glSampleCoverage is executed between the - execution of glBegin and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_SAMPLE_COVERAGE_VALUE - - - glGet with argument GL_SAMPLE_COVERAGE_INVERT - - - glIsEnabled with argument GL_MULTISAMPLE - - - glIsEnabled with argument GL_SAMPLE_ALPHA_TO_COVERAGE - - - glIsEnabled with argument GL_SAMPLE_ALPHA_TO_ONE - - - glIsEnabled with argument GL_SAMPLE_COVERAGE - - - See Also - - glEnable, - glPushAttrib - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glScissor.xml b/Source/Bind/Specifications/Docs/GL2/glScissor.xml deleted file mode 100644 index ee4d528050..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glScissor.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glScissor - 3G - - - 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 - - - Specify the width and height of the scissor box. - When a GL context is first attached to a window, - width and height are set to the dimensions of that - window. - - - - - - Description - - glScissor defines a rectangle, called the scissor box, - in window coordinates. - The first two arguments, - x and y, - specify the lower left corner of the box. - width and height specify the width and height of the box. - - - To enable and disable the scissor test, call - glEnable and glDisable with argument - GL_SCISSOR_TEST. The test is initially disabled. - While the test is enabled, only pixels that lie within the scissor box - can be modified by drawing commands. - Window coordinates have integer values at the shared corners of - frame buffer pixels. - glScissor(0,0,1,1) allows modification of only the lower left - pixel in the window, and glScissor(0,0,0,0) doesn't allow - modification of any pixels in the window. - - - When the scissor test is disabled, - it is as though the scissor box includes the entire window. - - - Errors - - GL_INVALID_VALUE is generated if either width or height is negative. - - - GL_INVALID_OPERATION is generated if glScissor - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_SCISSOR_BOX - - - glIsEnabled with argument GL_SCISSOR_TEST - - - See Also - - glEnable, - glViewport - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glShaderSource.xml b/Source/Bind/Specifications/Docs/GL2/glShaderSource.xml deleted file mode 100644 index 740d3c9b9f..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glShaderSource.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - glShaderSource - 3G - - - 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 - 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 - glShaderSource sets the source code - in shader to the source code in the array - of strings specified by string. Any - source code previously stored in the shader object is completely - replaced. The number of strings in the array is specified by - count. If length - is NULL, each string is assumed to be null - terminated. If length is a value other - than NULL, it points to an array containing - a string length for each of the corresponding elements of - string. Each element in the - length array may contain the length of - the corresponding string (the null character is not counted as - part of the string length) or a value less than 0 to indicate - that the string is null terminated. The source code strings are - not scanned or parsed at this time; they are simply copied into - the specified shader object. - - Notes - glShaderSource is available only if - the GL version is 2.0 or greater. - - OpenGL copies the shader source code strings when - glShaderSource is called, so an application - may free its copy of the source code strings immediately after - the function returns. - - Errors - GL_INVALID_VALUE is generated if - shader is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - shader is not a shader object. - - GL_INVALID_VALUE is generated if - count is less than 0. - - GL_INVALID_OPERATION is generated if - glShaderSource is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetShader - with arguments shader and - GL_SHADER_SOURCE_LENGTH - - glGetShaderSource - with argument shader - - glIsShader - - See Also - glCompileShader, - glCreateShader, - glDeleteShader - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glStencilFunc.xml b/Source/Bind/Specifications/Docs/GL2/glStencilFunc.xml deleted file mode 100644 index 467b6f2f47..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glStencilFunc.xml +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glStencilFunc - 3G - - - 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, - GL_LESS, - GL_LEQUAL, - GL_GREATER, - GL_GEQUAL, - GL_EQUAL, - GL_NOTEQUAL, and - GL_ALWAYS. The initial value is GL_ALWAYS. - - - - - ref - - - Specifies the reference value for the stencil test. - ref is clamped to the range - - - - 0 - - 2 - n - - - - 1 - - - , - where - n - is the number of bitplanes in the stencil buffer. The - initial value is 0. - - - - - mask - - - Specifies a mask that is ANDed with both the reference value - and the stored stencil value when the test is done. The initial value - is all 1's. - - - - - - Description - - Stenciling, - like depth-buffering, - enables and disables drawing on a per-pixel basis. - Stencil planes are first drawn into using GL drawing primitives, then - geometry and images are rendered using the stencil planes to mask out - portions of the screen. - Stenciling is typically used in multipass rendering algorithms - to achieve special effects, - such as decals, - outlining, - and constructive solid geometry rendering. - - - The stencil test conditionally eliminates a pixel based on the outcome - of a comparison between the reference value - and the value in the stencil buffer. - To enable and disable the test, call glEnable and glDisable - with argument GL_STENCIL_TEST. - To specify actions based on the outcome of the stencil test, call - glStencilOp or - glStencilOpSeparate. - - - There can be two separate sets of func, ref, and - mask parameters; one affects back-facing polygons, and the other - affects front-facing polygons as well as other non-polygon primitives. - glStencilFunc sets both front - and back stencil state to the same values. Use glStencilFuncSeparate - to set front and back stencil state to different values. - - - func is a symbolic constant that determines the stencil comparison function. - It accepts one of eight values, - shown in the following list. - ref is an integer reference value that is used in the stencil comparison. - It is clamped to the range - - - - 0 - - 2 - n - - - - 1 - - - , - where - n - is the number of bitplanes in the stencil buffer. - mask is bitwise ANDed with both the reference value - and the stored stencil value, - with the ANDed values participating in the comparison. - - - If stencil represents the value stored in the corresponding - stencil buffer location, - the following list shows the effect of each comparison function - that can be specified by func. - Only if the comparison succeeds is the pixel passed through - to the next stage in the rasterization process - (see glStencilOp). - All tests treat stencil values as unsigned integers in the range - - - - 0 - - 2 - n - - - - 1 - - - , - where - n - is the number of bitplanes in the stencil buffer. - - - The following values are accepted by func: - - - - GL_NEVER - - - Always fails. - - - - - GL_LESS - - - Passes if ( ref & mask ) < ( stencil & mask ). - - - - - GL_LEQUAL - - - Passes if ( ref & mask ) <= ( stencil & mask ). - - - - - GL_GREATER - - - Passes if ( ref & mask ) > ( stencil & mask ). - - - - - GL_GEQUAL - - - Passes if ( ref & mask ) >= ( stencil & mask ). - - - - - GL_EQUAL - - - Passes if ( ref & mask ) = ( stencil & mask ). - - - - - GL_NOTEQUAL - - - Passes if ( ref & mask ) != ( stencil & mask ). - - - - - GL_ALWAYS - - - Always passes. - - - - - - Notes - - Initially, the stencil test is disabled. - If there is no stencil buffer, - no stencil modification can occur and it is as if - the stencil test always passes. - - - glStencilFunc is the same as - calling glStencilFuncSeparate - with face set to GL_FRONT_AND_BACK. - - - Errors - - GL_INVALID_ENUM is generated if func is not one of the eight - accepted values. - - - GL_INVALID_OPERATION is generated if glStencilFunc - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument - GL_STENCIL_FUNC, GL_STENCIL_VALUE_MASK, - GL_STENCIL_REF, GL_STENCIL_BACK_FUNC, - GL_STENCIL_BACK_VALUE_MASK, GL_STENCIL_BACK_REF, - or GL_STENCIL_BITS - - - glIsEnabled with argument GL_STENCIL_TEST - - - See Also - - glAlphaFunc, - glBlendFunc, - glDepthFunc, - glEnable, - glLogicOp, - glStencilFuncSeparate, - glStencilMask, - glStencilMaskSeparate, - glStencilOp, - glStencilOpSeparate - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glStencilFuncSeparate.xml b/Source/Bind/Specifications/Docs/GL2/glStencilFuncSeparate.xml deleted file mode 100644 index 8a9c0fd048..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glStencilFuncSeparate.xml +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glStencilFuncSeparate - 3G - - - 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, - GL_BACK, and - GL_FRONT_AND_BACK. - - - - - func - - - Specifies the test function. - Eight symbolic constants are valid: - GL_NEVER, - GL_LESS, - GL_LEQUAL, - GL_GREATER, - GL_GEQUAL, - GL_EQUAL, - GL_NOTEQUAL, and - GL_ALWAYS. The initial value is GL_ALWAYS. - - - - - ref - - - Specifies the reference value for the stencil test. - ref is clamped to the range - - - - 0 - - 2 - n - - - - 1 - - - , - where - n - is the number of bitplanes in the stencil buffer. The - initial value is 0. - - - - - mask - - - Specifies a mask that is ANDed with both the reference value - and the stored stencil value when the test is done. The initial value - is all 1's. - - - - - - Description - - Stenciling, - like depth-buffering, - enables and disables drawing on a per-pixel basis. - You draw into the stencil planes using GL drawing primitives, - then render geometry and images, - using the stencil planes to mask out portions of the screen. - Stenciling is typically used in multipass rendering algorithms - to achieve special effects, - such as decals, - outlining, - and constructive solid geometry rendering. - - - The stencil test conditionally eliminates a pixel based on the outcome - of a comparison between the reference value - and the value in the stencil buffer. - To enable and disable the test, call glEnable and glDisable - with argument GL_STENCIL_TEST. - To specify actions based on the outcome of the stencil test, call - glStencilOp or - glStencilOpSeparate. - - - There can be two separate sets of func, ref, and - mask parameters; one affects back-facing polygons, and the other - affects front-facing polygons as well as other non-polygon primitives. - glStencilFunc sets both front - and back stencil state to the same values, as if - glStencilFuncSeparate were called - with face set to GL_FRONT_AND_BACK. - - - func is a symbolic constant that determines the stencil comparison function. - It accepts one of eight values, - shown in the following list. - ref is an integer reference value that is used in the stencil comparison. - It is clamped to the range - - - - 0 - - 2 - n - - - - 1 - - - , - where - n - is the number of bitplanes in the stencil buffer. - mask is bitwise ANDed with both the reference value - and the stored stencil value, - with the ANDed values participating in the comparison. - - - If stencil represents the value stored in the corresponding - stencil buffer location, - the following list shows the effect of each comparison function - that can be specified by func. - Only if the comparison succeeds is the pixel passed through - to the next stage in the rasterization process - (see glStencilOp). - All tests treat stencil values as unsigned integers in the range - - - - 0 - - 2 - n - - - - 1 - - - , - where - n - is the number of bitplanes in the stencil buffer. - - - The following values are accepted by func: - - - - GL_NEVER - - - Always fails. - - - - - GL_LESS - - - Passes if ( ref & mask ) < ( stencil & mask ). - - - - - GL_LEQUAL - - - Passes if ( ref & mask ) <= ( stencil & mask ). - - - - - GL_GREATER - - - Passes if ( ref & mask ) > ( stencil & mask ). - - - - - GL_GEQUAL - - - Passes if ( ref & mask ) >= ( stencil & mask ). - - - - - GL_EQUAL - - - Passes if ( ref & mask ) = ( stencil & mask ). - - - - - GL_NOTEQUAL - - - Passes if ( ref & mask ) != ( stencil & mask ). - - - - - GL_ALWAYS - - - Always passes. - - - - - - Notes - - glStencilFuncSeparate is available only if - the GL version is 2.0 or greater. - - - Initially, the stencil test is disabled. - If there is no stencil buffer, - no stencil modification can occur and it is as if - the stencil test always passes. - - - Errors - - GL_INVALID_ENUM is generated if func is not one of the eight - accepted values. - - - GL_INVALID_OPERATION is generated if glStencilFuncSeparate - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument - GL_STENCIL_FUNC, GL_STENCIL_VALUE_MASK, - GL_STENCIL_REF, GL_STENCIL_BACK_FUNC, - GL_STENCIL_BACK_VALUE_MASK, GL_STENCIL_BACK_REF, - or GL_STENCIL_BITS - - - glIsEnabled with argument GL_STENCIL_TEST - - - See Also - - glAlphaFunc, - glBlendFunc, - glDepthFunc, - glEnable, - glLogicOp, - glStencilFunc, - glStencilMask, - glStencilMaskSeparate, - glStencilOp, - glStencilOpSeparate - - - Copyright - - Copyright 2006 Khronos Group. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glStencilMask.xml b/Source/Bind/Specifications/Docs/GL2/glStencilMask.xml deleted file mode 100644 index 744631bd16..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glStencilMask.xml +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glStencilMask - 3G - - - 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. - - - - - - Description - - glStencilMask controls the writing of individual bits in the stencil planes. - The least significant - n - bits of mask, - where - n - is the number of bits in the stencil buffer, - specify a mask. - Where a 1 appears in the mask, - it's possible to write to the corresponding bit in the stencil buffer. - Where a 0 appears, - the corresponding bit is write-protected. - Initially, all bits are enabled for writing. - - - There can be two separate mask writemasks; one affects back-facing polygons, and the other - affects front-facing polygons as well as other non-polygon primitives. - glStencilMask sets both front - and back stencil writemasks to the same values. Use glStencilMaskSeparate - to set front and back stencil writemasks to different values. - - - Notes - - glStencilMask is the same as - calling glStencilMaskSeparate - with face set to GL_FRONT_AND_BACK. - - - Errors - - GL_INVALID_OPERATION is generated if glStencilMask - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument - GL_STENCIL_WRITEMASK, GL_STENCIL_BACK_WRITEMASK, - or GL_STENCIL_BITS - - - See Also - - glColorMask, - glDepthMask, - glIndexMask, - glStencilFunc, - glStencilFuncSeparate, - glStencilMaskSeparate, - glStencilOp, - glStencilOpSeparate - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glStencilMaskSeparate.xml b/Source/Bind/Specifications/Docs/GL2/glStencilMaskSeparate.xml deleted file mode 100644 index 4616a766bd..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glStencilMaskSeparate.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glStencilMaskSeparate - 3G - - - 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, - GL_BACK, and - GL_FRONT_AND_BACK. - - - - - mask - - - Specifies a bit mask to enable and disable writing of individual bits - in the stencil planes. - Initially, the mask is all 1's. - - - - - - Description - - glStencilMaskSeparate controls the writing of individual bits in the stencil planes. - The least significant - n - bits of mask, - where - n - is the number of bits in the stencil buffer, - specify a mask. - Where a 1 appears in the mask, - it's possible to write to the corresponding bit in the stencil buffer. - Where a 0 appears, - the corresponding bit is write-protected. - Initially, all bits are enabled for writing. - - - There can be two separate mask writemasks; one affects back-facing polygons, and the other - affects front-facing polygons as well as other non-polygon primitives. - glStencilMask sets both front - and back stencil writemasks to the same values, as if - glStencilMaskSeparate were called - with face set to GL_FRONT_AND_BACK. - - - Notes - - glStencilMaskSeparate is available only if - the GL version is 2.0 or greater. - - - Errors - - GL_INVALID_OPERATION is generated if glStencilMaskSeparate - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument - GL_STENCIL_WRITEMASK, GL_STENCIL_BACK_WRITEMASK, - or GL_STENCIL_BITS - - - See Also - - glColorMask, - glDepthMask, - glIndexMask, - glStencilFunc, - glStencilFuncSeparate, - glStencilMask, - glStencilOp, - glStencilOpSeparate - - - Copyright - - Copyright 2006 Khronos Group. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glStencilOp.xml b/Source/Bind/Specifications/Docs/GL2/glStencilOp.xml deleted file mode 100644 index d9e4f1eb4d..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glStencilOp.xml +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glStencilOp - 3G - - - 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, - GL_ZERO, - GL_REPLACE, - GL_INCR, - GL_INCR_WRAP, - GL_DECR, - GL_DECR_WRAP, and - GL_INVERT. The initial value is GL_KEEP. - - - - - dpfail - - - Specifies the stencil action when the stencil test passes, - but the depth test fails. - dpfail accepts the same symbolic constants as sfail. The initial value - is GL_KEEP. - - - - - dppass - - - Specifies the stencil action when both the stencil test and the depth - test pass, or when the stencil test passes and either there is no - depth buffer or depth testing is not enabled. - dppass accepts the same symbolic constants as sfail. The initial value - is GL_KEEP. - - - - - - Description - - Stenciling, - like depth-buffering, - enables and disables drawing on a per-pixel basis. - You draw into the stencil planes using GL drawing primitives, - then render geometry and images, - using the stencil planes to mask out portions of the screen. - Stenciling is typically used in multipass rendering algorithms - to achieve special effects, - such as decals, - outlining, - and constructive solid geometry rendering. - - - The stencil test conditionally eliminates a pixel based on the outcome - of a comparison between the value in the stencil buffer and a - reference value. To enable and disable the test, call glEnable - and glDisable with argument - GL_STENCIL_TEST; to control it, call - glStencilFunc or - glStencilFuncSeparate. - - - There can be two separate sets of sfail, dpfail, and - dppass parameters; one affects back-facing polygons, and the other - affects front-facing polygons as well as other non-polygon primitives. - glStencilOp sets both front - and back stencil state to the same values. Use glStencilOpSeparate - to set front and back stencil state to different values. - - - glStencilOp takes three arguments that indicate what happens - to the stored stencil value while stenciling is enabled. - If the stencil test fails, - no change is made to the pixel's color or depth buffers, - and sfail specifies what happens to the stencil buffer contents. - The following eight actions are possible. - - - - GL_KEEP - - - Keeps the current value. - - - - - GL_ZERO - - - Sets the stencil buffer value to 0. - - - - - GL_REPLACE - - - Sets the stencil buffer value to ref, - as specified by glStencilFunc. - - - - - GL_INCR - - - Increments the current stencil buffer value. - Clamps to the maximum representable unsigned value. - - - - - GL_INCR_WRAP - - - Increments the current stencil buffer value. - Wraps stencil buffer value to zero when incrementing the maximum - representable unsigned value. - - - - - GL_DECR - - - Decrements the current stencil buffer value. - Clamps to 0. - - - - - GL_DECR_WRAP - - - Decrements the current stencil buffer value. - Wraps stencil buffer value to the maximum representable unsigned value when - decrementing a stencil buffer value of zero. - - - - - GL_INVERT - - - Bitwise inverts the current stencil buffer value. - - - - - - Stencil buffer values are treated as unsigned integers. - When incremented and decremented, - values are clamped to 0 and - - - - 2 - n - - - - 1 - - , - where - n - is the value returned by querying GL_STENCIL_BITS. - - - The other two arguments to glStencilOp specify stencil buffer actions - that depend on whether subsequent depth buffer tests succeed (dppass) - or fail (dpfail) (see - glDepthFunc). - The actions are specified using the same eight symbolic constants as sfail. - Note that dpfail is ignored when there is no depth buffer, - or when the depth buffer is not enabled. - In these cases, sfail and dppass specify stencil action when the - stencil test fails and passes, - respectively. - - - Notes - - GL_DECR_WRAP and GL_INCR_WRAP are available only if the GL - version is 1.4 or greater. - - - Initially the stencil test is disabled. - If there is no stencil buffer, - no stencil modification can occur - and it is as if the stencil tests always pass, - regardless of any call to glStencilOp. - - - glStencilOp is the same as - calling glStencilOpSeparate - with face set to GL_FRONT_AND_BACK. - - - Errors - - GL_INVALID_ENUM is generated if sfail, - dpfail, or dppass is any value other than the eight defined constant values. - - - GL_INVALID_OPERATION is generated if glStencilOp - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument - GL_STENCIL_FAIL, GL_STENCIL_PASS_DEPTH_PASS, - GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_BACK_FAIL, - GL_STENCIL_BACK_PASS_DEPTH_PASS, GL_STENCIL_BACK_PASS_DEPTH_FAIL, - or GL_STENCIL_BITS - - - glIsEnabled with argument GL_STENCIL_TEST - - - See Also - - glAlphaFunc, - glBlendFunc, - glDepthFunc, - glEnable, - glLogicOp, - glStencilFunc, - glStencilFuncSeparate, - glStencilMask, - glStencilMaskSeparate, - glStencilOpSeparate - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glStencilOpSeparate.xml b/Source/Bind/Specifications/Docs/GL2/glStencilOpSeparate.xml deleted file mode 100644 index 4be10590ec..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glStencilOpSeparate.xml +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glStencilOpSeparate - 3G - - - 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, - GL_BACK, and - GL_FRONT_AND_BACK. - - - - - sfail - - - Specifies the action to take when the stencil test fails. - Eight symbolic constants are accepted: - GL_KEEP, - GL_ZERO, - GL_REPLACE, - GL_INCR, - GL_INCR_WRAP, - GL_DECR, - GL_DECR_WRAP, and - GL_INVERT. The initial value is GL_KEEP. - - - - - dpfail - - - Specifies the stencil action when the stencil test passes, - but the depth test fails. - dpfail accepts the same symbolic constants as sfail. The initial value - is GL_KEEP. - - - - - dppass - - - Specifies the stencil action when both the stencil test and the depth - test pass, or when the stencil test passes and either there is no - depth buffer or depth testing is not enabled. - dppass accepts the same symbolic constants as sfail. The initial value - is GL_KEEP. - - - - - - Description - - Stenciling, - like depth-buffering, - enables and disables drawing on a per-pixel basis. - You draw into the stencil planes using GL drawing primitives, - then render geometry and images, - using the stencil planes to mask out portions of the screen. - Stenciling is typically used in multipass rendering algorithms - to achieve special effects, - such as decals, - outlining, - and constructive solid geometry rendering. - - - The stencil test conditionally eliminates a pixel based on the outcome - of a comparison between the value in the stencil buffer and a - reference value. To enable and disable the test, call glEnable - and glDisable with argument - GL_STENCIL_TEST; to control it, call - glStencilFunc or - glStencilFuncSeparate. - - - There can be two separate sets of sfail, dpfail, and - dppass parameters; one affects back-facing polygons, and the other - affects front-facing polygons as well as other non-polygon primitives. - glStencilOp sets both front - and back stencil state to the same values, as if - glStencilOpSeparate were called - with face set to GL_FRONT_AND_BACK. - - - glStencilOpSeparate takes three arguments that indicate what happens - to the stored stencil value while stenciling is enabled. - If the stencil test fails, - no change is made to the pixel's color or depth buffers, - and sfail specifies what happens to the stencil buffer contents. - The following eight actions are possible. - - - - GL_KEEP - - - Keeps the current value. - - - - - GL_ZERO - - - Sets the stencil buffer value to 0. - - - - - GL_REPLACE - - - Sets the stencil buffer value to ref, - as specified by glStencilFunc. - - - - - GL_INCR - - - Increments the current stencil buffer value. - Clamps to the maximum representable unsigned value. - - - - - GL_INCR_WRAP - - - Increments the current stencil buffer value. - Wraps stencil buffer value to zero when incrementing the maximum - representable unsigned value. - - - - - GL_DECR - - - Decrements the current stencil buffer value. - Clamps to 0. - - - - - GL_DECR_WRAP - - - Decrements the current stencil buffer value. - Wraps stencil buffer value to the maximum representable unsigned value when - decrementing a stencil buffer value of zero. - - - - - GL_INVERT - - - Bitwise inverts the current stencil buffer value. - - - - - - Stencil buffer values are treated as unsigned integers. - When incremented and decremented, - values are clamped to 0 and - - - - 2 - n - - - - 1 - - , - where - n - is the value returned by querying GL_STENCIL_BITS. - - - The other two arguments to glStencilOpSeparate specify stencil buffer actions - that depend on whether subsequent depth buffer tests succeed (dppass) - or fail (dpfail) (see - glDepthFunc). - The actions are specified using the same eight symbolic constants as sfail. - Note that dpfail is ignored when there is no depth buffer, - or when the depth buffer is not enabled. - In these cases, sfail and dppass specify stencil action when the - stencil test fails and passes, - respectively. - - - Notes - - glStencilOpSeparate is available only if - the GL version is 2.0 or greater. - - - Initially the stencil test is disabled. - If there is no stencil buffer, - no stencil modification can occur - and it is as if the stencil test always passes. - - - Errors - - GL_INVALID_ENUM is generated if face is any value - other than GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK. - - - GL_INVALID_ENUM is generated if sfail, - dpfail, or dppass is any value other than the eight defined constant values. - - - GL_INVALID_OPERATION is generated if glStencilOpSeparate - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument - GL_STENCIL_FAIL, GL_STENCIL_PASS_DEPTH_PASS, - GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_BACK_FAIL, - GL_STENCIL_BACK_PASS_DEPTH_PASS, GL_STENCIL_BACK_PASS_DEPTH_FAIL, - or GL_STENCIL_BITS - - - glIsEnabled with argument GL_STENCIL_TEST - - - See Also - - glAlphaFunc, - glBlendFunc, - glDepthFunc, - glEnable, - glLogicOp, - glStencilFunc, - glStencilFuncSeparate, - glStencilMask, - glStencilMaskSeparate, - glStencilOp - - - Copyright - - Copyright 2006 Khronos Group. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glTexImage1D.xml b/Source/Bind/Specifications/Docs/GL2/glTexImage1D.xml deleted file mode 100644 index 14378ef50e..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glTexImage1D.xml +++ /dev/null @@ -1,934 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glTexImage1D - 3G - - - 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. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - internalFormat - - - Specifies the number of color components in the texture. - Must be 1, 2, 3, or 4, or one of the following symbolic constants: - GL_ALPHA, - GL_ALPHA4, - GL_ALPHA8, - GL_ALPHA12, - GL_ALPHA16, - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_RGB, - GL_COMPRESSED_RGBA, - GL_DEPTH_COMPONENT, - GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, - GL_DEPTH_COMPONENT32, - GL_LUMINANCE, - GL_LUMINANCE4, - GL_LUMINANCE8, - GL_LUMINANCE12, - GL_LUMINANCE16, - GL_LUMINANCE_ALPHA, - GL_LUMINANCE4_ALPHA4, - GL_LUMINANCE6_ALPHA2, - GL_LUMINANCE8_ALPHA8, - GL_LUMINANCE12_ALPHA4, - GL_LUMINANCE12_ALPHA12, - GL_LUMINANCE16_ALPHA16, - GL_INTENSITY, - GL_INTENSITY4, - GL_INTENSITY8, - GL_INTENSITY12, - GL_INTENSITY16, - GL_R3_G3_B2, - GL_RGB, - GL_RGB4, - GL_RGB5, - GL_RGB8, - GL_RGB10, - GL_RGB12, - GL_RGB16, - GL_RGBA, - GL_RGBA2, - GL_RGBA4, - GL_RGB5_A1, - GL_RGBA8, - GL_RGB10_A2, - GL_RGBA12, - GL_RGBA16, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, - GL_SLUMINANCE8_ALPHA8, - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, or - GL_SRGB8_ALPHA8. - - - - - width - - - Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All - implementations support texture images that are at least 64 texels - wide. The height of the 1D texture image is 1. - - - - - border - - - Specifies the width of the border. - Must be either 0 or 1. - - - - - format - - - Specifies the format of the pixel data. - The following symbolic values are accepted: - GL_COLOR_INDEX, - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, and - GL_LUMINANCE_ALPHA. - - - - - type - - - Specifies the data type of the pixel data. - The following symbolic values are accepted: - GL_UNSIGNED_BYTE, - GL_BYTE, - GL_BITMAP, - GL_UNSIGNED_SHORT, - GL_SHORT, - GL_UNSIGNED_INT, - GL_INT, - GL_FLOAT, - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV. - - - - - data - - - Specifies a pointer to the image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image - onto each graphical primitive for which texturing is enabled. - To enable and disable one-dimensional texturing, call glEnable - and glDisable with argument GL_TEXTURE_1D. - - - Texture images are defined with glTexImage1D. - The arguments describe the parameters of the texture image, - such as width, - width of the border, - level-of-detail number - (see glTexParameter), - and the internal resolution and format used to store the image. - The last three arguments describe how the image is represented in - memory; they are identical to the pixel formats used for - glDrawPixels. - - - If target is GL_PROXY_TEXTURE_1D, no data is read from data, but - all of the texture image state is recalculated, checked for - consistency, and checked against the implementation's capabilities. - If the implementation cannot handle a texture of the - requested texture size, it sets all of the image state to 0, - but does not generate an error (see glGetError). To query for an - entire mipmap array, use an image array level greater than or equal to - 1. - - - If target is GL_TEXTURE_1D, - data is read from data as a sequence of signed or unsigned bytes, - shorts, - or longs, - or single-precision floating-point values, - depending on type. - These values are grouped into sets of one, - two, - three, - or four values, - depending on format, - to form elements. - If type is GL_BITMAP, - the data is considered as a string of unsigned bytes - (and format must be GL_COLOR_INDEX). - Each data byte is treated as eight 1-bit elements, - with bit ordering determined by GL_UNPACK_LSB_FIRST - (see glPixelStore). - - - 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. - - - The first element corresponds to the left end of the texture array. - Subsequent elements progress left-to-right through the remaining texels - in the texture array. - The final element corresponds to the right end of the texture array. - - - format determines the composition of each element in data. - It can assume one of these symbolic values: - - - - GL_COLOR_INDEX - - - Each element is a single value, - a color index. - The GL converts it to fixed point - (with an unspecified number of zero bits to the right of the binary point), - shifted left or right depending on the value and sign of GL_INDEX_SHIFT, - and added to GL_INDEX_OFFSET - (see glPixelTransfer). - The resulting index is converted to a set of color components - using the - GL_PIXEL_MAP_I_TO_R, - GL_PIXEL_MAP_I_TO_G, - GL_PIXEL_MAP_I_TO_B, and - GL_PIXEL_MAP_I_TO_A tables, - and clamped to the range [0,1]. - - - - - GL_RED - - - Each element is a single red component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for green and blue, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_GREEN - - - Each element is a single green component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red and blue, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_BLUE - - - Each element is a single blue component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red and green, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_ALPHA - - - Each element is a single alpha component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red, green, and blue. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_INTENSITY - - - Each element is a single intensity value. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the intensity value - three times for red, green, blue, and alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_RGB - - - - - GL_BGR - - - Each element is an RGB triple. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_RGBA - - - - - GL_BGRA - - - Each element contains all four components. - Each component is multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_LUMINANCE - - - Each element is a single luminance value. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the luminance value - three times for red, green, and blue and attaching 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_LUMINANCE_ALPHA - - - Each element is a luminance/alpha pair. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the luminance value - three times for red, green, and blue. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] (see glPixelTransfer). - - - - - GL_DEPTH_COMPONENT - - - Each element is a single depth value. - The GL converts it to floating point, multiplies by the signed scale factor - GL_DEPTH_SCALE, adds the signed bias GL_DEPTH_BIAS, - and clamps to the range [0,1] (see glPixelTransfer). - - - - - - Refer to the glDrawPixels reference page for a description of - the acceptable values for the type parameter. - - - If an application wants to store the texture at a certain - resolution or in a certain format, it can request the resolution - and format with internalFormat. The GL will choose an internal - representation that closely approximates that requested by internalFormat, but - it may not match exactly. - (The representations specified by GL_LUMINANCE, - GL_LUMINANCE_ALPHA, GL_RGB, - and GL_RGBA must match exactly. The numeric values 1, 2, 3, and 4 - may also be used to specify the above representations.) - - - If the internalFormat parameter is one of the generic compressed formats, - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_RGB, or - GL_COMPRESSED_RGBA, the GL will replace the internal format with the symbolic constant for a specific internal format and compress the texture before storage. If no corresponding internal format is available, or the GL can not compress that image for any reason, the internal format is instead replaced with a corresponding base internal format. - - - If the internalFormat parameter is - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, - GL_SRGB8_ALPHA8, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, or - GL_SLUMINANCE8_ALPHA8, the texture is treated as if the red, green, blue, or luminance components are encoded in the sRGB color space. Any alpha component is left unchanged. The conversion from the sRGB encoded component - - c - s - - - to a linear component - - c - l - - - is: - - - - - - c - l - - = - - { - - - - - - - c - s - - 12.92 - - - - - - if - - - - c - s - - - 0.04045 - - - - - - - ( - - - - c - s - - + - 0.055 - - 1.055 - - ) - - 2.4 - - - - - - if - - - - c - s - - > - 0.04045 - - - - - - - - - - Assume - - c - s - - - is the sRGB component in the range [0,1]. - - - Use the GL_PROXY_TEXTURE_1D target to try out a resolution and - format. The implementation will - update and recompute its best match for the requested storage resolution - and format. To then query this state, call glGetTexLevelParameter. - If the texture cannot be accommodated, texture state is set to 0. - - - A one-component texture image uses only the red component of the RGBA - color from data. - A two-component image uses the R and A values. - A three-component image uses the R, G, and B values. - A four-component image uses all of the RGBA components. - - - Depth textures can be treated as LUMINANCE, INTENSITY or ALPHA textures during texture filtering and application. Image-based shadowing can be enabled by comparing texture r coordinates to depth texture values to generate a boolean result. See glTexParameter for details on texture comparison. - - - Notes - - Texturing has no effect in color index mode. - - - If the ARB_imaging extension is supported, RGBA elements may - also be processed by the imaging pipeline. The following stages may be - applied to an RGBA color before color component clamping to the range - - - - 0 - 1 - - : - - - - 1. Color component replacement by the color table specified for - - - GL_COLOR_TABLE, if enabled. See glColorTable. - - - - - 2. One-dimensional convolution filtering, if enabled. See - - - glConvolutionFilter1D. - - - If a convolution filter changes the width of the texture (by - processing with a GL_CONVOLUTION_BORDER_MODE of GL_REDUCE, for - example), the width must - - - - 2 - n - - + - - 2 - - - border - - - - , - for some - integer - n, - after filtering. - - - - - 3. RGBA components may be multiplied by GL_POST_CONVOLUTION_c_SCALE, - - - and added to GL_POST_CONVOLUTION_c_BIAS, if enabled. See - glPixelTransfer. - - - - - 4. Color component replacement by the color table specified for - - - GL_POST_CONVOLUTION_COLOR_TABLE, if enabled. See glColorTable. - - - - - 5. Transformation by the color matrix. - - - See glMatrixMode. - - - - - 6. RGBA components may be multiplied by GL_POST_COLOR_MATRIX_c_SCALE, - - - and added to GL_POST_COLOR_MATRIX_c_BIAS, if enabled. See - glPixelTransfer. - - - - - 7. Color component replacement by the color table specified for - - - GL_POST_COLOR_MATRIX_COLOR_TABLE, if enabled. See glColorTable. - - - - - - The texture image can be represented by the same data formats - as the pixels in a glDrawPixels command, - except that GL_STENCIL_INDEX - cannot be used. - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - GL_PROXY_TEXTURE_1D may be used only if the GL version is 1.1 or greater. - - - Internal formats other than 1, 2, 3, or 4 may be - used only if the GL version is 1.1 or greater. - - - In GL version 1.1 or greater, - data may be a null pointer. In this case texture memory is - allocated to accommodate a texture of width width. - You can then download subtextures to initialize the - texture memory. The image is undefined if the program tries to apply - an uninitialized portion of the texture image to a primitive. - - - Formats GL_BGR, and GL_BGRA and types - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV are available only if the GL version - is 1.2 or greater. - - - When the ARB_multitexture extension is supported, or the GL version is 1.3 or greater, glTexImage1D - specifies the one-dimensional texture for the current texture unit, - specified with glActiveTexture. - - - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, and GL_DEPTH_COMPONENT32 are available only - if the GL version is 1.4 or greater. - - - Non-power-of-two textures are supported if the GL version is 2.0 or greater, or if the implementation exports the GL_ARB_texture_non_power_of_two extension. - - - The - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, - GL_SRGB8_ALPHA8, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, and - GL_SLUMINANCE8_ALPHA8 - internal formats are only available if the GL version is 2.1 or greater. - - - Errors - - GL_INVALID_ENUM is generated if target is not GL_TEXTURE_1D - or GL_PROXY_TEXTURE_1D. - - - GL_INVALID_ENUM is generated if format is not an accepted - format constant. Format constants other than GL_STENCIL_INDEX - are accepted. - - - GL_INVALID_ENUM is generated if type is not a type constant. - - - GL_INVALID_ENUM is generated if type is GL_BITMAP and - format is not GL_COLOR_INDEX. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater than - - - - log - 2 - - - - max - - - , - where max is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if internalFormat is not 1, 2, 3, 4, or - one of the accepted resolution and format symbolic constants. - - - GL_INVALID_VALUE is generated if width is less than 0 - or greater than 2 + GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if non-power-of-two textures are not supported and the width cannot be represented as - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer value of n. - - - GL_INVALID_VALUE is generated if border is not 0 or 1. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, or - GL_UNSIGNED_SHORT_5_6_5_REV - and format is not GL_RGB. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV - and format is neither GL_RGBA nor GL_BGRA. - - - GL_INVALID_OPERATION is generated if format is - GL_DEPTH_COMPONENT and internalFormat is not - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32. - - - GL_INVALID_OPERATION is generated if internalFormat is - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32, and format is - not GL_DEPTH_COMPONENT. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - 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 - into the number of bytes needed to store in memory a datum indicated by type. - - - GL_INVALID_OPERATION is generated if glTexImage1D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_1D - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - See Also - - glActiveTexture, - glColorTable, - glCompressedTexImage1D, - glCompressedTexSubImage1D, - glConvolutionFilter1D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexSubImage1D, - glDrawPixels, - glGetCompressedTexImage, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glTexImage2D.xml b/Source/Bind/Specifications/Docs/GL2/glTexImage2D.xml deleted file mode 100644 index b10abc5b1b..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glTexImage2D.xml +++ /dev/null @@ -1,1007 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glTexImage2D - 3G - - - 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, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or - GL_PROXY_TEXTURE_CUBE_MAP. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - internalFormat - - - Specifies the number of color components in the texture. - Must be 1, 2, 3, or 4, or one of the following symbolic constants: - GL_ALPHA, - GL_ALPHA4, - GL_ALPHA8, - GL_ALPHA12, - GL_ALPHA16, - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_RGB, - GL_COMPRESSED_RGBA, - GL_DEPTH_COMPONENT, - GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, - GL_DEPTH_COMPONENT32, - GL_LUMINANCE, - GL_LUMINANCE4, - GL_LUMINANCE8, - GL_LUMINANCE12, - GL_LUMINANCE16, - GL_LUMINANCE_ALPHA, - GL_LUMINANCE4_ALPHA4, - GL_LUMINANCE6_ALPHA2, - GL_LUMINANCE8_ALPHA8, - GL_LUMINANCE12_ALPHA4, - GL_LUMINANCE12_ALPHA12, - GL_LUMINANCE16_ALPHA16, - GL_INTENSITY, - GL_INTENSITY4, - GL_INTENSITY8, - GL_INTENSITY12, - GL_INTENSITY16, - GL_R3_G3_B2, - GL_RGB, - GL_RGB4, - GL_RGB5, - GL_RGB8, - GL_RGB10, - GL_RGB12, - GL_RGB16, - GL_RGBA, - GL_RGBA2, - GL_RGBA4, - GL_RGB5_A1, - GL_RGBA8, - GL_RGB10_A2, - GL_RGBA12, - GL_RGBA16, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, - GL_SLUMINANCE8_ALPHA8, - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, or - GL_SRGB8_ALPHA8. - - - - - width - - - Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All - implementations support texture images that are at least 64 texels - wide. - - - - - height - - - Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - m - - + - - 2 - - - border - - - - - for some integer - m. - All - implementations support texture images that are at least 64 texels - high. - - - - - border - - - Specifies the width of the border. - Must be either 0 or 1. - - - - - format - - - Specifies the format of the pixel data. - The following symbolic values are accepted: - GL_COLOR_INDEX, - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, and - GL_LUMINANCE_ALPHA. - - - - - type - - - Specifies the data type of the pixel data. - The following symbolic values are accepted: - GL_UNSIGNED_BYTE, - GL_BYTE, - GL_BITMAP, - GL_UNSIGNED_SHORT, - GL_SHORT, - GL_UNSIGNED_INT, - GL_INT, - GL_FLOAT, - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV. - - - - - data - - - Specifies a pointer to the image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image onto each graphical primitive for which texturing is enabled. To enable and disable two-dimensional texturing, call glEnable and glDisable with argument GL_TEXTURE_2D. To enable and disable texturing using cube-mapped texture, call glEnable and glDisable with argument GL_TEXTURE_CUBE_MAP. - - - To define texture images, call glTexImage2D. - The arguments describe the parameters of the texture image, - such as height, - width, - width of the border, - level-of-detail number - (see glTexParameter), - and number of color components provided. - The last three arguments describe how the image is represented in memory; - they are identical to the pixel formats used for glDrawPixels. - - - If target is GL_PROXY_TEXTURE_2D or GL_PROXY_TEXTURE_CUBE_MAP, no data is read from data, but - all of the texture image state is recalculated, checked for - consistency, and checked - against the implementation's capabilities. If the implementation cannot - handle a texture of the requested texture size, it sets - all of the image state to 0, - but does not generate an error (see glGetError). To query for an - entire mipmap array, use an image array level greater than or equal to - 1. - - - If target is GL_TEXTURE_2D, or one of the GL_TEXTURE_CUBE_MAP - targets, data is read from data as a sequence of signed or unsigned - bytes, shorts, or longs, or single-precision floating-point values, - depending on type. These values are grouped into sets of one, two, - three, or four values, depending on format, to form elements. If type - is GL_BITMAP, the data is considered as a string of unsigned bytes - (and format must be GL_COLOR_INDEX). - Each data byte is treated as eight 1-bit elements, - with bit ordering determined by GL_UNPACK_LSB_FIRST - (see glPixelStore). - - - 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. - - - The first element corresponds to the lower left corner of the texture - image. - Subsequent elements progress left-to-right through the remaining texels - in the lowest row of the texture image, and then in successively higher - rows of the texture image. - The final element corresponds to the upper right corner of the texture - image. - - - format determines the composition of each element in data. - It can assume one of these symbolic values: - - - - GL_COLOR_INDEX - - - Each element is a single value, - a color index. - The GL converts it to fixed point - (with an unspecified number of zero bits to the right of the binary point), - shifted left or right depending on the value and sign of GL_INDEX_SHIFT, - and added to GL_INDEX_OFFSET - (see glPixelTransfer). - The resulting index is converted to a set of color components - using the - GL_PIXEL_MAP_I_TO_R, - GL_PIXEL_MAP_I_TO_G, - GL_PIXEL_MAP_I_TO_B, and - GL_PIXEL_MAP_I_TO_A tables, - and clamped to the range [0,1]. - - - - - GL_RED - - - Each element is a single red component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for green and blue, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_GREEN - - - Each element is a single green component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red and blue, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_BLUE - - - Each element is a single blue component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red and green, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_ALPHA - - - Each element is a single alpha component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red, green, and blue. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_INTENSITY - - - Each element is a single intensity value. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the intensity value - three times for red, green, blue, and alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_RGB - - - - - GL_BGR - - - Each element is an RGB triple. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_RGBA - - - - - GL_BGRA - - - Each element contains all four components. - Each component is multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_LUMINANCE - - - Each element is a single luminance value. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the luminance value - three times for red, green, and blue and attaching 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_LUMINANCE_ALPHA - - - Each element is a luminance/alpha pair. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the luminance value - three times for red, green, and blue. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] (see glPixelTransfer). - - - - - GL_DEPTH_COMPONENT - - - Each element is a single depth value. - The GL converts it to floating point, multiplies by the signed scale factor - GL_DEPTH_SCALE, adds the signed bias GL_DEPTH_BIAS, - and clamps to the range [0,1] (see glPixelTransfer). - - - - - - Refer to the glDrawPixels reference page for a description of - the acceptable values for the type parameter. - - - If an application wants to store the texture at a certain - resolution or in a certain format, it can request the resolution - and format with internalFormat. The GL will choose an internal - representation that closely approximates that requested by internalFormat, but - it may not match exactly. - (The representations specified by GL_LUMINANCE, - GL_LUMINANCE_ALPHA, GL_RGB, - and GL_RGBA must match exactly. The numeric values 1, 2, 3, and 4 - may also be used to specify the above representations.) - - - If the internalFormat parameter is one of the generic compressed formats, - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_RGB, or - GL_COMPRESSED_RGBA, the GL will replace the internal format with the symbolic constant for a specific internal format and compress the texture before storage. If no corresponding internal format is available, or the GL can not compress that image for any reason, the internal format is instead replaced with a corresponding base internal format. - - - If the internalFormat parameter is - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, - GL_SRGB8_ALPHA8, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, or - GL_SLUMINANCE8_ALPHA8, the texture is treated as if the red, green, blue, or luminance components are encoded in the sRGB color space. Any alpha component is left unchanged. The conversion from the sRGB encoded component - - c - s - - - to a linear component - - c - l - - - is: - - - - - - c - l - - = - - { - - - - - - - c - s - - 12.92 - - - - - - if - - - - c - s - - - 0.04045 - - - - - - - ( - - - - c - s - - + - 0.055 - - 1.055 - - ) - - 2.4 - - - - - - if - - - - c - s - - > - 0.04045 - - - - - - - - - - Assume - - c - s - - - is the sRGB component in the range [0,1]. - - - Use the GL_PROXY_TEXTURE_2D or GL_PROXY_TEXTURE_CUBE_MAP target to try out a resolution and - format. The implementation will - update and recompute its best match for the requested storage resolution - and format. To then query this state, call glGetTexLevelParameter. - If the texture cannot be accommodated, texture state is set to 0. - - - A one-component texture image uses only the red component of the RGBA - color extracted from data. - A two-component image uses the R and A values. - A three-component image uses the R, G, and B values. - A four-component image uses all of the RGBA components. - - - Depth textures can be treated as LUMINANCE, INTENSITY or ALPHA textures during texture filtering and application. Image-based shadowing can be enabled by comparing texture r coordinates to depth texture values to generate a boolean result. See glTexParameter for details on texture comparison. - - - Notes - - Texturing has no effect in color index mode. - - - If the ARB_imaging extension is supported, RGBA elements may - also be processed by the imaging pipeline. The following stages may be - applied to an RGBA color before color component clamping to the range - - - - 0 - 1 - - : - - - - 1. Color component replacement by the color table specified for - - - GL_COLOR_TABLE, if enabled. See glColorTable. - - - - - 2. Two-dimensional Convolution filtering, if enabled. - - - See glConvolutionFilter1D. - - - If a convolution filter changes the width of the texture (by - processing with a GL_CONVOLUTION_BORDER_MODE of GL_REDUCE, for - example), and the GL does not support non-power-of-two textures, the width must - - - - 2 - n - - + - - 2 - - - border - - - - , - for some - integer - n, - and height must be - - - - 2 - m - - + - - 2 - - - border - - - - , - for some - integer - m, - after filtering. - - - - - 3. RGBA components may be multiplied by GL_POST_CONVOLUTION_c_SCALE, - - - and added to GL_POST_CONVOLUTION_c_BIAS, if enabled. See - glPixelTransfer. - - - - - 4. Color component replacement by the color table specified for - - - GL_POST_CONVOLUTION_COLOR_TABLE, if enabled. See glColorTable. - - - - - 5. Transformation by the color matrix. - - - See glMatrixMode. - - - - - 6. RGBA components may be multiplied by GL_POST_COLOR_MATRIX_c_SCALE, - - - and added to GL_POST_COLOR_MATRIX_c_BIAS, if enabled. See - glPixelTransfer. - - - - - 7. Color component replacement by the color table specified for - - - GL_POST_COLOR_MATRIX_COLOR_TABLE, if enabled. See glColorTable. - - - - - - The texture image can be represented by the same data formats - as the pixels in a glDrawPixels command, - except that GL_STENCIL_INDEX - cannot be used. - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - glTexImage2D and GL_PROXY_TEXTURE_2D are available only if the GL - version is 1.1 or greater. - - - Internal formats other than 1, 2, 3, or 4 may be used only if the GL - version is 1.1 or greater. - - - In GL version 1.1 or greater, data may be a null pointer. - In this case, texture memory is - allocated to accommodate a texture of width width and height height. - You can then download subtextures to initialize this - texture memory. - The image is undefined if the user tries to apply - an uninitialized portion of the texture image to a primitive. - - - Formats GL_BGR, and GL_BGRA and types - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV are available only if the GL version - is 1.2 or greater. - - - When the ARB_multitexture extension is supported or the GL version is 1.3 or greater, glTexImage2D - specifies the two-dimensional texture for the current texture unit, - specified with glActiveTexture. - - - GL_TEXTURE_CUBE_MAP and GL_PROXY_TEXTURE_CUBE_MAP are available only if the GL - version is 1.3 or greater. - - - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, and GL_DEPTH_COMPONENT32 are available only - if the GL version is 1.4 or greater. - - - Non-power-of-two textures are supported if the GL version is 2.0 or greater, or if the implementation exports the GL_ARB_texture_non_power_of_two extension. - - - The - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, - GL_SRGB8_ALPHA8, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, and - GL_SLUMINANCE8_ALPHA8 - internal formats are only available if the GL version is 2.1 or greater. - - - Errors - - GL_INVALID_ENUM is generated if target is not GL_TEXTURE_2D, - GL_PROXY_TEXTURE_2D, - GL_PROXY_TEXTURE_CUBE_MAP, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - - - GL_INVALID_ENUM is generated if target is one of the six cube map 2D image targets and the width and height parameters are not equal. - - - GL_INVALID_ENUM is generated if type is not a type constant. - - - GL_INVALID_ENUM is generated if type is GL_BITMAP and - format is not GL_COLOR_INDEX. - - - GL_INVALID_VALUE is generated if width or height is less than 0 - or greater than 2 + GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater than - - - - log - 2 - - - - max - - - , - where max is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if internalFormat is not 1, 2, 3, 4, or one of the - accepted resolution and format symbolic constants. - - - GL_INVALID_VALUE is generated if width or height is less than 0 - or greater than 2 + GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if non-power-of-two textures are not supported and the width or height cannot be represented as - - - - 2 - k - - + - - 2 - - - border - - - - - for some - integer value of k. - - - GL_INVALID_VALUE is generated if border is not 0 or 1. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, or - GL_UNSIGNED_SHORT_5_6_5_REV - and format is not GL_RGB. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV - and format is neither GL_RGBA nor GL_BGRA. - - - GL_INVALID_OPERATION is generated if target is not - GL_TEXTURE_2D or GL_PROXY_TEXTURE_2D and internalFormat is - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32. - - - GL_INVALID_OPERATION is generated if format is - GL_DEPTH_COMPONENT and internalFormat is not - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32. - - - GL_INVALID_OPERATION is generated if internalFormat is - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32, and format is - not GL_DEPTH_COMPONENT. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - 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 - into the number of bytes needed to store in memory a datum indicated by type. - - - GL_INVALID_OPERATION is generated if glTexImage2D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - See Also - - glActiveTexture, - glColorTable, - glConvolutionFilter2D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glSeparableFilter2D, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glTexImage3D.xml b/Source/Bind/Specifications/Docs/GL2/glTexImage3D.xml deleted file mode 100644 index c70f94978f..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glTexImage3D.xml +++ /dev/null @@ -1,941 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glTexImage3D - 3G - - - 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. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level - n - is the - - - n - th - - - mipmap reduction image. - - - - - internalFormat - - - Specifies the number of color components in the texture. - Must be 1, 2, 3, or 4, or one of the following symbolic constants: - GL_ALPHA, - GL_ALPHA4, - GL_ALPHA8, - GL_ALPHA12, - GL_ALPHA16, - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_RGB, - GL_COMPRESSED_RGBA, - GL_LUMINANCE, - GL_LUMINANCE4, - GL_LUMINANCE8, - GL_LUMINANCE12, - GL_LUMINANCE16, - GL_LUMINANCE_ALPHA, - GL_LUMINANCE4_ALPHA4, - GL_LUMINANCE6_ALPHA2, - GL_LUMINANCE8_ALPHA8, - GL_LUMINANCE12_ALPHA4, - GL_LUMINANCE12_ALPHA12, - GL_LUMINANCE16_ALPHA16, - GL_INTENSITY, - GL_INTENSITY4, - GL_INTENSITY8, - GL_INTENSITY12, - GL_INTENSITY16, - GL_R3_G3_B2, - GL_RGB, - GL_RGB4, - GL_RGB5, - GL_RGB8, - GL_RGB10, - GL_RGB12, - GL_RGB16, - GL_RGBA, - GL_RGBA2, - GL_RGBA4, - GL_RGB5_A1, - GL_RGBA8, - GL_RGB10_A2, - GL_RGBA12, - GL_RGBA16, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, - GL_SLUMINANCE8_ALPHA8, - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, or - GL_SRGB8_ALPHA8. - - - - - width - - - Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - n - - + - - 2 - - - border - - - - - for some integer - n. - All - implementations support 3D texture images that are at least 16 texels - wide. - - - - - height - - - Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - m - - + - - 2 - - - border - - - - - for some integer - m. - All - implementations support 3D texture images that are at least 16 texels - high. - - - - - depth - - - Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be - - - - 2 - k - - + - - 2 - - - border - - - - - for some integer - k. - All - implementations support 3D texture images that are at least 16 texels - deep. - - - - - border - - - Specifies the width of the border. - Must be either 0 or 1. - - - - - format - - - Specifies the format of the pixel data. - The following symbolic values are accepted: - GL_COLOR_INDEX, - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, and - GL_LUMINANCE_ALPHA. - - - - - type - - - Specifies the data type of the pixel data. - The following symbolic values are accepted: - GL_UNSIGNED_BYTE, - GL_BYTE, - GL_BITMAP, - GL_UNSIGNED_SHORT, - GL_SHORT, - GL_UNSIGNED_INT, - GL_INT, - GL_FLOAT, - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV. - - - - - data - - - Specifies a pointer to the image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image - onto each graphical primitive for which texturing is enabled. - To enable and disable three-dimensional texturing, call glEnable - and glDisable with argument GL_TEXTURE_3D. - - - To define texture images, call glTexImage3D. - The arguments describe the parameters of the texture image, - such as height, - width, depth, - width of the border, - level-of-detail number - (see glTexParameter), - and number of color components provided. - The last three arguments describe how the image is represented in memory; - they are identical to the pixel formats used for glDrawPixels. - - - If target is GL_PROXY_TEXTURE_3D, no data is read from data, but - all of the texture image state is recalculated, checked for - consistency, and checked - against the implementation's capabilities. If the implementation cannot - handle a texture of the requested texture size, it sets - all of the image state to 0, - but does not generate an error (see glGetError). To query for an - entire mipmap array, use an image array level greater than or equal to - 1. - - - If target is GL_TEXTURE_3D, - data is read from data as a sequence of signed or unsigned bytes, - shorts, - or longs, - or single-precision floating-point values, - depending on type. - These values are grouped into sets of one, - two, - three, - or four values, - depending on format, - to form elements. - If type is GL_BITMAP, - the data is considered as a string of unsigned bytes (and - format must be GL_COLOR_INDEX). - Each data byte is treated as eight 1-bit elements, - with bit ordering determined by GL_UNPACK_LSB_FIRST - (see glPixelStore). - - - 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. - - - The first element corresponds to the lower left corner of the texture - image. - Subsequent elements progress left-to-right through the remaining texels - in the lowest row of the texture image, and then in successively higher - rows of the texture image. - The final element corresponds to the upper right corner of the texture - image. - - - format determines the composition of each element in data. - It can assume one of these symbolic values: - - - - GL_COLOR_INDEX - - - Each element is a single value, - a color index. - The GL converts it to fixed point - (with an unspecified number of zero bits to the right of the binary point), - shifted left or right depending on the value and sign of GL_INDEX_SHIFT, - and added to GL_INDEX_OFFSET - (see glPixelTransfer). - The resulting index is converted to a set of color components - using the - GL_PIXEL_MAP_I_TO_R, - GL_PIXEL_MAP_I_TO_G, - GL_PIXEL_MAP_I_TO_B, and - GL_PIXEL_MAP_I_TO_A tables, - and clamped to the range [0,1]. - - - - - GL_RED - - - Each element is a single red component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for green and blue, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_GREEN - - - Each element is a single green component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red and blue, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_BLUE - - - Each element is a single blue component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red and green, and 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_ALPHA - - - Each element is a single alpha component. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 0 for red, green, and blue. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_INTENSITY - - - Each element is a single intensity value. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the intensity value - three times for red, green, blue, and alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_RGB - - - - - GL_BGR - - - Each element is an RGB triple. - The GL converts it to floating point and assembles it into an RGBA element - by attaching 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_RGBA - - - - - GL_BGRA - - - Each element contains all four components. - Each component is multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_LUMINANCE - - - Each element is a single luminance value. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the luminance value - three times for red, green, and blue and attaching 1 for alpha. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] - (see glPixelTransfer). - - - - - GL_LUMINANCE_ALPHA - - - Each element is a luminance/alpha pair. - The GL converts it to floating point, - then assembles it into an RGBA element by replicating the luminance value - three times for red, green, and blue. - Each component is then multiplied by the signed scale factor GL_c_SCALE, - added to the signed bias GL_c_BIAS, - and clamped to the range [0,1] (see glPixelTransfer). - - - - - - Refer to the glDrawPixels reference page for a description of - the acceptable values for the type parameter. - - - If an application wants to store the texture at a certain - resolution or in a certain format, it can request the resolution - and format with internalFormat. The GL will choose an internal - representation that closely approximates that requested by internalFormat, but - it may not match exactly. - (The representations specified by GL_LUMINANCE, - GL_LUMINANCE_ALPHA, GL_RGB, - and GL_RGBA must match exactly. The numeric values 1, 2, 3, and 4 - may also be used to specify the above representations.) - - - If the internalFormat parameter is one of the generic compressed formats, - GL_COMPRESSED_ALPHA, - GL_COMPRESSED_INTENSITY, - GL_COMPRESSED_LUMINANCE, - GL_COMPRESSED_LUMINANCE_ALPHA, - GL_COMPRESSED_RGB, or - GL_COMPRESSED_RGBA, the GL will replace the internal format with the symbolic constant for a specific internal format and compress the texture before storage. If no corresponding internal format is available, or the GL can not compress that image for any reason, the internal format is instead replaced with a corresponding base internal format. - - - If the internalFormat parameter is - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, - GL_SRGB8_ALPHA8, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, or - GL_SLUMINANCE8_ALPHA8, the texture is treated as if the red, green, blue, or luminance components are encoded in the sRGB color space. Any alpha component is left unchanged. The conversion from the sRGB encoded component - - c - s - - - to a linear component - - c - l - - - is: - - - - - - c - l - - = - - { - - - - - - - c - s - - 12.92 - - - - - - if - - - - c - s - - - 0.04045 - - - - - - - ( - - - - c - s - - + - 0.055 - - 1.055 - - ) - - 2.4 - - - - - - if - - - - c - s - - > - 0.04045 - - - - - - - - - - Assume - - c - s - - - is the sRGB component in the range [0,1]. - - - Use the GL_PROXY_TEXTURE_3D target to try out a resolution and - format. The implementation will - update and recompute its best match for the requested storage resolution - and format. To then query this state, call glGetTexLevelParameter. - If the texture cannot be accommodated, texture state is set to 0. - - - A one-component texture image uses only the red component of the RGBA - color extracted from data. - A two-component image uses the R and A values. - A three-component image uses the R, G, and B values. - A four-component image uses all of the RGBA components. - - - Notes - - Texturing has no effect in color index mode. - - - The texture image can be represented by the same data formats - as the pixels in a glDrawPixels command, - except that GL_STENCIL_INDEX and GL_DEPTH_COMPONENT - cannot be used. - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - glTexImage3D is available only if the GL version is 1.2 or greater. - - - Internal formats other than 1, 2, 3, or 4 may be used only if the GL - version is 1.1 or greater. - - - data may be a null pointer. - In this case texture memory is - allocated to accommodate a texture of width width, height height, - and depth depth. - You can then download subtextures to initialize this - texture memory. - The image is undefined if the user tries to apply - an uninitialized portion of the texture image to a primitive. - - - Formats GL_BGR, and GL_BGRA and types - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV are available only if the GL version - is 1.2 or greater. - - - For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, glTexImage3D - specifies the three-dimensional texture for the current texture unit, - specified with glActiveTexture. - - - If the ARB_imaging extension is supported, RGBA elements may - also be processed by the imaging pipeline. The following stages may be - applied to an RGBA color before color component clamping to the range - - - - 0 - 1 - - : - - - - 1. Color component replacement by the color table specified for - - - GL_COLOR_TABLE, if enabled. See glColorTable. - - - - - 2. Color component replacement by the color table specified for - - - GL_POST_CONVOLUTION_COLOR_TABLE, if enabled. See glColorTable. - - - - - 3. Transformation by the color matrix. See glMatrixMode. - - - - - 4. RGBA components may be multiplied by GL_POST_COLOR_MATRIX_c_SCALE, - - - and added to GL_POST_COLOR_MATRIX_c_BIAS, if enabled. See - glPixelTransfer. - - - - - 5. Color component replacement by the color table specified for - - - GL_POST_COLOR_MATRIX_COLOR_TABLE, if enabled. See - glColorTable. - - - - - - Non-power-of-two textures are supported if the GL version is 2.0 or greater, or if the implementation exports the GL_ARB_texture_non_power_of_two extension. - - - The - GL_SRGB, - GL_SRGB8, - GL_SRGB_ALPHA, - GL_SRGB8_ALPHA8, - GL_SLUMINANCE, - GL_SLUMINANCE8, - GL_SLUMINANCE_ALPHA, and - GL_SLUMINANCE8_ALPHA8 - internal formats are only available if the GL version is 2.1 or greater. - - - Errors - - GL_INVALID_ENUM is generated if target is not GL_TEXTURE_3D - or GL_PROXY_TEXTURE_3D. - - - GL_INVALID_ENUM is generated if format is not an accepted - format constant. Format constants other than GL_STENCIL_INDEX and GL_DEPTH_COMPONENT - are accepted. - - - GL_INVALID_ENUM is generated if type is not a type constant. - - - GL_INVALID_ENUM is generated if type is GL_BITMAP and - format is not GL_COLOR_INDEX. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater than - - - - log - 2 - - - - max - - - , - where max is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if internalFormat is not 1, 2, 3, 4, or one of the - accepted resolution and format symbolic constants. - - - GL_INVALID_VALUE is generated if width, height, or depth is less than 0 or greater than 2 + GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if non-power-of-two textures are not supported and the width, height, or depth cannot be represented as - - - - 2 - k - - + - - 2 - - - border - - - - - for some - integer value of k. - - - GL_INVALID_VALUE is generated if border is not 0 or 1. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, or - GL_UNSIGNED_SHORT_5_6_5_REV - and format is not GL_RGB. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV - and format is neither GL_RGBA nor GL_BGRA. - - - GL_INVALID_OPERATION is generated if format or internalFormat is - GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, - GL_DEPTH_COMPONENT24, or GL_DEPTH_COMPONENT32. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - 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 - into the number of bytes needed to store in memory a datum indicated by type. - - - GL_INVALID_OPERATION is generated if glTexImage3D - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_3D - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - See Also - - glActiveTexture, - glColorTable, - glCompressedTexImage1D, - glCompressedTexImage2D, - glCompressedTexImage3D, - glCompressedTexSubImage1D, - glCompressedTexSubImage2D, - glCompressedTexSubImage3D, - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glGetCompressedTexImage, - glMatrixMode, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glTexParameter.xml b/Source/Bind/Specifications/Docs/GL2/glTexParameter.xml deleted file mode 100644 index d7e857ef36..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glTexParameter.xml +++ /dev/null @@ -1,1264 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glTexParameter - 3G - - - 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. - - - - - pname - - - Specifies the symbolic name of a single-valued texture parameter. - pname can be one of the following: - GL_TEXTURE_MIN_FILTER, - GL_TEXTURE_MAG_FILTER, - GL_TEXTURE_MIN_LOD, - GL_TEXTURE_MAX_LOD, - GL_TEXTURE_BASE_LEVEL, - GL_TEXTURE_MAX_LEVEL, - GL_TEXTURE_WRAP_S, - GL_TEXTURE_WRAP_T, - GL_TEXTURE_WRAP_R, - GL_TEXTURE_PRIORITY, - GL_TEXTURE_COMPARE_MODE, - GL_TEXTURE_COMPARE_FUNC, - GL_DEPTH_TEXTURE_MODE, or - 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 - - - Specifies the target texture, - which must be either GL_TEXTURE_1D, GL_TEXTURE_2D or - GL_TEXTURE_3D. - - - - - pname - - - Specifies the symbolic name of a texture parameter. - pname can be one of the following: - GL_TEXTURE_MIN_FILTER, - GL_TEXTURE_MAG_FILTER, - GL_TEXTURE_MIN_LOD, - GL_TEXTURE_MAX_LOD, - GL_TEXTURE_BASE_LEVEL, - GL_TEXTURE_MAX_LEVEL, - GL_TEXTURE_WRAP_S, - GL_TEXTURE_WRAP_T, - GL_TEXTURE_WRAP_R, - GL_TEXTURE_BORDER_COLOR, - GL_TEXTURE_PRIORITY, - GL_TEXTURE_COMPARE_MODE, - GL_TEXTURE_COMPARE_FUNC, - GL_DEPTH_TEXTURE_MODE, or - GL_GENERATE_MIPMAP. - - - - - params - - - Specifies a pointer to an array where the value or values of pname - are stored. - - - - - - Description - - Texture mapping is a technique that applies an image onto an object's surface - as if the image were a decal or cellophane shrink-wrap. - The image is created in texture space, - with an - (s, - t) - coordinate system. - A texture is a one- or two-dimensional image and a set of parameters - that determine how samples are derived from the image. - - - glTexParameter assigns the value or values in params to the texture parameter - specified as pname. - target defines the target texture, - either GL_TEXTURE_1D, GL_TEXTURE_2D, or GL_TEXTURE_3D. - The following symbols are accepted in pname: - - - - GL_TEXTURE_MIN_FILTER - - - The texture minifying function is used whenever the pixel being textured - maps to an area greater than one texture element. - There are six defined minifying functions. - Two of them use the nearest one or nearest four texture elements - to compute the texture value. - The other four use mipmaps. - - - A mipmap is an ordered set of arrays representing the same image - at progressively lower resolutions. - If the texture has dimensions - - - - 2 - n - - × - 2 - m - - - , - there are - - - - - max - - - n - m - - - + - 1 - - - mipmaps. - The first mipmap is the original texture, - with dimensions - - - - 2 - n - - × - 2 - m - - - . - Each subsequent mipmap has dimensions - - - - 2 - - - k - - - 1 - - - - × - 2 - - - l - - - 1 - - - - - , - where - - - - 2 - k - - × - 2 - l - - - - are the dimensions of the previous mipmap, - until either - - - - k - = - 0 - - - or - - - - l - = - 0 - - . - At that point, - subsequent mipmaps have dimension - - - - 1 - × - 2 - - - l - - - 1 - - - - - - or - - - - 2 - - - k - - - 1 - - - - × - 1 - - - until the final mipmap, - which has dimension - - - - 1 - × - 1 - - . - To define the mipmaps, call glTexImage1D, glTexImage2D, - glTexImage3D, - glCopyTexImage1D, or glCopyTexImage2D - with the level argument indicating the order of the mipmaps. - Level 0 is the original texture; - level - - - - max - - - n - m - - - - is the final - - - - 1 - × - 1 - - - mipmap. - - - params supplies a function for minifying the texture as one of the - following: - - - GL_NEAREST - - - Returns the value of the texture element that is nearest - (in Manhattan distance) - to the center of the pixel being textured. - - - - - GL_LINEAR - - - Returns the weighted average of the four texture elements - that are closest to the center of the pixel being textured. - These can include border texture elements, - depending on the values of GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T, - and on the exact mapping. - - - - - GL_NEAREST_MIPMAP_NEAREST - - - Chooses the mipmap that most closely matches the size of the pixel - being textured and uses the GL_NEAREST criterion - (the texture element nearest to the center of the pixel) - to produce a texture value. - - - - - GL_LINEAR_MIPMAP_NEAREST - - - Chooses the mipmap that most closely matches the size of the pixel - being textured and uses the GL_LINEAR criterion - (a weighted average of the four texture elements that are closest - to the center of the pixel) - to produce a texture value. - - - - - GL_NEAREST_MIPMAP_LINEAR - - - Chooses the two mipmaps that most closely match the size of the pixel - being textured and uses the GL_NEAREST criterion - (the texture element nearest to the center of the pixel) - to produce a texture value from each mipmap. - The final texture value is a weighted average of those two values. - - - - - GL_LINEAR_MIPMAP_LINEAR - - - Chooses the two mipmaps that most closely match the size of the pixel - being textured and uses the GL_LINEAR criterion - (a weighted average of the four texture elements that are closest - to the center of the pixel) - to produce a texture value from each mipmap. - The final texture value is a weighted average of those two values. - - - - - - - As more texture elements are sampled in the minification process, - fewer aliasing artifacts will be apparent. - While the GL_NEAREST and GL_LINEAR minification functions can be - faster than the other four, - they sample only one or four texture elements to determine the texture value - of the pixel being rendered and can produce moire patterns - or ragged transitions. - The initial value of GL_TEXTURE_MIN_FILTER is - GL_NEAREST_MIPMAP_LINEAR. - - - - - GL_TEXTURE_MAG_FILTER - - - The texture magnification function is used when the pixel being textured - maps to an area less than or equal to one texture element. - It sets the texture magnification function to either GL_NEAREST - or GL_LINEAR (see below). GL_NEAREST is generally faster - than GL_LINEAR, - but it can produce textured images with sharper edges - because the transition between texture elements is not as smooth. - The initial value of GL_TEXTURE_MAG_FILTER is GL_LINEAR. - - - GL_NEAREST - - - Returns the value of the texture element that is nearest - (in Manhattan distance) - to the center of the pixel being textured. - - - - - GL_LINEAR - - - Returns the weighted average of the four texture elements - that are closest to the center of the pixel being textured. - These can include border texture elements, - depending on the values of GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T, - and on the exact mapping. - - - - - - - - - - - - - - - GL_TEXTURE_MIN_LOD - - - Sets the minimum level-of-detail parameter. This floating-point value - limits the selection of highest resolution mipmap (lowest mipmap - level). The initial value is -1000. - - - - - - - - - GL_TEXTURE_MAX_LOD - - - Sets the maximum level-of-detail parameter. This floating-point value - limits the selection of the lowest resolution mipmap (highest mipmap - level). The initial value is 1000. - - - - - - - - - GL_TEXTURE_BASE_LEVEL - - - Specifies the index of the lowest defined mipmap level. This is an - integer value. The initial value is 0. - - - - - - - - - GL_TEXTURE_MAX_LEVEL - - - Sets the index of the highest defined mipmap level. This is an integer - value. The initial value is 1000. - - - - - - - - - GL_TEXTURE_WRAP_S - - - Sets the wrap parameter for texture coordinate - s - to either GL_CLAMP, - GL_CLAMP_TO_BORDER, GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or - GL_REPEAT. GL_CLAMP causes - s - coordinates to be clamped to the - range [0,1] and is useful for preventing wrapping artifacts when mapping a - single image onto an object. GL_CLAMP_TO_BORDER causes the - s - coordinate to be clamped to the range - - - - - - - -1 - 2N - - - - - 1 - + - - - - 1 - 2N - - - - - - , - where - N - is the size of the texture in the direction of - clamping.GL_CLAMP_TO_EDGE causes - s - coordinates to be clamped to the - range - - - - - - - 1 - 2N - - - - - 1 - - - - - - 1 - 2N - - - - - - , - where - N - is the size - of the texture in the direction of clamping. GL_REPEAT causes the - integer part of the - s - coordinate to be ignored; the GL uses only the - fractional part, thereby creating a repeating pattern. - GL_MIRRORED_REPEAT causes the - s - coordinate to be set to the - fractional part of the texture coordinate if the integer part of - s - is - even; if the integer part of - s - is odd, then the - s - texture coordinate is - set to - - - - 1 - - - - frac - - - s - - - - , - where - - - - frac - - - s - - - - represents the fractional part of - s. - Border texture - elements are accessed only if wrapping is set to GL_CLAMP or GL_CLAMP_TO_BORDER. Initially, - GL_TEXTURE_WRAP_S is set to GL_REPEAT. - - - - - - - - - GL_TEXTURE_WRAP_T - - - Sets the wrap parameter for texture coordinate - t - to either GL_CLAMP, - GL_CLAMP_TO_BORDER, GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or - GL_REPEAT. See the discussion under GL_TEXTURE_WRAP_S. - Initially, GL_TEXTURE_WRAP_T is set to GL_REPEAT. - - - - - GL_TEXTURE_WRAP_R - - - Sets the wrap parameter for texture coordinate - r - to either GL_CLAMP, - GL_CLAMP_TO_BORDER, GL_CLAMP_TO_EDGE, GL_MIRRORED_REPEAT, or - GL_REPEAT. See the discussion under GL_TEXTURE_WRAP_S. - Initially, GL_TEXTURE_WRAP_R is set to GL_REPEAT. - - - - - GL_TEXTURE_BORDER_COLOR - - - Sets a border color. params contains four values that comprise the RGBA - color of the texture border. Integer color components are interpreted - linearly such that the most positive integer maps to 1.0, and the most - negative integer maps to -1.0. The values are clamped to the range [0,1] - when they are specified. Initially, the border color is (0, 0, 0, 0). - - - - - GL_TEXTURE_PRIORITY - - - Specifies the texture residence priority of the currently bound texture. - Permissible values are in the range - - - - 0 - 1 - - . - See glPrioritizeTextures and glBindTexture for more information. - - - - - GL_TEXTURE_COMPARE_MODE - - - Specifies the texture comparison mode for currently bound depth textures. - That is, a texture whose internal format is GL_DEPTH_COMPONENT_*; see - glTexImage2D) - Permissible values are: - - - GL_COMPARE_R_TO_TEXTURE - - - Specifies that the interpolated and clamped - r - texture coordinate should - be compared to the value in the currently bound depth texture. See the - discussion of GL_TEXTURE_COMPARE_FUNC for details of how the comparison - is evaluated. The result of the comparison is assigned to luminance, - intensity, or alpha (as specified by GL_DEPTH_TEXTURE_MODE). - - - - - GL_NONE - - - Specifies that the luminance, intensity, or alpha (as specified by - GL_DEPTH_TEXTURE_MODE) should be assigned the - appropriate value from the currently bound depth texture. - - - - - - - - - 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 - - - - - - - GL_LEQUAL - - - - - - result - = - - - - - 1.0 - - - 0.0 - - - ⁢   - - - - r - <= - - D - t - - - - - - - r - > - - D - t - - - - - - - - - - - - - - GL_GEQUAL - - - - - - result - = - - - - - 1.0 - - - 0.0 - - - ⁢   - - - - r - >= - - D - t - - - - - - - r - < - - D - t - - - - - - - - - - - - - - GL_LESS - - - - - - result - = - - - - - 1.0 - - - 0.0 - - - ⁢   - - - - r - < - - D - t - - - - - - - r - >= - - D - t - - - - - - - - - - - - - - GL_GREATER - - - - - - result - = - - - - - 1.0 - - - 0.0 - - - ⁢   - - - - r - > - - D - t - - - - - - - r - <= - - D - t - - - - - - - - - - - - - - GL_EQUAL - - - - - - result - = - - - - - 1.0 - - - 0.0 - - - ⁢   - - - - r - = - - D - t - - - - - - - r - - - D - t - - - - - - - - - - - - - - GL_NOTEQUAL - - - - - - result - = - - - - - 1.0 - - - 0.0 - - - ⁢   - - - - r - - - D - t - - - - - - - r - = - - D - t - - - - - - - - - - - - - - GL_ALWAYS - - - - - - result - = - 1.0 - - - - - - - - GL_NEVER - - - - - - result - = - 0.0 - - - - - - - - - where r - is the current interpolated texture coordinate, and - - - D - t - - - is the depth texture value sampled from the currently bound depth texture. - result - is assigned to the either the luminance, intensity, or alpha (as - specified by GL_DEPTH_TEXTURE_MODE.) - - - - - GL_DEPTH_TEXTURE_MODE - - - Specifies a single symbolic constant indicating how depth values should be - treated during filtering and texture application. Accepted values are - GL_LUMINANCE, GL_INTENSITY, and GL_ALPHA. The initial value - is GL_LUMINANCE. - - - - - GL_GENERATE_MIPMAP - - - Specifies a boolean value that indicates if all levels of a mipmap array - should be automatically updated when any modification to the base level - mipmap is done. The initial value is GL_FALSE. - - - - - - Notes - - GL_TEXTURE_3D, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, - GL_CLAMP_TO_EDGE, GL_TEXTURE_BASE_LEVEL, and GL_TEXTURE_MAX_LEVEL are - available only if the GL version is 1.2 or greater. - - - GL_CLAMP_TO_BORDER is available only if the GL version is 1.3 or greater. - - - GL_MIRRORED_REPEAT, GL_TEXTURE_COMPARE_MODE, - GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and - GL_GENERATE_MIPMAP are available only if the GL version is 1.4 or - greater. - - - GL_TEXTURE_COMPARE_FUNC allows the following additional comparison modes only - if the GL version is 1.5 or greater: - GL_LESS, GL_GREATER, - GL_EQUAL, GL_NOTEQUAL, - GL_ALWAYS, and GL_NEVER. - - - Suppose that a program has enabled texturing (by calling glEnable with - argument GL_TEXTURE_1D, GL_TEXTURE_2D, or GL_TEXTURE_3D) and - has set GL_TEXTURE_MIN_FILTER to one of the functions that requires a - mipmap. If either the dimensions of the texture images currently defined - (with previous calls to glTexImage1D, glTexImage2D, - glTexImage3D, glCopyTexImage1D, or glCopyTexImage2D) do not - follow the proper sequence for mipmaps (described above), or there are - fewer texture images defined than are needed, or the set of texture images - have differing numbers of texture components, then it is as if texture - mapping were disabled. - - - Linear filtering accesses the four nearest texture elements only in 2D - textures. In 1D textures, linear filtering accesses the two nearest - texture elements. - - - For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, glTexParameter - specifies the texture parameters for the active texture unit, specified - by calling glActiveTexture. - - - Errors - - GL_INVALID_ENUM is generated if target or pname is not - one of the accepted defined values. - - - GL_INVALID_ENUM is generated if params should have a defined - constant value (based on the value of pname) and does not. - - - GL_INVALID_OPERATION is generated if glTexParameter is executed between the - execution of glBegin and the corresponding execution of glEnd. - - - Associated Gets - - glGetTexParameter - - - glGetTexLevelParameter - - - See Also - - glActiveTexture, - glBindTexture, - glCopyPixels, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glPixelStore, - glPixelTransfer, - glPrioritizeTextures, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexSubImage3D - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glTexSubImage1D.xml b/Source/Bind/Specifications/Docs/GL2/glTexSubImage1D.xml deleted file mode 100644 index d83fe0da3a..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glTexSubImage1D.xml +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glTexSubImage1D - 3G - - - 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. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies a texel offset in the x direction within the texture array. - - - - - width - - - Specifies the width of the texture subimage. - - - - - format - - - Specifies the format of the pixel data. - The following symbolic values are accepted: - GL_COLOR_INDEX, - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, and - GL_LUMINANCE_ALPHA. - - - - - type - - - Specifies the data type of the pixel data. - The following symbolic values are accepted: - GL_UNSIGNED_BYTE, - GL_BYTE, - GL_BITMAP, - GL_UNSIGNED_SHORT, - GL_SHORT, - GL_UNSIGNED_INT, - GL_INT, - GL_FLOAT, - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV. - - - - - data - - - Specifies a pointer to the image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image - onto each graphical primitive for which texturing is enabled. - To enable or disable one-dimensional texturing, call glEnable - and glDisable with argument GL_TEXTURE_1D. - - - glTexSubImage1D redefines a contiguous subregion of an existing one-dimensional - texture image. - The texels referenced by data replace the portion of the - existing texture array with x indices xoffset and - - - - xoffset - + - width - - - 1 - - , - inclusive. - This region may not include any texels outside the range of the - texture array as it was originally specified. - It is not an error to specify a subtexture with width of 0, but - such a specification has no effect. - - - 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. - - - Notes - - glTexSubImage1D is available only if the GL version is 1.1 or greater. - - - Texturing has no effect in color index mode. - - - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - Formats GL_BGR, and GL_BGRA and types - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV are available only if the GL version - is 1.2 or greater. - - - For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, glTexSubImage1D - specifies a one-dimensional subtexture for the current texture unit, - specified with glActiveTexture. - - - When the ARB_imaging extension is supported, the RGBA components - specified in data may be processed by the imaging pipeline. See - glTexImage1D for specific details. - - - Errors - - GL_INVALID_ENUM is generated if target is not one of the - allowable values. - - - GL_INVALID_ENUM is generated if format is not an accepted - format constant. - - - GL_INVALID_ENUM is generated if type is not a type constant. - - - GL_INVALID_ENUM is generated if type is GL_BITMAP and - format is not GL_COLOR_INDEX. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater - than - - - log - 2 - - - max, - where max is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if - - - - xoffset - < - - - - b - - - , - or if - - - - - - xoffset - + - width - - - > - - - w - - - b - - - - , - where - w - is the GL_TEXTURE_WIDTH, and - b - is - the width of the GL_TEXTURE_BORDER - of the texture image being modified. - Note that - w - includes twice the border width. - - - GL_INVALID_VALUE is generated if width is less than 0. - - - GL_INVALID_OPERATION is generated if the texture array has not - been defined by a previous glTexImage1D operation. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, or - GL_UNSIGNED_SHORT_5_6_5_REV - and format is not GL_RGB. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV - and format is neither GL_RGBA nor GL_BGRA. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - 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 - into the number of bytes needed to store in memory a datum indicated by type. - - - GL_INVALID_OPERATION is generated if glTexSubImage1D is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_1D - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - See Also - - glActiveTexture, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexParameter, - glTexSubImage2D, - glTexSubImage3D - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glTexSubImage2D.xml b/Source/Bind/Specifications/Docs/GL2/glTexSubImage2D.xml deleted file mode 100644 index 09c0ccbd96..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glTexSubImage2D.xml +++ /dev/null @@ -1,442 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glTexSubImage2D - 3G - - - 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, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies a texel offset in the x direction within the texture array. - - - - - yoffset - - - Specifies a texel offset in the y direction within the texture array. - - - - - width - - - Specifies the width of the texture subimage. - - - - - height - - - Specifies the height of the texture subimage. - - - - - format - - - Specifies the format of the pixel data. - The following symbolic values are accepted: - GL_COLOR_INDEX, - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, and - GL_LUMINANCE_ALPHA. - - - - - type - - - Specifies the data type of the pixel data. - The following symbolic values are accepted: - GL_UNSIGNED_BYTE, - GL_BYTE, - GL_BITMAP, - GL_UNSIGNED_SHORT, - GL_SHORT, - GL_UNSIGNED_INT, - GL_INT, - GL_FLOAT, - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV. - - - - - data - - - Specifies a pointer to the image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image - onto each graphical primitive for which texturing is enabled. - To enable and disable two-dimensional texturing, call glEnable - and glDisable with argument GL_TEXTURE_2D. - - - glTexSubImage2D redefines a contiguous subregion of an existing two-dimensional - texture image. - The texels referenced by data replace the portion of the - existing texture array with x indices xoffset and - - - - xoffset - + - width - - - 1 - - , - inclusive, - and y indices yoffset and - - - - yoffset - + - height - - - 1 - - , - inclusive. - This region may not include any texels outside the range of the - texture array as it was originally specified. - It is not an error to specify a subtexture with zero width or height, but - such a specification has no effect. - - - 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. - - - Notes - - glTexSubImage2D is available only if the GL version is 1.1 or greater. - - - Texturing has no effect in color index mode. - - - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - Formats GL_BGR, and GL_BGRA and types - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV are available only if the GL version - is 1.2 or greater. - - - For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, glTexSubImage2D - specifies a two-dimensional subtexture for the current texture unit, - specified with glActiveTexture. - - - When the ARB_imaging extension is supported, the RGBA components - specified in data may be processed by the imaging pipeline. See - glTexImage1D for specific details. - - - Errors - - GL_INVALID_ENUM is generated if target is not GL_TEXTURE_2D, - GL_TEXTURE_CUBE_MAP_POSITIVE_X, - GL_TEXTURE_CUBE_MAP_NEGATIVE_X, - GL_TEXTURE_CUBE_MAP_POSITIVE_Y, - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, - GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - - - GL_INVALID_ENUM is generated if format is not an accepted - format constant. - - - GL_INVALID_ENUM is generated if type is not a type constant. - - - GL_INVALID_ENUM is generated if type is GL_BITMAP and - format is not GL_COLOR_INDEX. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater - than - - - log - 2 - - - max, - where max is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if - - - - xoffset - < - - - - b - - - , - - - - - - xoffset - + - width - - - > - - - w - - - b - - - - , - - - - yoffset - < - - - - b - - - , - or - - - - - - yoffset - + - height - - - > - - - h - - - b - - - - , - where - w - is the GL_TEXTURE_WIDTH, - h - is the GL_TEXTURE_HEIGHT, and - b - is the border width - of the texture image being modified. - Note that - w - and - h - include twice the border width. - - - GL_INVALID_VALUE is generated if width or height is less than 0. - - - GL_INVALID_OPERATION is generated if the texture array has not - been defined by a previous glTexImage2D operation. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, or - GL_UNSIGNED_SHORT_5_6_5_REV - and format is not GL_RGB. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV - and format is neither GL_RGBA nor GL_BGRA. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - 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 - into the number of bytes needed to store in memory a datum indicated by type. - - - GL_INVALID_OPERATION is generated if glTexSubImage2D is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_2D - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - See Also - - glActiveTexture, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage3D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glTexSubImage3D.xml b/Source/Bind/Specifications/Docs/GL2/glTexSubImage3D.xml deleted file mode 100644 index aef91bdb69..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glTexSubImage3D.xml +++ /dev/null @@ -1,497 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glTexSubImage3D - 3G - - - 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. - - - - - level - - - Specifies the level-of-detail number. - Level 0 is the base image level. - Level n is the nth mipmap reduction image. - - - - - xoffset - - - Specifies a texel offset in the x direction within the texture array. - - - - - yoffset - - - Specifies a texel offset in the y direction within the texture array. - - - - - zoffset - - - Specifies a texel offset in the z direction within the texture array. - - - - - width - - - Specifies the width of the texture subimage. - - - - - height - - - Specifies the height of the texture subimage. - - - - - depth - - - Specifies the depth of the texture subimage. - - - - - format - - - Specifies the format of the pixel data. - The following symbolic values are accepted: - GL_COLOR_INDEX, - GL_RED, - GL_GREEN, - GL_BLUE, - GL_ALPHA, - GL_RGB, - GL_BGR, - GL_RGBA, - GL_BGRA, - GL_LUMINANCE, and - GL_LUMINANCE_ALPHA. - - - - - type - - - Specifies the data type of the pixel data. - The following symbolic values are accepted: - GL_UNSIGNED_BYTE, - GL_BYTE, - GL_BITMAP, - GL_UNSIGNED_SHORT, - GL_SHORT, - GL_UNSIGNED_INT, - GL_INT, - GL_FLOAT, - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV. - - - - - data - - - Specifies a pointer to the image data in memory. - - - - - - Description - - Texturing maps a portion of a specified texture image - onto each graphical primitive for which texturing is enabled. - To enable and disable three-dimensional texturing, call glEnable - and glDisable with argument GL_TEXTURE_3D. - - - glTexSubImage3D redefines a contiguous subregion of an existing three-dimensional - texture image. - The texels referenced by data replace the portion of the - existing texture array with x indices xoffset and - - - - xoffset - + - width - - - 1 - - , - inclusive, - y indices yoffset and - - - - yoffset - + - height - - - 1 - - , - inclusive, - and z indices zoffset and - - - - zoffset - + - depth - - - 1 - - , - inclusive. - This region may not include any texels outside the range of the - texture array as it was originally specified. - It is not an error to specify a subtexture with zero width, height, or - depth but such a specification has no effect. - - - 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. - - - Notes - - glTexSubImage3D is available only if the GL version is 1.2 or greater. - - - Texturing has no effect in color index mode. - - - glPixelStore and glPixelTransfer modes affect texture images - in exactly the way they affect glDrawPixels. - - - Formats GL_BGR, and GL_BGRA and types - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, - GL_UNSIGNED_SHORT_5_6_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, and - GL_UNSIGNED_INT_2_10_10_10_REV are available only if the GL version - is 1.2 or greater. - - - For OpenGL versions 1.3 and greater, or when the ARB_multitexture extension is supported, glTexSubImage3D - specifies a three-dimensional subtexture for the current texture unit, - specified with glActiveTexture. - - - When the ARB_imaging extension is supported, the RGBA components - specified in data may be processed by the imaging pipeline. See - glTexImage3D for specific details. - - - Errors - - GL_INVALID_ENUM is generated if /target is not GL_TEXTURE_3D. - - - GL_INVALID_ENUM is generated if format is not an accepted - format constant. - - - GL_INVALID_ENUM is generated if type is not a type constant. - - - GL_INVALID_ENUM is generated if type is GL_BITMAP and - format is not GL_COLOR_INDEX. - - - GL_INVALID_VALUE is generated if level is less than 0. - - - GL_INVALID_VALUE may be generated if level is greater - than - - - log - 2 - - - max, - where max is the returned value of GL_MAX_TEXTURE_SIZE. - - - GL_INVALID_VALUE is generated if - - - - xoffset - < - - - - b - - - , - - - - - - xoffset - + - width - - - > - - - w - - - b - - - - , - - - - yoffset - < - - - - b - - - , - or - - - - - - yoffset - + - height - - - > - - - h - - - b - - - - , - or - - - - zoffset - < - - - - b - - - , - or - - - - - - zoffset - + - depth - - - > - - - d - - - b - - - - , - where - w - is the GL_TEXTURE_WIDTH, - h - is the GL_TEXTURE_HEIGHT, - d - is the GL_TEXTURE_DEPTH - and - b - is the border width of the texture image being modified. - Note that - w, - h, - and - d - include twice the border width. - - - GL_INVALID_VALUE is generated if width, height, or depth - is less than 0. - - - GL_INVALID_OPERATION is generated if the texture array has not - been defined by a previous glTexImage3D operation. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_BYTE_3_3_2, - GL_UNSIGNED_BYTE_2_3_3_REV, - GL_UNSIGNED_SHORT_5_6_5, or - GL_UNSIGNED_SHORT_5_6_5_REV - and format is not GL_RGB. - - - GL_INVALID_OPERATION is generated if type is one of - GL_UNSIGNED_SHORT_4_4_4_4, - GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_SHORT_5_5_5_1, - GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_INT_8_8_8_8, - GL_UNSIGNED_INT_8_8_8_8_REV, - GL_UNSIGNED_INT_10_10_10_2, or - GL_UNSIGNED_INT_2_10_10_10_REV - and format is neither GL_RGBA nor GL_BGRA. - - - GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the - 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 - 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 - into the number of bytes needed to store in memory a datum indicated by type. - - - GL_INVALID_OPERATION is generated if glTexSubImage3D is executed - between the execution of glBegin and the corresponding - execution of glEnd. - - - Associated Gets - - glGetTexImage - - - glIsEnabled with argument GL_TEXTURE_3D - - - glGet with argument GL_PIXEL_UNPACK_BUFFER_BINDING - - - See Also - - glActiveTexture, - glCopyTexImage1D, - glCopyTexImage2D, - glCopyTexSubImage1D, - glCopyTexSubImage2D, - glCopyTexSubImage3D, - glDrawPixels, - glPixelStore, - glPixelTransfer, - glTexEnv, - glTexGen, - glTexImage1D, - glTexImage2D, - glTexImage3D, - glTexSubImage1D, - glTexSubImage2D, - glTexParameter - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glUniform.xml b/Source/Bind/Specifications/Docs/GL2/glUniform.xml deleted file mode 100644 index 837e3a7a82..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glUniform.xml +++ /dev/null @@ -1,498 +0,0 @@ - - - - - glUniform - 3G - - - glUniform - glUniform1f - glUniform2f - glUniform3f - glUniform4f - glUniform1i - glUniform2i - glUniform3i - glUniform4i - glUniform1fv - glUniform2fv - glUniform3fv - glUniform4fv - glUniform1iv - glUniform2iv - glUniform3iv - glUniform4iv - glUniformMatrix2fv - glUniformMatrix3fv - glUniformMatrix4fv - glUniformMatrix2x3fv - glUniformMatrix3x2fv - glUniformMatrix2x4fv - glUniformMatrix4x2fv - glUniformMatrix3x4fv - glUniformMatrix4x3fv - 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 - 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 - 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 - an array of matrices. - - - - transpose - - Specifies whether to transpose the matrix as - the values are loaded into the uniform - variable. - - - - value - - Specifies a pointer to an array of - count values that will be - used to update the specified uniform - variable. - - - - - Description - glUniform modifies the value of a - uniform variable or a uniform variable array. The location of - the uniform variable to be modified is specified by - location, which should be a value - returned by - glGetUniformLocation. - glUniform operates on the program object - that was made part of current state by calling - glUseProgram. - - The commands glUniform{1|2|3|4}{f|i} - are used to change the value of the uniform variable specified - by location using the values passed as - arguments. The number specified in the command should match the - number of components in the data type of the specified uniform - variable (e.g., 1 for float, int, bool; - 2 for vec2, ivec2, bvec2, etc.). The suffix - f indicates that floating-point values are - being passed; the suffix i indicates that - integer values are being passed, and this type should also match - the data type of the specified uniform variable. The - i variants of this function should be used - to provide values for uniform variables defined as int, ivec2, - ivec3, ivec4, or arrays of these. The f - variants should be used to provide values for uniform variables - of type float, vec2, vec3, vec4, or arrays of these. Either the - i or the f variants - may be used to provide values for uniform variables of type - bool, bvec2, bvec3, bvec4, or arrays of these. The uniform - variable will be set to false if the input value is 0 or 0.0f, - and it will be set to true otherwise. - - All active uniform variables defined in a program object - are initialized to 0 when the program object is linked - successfully. They retain the values assigned to them by a call - to glUniform until the next successful - link operation occurs on the program object, when they are once - again initialized to 0. - - The commands glUniform{1|2|3|4}{f|i}v - can be used to modify a single uniform variable or a uniform - variable array. These commands pass a count and a pointer to the - values to be loaded into a uniform variable or a uniform - variable array. A count of 1 should be used if modifying the - value of a single uniform variable, and a count of 1 or greater - can be used to modify an entire array or part of an array. When - loading n elements starting at an arbitrary - position m in a uniform variable array, - elements m + n - 1 in - the array will be replaced with the new values. If - m + n - 1 is - larger than the size of the uniform variable array, values for - all array elements beyond the end of the array will be ignored. - The number specified in the name of the command indicates the - number of components for each element in - value, and it should match the number of - components in the data type of the specified uniform variable - (e.g., 1 for float, int, bool; - 2 for vec2, ivec2, bvec2, etc.). The data - type specified in the name of the command must match the data - type for the specified uniform variable as described previously - for glUniform{1|2|3|4}{f|i}. - - For uniform variable arrays, each element of the array is - considered to be of the type indicated in the name of the - command (e.g., glUniform3f or - glUniform3fv can be used to load a uniform - 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 - 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). 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, - 2x4 indicates a 2 × 4 matrix with 2 columns - and 4 rows (i.e., 8 values). - If transpose is - GL_FALSE, each matrix is assumed to be - supplied in column major order. If - transpose is - GL_TRUE, each matrix is assumed to be - supplied in row major order. The count - argument indicates the number of matrices to be passed. A count - 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 - 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 - types. Loading samplers with any other function will result in a - GL_INVALID_OPERATION error. - - If count is greater than 1 and the - indicated uniform variable is not an array, a - GL_INVALID_OPERATION error is generated and the - specified uniform variable will remain unchanged. - - Other than the preceding exceptions, if the type and size - of the uniform variable as defined in the shader do not match - the type and size specified in the name of the command used to - load its value, a GL_INVALID_OPERATION error will - be generated and the specified uniform variable will remain - unchanged. - - If location is a value other than - -1 and it does not represent a valid uniform variable location - in the current program object, an error will be generated, and - no changes will be made to the uniform variable storage of the - current program object. If location is - equal to -1, the data passed in will be silently ignored and the - specified uniform variable will not be changed. - - Errors - GL_INVALID_OPERATION is generated if there - is no current program object. - - GL_INVALID_OPERATION is generated if the - size of the uniform variable declared in the shader does not - match the size indicated by the glUniform - command. - - GL_INVALID_OPERATION is generated if one of - the integer variants of this function is used to load a uniform - variable of type float, vec2, vec3, vec4, or an array of these, - or if one of the floating-point variants of this function is - used to load a uniform variable of type int, ivec2, ivec3, or - ivec4, or an array of these. - - GL_INVALID_OPERATION is generated if - location is an invalid uniform location - for the current program object and - location is not equal to -1. - - GL_INVALID_VALUE is generated if - count is less than 0. - - GL_INVALID_OPERATION is generated if - count is greater than 1 and the indicated - uniform variable is not an array variable. - - GL_INVALID_OPERATION is generated if a - sampler is loaded using a command other than - glUniform1i and - glUniform1iv. - - GL_INVALID_OPERATION is generated if - glUniform is executed between the execution - of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGet - with the argument GL_CURRENT_PROGRAM - - glGetActiveUniform - with the handle of a program object and the index of an active uniform variable - - glGetUniform - with the handle of a program object and the location of a - uniform variable - - glGetUniformLocation - with the handle of a program object and the name of a uniform - variable - - See Also - glLinkProgram, - glUseProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glUseProgram.xml b/Source/Bind/Specifications/Docs/GL2/glUseProgram.xml deleted file mode 100644 index 761be18e5f..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glUseProgram.xml +++ /dev/null @@ -1,258 +0,0 @@ - - - - - glUseProgram - 3G - - - 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 - current rendering state. One or more executables are created in - a program object by successfully attaching shader objects to it - with - glAttachShader, - successfully compiling the shader objects with - glCompileShader, - and successfully linking the program object with - glLinkProgram. - - - A program object will contain an executable that will run - on the vertex processor if it contains one or more shader - objects of type GL_VERTEX_SHADER that have - been successfully compiled and linked. Similarly, a program - object will contain an executable that will run on the fragment - processor if it contains one or more shader objects of type - GL_FRAGMENT_SHADER that have been - successfully compiled and linked. - - Successfully installing an executable on a programmable - processor will cause the corresponding fixed functionality of - OpenGL to be disabled. Specifically, if an executable is - installed on the vertex processor, the OpenGL fixed - functionality will be disabled as follows. - - - - The modelview matrix is not applied to vertex - coordinates. - - - The projection matrix is not applied to vertex - coordinates. - - - The texture matrices are not applied to texture - coordinates. - - - Normals are not transformed to eye - coordinates. - - - Normals are not rescaled or normalized. - - - Normalization of - GL_AUTO_NORMAL evaluated normals is - not performed. - - - Texture coordinates are not generated - automatically. - - - Per-vertex lighting is not performed. - - - Color material computations are not - performed. - - - Color index lighting is not performed. - - - This list also applies when setting the current - raster position. - - - - The executable that is installed on the vertex processor - is expected to implement any or all of the desired functionality - from the preceding list. Similarly, if an executable is - installed on the fragment processor, the OpenGL fixed - functionality will be disabled as follows. - - - - Texture environment and texture functions are not - applied. - - - Texture application is not applied. - - - Color sum is not applied. - - - Fog is not applied. - - - - Again, the fragment shader that is installed is expected - to implement any or all of the desired functionality from the - preceding list. - - While a program object is in use, applications are free to - modify attached shader objects, compile attached shader objects, - attach additional shader objects, and detach or delete shader - objects. None of these operations will affect the executables - that are part of the current state. However, relinking the - program object that is currently in use will install the program - object as part of the current rendering state if the link - operation was successful (see - glLinkProgram - ). If the program object currently in use is relinked - unsuccessfully, its link status will be set to - GL_FALSE, but the executables and - associated state will remain part of the current state until a - subsequent call to glUseProgram removes it - from use. After it is removed from use, it cannot be made part - of current state until it has been successfully relinked. - - If program contains shader objects - of type GL_VERTEX_SHADER but it does not - contain shader objects of type - GL_FRAGMENT_SHADER, an executable will be - installed on the vertex processor, but fixed functionality will - be used for fragment processing. Similarly, if - program contains shader objects of type - GL_FRAGMENT_SHADER but it does not contain - shader objects of type GL_VERTEX_SHADER, an - executable will be installed on the fragment processor, but - fixed functionality will be used for vertex processing. If - program is 0, the programmable processors - will be disabled, and fixed functionality will be used for both - vertex and fragment processing. - - Notes - glUseProgram is available only if the - GL version is 2.0 or greater. - - While a program object is in use, the state that controls - the disabled fixed functionality may also be updated using the - normal OpenGL calls. - - Like display lists and texture objects, the name space for - program objects may be shared across a set of contexts, as long - as the server sides of the contexts share the same address - space. If the name space is shared across contexts, any attached - objects and the data associated with those attached objects are - shared as well. - - Applications are responsible for providing the - synchronization across API calls when objects are accessed from - different execution threads. - - - Errors - GL_INVALID_VALUE is generated if - program is neither 0 nor a value - generated by OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_OPERATION is generated if - program could not be made part of current - state. - - GL_INVALID_OPERATION is generated if - glUseProgram is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGet - with the argument GL_CURRENT_PROGRAM - - glGetActiveAttrib - with a valid program object and the index of an active attribute - variable - - glGetActiveUniform - with a valid program object and the index of an active uniform - variable - - glGetAttachedShaders - with a valid program object - - glGetAttribLocation - with a valid program object and the name of an attribute - variable - - glGetProgram - with a valid program object and the parameter to be queried - - glGetProgramInfoLog - with a valid program object - - glGetUniform - with a valid program object and the location of a uniform - variable - - glGetUniformLocation - with a valid program object and the name of a uniform - variable - - glIsProgram - - See Also - gllAttachShader, - glBindAttribLocation, - glCompileShader, - glCreateProgram, - glDeleteProgram, - glDetachShader, - glLinkProgram, - glUniform, - glValidateProgram, - glVertexAttrib - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glValidateProgram.xml b/Source/Bind/Specifications/Docs/GL2/glValidateProgram.xml deleted file mode 100644 index 6ef6e60f20..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glValidateProgram.xml +++ /dev/null @@ -1,142 +0,0 @@ - - - - - glValidateProgram - 3G - - - 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 - OpenGL state. The information generated by the validation - process will be stored in program's - information log. The validation information may consist of an - empty string, or it may be a string containing information about - how the current program object interacts with the rest of - current OpenGL state. This provides a way for OpenGL - implementers to convey more information about why the current - program is inefficient, suboptimal, failing to execute, and so - on. - - The status of the validation operation will be stored as - part of the program object's state. This value will be set to - GL_TRUE if the validation succeeded, and - GL_FALSE otherwise. It can be queried by - calling - glGetProgram - with arguments program and - GL_VALIDATE_STATUS. If validation is - successful, program is guaranteed to - execute given the current state. Otherwise, - program is guaranteed to not execute. - - This function is typically useful only during application - development. The informational string stored in the information - log is completely implementation dependent; therefore, an - application should not expect different OpenGL implementations - to produce identical information strings. - - Notes - glValidateProgram is available only - if the GL version is 2.0 or greater. - - This function mimics the validation operation that OpenGL - implementations must perform when rendering commands are issued - while programmable shaders are part of current state. The error - GL_INVALID_OPERATION will be generated by - glBegin, - glRasterPos, - or any command that performs an implicit call to - glBegin - if: - - - - any two active samplers in the current program - object are of different types, but refer to the same - texture image unit, - - - any active sampler in the current program object - refers to a texture image unit where fixed-function - fragment processing accesses a texture target that does - not match the sampler type, or - - - the sum of the number of active samplers in the - program and the number of texture image units enabled - for fixed-function fragment processing exceeds the - combined limit on the total number of texture image - units allowed. - - - - It may be difficult or cause a performance degradation for - applications to catch these errors when rendering commands are - issued. Therefore, applications are advised to make calls to - glValidateProgram to detect these issues - during application development. - - Errors - GL_INVALID_VALUE is generated if - program is not a value generated by - OpenGL. - - GL_INVALID_OPERATION is generated if - program is not a program object. - - GL_INVALID_OPERATION is generated if - glValidateProgram is executed between the - execution of - glBegin - and the corresponding execution of - glEnd. - - Associated Gets - glGetProgram - with arguments program and - GL_VALIDATE_STATUS - - glGetProgramInfoLog - with argument program - - glIsProgram - - See Also - glLinkProgram, - glUseProgram - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glVertexAttrib.xml b/Source/Bind/Specifications/Docs/GL2/glVertexAttrib.xml deleted file mode 100644 index c9f161b8fc..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glVertexAttrib.xml +++ /dev/null @@ -1,422 +0,0 @@ - - - - - glVertexAttrib - 3G - - - 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 - 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, - normal, texture coordinates, etc.). The - glVertexAttrib family of entry points - allows an application to pass generic vertex attributes in - numbered locations. - - Generic attributes are defined as four-component values - that are organized into an array. The first entry of this array - is numbered 0, and the size of the array is specified by the - implementation-dependent constant - GL_MAX_VERTEX_ATTRIBS. Individual elements - of this array can be modified with a - glVertexAttrib call that specifies the - index of the element to be modified and a value for that - element. - - These commands can be used to specify one, two, three, or - all four components of the generic vertex attribute specified by - index. A 1 in the - name of the command indicates that only one value is passed, and - it will be used to modify the first component of the generic - vertex attribute. The second and third components will be set to - 0, and the fourth component will be set to 1. Similarly, a - 2 in the name of the command indicates that - values are provided for the first two components, the third - component will be set to 0, and the fourth component will be set - to 1. A 3 in the name of the command - indicates that values are provided for the first three - components and the fourth component will be set to 1, whereas a - 4 in the name indicates that values are - provided for all four components. - - The letters s, - f, i, - d, ub, - us, and ui indicate - whether the arguments are of type short, float, int, double, - unsigned byte, unsigned short, or unsigned int. When - v is appended to the name, the commands can - take a pointer to an array of such values. 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]. - - OpenGL Shading Language attribute variables are allowed to - be of type mat2, mat3, or mat4. Attributes of these types may be - loaded using the glVertexAttrib entry - points. Matrices must be loaded into successive generic - attribute slots in column major order, with one column of the - matrix in each generic attribute slot. - - A user-defined attribute variable declared in a vertex - shader can be bound to a generic attribute index by calling - glBindAttribLocation. - This allows an application to use more descriptive variable - names in a vertex shader. A subsequent change to the specified - generic vertex attribute will be immediately reflected as a - change to the corresponding attribute variable in the vertex - shader. - - The binding between a generic vertex attribute index and a - 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, just like standard - vertex attributes, 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 - will not be accessed by the vertex shader. If a generic vertex - attribute bound to an attribute variable in a vertex shader is - not updated while the vertex shader is executing, the vertex - shader will repeatedly use the current value for the generic - vertex attribute. - - The generic vertex attribute with index 0 is the same as - the vertex position attribute previously defined by OpenGL. A - glVertex2, - glVertex3, - or - glVertex4 - command is completely equivalent to the corresponding - glVertexAttrib command with an index - argument of 0. A vertex shader can access generic vertex - attribute 0 by using the built-in attribute variable - gl_Vertex. There are no current values - for generic vertex attribute 0. This is the only generic vertex - attribute with this property; calls to set other standard vertex - attributes can be freely mixed with calls to set any of the - other generic vertex attributes. - - Notes - glVertexAttrib is available only if - the GL version is 2.0 or greater. - - Generic vertex attributes can be updated at any time. In - particular, glVertexAttrib can be called - between a call to - glBegin - and the corresponding call to - glEnd. - - It is possible for an application to bind more than one - attribute name to the same generic vertex attribute index. This - is referred to as aliasing, and it is allowed only if just one - of the aliased attribute variables is active in the vertex - shader, or if no path through the vertex shader consumes more - than one of the attributes aliased to the same location. OpenGL - implementations are not required to do error checking to detect - aliasing, they are allowed to assume that aliasing will not - occur, and they are allowed to employ optimizations that work - 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. - - Errors - GL_INVALID_VALUE is generated if - index is greater than or equal to - GL_MAX_VERTEX_ATTRIBS. - - Associated Gets - glGet - with the argument GL_CURRENT_PROGRAM - - glGetActiveAttrib - with argument program and the index of an active - attribute variable - - glGetAttribLocation - with argument program and an attribute - variable name - - glGetVertexAttrib - with arguments GL_CURRENT_VERTEX_ATTRIB and - index - - See Also - glBindAttribLocation, - glVertex, - glVertexAttribPointer - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glVertexAttribPointer.xml b/Source/Bind/Specifications/Docs/GL2/glVertexAttribPointer.xml deleted file mode 100644 index 7f9949b941..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glVertexAttribPointer.xml +++ /dev/null @@ -1,241 +0,0 @@ - - - - - glVertexAttribPointer - 3G - - - 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 - the array. Symbolic constants - GL_BYTE, - GL_UNSIGNED_BYTE, - GL_SHORT, - GL_UNSIGNED_SHORT, - GL_INT, - GL_UNSIGNED_INT, - GL_FLOAT, or - GL_DOUBLE are - accepted. The initial value is GL_FLOAT. - - - - normalized - - Specifies whether fixed-point data values - should be normalized (GL_TRUE) - or converted directly as fixed-point values - (GL_FALSE) when they are - accessed. - - - - stride - - Specifies the byte offset between consecutive - generic vertex attributes. If stride - is 0, the generic vertex attributes are - understood to be tightly packed in the - array. The initial value is 0. - - - - pointer - - Specifies a pointer to the first component of - the first generic vertex attribute in the array. The initial value is 0. - - - - - Description - glVertexAttribPointer specifies the - location and data format of the array of generic vertex attributes at index index - to use when rendering. size - specifies the number of components per attribute and must be 1, - 2, 3, or 4. type specifies the data type - 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. - 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 - (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 - client-side state (GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING) for index index. - - When a generic vertex attribute array is specified, - size, type, - normalized, - stride, and - pointer are saved as client-side - state, in addition to the current vertex array buffer object binding. - - To enable and disable a generic vertex attribute array, - call - glEnableVertexAttribArray - and - glDisableVertexAttribArray - with index. If enabled, the generic - vertex attribute array is used when - glArrayElement, - glDrawArrays, - glMultiDrawArrays, - 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 - and isn't accessed when - glArrayElement, glDrawElements, glDrawRangeElements, - glDrawArrays, glMultiDrawArrays, or glMultiDrawElements - is called. - - Execution of glVertexAttribPointer is - not allowed between the execution of - glBegin - and the corresponding execution of - glEnd, - but an error may or may not be generated. If no error is - generated, the operation is undefined. - - glVertexAttribPointer is typically - implemented on the client side. - - Generic vertex attribute array parameters are client-side - state and are therefore not saved or restored by - glPushAttrib - and - glPopAttrib. - Use - glPushClientAttrib - and - glPopClientAttrib - instead. - - Errors - GL_INVALID_VALUE is generated if - index is greater than or equal to - GL_MAX_VERTEX_ATTRIBS. - - GL_INVALID_VALUE is generated if - size is not 1, 2, 3, or 4. - - GL_INVALID_ENUM is generated if - type is not an accepted value. - - GL_INVALID_VALUE is generated if - stride is negative. - - Associated Gets - glGet - with argument GL_MAX_VERTEX_ATTRIBS - - glGetVertexAttrib - with arguments index and GL_VERTEX_ATTRIB_ARRAY_ENABLED - - glGetVertexAttrib - with arguments index and GL_VERTEX_ATTRIB_ARRAY_SIZE - - glGetVertexAttrib - 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 - GL_ARRAY_BUFFER_BINDING - - glGetVertexAttribPointerv - with arguments index and - GL_VERTEX_ATTRIB_ARRAY_POINTER - - See Also - glArrayElement, - glBindAttribLocation, - glBindBuffer, - glColorPointer, - glDisableVertexAttribArray, - glDrawArrays, - glDrawElements, - glDrawRangeElements, - glEnableVertexAttribArray, - glEdgeFlagPointer, - glFogCoordPointer, - glIndexPointer, - glInterleavedArrays, - glMultiDrawArrays, - glMultiDrawElements, - glNormalPointer, - glPopClientAttrib, - glPushClientAttrib, - glSecondaryColorPointer, - glTexCoordPointer, - glVertexAttrib, - glVertexPointer - - - Copyright - - Copyright 2003-2005 3Dlabs Inc. Ltd. - 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/. - - - diff --git a/Source/Bind/Specifications/Docs/GL2/glViewport.xml b/Source/Bind/Specifications/Docs/GL2/glViewport.xml deleted file mode 100644 index 225dbe10e1..0000000000 --- a/Source/Bind/Specifications/Docs/GL2/glViewport.xml +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - 1991-2006 - Silicon Graphics, Inc. - - - glViewport - 3G - - - 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 - - - Specify the width and height - of the viewport. - When a GL context is first attached to a window, - width and height are set to the dimensions of that - window. - - - - - - Description - - glViewport specifies the affine transformation of - x - and - y - from - normalized device coordinates to window coordinates. - Let - - - - x - nd - - y - nd - - - - be normalized device coordinates. - Then the window coordinates - - - - x - w - - y - w - - - - are computed as follows: - - - - - - x - w - - = - - - - x - nd - - + - 1 - - - - - - width - 2 - - - + - x - - - - - - - - - y - w - - = - - - - y - nd - - + - 1 - - - - - - height - 2 - - - + - y - - - - - - Viewport width and height are silently clamped - to a range that depends on the implementation. - To query this range, call glGet with argument - GL_MAX_VIEWPORT_DIMS. - - - Errors - - GL_INVALID_VALUE is generated if either width or height is negative. - - - GL_INVALID_OPERATION is generated if glViewport - is executed between the execution of glBegin - and the corresponding execution of glEnd. - - - Associated Gets - - glGet with argument GL_VIEWPORT - - - glGet with argument GL_MAX_VIEWPORT_DIMS - - - See Also - - glDepthRange - - - Copyright - - Copyright 1991-2006 - Silicon Graphics, Inc. This document is licensed under the SGI - Free Software B License. For details, see - http://oss.sgi.com/projects/FreeB/. - - -