diff --git a/src/generated/org/lwjgl/opengl/ARBBufferObject.java b/src/generated/org/lwjgl/opengl/ARBBufferObject.java
index 27e54cc8..3233d98c 100644
--- a/src/generated/org/lwjgl/opengl/ARBBufferObject.java
+++ b/src/generated/org/lwjgl/opengl/ARBBufferObject.java
@@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public class ARBBufferObject {
+ /**
+ * Accepted by the <usage> parameter of BufferDataARB:
+ */
public static final int GL_STREAM_DRAW_ARB = 0x88e0;
public static final int GL_STREAM_READ_ARB = 0x88e1;
public static final int GL_STREAM_COPY_ARB = 0x88e2;
@@ -16,9 +19,15 @@ public class ARBBufferObject {
public static final int GL_DYNAMIC_DRAW_ARB = 0x88e8;
public static final int GL_DYNAMIC_READ_ARB = 0x88e9;
public static final int GL_DYNAMIC_COPY_ARB = 0x88ea;
+ /**
+ * Accepted by the <access> parameter of MapBufferARB:
+ */
public static final int GL_READ_ONLY_ARB = 0x88b8;
public static final int GL_WRITE_ONLY_ARB = 0x88b9;
public static final int GL_READ_WRITE_ARB = 0x88ba;
+ /**
+ * Accepted by the <pname> parameter of GetBufferParameterivARB:
+ */
public static final int GL_BUFFER_SIZE_ARB = 0x8764;
public static final int GL_BUFFER_USAGE_ARB = 0x8765;
public static final int GL_BUFFER_ACCESS_ARB = 0x88bb;
diff --git a/src/generated/org/lwjgl/opengl/ARBColorBufferFloat.java b/src/generated/org/lwjgl/opengl/ARBColorBufferFloat.java
index 464bafa5..edc540cd 100644
--- a/src/generated/org/lwjgl/opengl/ARBColorBufferFloat.java
+++ b/src/generated/org/lwjgl/opengl/ARBColorBufferFloat.java
@@ -7,16 +7,30 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBColorBufferFloat {
+ /**
+ * Accepted by the <pname> parameters of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_RGBA_FLOAT_MODE_ARB = 0x8820;
+ /**
+ * Accepted by the <target> parameter of ClampColorARB and the <pname>
+ * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
+ */
public static final int GL_CLAMP_VERTEX_COLOR_ARB = 0x891a;
public static final int GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891b;
public static final int GL_CLAMP_READ_COLOR_ARB = 0x891c;
+ /**
+ * Accepted by the <clamp> parameter of ClampColorARB.
+ */
public static final int GL_FIXED_ONLY_ARB = 0x891d;
private ARBColorBufferFloat() {
}
+ /**
+ * Accepted as a bit set in the GLX_RENDER_TYPE variable
+ */
public static void glClampColorARB(int target, int clamp) {
long function_pointer = GLContext.getCapabilities().ARB_color_buffer_float_glClampColorARB_pointer;
BufferChecks.checkFunctionAddress(function_pointer);
diff --git a/src/generated/org/lwjgl/opengl/ARBDepthTexture.java b/src/generated/org/lwjgl/opengl/ARBDepthTexture.java
index 09fc91d6..e18c657a 100644
--- a/src/generated/org/lwjgl/opengl/ARBDepthTexture.java
+++ b/src/generated/org/lwjgl/opengl/ARBDepthTexture.java
@@ -7,10 +7,22 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBDepthTexture {
+ /**
+ * Accepted by the <internalFormat> parameter of TexImage1D, TexImage2D,
+ * CopyTexImage1D and CopyTexImage2D:
+ */
public static final int GL_DEPTH_COMPONENT16_ARB = 0x81a5;
public static final int GL_DEPTH_COMPONENT24_ARB = 0x81a6;
public static final int GL_DEPTH_COMPONENT32_ARB = 0x81a7;
+ /**
+ * Accepted by the <pname> parameter of GetTexLevelParameterfv and
+ * GetTexLevelParameteriv:
+ */
public static final int GL_TEXTURE_DEPTH_SIZE_ARB = 0x884a;
+ /**
+ * Accepted by the <pname> parameter of TexParameterf, TexParameteri,
+ * TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv:
+ */
public static final int GL_DEPTH_TEXTURE_MODE_ARB = 0x884b;
private ARBDepthTexture() {
diff --git a/src/generated/org/lwjgl/opengl/ARBDrawBuffers.java b/src/generated/org/lwjgl/opengl/ARBDrawBuffers.java
index 82161c66..af505185 100644
--- a/src/generated/org/lwjgl/opengl/ARBDrawBuffers.java
+++ b/src/generated/org/lwjgl/opengl/ARBDrawBuffers.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBDrawBuffers {
+ /**
+ * Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
public static final int GL_MAX_DRAW_BUFFERS_ARB = 0x8824;
public static final int GL_DRAW_BUFFER0_ARB = 0x8825;
public static final int GL_DRAW_BUFFER1_ARB = 0x8826;
diff --git a/src/generated/org/lwjgl/opengl/ARBFragmentProgram.java b/src/generated/org/lwjgl/opengl/ARBFragmentProgram.java
index 5860a87a..615085dc 100644
--- a/src/generated/org/lwjgl/opengl/ARBFragmentProgram.java
+++ b/src/generated/org/lwjgl/opengl/ARBFragmentProgram.java
@@ -7,7 +7,18 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBFragmentProgram extends ARBProgram {
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
+ * <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
+ * and by the <target> parameter of ProgramStringARB, BindProgramARB,
+ * ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB,
+ * GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
+ * GetProgramivARB and GetProgramStringARB.
+ */
public static final int GL_FRAGMENT_PROGRAM_ARB = 0x8804;
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
public static final int GL_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805;
public static final int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806;
public static final int GL_PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807;
@@ -20,6 +31,10 @@ public final class ARBFragmentProgram extends ARBProgram {
public static final int GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880e;
public static final int GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880f;
public static final int GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
diff --git a/src/generated/org/lwjgl/opengl/ARBFragmentShader.java b/src/generated/org/lwjgl/opengl/ARBFragmentShader.java
index 89b76e43..a8b21148 100644
--- a/src/generated/org/lwjgl/opengl/ARBFragmentShader.java
+++ b/src/generated/org/lwjgl/opengl/ARBFragmentShader.java
@@ -7,10 +7,22 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBFragmentShader {
+ /**
+ * Accepted by the <shaderType> argument of CreateShaderObjectARB and
+ * returned by the <params> parameter of GetObjectParameter{fi}vARB:
+ */
public static final int GL_FRAGMENT_SHADER_ARB = 0x8b30;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8b49;
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
+ /**
+ * Accepted by the <target> parameter of Hint and the <pname> parameter of
+ * GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
+ */
public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8b8b;
private ARBFragmentShader() {
diff --git a/src/generated/org/lwjgl/opengl/ARBHalfFloatPixel.java b/src/generated/org/lwjgl/opengl/ARBHalfFloatPixel.java
index b7d94d51..3f296caa 100644
--- a/src/generated/org/lwjgl/opengl/ARBHalfFloatPixel.java
+++ b/src/generated/org/lwjgl/opengl/ARBHalfFloatPixel.java
@@ -7,6 +7,14 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBHalfFloatPixel {
+ /**
+ * Accepted by the <type> parameter of DrawPixels, ReadPixels,
+ * TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D,
+ * TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax,
+ * ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter,
+ * SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable,
+ * and GetColorTable:
+ */
public static final int GL_HALF_FLOAT_ARB = 0x140b;
private ARBHalfFloatPixel() {
diff --git a/src/generated/org/lwjgl/opengl/ARBOcclusionQuery.java b/src/generated/org/lwjgl/opengl/ARBOcclusionQuery.java
index 11921da6..619db1ef 100644
--- a/src/generated/org/lwjgl/opengl/ARBOcclusionQuery.java
+++ b/src/generated/org/lwjgl/opengl/ARBOcclusionQuery.java
@@ -7,9 +7,20 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBOcclusionQuery {
+ /**
+ * Accepted by the <target> parameter of BeginQueryARB, EndQueryARB,
+ * and GetQueryivARB:
+ */
public static final int GL_SAMPLES_PASSED_ARB = 0x8914;
+ /**
+ * Accepted by the <pname> parameter of GetQueryivARB:
+ */
public static final int GL_QUERY_COUNTER_BITS_ARB = 0x8864;
public static final int GL_CURRENT_QUERY_ARB = 0x8865;
+ /**
+ * Accepted by the <pname> parameter of GetQueryObjectivARB and
+ * GetQueryObjectuivARB:
+ */
public static final int GL_QUERY_RESULT_ARB = 0x8866;
public static final int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867;
diff --git a/src/generated/org/lwjgl/opengl/ARBPixelBufferObject.java b/src/generated/org/lwjgl/opengl/ARBPixelBufferObject.java
index 54d97093..c8256831 100644
--- a/src/generated/org/lwjgl/opengl/ARBPixelBufferObject.java
+++ b/src/generated/org/lwjgl/opengl/ARBPixelBufferObject.java
@@ -7,8 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBPixelBufferObject extends ARBBufferObject {
+ /**
+ * Accepted by the <target> parameters of BindBuffer, BufferData,
+ * BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
+ * GetBufferParameteriv, and GetBufferPointerv:
+ */
public static final int GL_PIXEL_PACK_BUFFER_ARB = 0x88eb;
public static final int GL_PIXEL_UNPACK_BUFFER_ARB = 0x88ec;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ed;
public static final int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88ef;
diff --git a/src/generated/org/lwjgl/opengl/ARBPointSprite.java b/src/generated/org/lwjgl/opengl/ARBPointSprite.java
index 183d6e53..a3bcdccf 100644
--- a/src/generated/org/lwjgl/opengl/ARBPointSprite.java
+++ b/src/generated/org/lwjgl/opengl/ARBPointSprite.java
@@ -7,7 +7,18 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBPointSprite {
+ /**
+ * Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev, and by the <target> parameter of TexEnvi, TexEnviv,
+ * TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
+ */
public static final int GL_POINT_SPRITE_ARB = 0x8861;
+ /**
+ * When the <target> parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
+ * GetTexEnvfv, or GetTexEnviv is POINT_SPRITE_ARB, then the value of
+ * <pname> may be:
+ */
public static final int GL_COORD_REPLACE_ARB = 0x8862;
private ARBPointSprite() {
diff --git a/src/generated/org/lwjgl/opengl/ARBProgram.java b/src/generated/org/lwjgl/opengl/ARBProgram.java
index 997ee4ee..94942cb4 100644
--- a/src/generated/org/lwjgl/opengl/ARBProgram.java
+++ b/src/generated/org/lwjgl/opengl/ARBProgram.java
@@ -7,7 +7,13 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public class ARBProgram {
+ /**
+ * Accepted by the <format> parameter of ProgramStringARB:
+ */
public static final int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875;
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
public static final int GL_PROGRAM_LENGTH_ARB = 0x8627;
public static final int GL_PROGRAM_FORMAT_ARB = 0x8876;
public static final int GL_PROGRAM_BINDING_ARB = 0x8677;
@@ -30,14 +36,27 @@ public class ARBProgram {
public static final int GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88b4;
public static final int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88b5;
public static final int GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88b6;
+ /**
+ * Accepted by the <pname> parameter of GetProgramStringARB:
+ */
public static final int GL_PROGRAM_STRING_ARB = 0x8628;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_PROGRAM_ERROR_POSITION_ARB = 0x864b;
public static final int GL_CURRENT_MATRIX_ARB = 0x8641;
public static final int GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88b7;
public static final int GL_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640;
public static final int GL_MAX_PROGRAM_MATRICES_ARB = 0x862f;
public static final int GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862e;
+ /**
+ * Accepted by the <name> parameter of GetString:
+ */
public static final int GL_PROGRAM_ERROR_STRING_ARB = 0x8874;
+ /**
+ * Accepted by the <mode> parameter of MatrixMode:
+ */
public static final int GL_MATRIX0_ARB = 0x88c0;
public static final int GL_MATRIX1_ARB = 0x88c1;
public static final int GL_MATRIX2_ARB = 0x88c2;
diff --git a/src/generated/org/lwjgl/opengl/ARBShaderObjects.java b/src/generated/org/lwjgl/opengl/ARBShaderObjects.java
index fd902356..6d1e9c7e 100644
--- a/src/generated/org/lwjgl/opengl/ARBShaderObjects.java
+++ b/src/generated/org/lwjgl/opengl/ARBShaderObjects.java
@@ -7,7 +7,13 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBShaderObjects {
+ /**
+ * Accepted by the <pname> argument of GetHandleARB:
+ */
public static final int GL_PROGRAM_OBJECT_ARB = 0x8b40;
+ /**
+ * Accepted by the <pname> parameter of GetObjectParameter{fi}vARB:
+ */
public static final int GL_OBJECT_TYPE_ARB = 0x8b4e;
public static final int GL_OBJECT_SUBTYPE_ARB = 0x8b4f;
public static final int GL_OBJECT_DELETE_STATUS_ARB = 0x8b80;
@@ -19,7 +25,13 @@ public final class ARBShaderObjects {
public static final int GL_OBJECT_ACTIVE_UNIFORMS_ARB = 0x8b86;
public static final int GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8b87;
public static final int GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8b88;
+ /**
+ * Returned by the <params> parameter of GetObjectParameter{fi}vARB:
+ */
public static final int GL_SHADER_OBJECT_ARB = 0x8b48;
+ /**
+ * Returned by the <type> parameter of GetActiveUniformARB:
+ */
public static final int GL_FLOAT = 0x1406;
public static final int GL_FLOAT_VEC2_ARB = 0x8b50;
public static final int GL_FLOAT_VEC3_ARB = 0x8b51;
@@ -82,8 +94,6 @@ public final class ARBShaderObjects {
* The ARB_shader_objects extension allows multiple, optionally null-terminated, source strings to define a shader program.
*
* This method uses just a single string, that should NOT be null-terminated.
- * @param shaderObj
- * @param string
*/
public static void glShaderSourceARB(int shader, ByteBuffer string) {
long function_pointer = GLContext.getCapabilities().ARB_shader_objects_glShaderSourceARB_pointer;
@@ -320,7 +330,6 @@ public final class ARBShaderObjects {
* Returns the location of the uniform with the specified name. The ByteBuffer should contain the uniform name as a null-terminated string.
* @param programObj
* @param name
- * @return
*/
public static int glGetUniformLocationARB(int programObj, ByteBuffer name) {
long function_pointer = GLContext.getCapabilities().ARB_shader_objects_glGetUniformLocationARB_pointer;
diff --git a/src/generated/org/lwjgl/opengl/ARBShadingLanguage100.java b/src/generated/org/lwjgl/opengl/ARBShadingLanguage100.java
index fa62dea5..2998a3e2 100644
--- a/src/generated/org/lwjgl/opengl/ARBShadingLanguage100.java
+++ b/src/generated/org/lwjgl/opengl/ARBShadingLanguage100.java
@@ -8,7 +8,7 @@ import java.nio.*;
public final class ARBShadingLanguage100 {
/**
- * Accepted by the parameter of GetString:
+ * Accepted by the <name> parameter of GetString:
*/
public static final int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8b8c;
diff --git a/src/generated/org/lwjgl/opengl/ARBTextureFloat.java b/src/generated/org/lwjgl/opengl/ARBTextureFloat.java
index 8307ab0b..36c2720e 100644
--- a/src/generated/org/lwjgl/opengl/ARBTextureFloat.java
+++ b/src/generated/org/lwjgl/opengl/ARBTextureFloat.java
@@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBTextureFloat {
+ /**
+ * Accepted by the <value> parameter of GetTexLevelParameter:
+ */
public static final int GL_TEXTURE_RED_TYPE_ARB = 0x8c10;
public static final int GL_TEXTURE_GREEN_TYPE_ARB = 0x8c11;
public static final int GL_TEXTURE_BLUE_TYPE_ARB = 0x8c12;
@@ -14,7 +17,14 @@ public final class ARBTextureFloat {
public static final int GL_TEXTURE_LUMINANCE_TYPE_ARB = 0x8c14;
public static final int GL_TEXTURE_INTENSITY_TYPE_ARB = 0x8c15;
public static final int GL_TEXTURE_DEPTH_TYPE_ARB = 0x8c16;
+ /**
+ * Returned by the <params> parameter of GetTexLevelParameter:
+ */
public static final int GL_UNSIGNED_NORMALIZED_ARB = 0x8c17;
+ /**
+ * Accepted by the <internalFormat> parameter of TexImage1D,
+ * TexImage2D, and TexImage3D:
+ */
public static final int GL_RGBA32F_ARB = 0x8814;
public static final int GL_RGB32F_ARB = 0x8815;
public static final int GL_ALPHA32F_ARB = 0x8816;
diff --git a/src/generated/org/lwjgl/opengl/ARBTextureRectangle.java b/src/generated/org/lwjgl/opengl/ARBTextureRectangle.java
index d847b58b..4ddeef6b 100644
--- a/src/generated/org/lwjgl/opengl/ARBTextureRectangle.java
+++ b/src/generated/org/lwjgl/opengl/ARBTextureRectangle.java
@@ -7,12 +7,42 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBTextureRectangle {
+ /**
+ * Accepted by the <cap> parameter of Enable, Disable and IsEnabled;
+ * by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv
+ * and GetDoublev; and by the <target> parameter of BindTexture,
+ * GetTexParameterfv, GetTexParameteriv, TexParameterf, TexParameteri,
+ * TexParameterfv and TexParameteriv:
+ * Accepted by the <target> parameter of GetTexImage,
+ * GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D,
+ * CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:
+ */
public static final int GL_TEXTURE_RECTANGLE_ARB = 0x84f5;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv and GetDoublev:
+ */
public static final int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84f6;
+ /**
+ * Accepted by the <target> parameter of GetTexLevelParameteriv,
+ * GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
+ */
public static final int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84f7;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetDoublev,
+ * GetIntegerv and GetFloatv:
+ */
public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84f8;
- public static final int GL_SAMPLER_2D_RECT_ARB = 0x8B63;
- public static final int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64;
+ /**
+ * Returned by <type> parameter of GetActiveUniform when the location
+ * <index> for program object <program> is of type sampler2DRect:
+ */
+ public static final int GL_SAMPLER_2D_RECT_ARB = 0x8b63;
+ /**
+ * Returned by <type> parameter of GetActiveUniform when the location
+ * <index> for program object <program> is of type sampler2DRectShadow:
+ */
+ public static final int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8b64;
private ARBTextureRectangle() {
}
diff --git a/src/generated/org/lwjgl/opengl/ARBVertexBufferObject.java b/src/generated/org/lwjgl/opengl/ARBVertexBufferObject.java
index 378a9c8a..8b5fd958 100644
--- a/src/generated/org/lwjgl/opengl/ARBVertexBufferObject.java
+++ b/src/generated/org/lwjgl/opengl/ARBVertexBufferObject.java
@@ -7,8 +7,18 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBVertexBufferObject extends ARBBufferObject {
+ /**
+ * Accepted by the <target> parameters of BindBufferARB, BufferDataARB,
+ * BufferSubDataARB, MapBufferARB, UnmapBufferARB,
+ * GetBufferSubDataARB, GetBufferParameterivARB, and
+ * GetBufferPointervARB:
+ */
public static final int GL_ARRAY_BUFFER_ARB = 0x8892;
public static final int GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_ARRAY_BUFFER_BINDING_ARB = 0x8894;
public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895;
public static final int GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896;
@@ -20,6 +30,9 @@ public final class ARBVertexBufferObject extends ARBBufferObject {
public static final int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x889c;
public static final int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889d;
public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889e;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribivARB:
+ */
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889f;
private ARBVertexBufferObject() {
diff --git a/src/generated/org/lwjgl/opengl/ARBVertexProgram.java b/src/generated/org/lwjgl/opengl/ARBVertexProgram.java
index fdd44d4c..d49d705d 100644
--- a/src/generated/org/lwjgl/opengl/ARBVertexProgram.java
+++ b/src/generated/org/lwjgl/opengl/ARBVertexProgram.java
@@ -7,21 +7,47 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBVertexProgram extends ARBProgram {
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
+ * <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
+ * and by the <target> parameter of ProgramStringARB, BindProgramARB,
+ * ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB,
+ * GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
+ * GetProgramivARB, and GetProgramStringARB.
+ */
public static final int GL_VERTEX_PROGRAM_ARB = 0x8620;
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev:
+ */
public static final int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
public static final int GL_COLOR_SUM_ARB = 0x8458;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttrib[dfi]vARB:
+ */
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625;
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886a;
public static final int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribPointervARB:
+ */
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
public static final int GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88b0;
public static final int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88b1;
public static final int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88b2;
public static final int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88b3;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
private ARBVertexProgram() {
diff --git a/src/generated/org/lwjgl/opengl/ARBVertexShader.java b/src/generated/org/lwjgl/opengl/ARBVertexShader.java
index 1e055a3a..4c35cd60 100644
--- a/src/generated/org/lwjgl/opengl/ARBVertexShader.java
+++ b/src/generated/org/lwjgl/opengl/ARBVertexShader.java
@@ -7,7 +7,15 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBVertexShader {
+ /**
+ * Accepted by the <shaderType> argument of CreateShaderObjectARB and
+ * returned by the <params> parameter of GetObjectParameter{if}vARB:
+ */
public static final int GL_VERTEX_SHADER_ARB = 0x8b31;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8b4a;
public static final int GL_MAX_VARYING_FLOATS_ARB = 0x8b4b;
public static final int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
@@ -15,17 +23,34 @@ public final class ARBVertexShader {
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8b4c;
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8b4d;
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and
+ * by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev:
+ */
public static final int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
+ /**
+ * Accepted by the <pname> parameter GetObjectParameter{if}vARB:
+ */
public static final int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8b89;
public static final int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8b8a;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttrib{dfi}vARB:
+ */
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625;
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886a;
public static final int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribPointervARB:
+ */
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
+ /**
+ * Returned by the <type> parameter of GetActiveAttribARB:
+ */
public static final int GL_FLOAT = 0x1406;
public static final int GL_FLOAT_VEC2_ARB = 0x8b50;
public static final int GL_FLOAT_VEC3_ARB = 0x8b51;
diff --git a/src/generated/org/lwjgl/opengl/ATIDrawBuffers.java b/src/generated/org/lwjgl/opengl/ATIDrawBuffers.java
index b0f3b2db..7d71deac 100644
--- a/src/generated/org/lwjgl/opengl/ATIDrawBuffers.java
+++ b/src/generated/org/lwjgl/opengl/ATIDrawBuffers.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ATIDrawBuffers {
+ /**
+ * Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
public static final int GL_MAX_DRAW_BUFFERS_ATI = 0x8824;
public static final int GL_DRAW_BUFFER0_ATI = 0x8825;
public static final int GL_DRAW_BUFFER1_ATI = 0x8826;
diff --git a/src/generated/org/lwjgl/opengl/ATIFragmentShader.java b/src/generated/org/lwjgl/opengl/ATIFragmentShader.java
index 6f92c0e1..82e73179 100644
--- a/src/generated/org/lwjgl/opengl/ATIFragmentShader.java
+++ b/src/generated/org/lwjgl/opengl/ATIFragmentShader.java
@@ -101,9 +101,9 @@ public final class ATIFragmentShader {
public static final int GL_RED_BIT_ATI = 0x1;
public static final int GL_GREEN_BIT_ATI = 0x2;
public static final int GL_BLUE_BIT_ATI = 0x4;
- public static final int GL_X2_BIT_ATI = 0x1;
- public static final int GL_X4_BIT_ATI = 0x2;
- public static final int GL_X8_BIT_ATI = 0x4;
+ public static final int GL_2X_BIT_ATI = 0x1;
+ public static final int GL_4X_BIT_ATI = 0x2;
+ public static final int GL_8X_BIT_ATI = 0x4;
public static final int GL_HALF_BIT_ATI = 0x8;
public static final int GL_QUARTER_BIT_ATI = 0x10;
public static final int GL_EIGHTH_BIT_ATI = 0x20;
diff --git a/src/generated/org/lwjgl/opengl/ATIMapObjectBuffer.java b/src/generated/org/lwjgl/opengl/ATIMapObjectBuffer.java
index faaca580..a63bda98 100644
--- a/src/generated/org/lwjgl/opengl/ATIMapObjectBuffer.java
+++ b/src/generated/org/lwjgl/opengl/ATIMapObjectBuffer.java
@@ -17,10 +17,10 @@ public final class ATIMapObjectBuffer {
* null, in which case a new ByteBuffer will be created, pointing to the returned memory. If
* oldBuffer is non-null, it will be returned if it points to the same mapped memory, otherwise a
* new ByteBuffer is created.
- * @param result_size The size of the buffer area.
- * @param old_buffer A ByteBuffer. If this argument points to the same address as the new mapping,
- * it will be returned and no new buffer will be created. In that case, size is
- * ignored.
+ * @param result_size The size of the buffer area.
+ * @param old_buffer A ByteBuffer. If this argument points to the same address as the new mapping,
+ * it will be returned and no new buffer will be created. In that case, size is
+ * ignored.
* @return A ByteBuffer representing the mapped object buffer memory.
*/
public static java.nio.ByteBuffer glMapObjectBufferATI(int buffer, int result_size, java.nio.ByteBuffer old_buffer) {
diff --git a/src/generated/org/lwjgl/opengl/ATITextureFloat.java b/src/generated/org/lwjgl/opengl/ATITextureFloat.java
index 692d1fe1..f23fe04b 100644
--- a/src/generated/org/lwjgl/opengl/ATITextureFloat.java
+++ b/src/generated/org/lwjgl/opengl/ATITextureFloat.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ATITextureFloat {
+ /**
+ * Accepted by the <internalFormat> parameter of TexImage1D,
+ * TexImage2D, and TexImage3D:
+ */
public static final int GL_RGBA_FLOAT32_ATI = 0x8814;
public static final int GL_RGB_FLOAT32_ATI = 0x8815;
public static final int GL_ALPHA_FLOAT32_ATI = 0x8816;
diff --git a/src/generated/org/lwjgl/opengl/EXTBlendEquationSeparate.java b/src/generated/org/lwjgl/opengl/EXTBlendEquationSeparate.java
index c6ed0d41..1950b4ae 100644
--- a/src/generated/org/lwjgl/opengl/EXTBlendEquationSeparate.java
+++ b/src/generated/org/lwjgl/opengl/EXTBlendEquationSeparate.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTBlendEquationSeparate {
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
public static final int GL_BLEND_EQUATION_ALPHA_EXT = 0x883d;
diff --git a/src/generated/org/lwjgl/opengl/EXTDepthBoundsTest.java b/src/generated/org/lwjgl/opengl/EXTDepthBoundsTest.java
index 4f581483..558cc32d 100644
--- a/src/generated/org/lwjgl/opengl/EXTDepthBoundsTest.java
+++ b/src/generated/org/lwjgl/opengl/EXTDepthBoundsTest.java
@@ -7,7 +7,16 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTDepthBoundsTest {
+ /**
+ * Accepted by the <cap> parameter of Enable, Disable, and IsEnabled,
+ * and by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_DEPTH_BOUNDS_TEST_EXT = 0x8890;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_DEPTH_BOUNDS_EXT = 0x8891;
private EXTDepthBoundsTest() {
diff --git a/src/generated/org/lwjgl/opengl/EXTPackedDepthStencil.java b/src/generated/org/lwjgl/opengl/EXTPackedDepthStencil.java
index 1f260164..d5d36183 100644
--- a/src/generated/org/lwjgl/opengl/EXTPackedDepthStencil.java
+++ b/src/generated/org/lwjgl/opengl/EXTPackedDepthStencil.java
@@ -7,9 +7,32 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTPackedDepthStencil {
+ /**
+ * Accepted by the <format> parameter of DrawPixels, ReadPixels,
+ * TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D,
+ * TexSubImage3D, and GetTexImage, by the <type> parameter of
+ * CopyPixels, by the <internalformat> parameter of TexImage1D,
+ * TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and
+ * RenderbufferStorageEXT, and returned in the <data> parameter of
+ * GetTexLevelParameter and GetRenderbufferParameterivEXT.
+ */
public static final int GL_DEPTH_STENCIL_EXT = 0x84f9;
+ /**
+ * Accepted by the <type> parameter of DrawPixels, ReadPixels,
+ * TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D,
+ * TexSubImage3D, and GetTexImage.
+ */
public static final int GL_UNSIGNED_INT_24_8_EXT = 0x84fa;
+ /**
+ * Accepted by the <internalformat> parameter of TexImage1D,
+ * TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and
+ * RenderbufferStorageEXT, and returned in the <data> parameter of
+ * GetTexLevelParameter and GetRenderbufferParameterivEXT.
+ */
public static final int GL_DEPTH24_STENCIL8_EXT = 0x88f0;
+ /**
+ * Accepted by the <value> parameter of GetTexLevelParameter.
+ */
public static final int GL_TEXTURE_STENCIL_SIZE_EXT = 0x88f1;
private EXTPackedDepthStencil() {
diff --git a/src/generated/org/lwjgl/opengl/EXTPalettedTexture.java b/src/generated/org/lwjgl/opengl/EXTPalettedTexture.java
index 50116323..3e52f6f0 100644
--- a/src/generated/org/lwjgl/opengl/EXTPalettedTexture.java
+++ b/src/generated/org/lwjgl/opengl/EXTPalettedTexture.java
@@ -7,12 +7,20 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTPalettedTexture {
+ /**
+ * Accepted by the internalformat parameter of TexImage1D, TexImage2D and
+ * TexImage3DEXT:
+ */
public static final int GL_COLOR_INDEX1_EXT = 0x80e2;
public static final int GL_COLOR_INDEX2_EXT = 0x80e3;
public static final int GL_COLOR_INDEX4_EXT = 0x80e4;
public static final int GL_COLOR_INDEX8_EXT = 0x80e5;
public static final int GL_COLOR_INDEX12_EXT = 0x80e6;
public static final int GL_COLOR_INDEX16_EXT = 0x80e7;
+ /**
+ * Accepted by the pname parameter of GetColorTableParameterivEXT and
+ * GetColorTableParameterfvEXT:
+ */
public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80d8;
public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80d9;
public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80da;
@@ -21,6 +29,9 @@ public final class EXTPalettedTexture {
public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80dd;
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80de;
public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80df;
+ /**
+ * Accepted by the value parameter of GetTexLevelParameter{if}v:
+ */
public static final int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ed;
private EXTPalettedTexture() {
diff --git a/src/generated/org/lwjgl/opengl/EXTPixelBufferObject.java b/src/generated/org/lwjgl/opengl/EXTPixelBufferObject.java
index c0651739..66b62b5f 100644
--- a/src/generated/org/lwjgl/opengl/EXTPixelBufferObject.java
+++ b/src/generated/org/lwjgl/opengl/EXTPixelBufferObject.java
@@ -7,8 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTPixelBufferObject extends ARBBufferObject {
+ /**
+ * Accepted by the <target> parameters of BindBuffer, BufferData,
+ * BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
+ * GetBufferParameteriv, and GetBufferPointerv:
+ */
public static final int GL_PIXEL_PACK_BUFFER_EXT = 0x88eb;
public static final int GL_PIXEL_UNPACK_BUFFER_EXT = 0x88ec;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ed;
public static final int PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88ef;
diff --git a/src/generated/org/lwjgl/opengl/EXTStencilClearTag.java b/src/generated/org/lwjgl/opengl/EXTStencilClearTag.java
index a5dea359..f4defc1a 100644
--- a/src/generated/org/lwjgl/opengl/EXTStencilClearTag.java
+++ b/src/generated/org/lwjgl/opengl/EXTStencilClearTag.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTStencilClearTag {
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev.
+ */
public static final int GL_STENCIL_TAG_BITS_EXT = 0x88f2;
public static final int GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88f3;
@@ -14,6 +18,11 @@ public final class EXTStencilClearTag {
}
+ /**
+ * Controls the stencil clear tag state. stencilTagBits is a count of
+ * the number of most-significant stencil buffer bits involved in the
+ * stencil clear tag update.
+ */
public static void glStencilClearTagEXT(int stencilTagBits, int stencilClearTag) {
long function_pointer = GLContext.getCapabilities().EXT_stencil_clear_tag_glStencilClearTagEXT_pointer;
BufferChecks.checkFunctionAddress(function_pointer);
diff --git a/src/generated/org/lwjgl/opengl/EXTTextureMirrorClamp.java b/src/generated/org/lwjgl/opengl/EXTTextureMirrorClamp.java
index c27aa8c6..0d0bc41e 100644
--- a/src/generated/org/lwjgl/opengl/EXTTextureMirrorClamp.java
+++ b/src/generated/org/lwjgl/opengl/EXTTextureMirrorClamp.java
@@ -7,6 +7,12 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTTextureMirrorClamp {
+ /**
+ * Accepted by the <param> parameter of TexParameteri and TexParameterf,
+ * and by the <params> parameter of TexParameteriv and TexParameterfv,
+ * when their <pname> parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T,
+ * or TEXTURE_WRAP_R:
+ */
public static final int GL_MIRROR_CLAMP_EXT = 0x8742;
public static final int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
public static final int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;
diff --git a/src/generated/org/lwjgl/opengl/EXTTextureSRGB.java b/src/generated/org/lwjgl/opengl/EXTTextureSRGB.java
index f8a226fb..07c1a822 100644
--- a/src/generated/org/lwjgl/opengl/EXTTextureSRGB.java
+++ b/src/generated/org/lwjgl/opengl/EXTTextureSRGB.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTTextureSRGB {
+ /**
+ * Accepted by the <internalformat> parameter of TexImage1D, TexImage2D,
+ * TexImage3D, CopyTexImage1D, CopyTexImage2D.
+ */
public static final int GL_SRGB_EXT = 0x8c40;
public static final int GL_SRGB8_EXT = 0x8c41;
public static final int GL_SRGB_ALPHA_EXT = 0x8c42;
@@ -19,6 +23,11 @@ public final class EXTTextureSRGB {
public static final int GL_COMPRESSED_SRGB_ALPHA_EXT = 0x8c49;
public static final int GL_COMPRESSED_SLUMINANCE_EXT = 0x8c4a;
public static final int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8c4b;
+ /**
+ * Accepted by the <internalformat> parameter of TexImage2D,
+ * CopyTexImage2D, and CompressedTexImage2DARB and the <format> parameter
+ * of CompressedTexSubImage2DARB.
+ */
public static final int GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8c4c;
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8c4d;
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8c4e;
diff --git a/src/generated/org/lwjgl/opengl/GL15.java b/src/generated/org/lwjgl/opengl/GL15.java
index c6975164..8a7f0fb7 100644
--- a/src/generated/org/lwjgl/opengl/GL15.java
+++ b/src/generated/org/lwjgl/opengl/GL15.java
@@ -38,9 +38,20 @@ public final class GL15 {
public static final int GL_BUFFER_ACCESS = 0x88bb;
public static final int GL_BUFFER_MAPPED = 0x88bc;
public static final int GL_BUFFER_MAP_POINTER = 0x88bd;
+ /**
+ * Accepted by the <target> parameter of BeginQuery, EndQuery,
+ * and GetQueryiv:
+ */
public static final int GL_SAMPLES_PASSED = 0x8914;
+ /**
+ * Accepted by the <pname> parameter of GetQueryiv:
+ */
public static final int GL_QUERY_COUNTER_BITS = 0x8864;
public static final int GL_CURRENT_QUERY = 0x8865;
+ /**
+ * Accepted by the <pname> parameter of GetQueryObjectiv and
+ * GetQueryObjectuiv:
+ */
public static final int GL_QUERY_RESULT = 0x8866;
public static final int GL_QUERY_RESULT_AVAILABLE = 0x8867;
diff --git a/src/generated/org/lwjgl/opengl/GL20.java b/src/generated/org/lwjgl/opengl/GL20.java
index 07e57d65..b2f36e66 100644
--- a/src/generated/org/lwjgl/opengl/GL20.java
+++ b/src/generated/org/lwjgl/opengl/GL20.java
@@ -7,8 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class GL20 {
+ /**
+ * Accepted by the <name> parameter of GetString:
+ */
public static final int GL_SHADING_LANGUAGE_VERSION = 0x8b8c;
+ /**
+ * Accepted by the <pname> argument of GetInteger:
+ */
public static final int GL_CURRENT_PROGRAM = 0x8b8d;
+ /**
+ * Accepted by the <pname> parameter of GetObjectParameter{fi}vARB:
+ */
public static final int GL_SHADER_TYPE = 0x8b4f;
public static final int GL_DELETE_STATUS = 0x8b80;
public static final int GL_COMPILE_STATUS = 0x8b81;
@@ -21,7 +30,13 @@ public final class GL20 {
public static final int GL_ACTIVE_ATTRIBUTES = 0x8b89;
public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a;
public static final int GL_SHADER_SOURCE_LENGTH = 0x8b88;
+ /**
+ * Returned by the <params> parameter of GetObjectParameter{fi}vARB:
+ */
public static final int GL_SHADER_OBJECT = 0x8b48;
+ /**
+ * Returned by the <type> parameter of GetActiveUniformARB:
+ */
public static final int GL_FLOAT_VEC2 = 0x8b50;
public static final int GL_FLOAT_VEC3 = 0x8b51;
public static final int GL_FLOAT_VEC4 = 0x8b52;
@@ -41,7 +56,15 @@ public final class GL20 {
public static final int GL_SAMPLER_CUBE = 0x8b60;
public static final int GL_SAMPLER_1D_SHADOW = 0x8b61;
public static final int GL_SAMPLER_2D_SHADOW = 0x8b62;
+ /**
+ * Accepted by the <shaderType> argument of CreateShader and
+ * returned by the <params> parameter of GetShader{if}v:
+ */
public static final int GL_VERTEX_SHADER = 0x8b31;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8b4a;
public static final int GL_MAX_VARYING_FLOATS = 0x8b4b;
public static final int GL_MAX_VERTEX_ATTRIBS = 0x8869;
@@ -49,18 +72,45 @@ public final class GL20 {
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8b4c;
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8b4d;
public static final int GL_MAX_TEXTURE_COORDS = 0x8871;
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and
+ * by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev:
+ */
public static final int GL_VERTEX_PROGRAM_POINT_SIZE = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttrib{dfi}vARB:
+ */
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886a;
public static final int GL_CURRENT_VERTEX_ATTRIB = 0x8626;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribPointervARB:
+ */
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
+ /**
+ * Accepted by the <shaderType> argument of CreateShader and
+ * returned by the <params> parameter of GetShader{fi}vARB:
+ */
public static final int GL_FRAGMENT_SHADER = 0x8b30;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8b49;
+ /**
+ * Accepted by the <target> parameter of Hint and the <pname> parameter of
+ * GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
+ */
public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8b8b;
+ /**
+ * Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
public static final int GL_MAX_DRAW_BUFFERS = 0x8824;
public static final int GL_DRAW_BUFFER0 = 0x8825;
public static final int GL_DRAW_BUFFER1 = 0x8826;
@@ -78,9 +128,27 @@ public final class GL20 {
public static final int GL_DRAW_BUFFER13 = 0x8832;
public static final int GL_DRAW_BUFFER14 = 0x8833;
public static final int GL_DRAW_BUFFER15 = 0x8834;
+ /**
+ * Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev, and by the <target> parameter of TexEnvi, TexEnviv,
+ * TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
+ */
public static final int GL_POINT_SPRITE = 0x8861;
+ /**
+ * When the <target> parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
+ * GetTexEnvfv, or GetTexEnviv is POINT_SPRITE, then the value of
+ * <pname> may be:
+ */
public static final int GL_COORD_REPLACE = 0x8862;
+ /**
+ * Accepted by the <pname> parameter of PointParameter{if}vARB, and the
+ * <pname> of Get:
+ */
public static final int GL_POINT_SPRITE_COORD_ORIGIN = 0x8ca0;
+ /**
+ * Accepted by the <param> parameter of PointParameter{if}vARB:
+ */
public static final int GL_LOWER_LEFT = 0x8ca1;
public static final int GL_UPPER_LEFT = 0x8ca2;
public static final int GL_STENCIL_BACK_FUNC = 0x8800;
diff --git a/src/generated/org/lwjgl/opengl/HPOcclusionTest.java b/src/generated/org/lwjgl/opengl/HPOcclusionTest.java
index 11dbc3c0..3c59d607 100644
--- a/src/generated/org/lwjgl/opengl/HPOcclusionTest.java
+++ b/src/generated/org/lwjgl/opengl/HPOcclusionTest.java
@@ -8,12 +8,12 @@ import java.nio.*;
public final class HPOcclusionTest {
/**
- * Accepted by the parameter of Enable, Disable, and IsEnabled, by
- * the of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev :
+ * Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
+ * the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev :
*/
public static final int GL_OCCLUSION_TEST_HP = 0x8165;
/**
- * Accepted by the of GetBooleanv, GetIntegerv, GetFloatv, and
+ * Accepted by the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev :
*/
public static final int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
diff --git a/src/generated/org/lwjgl/opengl/IBMRasterposClip.java b/src/generated/org/lwjgl/opengl/IBMRasterposClip.java
index a410dca9..75fa0f62 100644
--- a/src/generated/org/lwjgl/opengl/IBMRasterposClip.java
+++ b/src/generated/org/lwjgl/opengl/IBMRasterposClip.java
@@ -8,7 +8,7 @@ import java.nio.*;
public final class IBMRasterposClip {
/**
- * Accepted by the parameter of Enable and Disable and the
+ * Accepted by the <target> parameter of Enable and Disable and the <value>
* parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
*/
public static final int GL_RASTER_POSITION_UNCLIPPED_IBM = 0x19262;
diff --git a/src/generated/org/lwjgl/opengl/NVFloatBuffer.java b/src/generated/org/lwjgl/opengl/NVFloatBuffer.java
index ed9045b7..c10ee32c 100644
--- a/src/generated/org/lwjgl/opengl/NVFloatBuffer.java
+++ b/src/generated/org/lwjgl/opengl/NVFloatBuffer.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVFloatBuffer {
+ /**
+ * Accepted by the <internalformat> parameter of TexImage2D and
+ * CopyTexImage2D:
+ */
public static final int GL_FLOAT_R_NV = 0x8880;
public static final int GL_FLOAT_RG_NV = 0x8881;
public static final int GL_FLOAT_RGB_NV = 0x8882;
@@ -19,7 +23,15 @@ public final class NVFloatBuffer {
public static final int GL_FLOAT_RGB32_NV = 0x8889;
public static final int GL_FLOAT_RGBA16_NV = 0x888a;
public static final int GL_FLOAT_RGBA32_NV = 0x888b;
+ /**
+ * Accepted by the <pname> parameter of GetTexLevelParameterfv and
+ * GetTexLevelParameteriv:
+ */
public static final int GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888c;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
public static final int GL_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888d;
public static final int GL_FLOAT_RGBA_MODE_NV = 0x888e;
diff --git a/src/generated/org/lwjgl/opengl/NVFragmentProgram.java b/src/generated/org/lwjgl/opengl/NVFragmentProgram.java
index 00666f52..53e1e063 100644
--- a/src/generated/org/lwjgl/opengl/NVFragmentProgram.java
+++ b/src/generated/org/lwjgl/opengl/NVFragmentProgram.java
@@ -7,7 +7,19 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVFragmentProgram extends NVProgram {
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
+ * <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
+ * and by the <target> parameter of BindProgramNV, LoadProgramNV,
+ * ProgramLocalParameter4dARB, ProgramLocalParameter4dvARB,
+ * ProgramLocalParameter4fARB, ProgramLocalParameter4fvARB,
+ * GetProgramLocalParameterdvARB, and GetProgramLocalParameterfvARB:
+ */
public static final int GL_FRAGMENT_PROGRAM_NV = 0x8870;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
public static final int GL_MAX_TEXTURE_COORDS_NV = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872;
public static final int GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873;
diff --git a/src/generated/org/lwjgl/opengl/NVFragmentProgram2.java b/src/generated/org/lwjgl/opengl/NVFragmentProgram2.java
index 19987d6d..7b86968a 100644
--- a/src/generated/org/lwjgl/opengl/NVFragmentProgram2.java
+++ b/src/generated/org/lwjgl/opengl/NVFragmentProgram2.java
@@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVFragmentProgram2 {
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
public static final int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88f4;
public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88f5;
public static final int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88f6;
diff --git a/src/generated/org/lwjgl/opengl/NVHalfFloat.java b/src/generated/org/lwjgl/opengl/NVHalfFloat.java
index c7e72e08..5e12f099 100644
--- a/src/generated/org/lwjgl/opengl/NVHalfFloat.java
+++ b/src/generated/org/lwjgl/opengl/NVHalfFloat.java
@@ -7,6 +7,13 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVHalfFloat {
+ /**
+ * Accepted by the <type> argument of VertexPointer, NormalPointer,
+ * ColorPointer, TexCoordPointer, FogCoordPointerEXT,
+ * SecondaryColorPointerEXT, VertexWeightPointerEXT, VertexAttribPointerNV,
+ * DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D,
+ * TexSubImage2D, TexSubImage3D, and GetTexImage:
+ */
public static final int GL_HALF_FLOAT_NV = 0x140b;
private NVHalfFloat() {
diff --git a/src/generated/org/lwjgl/opengl/NVMultisampleFilterHint.java b/src/generated/org/lwjgl/opengl/NVMultisampleFilterHint.java
index 262832c3..bd66cfa4 100644
--- a/src/generated/org/lwjgl/opengl/NVMultisampleFilterHint.java
+++ b/src/generated/org/lwjgl/opengl/NVMultisampleFilterHint.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVMultisampleFilterHint {
+ /**
+ * Accepted by the <target> parameter of Hint and by the <pname>
+ * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
+ */
public static final int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
private NVMultisampleFilterHint() {
diff --git a/src/generated/org/lwjgl/opengl/NVPixelDataRange.java b/src/generated/org/lwjgl/opengl/NVPixelDataRange.java
index 96e384b6..7d2caf4c 100644
--- a/src/generated/org/lwjgl/opengl/NVPixelDataRange.java
+++ b/src/generated/org/lwjgl/opengl/NVPixelDataRange.java
@@ -7,10 +7,22 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVPixelDataRange {
+ /**
+ * Accepted by the <target> parameter of PixelDataRangeNV and
+ * FlushPixelDataRangeNV, and by the <cap> parameter of
+ * EnableClientState, DisableClientState, and IsEnabled:
+ */
public static final int GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878;
public static final int GL_READ_PIXEL_DATA_RANGE_NV = 0x8879;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887a;
public static final int GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887b;
+ /**
+ * Accepted by the <pname> parameter of GetPointerv:
+ */
public static final int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887c;
public static final int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887d;
diff --git a/src/generated/org/lwjgl/opengl/NVPrimitiveRestart.java b/src/generated/org/lwjgl/opengl/NVPrimitiveRestart.java
index db04dfa6..32f7ad56 100644
--- a/src/generated/org/lwjgl/opengl/NVPrimitiveRestart.java
+++ b/src/generated/org/lwjgl/opengl/NVPrimitiveRestart.java
@@ -7,7 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVPrimitiveRestart {
+ /**
+ * Accepted by the <array> parameter of EnableClientState and
+ * DisableClientState, by the <cap> parameter of IsEnabled, and by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev:
+ */
public static final int GL_PRIMITIVE_RESTART_NV = 0x8558;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
private NVPrimitiveRestart() {
diff --git a/src/generated/org/lwjgl/opengl/NVProgram.java b/src/generated/org/lwjgl/opengl/NVProgram.java
index 971f9e0b..ebdc2eb7 100644
--- a/src/generated/org/lwjgl/opengl/NVProgram.java
+++ b/src/generated/org/lwjgl/opengl/NVProgram.java
@@ -7,11 +7,24 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public class NVProgram {
+ /**
+ * Accepted by the <pname> parameter of GetProgramivNV:
+ */
public static final int GL_PROGRAM_TARGET_NV = 0x8646;
public static final int GL_PROGRAM_LENGTH_NV = 0x8627;
public static final int GL_PROGRAM_RESIDENT_NV = 0x8647;
+ /**
+ * Accepted by the <pname> parameter of GetProgramStringNV:
+ */
public static final int GL_PROGRAM_STRING_NV = 0x8628;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_PROGRAM_ERROR_POSITION_NV = 0x864b;
+ /**
+ * Accepted by the <name> parameter of GetString:
+ */
public static final int GL_PROGRAM_ERROR_STRING_NV = 0x8874;
diff --git a/src/generated/org/lwjgl/opengl/NVTextureCompressionVTC.java b/src/generated/org/lwjgl/opengl/NVTextureCompressionVTC.java
index a0db6c17..be01f652 100644
--- a/src/generated/org/lwjgl/opengl/NVTextureCompressionVTC.java
+++ b/src/generated/org/lwjgl/opengl/NVTextureCompressionVTC.java
@@ -7,6 +7,11 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVTextureCompressionVTC {
+ /**
+ * Accepted by the <internalformat> parameter of TexImage3D and
+ * CompressedTexImage3DARB and the <format> parameter of
+ * CompressedTexSubImage2DARB:
+ */
public static final int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83f0;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83f1;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83f2;
diff --git a/src/generated/org/lwjgl/opengl/NVTextureExpandNormal.java b/src/generated/org/lwjgl/opengl/NVTextureExpandNormal.java
index 0cffda4f..8d67d700 100644
--- a/src/generated/org/lwjgl/opengl/NVTextureExpandNormal.java
+++ b/src/generated/org/lwjgl/opengl/NVTextureExpandNormal.java
@@ -7,6 +7,11 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVTextureExpandNormal {
+ /**
+ * Accepted by the <pname> parameters of TexParameteri,
+ * TexParameteriv, TexParameterf, TexParameterfv, GetTexParameteri,
+ * and GetTexParameteriv:
+ */
public static final int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888f;
private NVTextureExpandNormal() {
diff --git a/src/generated/org/lwjgl/opengl/NVVertexProgram.java b/src/generated/org/lwjgl/opengl/NVVertexProgram.java
index 63ea553d..d25b6aa9 100644
--- a/src/generated/org/lwjgl/opengl/NVVertexProgram.java
+++ b/src/generated/org/lwjgl/opengl/NVVertexProgram.java
@@ -7,24 +7,64 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVVertexProgram extends NVProgram {
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
+ * and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ * and GetDoublev, and by the <target> parameter of BindProgramNV,
+ * ExecuteProgramNV, GetProgramParameter[df]vNV, GetTrackMatrixivNV,
+ * LoadProgramNV, ProgramParameter[s]4[df][v]NV, and TrackMatrixNV:
+ */
public static final int GL_VERTEX_PROGRAM_NV = 0x8620;
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
+ * and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
public static final int GL_VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643;
+ /**
+ * Accepted by the <target> parameter of ExecuteProgramNV and
+ * LoadProgramNV:
+ */
public static final int GL_VERTEX_STATE_PROGRAM_NV = 0x8621;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttrib[dfi]vNV:
+ */
public static final int GL_ATTRIB_ARRAY_SIZE_NV = 0x8623;
public static final int GL_ATTRIB_ARRAY_STRIDE_NV = 0x8624;
public static final int GL_ATTRIB_ARRAY_TYPE_NV = 0x8625;
public static final int GL_CURRENT_ATTRIB_NV = 0x8626;
+ /**
+ * Accepted by the <pname> parameter of GetProgramParameterfvNV
+ * and GetProgramParameterdvNV:
+ */
public static final int GL_PROGRAM_PARAMETER_NV = 0x8644;
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribPointervNV:
+ */
public static final int GL_ATTRIB_ARRAY_POINTER_NV = 0x8645;
+ /**
+ * Accepted by the <pname> parameter of GetTrackMatrixivNV:
+ */
public static final int GL_TRACK_MATRIX_NV = 0x8648;
public static final int GL_TRACK_MATRIX_TRANSFORM_NV = 0x8649;
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862e;
public static final int GL_MAX_TRACK_MATRICES_NV = 0x862f;
public static final int GL_CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640;
public static final int GL_CURRENT_MATRIX_NV = 0x8641;
public static final int GL_VERTEX_PROGRAM_BINDING_NV = 0x864a;
+ /**
+ * Accepted by the <matrix> parameter of TrackMatrixNV:
+ */
public static final int GL_MODELVIEW_PROJECTION_NV = 0x8629;
+ /**
+ * Accepted by the <matrix> parameter of TrackMatrixNV and by the
+ * <mode> parameter of MatrixMode:
+ */
public static final int GL_MATRIX0_NV = 0x8630;
public static final int GL_MATRIX1_NV = 0x8631;
public static final int GL_MATRIX2_NV = 0x8632;
@@ -33,10 +73,19 @@ public final class NVVertexProgram extends NVProgram {
public static final int GL_MATRIX5_NV = 0x8635;
public static final int GL_MATRIX6_NV = 0x8636;
public static final int GL_MATRIX7_NV = 0x8637;
+ /**
+ * Accepted by the <transform> parameter of TrackMatrixNV:
+ */
public static final int GL_IDENTITY_NV = 0x862a;
public static final int GL_INVERSE_NV = 0x862b;
public static final int GL_TRANSPOSE_NV = 0x862c;
public static final int GL_INVERSE_TRANSPOSE_NV = 0x862d;
+ /**
+ * Accepted by the <array> parameter of EnableClientState and
+ * DisableClientState, by the <cap> parameter of IsEnabled, and by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev:
+ */
public static final int GL_VERTEX_ATTRIB_ARRAY0_NV = 0x8650;
public static final int GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651;
public static final int GL_VERTEX_ATTRIB_ARRAY2_NV = 0x8652;
@@ -53,6 +102,12 @@ public final class NVVertexProgram extends NVProgram {
public static final int GL_VERTEX_ATTRIB_ARRAY13_NV = 0x865d;
public static final int GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865e;
public static final int GL_VERTEX_ATTRIB_ARRAY15_NV = 0x865f;
+ /**
+ * Accepted by the <target> parameter of GetMapdv, GetMapfv, GetMapiv,
+ * Map1d and Map1f and by the <cap> parameter of Enable, Disable, and
+ * IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAP1_VERTEX_ATTRIB0_4_NV = 0x8660;
public static final int GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661;
public static final int GL_MAP1_VERTEX_ATTRIB2_4_NV = 0x8662;
@@ -69,6 +124,12 @@ public final class NVVertexProgram extends NVProgram {
public static final int GL_MAP1_VERTEX_ATTRIB13_4_NV = 0x866d;
public static final int GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866e;
public static final int GL_MAP1_VERTEX_ATTRIB15_4_NV = 0x866f;
+ /**
+ * Accepted by the <target> parameter of GetMapdv, GetMapfv, GetMapiv,
+ * Map2d and Map2f and by the <cap> parameter of Enable, Disable, and
+ * IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAP2_VERTEX_ATTRIB0_4_NV = 0x8670;
public static final int GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671;
public static final int GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672;
diff --git a/src/generated/org/lwjgl/opengl/NVVertexProgram2Option.java b/src/generated/org/lwjgl/opengl/NVVertexProgram2Option.java
index e89e6d21..f5431acc 100644
--- a/src/generated/org/lwjgl/opengl/NVVertexProgram2Option.java
+++ b/src/generated/org/lwjgl/opengl/NVVertexProgram2Option.java
@@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVVertexProgram2Option {
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
public static final int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88f4;
public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88f5;
diff --git a/src/generated/org/lwjgl/opengl/NVVertexProgram3.java b/src/generated/org/lwjgl/opengl/NVVertexProgram3.java
index d8ffc3ef..2dd3340b 100644
--- a/src/generated/org/lwjgl/opengl/NVVertexProgram3.java
+++ b/src/generated/org/lwjgl/opengl/NVVertexProgram3.java
@@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVVertexProgram3 {
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8b4c;
private NVVertexProgram3() {
diff --git a/src/generated/org/lwjgl/opengl/SUNSliceAccum.java b/src/generated/org/lwjgl/opengl/SUNSliceAccum.java
index bcc7239e..9c2e16c4 100644
--- a/src/generated/org/lwjgl/opengl/SUNSliceAccum.java
+++ b/src/generated/org/lwjgl/opengl/SUNSliceAccum.java
@@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class SUNSliceAccum {
+ /**
+ * Accepted by the <op> parameter of Accum,
+ */
public static final int GL_SLICE_ACCUM_SUN = 0x85cc;
private SUNSliceAccum() {
diff --git a/src/templates/org/lwjgl/opengl/ARB_buffer_object.java b/src/templates/org/lwjgl/opengl/ARB_buffer_object.java
index 94c5a63a..42b206bd 100644
--- a/src/templates/org/lwjgl/opengl/ARB_buffer_object.java
+++ b/src/templates/org/lwjgl/opengl/ARB_buffer_object.java
@@ -35,10 +35,11 @@ import org.lwjgl.util.generator.*;
import java.nio.*;
-@Extension(postfix="ARB", isFinal=false)
+@Extension(postfix = "ARB", isFinal = false)
public interface ARB_buffer_object {
- /*
- * Accepted by the parameter of BufferDataARB:
+
+ /**
+ * Accepted by the <usage> parameter of BufferDataARB:
*/
int GL_STREAM_DRAW_ARB = 0x88E0;
int GL_STREAM_READ_ARB = 0x88E1;
@@ -50,57 +51,57 @@ public interface ARB_buffer_object {
int GL_DYNAMIC_READ_ARB = 0x88E9;
int GL_DYNAMIC_COPY_ARB = 0x88EA;
- /*
- * Accepted by the parameter of MapBufferARB:
- */
+ /**
+ * Accepted by the <access> parameter of MapBufferARB:
+ */
int GL_READ_ONLY_ARB = 0x88B8;
int GL_WRITE_ONLY_ARB = 0x88B9;
int GL_READ_WRITE_ARB = 0x88BA;
- /*
- * Accepted by the parameter of GetBufferParameterivARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetBufferParameterivARB:
+ */
int GL_BUFFER_SIZE_ARB = 0x8764;
int GL_BUFFER_USAGE_ARB = 0x8765;
int GL_BUFFER_ACCESS_ARB = 0x88BB;
int GL_BUFFER_MAPPED_ARB = 0x88BC;
int GL_BUFFER_MAP_POINTER_ARB = 0x88BD;
- @Code( " StateTracker.bindBuffer(target, buffer);")
+ @Code(" StateTracker.bindBuffer(target, buffer);")
void glBindBufferARB(@GLenum int target, @GLuint int buffer);
- @Code( " StateTracker.deleteBuffers(buffers);")
+
+ @Code(" StateTracker.deleteBuffers(buffers);")
void glDeleteBuffersARB(@AutoSize("buffers") @GLsizei int n, @Const @GLuint IntBuffer buffers);
+
void glGenBuffersARB(@AutoSize("buffers") int n, @GLuint IntBuffer buffers);
+
boolean glIsBufferARB(@GLuint int buffer);
@GenerateAutos
void glBufferDataARB(@GLenum int target, @AutoSize("data") @GLsizeiptrARB int size,
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data, @GLenum int usage);
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data, @GLenum int usage);
void glBufferSubDataARB(@GLenum int target, @GLintptrARB int offset, @AutoSize("data") @GLsizeiptrARB int size,
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glGetBufferSubDataARB(@GLenum int target, @GLintptrARB int offset, @AutoSize("data") @GLsizeiptrARB int size,
- @Check
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
/**
* glMapBufferARB maps a gl vertex buffer buffer to a ByteBuffer. The oldBuffer argument can be null,
@@ -116,7 +117,8 @@ public interface ARB_buffer_object {
* @return A ByteBuffer representing the mapped buffer memory.
*/
@CachedResult
- @GLvoid ByteBuffer glMapBufferARB(@GLenum int target, @GLenum int access);
+ @GLvoid
+ ByteBuffer glMapBufferARB(@GLenum int target, @GLenum int access);
boolean glUnmapBufferARB(@GLenum int target);
diff --git a/src/templates/org/lwjgl/opengl/ARB_color_buffer_float.java b/src/templates/org/lwjgl/opengl/ARB_color_buffer_float.java
index f58c8321..28207d59 100644
--- a/src/templates/org/lwjgl/opengl/ARB_color_buffer_float.java
+++ b/src/templates/org/lwjgl/opengl/ARB_color_buffer_float.java
@@ -34,40 +34,40 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface ARB_color_buffer_float {
- /*
- * Accepted by the parameters of GetBooleanv, GetIntegerv,
- * GetFloatv, and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameters of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
int GL_RGBA_FLOAT_MODE_ARB = 0x8820;
- /*
- * Accepted by the parameter of ClampColorARB and the
- * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
+ /**
+ * Accepted by the <target> parameter of ClampColorARB and the <pname>
+ * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
*/
int GL_CLAMP_VERTEX_COLOR_ARB = 0x891A;
int GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B;
int GL_CLAMP_READ_COLOR_ARB = 0x891C;
- /*
- * Accepted by the parameter of ClampColorARB.
+ /**
+ * Accepted by the <clamp> parameter of ClampColorARB.
*/
int GL_FIXED_ONLY_ARB = 0x891D;
- /*
- * Accepted as a value in the and
+ /**
+ * Accepted as a value in the <piAttribIList> and <pfAttribFList>
* parameter arrays of wglChoosePixelFormatARB, and returned in the
- * parameter array of wglGetPixelFormatAttribivARB, and the
- * parameter array of wglGetPixelFormatAttribfvARB:
+ * <piValues> parameter array of wglGetPixelFormatAttribivARB, and the
+ * <pfValues> parameter array of wglGetPixelFormatAttribfvARB:
*/
//int WGL_TYPE_RGBA_FLOAT_ARB = 0x21A0;
- /*
- * Accepted as values of the arguments in the
+ /**
+ * Accepted as values of the <render_type> arguments in the
* glXCreateNewContext and glXCreateContext functions
*/
//int GLX_RGBA_FLOAT_TYPE = 0x20B9;
- /*
+ /**
* Accepted as a bit set in the GLX_RENDER_TYPE variable
*/
//int GLX_RGBA_FLOAT_BIT = 0x00000004;
diff --git a/src/templates/org/lwjgl/opengl/ARB_depth_texture.java b/src/templates/org/lwjgl/opengl/ARB_depth_texture.java
index 36664412..9a045c9b 100644
--- a/src/templates/org/lwjgl/opengl/ARB_depth_texture.java
+++ b/src/templates/org/lwjgl/opengl/ARB_depth_texture.java
@@ -32,23 +32,24 @@
package org.lwjgl.opengl;
public interface ARB_depth_texture {
- /*
- * Accepted by the parameter of TexImage1D, TexImage2D,
+
+ /**
+ * Accepted by the <internalFormat> parameter of TexImage1D, TexImage2D,
* CopyTexImage1D and CopyTexImage2D:
- */
+ */
int GL_DEPTH_COMPONENT16_ARB = 0x81A5;
int GL_DEPTH_COMPONENT24_ARB = 0x81A6;
int GL_DEPTH_COMPONENT32_ARB = 0x81A7;
- /*
- * Accepted by the parameter of GetTexLevelParameterfv and
- * GetTexLevelParameteriv:
- */
+ /**
+ * Accepted by the <pname> parameter of GetTexLevelParameterfv and
+ * GetTexLevelParameteriv:
+ */
int GL_TEXTURE_DEPTH_SIZE_ARB = 0x884A;
- /*
- * Accepted by the parameter of TexParameterf, TexParameteri,
- * TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv:
- */
+ /**
+ * Accepted by the <pname> parameter of TexParameterf, TexParameteri,
+ * TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv:
+ */
int GL_DEPTH_TEXTURE_MODE_ARB = 0x884B;
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_draw_buffers.java b/src/templates/org/lwjgl/opengl/ARB_draw_buffers.java
index e694737a..8a8b727b 100644
--- a/src/templates/org/lwjgl/opengl/ARB_draw_buffers.java
+++ b/src/templates/org/lwjgl/opengl/ARB_draw_buffers.java
@@ -33,11 +33,12 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
-import java.nio.IntBuffer;
+import java.nio.*;
public interface ARB_draw_buffers {
- /*
- * Accepted by the parameters of GetIntegerv, GetFloatv,
+
+ /**
+ * Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
* and GetDoublev:
*/
int GL_MAX_DRAW_BUFFERS_ARB = 0x8824;
diff --git a/src/templates/org/lwjgl/opengl/ARB_fragment_program.java b/src/templates/org/lwjgl/opengl/ARB_fragment_program.java
index ad1c6cc6..cf5309c8 100644
--- a/src/templates/org/lwjgl/opengl/ARB_fragment_program.java
+++ b/src/templates/org/lwjgl/opengl/ARB_fragment_program.java
@@ -32,18 +32,19 @@
package org.lwjgl.opengl;
public interface ARB_fragment_program extends ARB_program {
- /*
- * Accepted by the parameter of Disable, Enable, and IsEnabled, by the
- * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
- * and by the parameter of ProgramStringARB, BindProgramARB,
+
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
+ * <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
+ * and by the <target> parameter of ProgramStringARB, BindProgramARB,
* ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB,
* GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
* GetProgramivARB and GetProgramStringARB.
*/
int GL_FRAGMENT_PROGRAM_ARB = 0x8804;
- /*
- * Accepted by the parameter of GetProgramivARB:
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
*/
int GL_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805;
int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806;
@@ -58,8 +59,8 @@ public interface ARB_fragment_program extends ARB_program {
int GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F;
int GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev:
*/
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
diff --git a/src/templates/org/lwjgl/opengl/ARB_fragment_program_shadow.java b/src/templates/org/lwjgl/opengl/ARB_fragment_program_shadow.java
index 61d31b62..65f4eb02 100644
--- a/src/templates/org/lwjgl/opengl/ARB_fragment_program_shadow.java
+++ b/src/templates/org/lwjgl/opengl/ARB_fragment_program_shadow.java
@@ -32,4 +32,5 @@
package org.lwjgl.opengl;
public interface ARB_fragment_program_shadow {
+
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_fragment_shader.java b/src/templates/org/lwjgl/opengl/ARB_fragment_shader.java
index 2257ad47..1958c012 100644
--- a/src/templates/org/lwjgl/opengl/ARB_fragment_shader.java
+++ b/src/templates/org/lwjgl/opengl/ARB_fragment_shader.java
@@ -32,23 +32,24 @@
package org.lwjgl.opengl;
public interface ARB_fragment_shader {
- /*
- * Accepted by the argument of CreateShaderObjectARB and
- * returned by the parameter of GetObjectParameter{fi}vARB:
- */
+
+ /**
+ * Accepted by the <shaderType> argument of CreateShaderObjectARB and
+ * returned by the <params> parameter of GetObjectParameter{fi}vARB:
+ */
int GL_FRAGMENT_SHADER_ARB = 0x8B30;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
- */
+ */
int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49;
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
- /*
- * Accepted by the parameter of Hint and the parameter of
+ /**
+ * Accepted by the <target> parameter of Hint and the <pname> parameter of
* GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
- */
+ */
int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B;
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_half_float_pixel.java b/src/templates/org/lwjgl/opengl/ARB_half_float_pixel.java
index ec47dc93..ce88c638 100644
--- a/src/templates/org/lwjgl/opengl/ARB_half_float_pixel.java
+++ b/src/templates/org/lwjgl/opengl/ARB_half_float_pixel.java
@@ -32,13 +32,14 @@
package org.lwjgl.opengl;
public interface ARB_half_float_pixel {
- /*
- * Accepted by the parameter of DrawPixels, ReadPixels,
- * TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D,
- * TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax,
- * ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter,
- * SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable,
- * and GetColorTable:
- */
+
+ /**
+ * Accepted by the <type> parameter of DrawPixels, ReadPixels,
+ * TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D,
+ * TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax,
+ * ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter,
+ * SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable,
+ * and GetColorTable:
+ */
int GL_HALF_FLOAT_ARB = 0x140B;
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_imaging.java b/src/templates/org/lwjgl/opengl/ARB_imaging.java
index e27fa482..e73ce62b 100644
--- a/src/templates/org/lwjgl/opengl/ARB_imaging.java
+++ b/src/templates/org/lwjgl/opengl/ARB_imaging.java
@@ -31,12 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
/**
* $Id$
*
@@ -46,8 +44,9 @@ import org.lwjgl.util.generator.*;
* @version $Revision$
*/
-@Extension(postfix="")
+@Extension(postfix = "")
public interface ARB_imaging {
+
int GL_CONSTANT_COLOR = 0x8001;
int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
int GL_CONSTANT_ALPHA = 0x8003;
@@ -125,22 +124,20 @@ public interface ARB_imaging {
int GL_MINMAX_SINK = 0x8030;
void glColorTable(@GLenum int target, @GLenum int internalFormat, @GLsizei int width, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check("256")
- @Const
- @GLbyte
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check("256")
+ @Const
+ @GLbyte
+ @GLfloat
+ @GLdouble Buffer data);
void glColorSubTable(@GLenum int target, @GLsizei int start, @GLsizei int count, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check("256")
- @Const
- @GLbyte
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check("256")
+ @Const
+ @GLbyte
+ @GLfloat
+ @GLdouble Buffer data);
@StripPostfix("params")
void glColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
@@ -153,14 +150,14 @@ public interface ARB_imaging {
void glCopyColorTable(@GLenum int target, @GLenum int internalformat, int x, int y, @GLsizei int width);
void glGetColorTable(@GLenum int target, @GLenum int format, @GLenum int type,
- @Check("256")
- @GLbyte
- @GLfloat
- @GLdouble
- Buffer data);
+ @Check("256")
+ @GLbyte
+ @GLfloat
+ @GLdouble Buffer data);
@StripPostfix("params")
void glGetColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
+
@StripPostfix("params")
void glGetColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
@@ -173,17 +170,17 @@ public interface ARB_imaging {
void glResetHistogram(@GLenum int target);
void glGetHistogram(@GLenum int target, boolean reset, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.PackPBO)
- @Check("256")
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer values);
+ @BufferObject(BufferKind.PackPBO)
+ @Check("256")
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer values);
@StripPostfix("params")
void glGetHistogramParameterfv(@GLenum int target, @GLenum int pname, @Check("256") FloatBuffer params);
+
@StripPostfix("params")
void glGetHistogramParameteriv(@GLenum int target, @GLenum int pname, @Check("256") IntBuffer params);
@@ -192,39 +189,37 @@ public interface ARB_imaging {
void glResetMinmax(@GLenum int target);
void glGetMinmax(@GLenum int target, boolean reset, @GLenum int format, @GLenum int types,
- @BufferObject(BufferKind.PackPBO)
- @Check("4")
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer values);
+ @BufferObject(BufferKind.PackPBO)
+ @Check("4")
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer values);
@StripPostfix("params")
void glGetMinmaxParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetMinmaxParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
void glConvolutionFilter1D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check("GLChecks.calculateImageStorage(image, format, type, width, 1, 1)")
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer image);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check("GLChecks.calculateImageStorage(image, format, type, width, 1, 1)")
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer image);
void glConvolutionFilter2D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check("GLChecks.calculateImageStorage(image, format, type, width, height, 1)")
- @Const
- @GLbyte
- @GLshort
- @GLint
- Buffer image);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check("GLChecks.calculateImageStorage(image, format, type, width, height, 1)")
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint Buffer image);
void glConvolutionParameterf(@GLenum int target, @GLenum int pname, float params);
@@ -242,64 +237,58 @@ public interface ARB_imaging {
// TODO: check buffer size valid
void glGetConvolutionFilter(@GLenum int target, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.PackPBO)
- @Check
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer image);
+ @BufferObject(BufferKind.PackPBO)
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer image);
@StripPostfix("params")
void glGetConvolutionParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetConvolutionParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
// TODO: check buffer size valid
void glSeparableFilter2D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer row,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer column);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer row,
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer column);
// TODO: check buffer size valid
void glGetSeparableFilter(@GLenum int target, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.PackPBO)
- @Check
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer row,
- @BufferObject(BufferKind.PackPBO)
- @Check
- @GLbyte
- @GLshort
- @GLint
- @GLdouble
- Buffer column,
- @BufferObject(BufferKind.PackPBO)
- @Check
- @GLbyte
- @GLshort
- @GLint
- @GLdouble
- Buffer span);
-}
-
+ @BufferObject(BufferKind.PackPBO)
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer row,
+ @BufferObject(BufferKind.PackPBO)
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLdouble Buffer column,
+ @BufferObject(BufferKind.PackPBO)
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLdouble Buffer span);
+}
\ No newline at end of file
diff --git a/src/templates/org/lwjgl/opengl/ARB_matrix_palette.java b/src/templates/org/lwjgl/opengl/ARB_matrix_palette.java
index 067eb03b..45890e47 100644
--- a/src/templates/org/lwjgl/opengl/ARB_matrix_palette.java
+++ b/src/templates/org/lwjgl/opengl/ARB_matrix_palette.java
@@ -31,14 +31,12 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.ByteBuffer;
-import java.nio.IntBuffer;
-import java.nio.ShortBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ARB_matrix_palette {
+
int GL_MATRIX_PALETTE_ARB = 0x8840;
int GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841;
int GL_MAX_PALETTE_MATRICES_ARB = 0x8842;
@@ -53,19 +51,20 @@ public interface ARB_matrix_palette {
void glCurrentPaletteMatrixARB(int index);
void glMatrixIndexPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLubyte
- @GLushort
- @GLuint
- Buffer pPointer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLubyte
+ @GLushort
+ @GLuint Buffer pPointer);
@StripPostfix("pIndices")
void glMatrixIndexubvARB(@AutoSize("pIndices") int size, @GLubyte ByteBuffer pIndices);
+
@StripPostfix("pIndices")
void glMatrixIndexusvARB(@AutoSize("pIndices") int size, @GLushort ShortBuffer pIndices);
+
@StripPostfix("pIndices")
void glMatrixIndexuivARB(@AutoSize("pIndices") int size, @GLuint IntBuffer pIndices);
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_multisample.java b/src/templates/org/lwjgl/opengl/ARB_multisample.java
index 44989e3a..d9189d8f 100644
--- a/src/templates/org/lwjgl/opengl/ARB_multisample.java
+++ b/src/templates/org/lwjgl/opengl/ARB_multisample.java
@@ -34,6 +34,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface ARB_multisample {
+
int GL_MULTISAMPLE_ARB = 0x809D;
int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E;
int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F;
diff --git a/src/templates/org/lwjgl/opengl/ARB_multitexture.java b/src/templates/org/lwjgl/opengl/ARB_multitexture.java
index 1286e9c8..1b994035 100644
--- a/src/templates/org/lwjgl/opengl/ARB_multitexture.java
+++ b/src/templates/org/lwjgl/opengl/ARB_multitexture.java
@@ -34,6 +34,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface ARB_multitexture {
+
int GL_TEXTURE0_ARB = 0x84C0;
int GL_TEXTURE1_ARB = 0x84C1;
int GL_TEXTURE2_ARB = 0x84C2;
@@ -75,7 +76,7 @@ public interface ARB_multitexture {
void glActiveTextureARB(@GLenum int texture);
void glMultiTexCoord1fARB(@GLenum int target, float s);
-
+
void glMultiTexCoord1dARB(@GLenum int target, double s);
void glMultiTexCoord1iARB(@GLenum int target, int s);
@@ -83,7 +84,7 @@ public interface ARB_multitexture {
void glMultiTexCoord1sARB(@GLenum int target, short s);
void glMultiTexCoord2fARB(@GLenum int target, float s, float t);
-
+
void glMultiTexCoord2dARB(@GLenum int target, double s, double t);
void glMultiTexCoord2iARB(@GLenum int target, int s, int t);
@@ -91,7 +92,7 @@ public interface ARB_multitexture {
void glMultiTexCoord2sARB(@GLenum int target, short s, short t);
void glMultiTexCoord3fARB(@GLenum int target, float s, float t, float r);
-
+
void glMultiTexCoord3dARB(@GLenum int target, double s, double t, double r);
void glMultiTexCoord3iARB(@GLenum int target, int s, int t, int r);
diff --git a/src/templates/org/lwjgl/opengl/ARB_occlusion_query.java b/src/templates/org/lwjgl/opengl/ARB_occlusion_query.java
index 0b574a74..63c02948 100644
--- a/src/templates/org/lwjgl/opengl/ARB_occlusion_query.java
+++ b/src/templates/org/lwjgl/opengl/ARB_occlusion_query.java
@@ -31,27 +31,28 @@
*/
package org.lwjgl.opengl;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ARB_occlusion_query {
- /*
- * Accepted by the parameter of BeginQueryARB, EndQueryARB,
+
+ /**
+ * Accepted by the <target> parameter of BeginQueryARB, EndQueryARB,
* and GetQueryivARB:
- */
+ */
int GL_SAMPLES_PASSED_ARB = 0x8914;
- /*
- * Accepted by the parameter of GetQueryivARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetQueryivARB:
+ */
int GL_QUERY_COUNTER_BITS_ARB = 0x8864;
int GL_CURRENT_QUERY_ARB = 0x8865;
- /*
- * Accepted by the parameter of GetQueryObjectivARB and
+ /**
+ * Accepted by the <pname> parameter of GetQueryObjectivARB and
* GetQueryObjectuivARB:
- */
+ */
int GL_QUERY_RESULT_ARB = 0x8866;
int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867;
diff --git a/src/templates/org/lwjgl/opengl/ARB_pixel_buffer_object.java b/src/templates/org/lwjgl/opengl/ARB_pixel_buffer_object.java
index 3f91ade4..c06de183 100644
--- a/src/templates/org/lwjgl/opengl/ARB_pixel_buffer_object.java
+++ b/src/templates/org/lwjgl/opengl/ARB_pixel_buffer_object.java
@@ -32,18 +32,19 @@
package org.lwjgl.opengl;
public interface ARB_pixel_buffer_object extends ARB_buffer_object {
- /*
- * Accepted by the parameters of BindBuffer, BufferData,
+
+ /**
+ * Accepted by the <target> parameters of BindBuffer, BufferData,
* BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
* GetBufferParameteriv, and GetBufferPointerv:
- */
+ */
int GL_PIXEL_PACK_BUFFER_ARB = 0x88EB;
int GL_PIXEL_UNPACK_BUFFER_ARB = 0x88EC;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
- */
+ */
int GL_PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED;
int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF;
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_point_parameters.java b/src/templates/org/lwjgl/opengl/ARB_point_parameters.java
index 3062c2ad..0ff5d61a 100644
--- a/src/templates/org/lwjgl/opengl/ARB_point_parameters.java
+++ b/src/templates/org/lwjgl/opengl/ARB_point_parameters.java
@@ -31,11 +31,12 @@
*/
package org.lwjgl.opengl;
-import java.nio.FloatBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ARB_point_parameters {
+
int GL_POINT_SIZE_MIN_ARB = 0x8126;
int GL_POINT_SIZE_MAX_ARB = 0x8127;
int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128;
@@ -45,4 +46,5 @@ public interface ARB_point_parameters {
@StripPostfix("pfParams")
void glPointParameterfvARB(@GLenum int pname, @Check("4") @Const FloatBuffer pfParams);
+
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_point_sprite.java b/src/templates/org/lwjgl/opengl/ARB_point_sprite.java
index a2fa5083..2e4c5530 100644
--- a/src/templates/org/lwjgl/opengl/ARB_point_sprite.java
+++ b/src/templates/org/lwjgl/opengl/ARB_point_sprite.java
@@ -32,18 +32,19 @@
package org.lwjgl.opengl;
public interface ARB_point_sprite {
- /*
- * Accepted by the parameter of Enable, Disable, and IsEnabled, by
- * the parameter of GetBooleanv, GetIntegerv, GetFloatv, and
- * GetDoublev, and by the parameter of TexEnvi, TexEnviv,
+
+ /**
+ * Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev, and by the <target> parameter of TexEnvi, TexEnviv,
* TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
- */
+ */
int GL_POINT_SPRITE_ARB = 0x8861;
- /*
- * When the parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
- * GetTexEnvfv, or GetTexEnviv is POINT_SPRITE_ARB, then the value of
- * may be:
- */
+ /**
+ * When the <target> parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
+ * GetTexEnvfv, or GetTexEnviv is POINT_SPRITE_ARB, then the value of
+ * <pname> may be:
+ */
int GL_COORD_REPLACE_ARB = 0x8862;
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_program.java b/src/templates/org/lwjgl/opengl/ARB_program.java
index 7d8f71fb..c891b29b 100644
--- a/src/templates/org/lwjgl/opengl/ARB_program.java
+++ b/src/templates/org/lwjgl/opengl/ARB_program.java
@@ -31,23 +31,21 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.FloatBuffer;
-import java.nio.DoubleBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
-@Extension(postfix="ARB", isFinal=false)
+import java.nio.*;
+
+@Extension(postfix = "ARB", isFinal = false)
public interface ARB_program {
- /*
- * Accepted by the parameter of ProgramStringARB:
- */
+
+ /**
+ * Accepted by the <format> parameter of ProgramStringARB:
+ */
int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875;
- /*
- * Accepted by the parameter of GetProgramivARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
int GL_PROGRAM_LENGTH_ARB = 0x8627;
int GL_PROGRAM_FORMAT_ARB = 0x8876;
int GL_PROGRAM_BINDING_ARB = 0x8677;
@@ -71,15 +69,15 @@ public interface ARB_program {
int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5;
int GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6;
- /*
- * Accepted by the parameter of GetProgramStringARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetProgramStringARB:
+ */
int GL_PROGRAM_STRING_ARB = 0x8628;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
- * GetFloatv, and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
int GL_PROGRAM_ERROR_POSITION_ARB = 0x864B;
int GL_CURRENT_MATRIX_ARB = 0x8641;
int GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7;
@@ -87,14 +85,14 @@ public interface ARB_program {
int GL_MAX_PROGRAM_MATRICES_ARB = 0x862F;
int GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E;
- /*
- * Accepted by the parameter of GetString:
- */
+ /**
+ * Accepted by the <name> parameter of GetString:
+ */
int GL_PROGRAM_ERROR_STRING_ARB = 0x8874;
- /*
- * Accepted by the parameter of MatrixMode:
- */
+ /**
+ * Accepted by the <mode> parameter of MatrixMode:
+ */
int GL_MATRIX0_ARB = 0x88C0;
int GL_MATRIX1_ARB = 0x88C1;
int GL_MATRIX2_ARB = 0x88C2;
@@ -133,6 +131,7 @@ public interface ARB_program {
void glBindProgramARB(@GLenum int target, @GLuint int program);
void glDeleteProgramsARB(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs);
+
void glGenProgramsARB(@AutoSize("programs") @GLsizei int n, @GLuint IntBuffer programs);
void glProgramEnvParameter4fARB(int target, int index, float x, float y, float z, float w);
@@ -141,7 +140,7 @@ public interface ARB_program {
@StripPostfix("params")
void glProgramEnvParameter4fvARB(@GLenum int target, @GLuint int index, @Check("4") @Const FloatBuffer params);
-
+
@StripPostfix("params")
void glProgramEnvParameter4dvARB(@GLenum int target, @GLuint int index, @Check("4") @Const DoubleBuffer params);
@@ -151,19 +150,19 @@ public interface ARB_program {
@StripPostfix("params")
void glProgramLocalParameter4fvARB(@GLenum int target, @GLuint int index, @Check("4") @Const FloatBuffer params);
-
+
@StripPostfix("params")
void glProgramLocalParameter4dvARB(@GLenum int target, @GLuint int index, @Check("4") @Const DoubleBuffer params);
@StripPostfix("params")
void glGetProgramEnvParameterfvARB(@GLenum int target, @GLuint int index, @Check("4") FloatBuffer params);
-
+
@StripPostfix("params")
void glGetProgramEnvParameterdvARB(@GLenum int target, @GLuint int index, @Check("4") DoubleBuffer params);
@StripPostfix("params")
void glGetProgramLocalParameterfvARB(@GLenum int target, @GLuint int index, @Check("4") FloatBuffer params);
-
+
@StripPostfix("params")
void glGetProgramLocalParameterdvARB(@GLenum int target, @GLuint int index, @Check("4") DoubleBuffer params);
diff --git a/src/templates/org/lwjgl/opengl/ARB_shader_objects.java b/src/templates/org/lwjgl/opengl/ARB_shader_objects.java
index 20d85ddf..28fb72e6 100644
--- a/src/templates/org/lwjgl/opengl/ARB_shader_objects.java
+++ b/src/templates/org/lwjgl/opengl/ARB_shader_objects.java
@@ -31,21 +31,20 @@
*/
package org.lwjgl.opengl;
-import java.nio.ByteBuffer;
-import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ARB_shader_objects {
- /*
- * Accepted by the argument of GetHandleARB:
- */
+
+ /**
+ * Accepted by the <pname> argument of GetHandleARB:
+ */
int GL_PROGRAM_OBJECT_ARB = 0x8B40;
- /*
- * Accepted by the parameter of GetObjectParameter{fi}vARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetObjectParameter{fi}vARB:
+ */
int GL_OBJECT_TYPE_ARB = 0x8B4E;
int GL_OBJECT_SUBTYPE_ARB = 0x8B4F;
int GL_OBJECT_DELETE_STATUS_ARB = 0x8B80;
@@ -58,14 +57,14 @@ public interface ARB_shader_objects {
int GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87;
int GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88;
- /*
- * Returned by the parameter of GetObjectParameter{fi}vARB:
- */
+ /**
+ * Returned by the <params> parameter of GetObjectParameter{fi}vARB:
+ */
int GL_SHADER_OBJECT_ARB = 0x8B48;
- /*
- * Returned by the parameter of GetActiveUniformARB:
- */
+ /**
+ * Returned by the <type> parameter of GetActiveUniformARB:
+ */
int GL_FLOAT = 0x1406;
int GL_FLOAT_VEC2_ARB = 0x8B50;
int GL_FLOAT_VEC3_ARB = 0x8B51;
@@ -92,35 +91,33 @@ public interface ARB_shader_objects {
void glDeleteObjectARB(@GLhandleARB int obj);
- @GLhandleARB int glGetHandleARB(@GLenum int pname);
+ @GLhandleARB
+ int glGetHandleARB(@GLenum int pname);
void glDetachObjectARB(@GLhandleARB int containerObj, @GLhandleARB int attachedObj);
- @GLhandleARB int glCreateShaderObjectARB(@GLenum int shaderType);
+ @GLhandleARB
+ int glCreateShaderObjectARB(@GLenum int shaderType);
/**
* The ARB_shader_objects extension allows multiple, optionally null-terminated, source strings to define a shader program.
*
* This method uses just a single string, that should NOT be null-terminated.
- *
- * @param shaderObj
- * @param string
*/
void glShaderSourceARB(@GLhandleARB int shader, @Constant("1") @GLsizei int count,
- @Indirect
- @Check
- @Const
- @GLcharARB
- ByteBuffer string,
- @AutoSize("string")
- @Indirect
- @Const
- @GLint
- int length);
+ @Indirect
+ @Check
+ @Const
+ @GLcharARB ByteBuffer string,
+ @AutoSize("string")
+ @Indirect
+ @Const
+ @GLint int length);
void glCompileShaderARB(@GLhandleARB int shaderObj);
- @GLhandleARB int glCreateProgramObjectARB();
+ @GLhandleARB
+ int glCreateProgramObjectARB();
void glAttachObjectARB(@GLhandleARB int containerObj, @GLhandleARB int obj);
@@ -148,78 +145,77 @@ public interface ARB_shader_objects {
@StripPostfix("values")
void glUniform1fvARB(int location, @AutoSize("values") @GLsizei int count, FloatBuffer values);
- @StripPostfix("values")
- void glUniform2fvARB(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, FloatBuffer values);
- @StripPostfix("values")
- void glUniform3fvARB(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, FloatBuffer values);
- @StripPostfix("values")
- void glUniform4fvARB(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
- void glUniform1ivARB(int location, @AutoSize(value="values") @GLsizei int count, IntBuffer values);
+ void glUniform2fvARB(int location, @AutoSize(value = "values", expression = " >> 1") @GLsizei int count, FloatBuffer values);
+
@StripPostfix("values")
- void glUniform2ivARB(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, IntBuffer values);
+ void glUniform3fvARB(int location, @AutoSize(value = "values", expression = " / 3") @GLsizei int count, FloatBuffer values);
+
@StripPostfix("values")
- void glUniform3ivARB(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, IntBuffer values);
+ void glUniform4fvARB(int location, @AutoSize(value = "values", expression = " >> 2") @GLsizei int count, FloatBuffer values);
+
@StripPostfix("values")
- void glUniform4ivARB(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, IntBuffer values);
+ void glUniform1ivARB(int location, @AutoSize(value = "values") @GLsizei int count, IntBuffer values);
+
+ @StripPostfix("values")
+ void glUniform2ivARB(int location, @AutoSize(value = "values", expression = " >> 1") @GLsizei int count, IntBuffer values);
+
+ @StripPostfix("values")
+ void glUniform3ivARB(int location, @AutoSize(value = "values", expression = " / 3") @GLsizei int count, IntBuffer values);
+
+ @StripPostfix("values")
+ void glUniform4ivARB(int location, @AutoSize(value = "values", expression = " >> 2") @GLsizei int count, IntBuffer values);
@StripPostfix("matrices")
- void glUniformMatrix2fvARB(int location, @AutoSize(value="matrices", expression=" >> 2") @GLsizei int count, boolean transpose, FloatBuffer matrices);
+ void glUniformMatrix2fvARB(int location, @AutoSize(value = "matrices", expression = " >> 2") @GLsizei int count, boolean transpose, FloatBuffer matrices);
+
@StripPostfix("matrices")
- void glUniformMatrix3fvARB(int location, @AutoSize(value="matrices", expression=" / (3 * 3)") @GLsizei int count, boolean transpose, FloatBuffer matrices);
+ void glUniformMatrix3fvARB(int location, @AutoSize(value = "matrices", expression = " / (3 * 3)") @GLsizei int count, boolean transpose, FloatBuffer matrices);
+
@StripPostfix("matrices")
- void glUniformMatrix4fvARB(int location, @AutoSize(value="matrices", expression=" >> 4") @GLsizei int count, boolean transpose, FloatBuffer matrices);
+ void glUniformMatrix4fvARB(int location, @AutoSize(value = "matrices", expression = " >> 4") @GLsizei int count, boolean transpose, FloatBuffer matrices);
@StripPostfix("params")
void glGetObjectParameterfvARB(@GLhandleARB int obj, @GLenum int pname, @Check FloatBuffer params);
+
@StripPostfix("params")
void glGetObjectParameterivARB(@GLhandleARB int obj, @GLenum int pname, @Check IntBuffer params);
void glGetInfoLogARB(@GLhandleARB int obj, @AutoSize("infoLog") @GLsizei int maxLength,
- @Check(value="1", canBeNull=true)
- @GLsizei IntBuffer length,
- @GLcharARB
- ByteBuffer infoLog);
+ @Check(value = "1", canBeNull = true)
+ @GLsizei IntBuffer length,
+ @GLcharARB ByteBuffer infoLog);
void glGetAttachedObjectsARB(@GLhandleARB int containerObj, @AutoSize("obj") @GLsizei int maxCount,
- @Check(value="1", canBeNull=true)
- @GLsizei
- IntBuffer count,
- @GLhandleARB
- IntBuffer obj);
+ @Check(value = "1", canBeNull = true)
+ @GLsizei IntBuffer count,
+ @GLhandleARB IntBuffer obj);
/**
* Returns the location of the uniform with the specified name. The ByteBuffer should contain the uniform name as a null-terminated string.
*
* @param programObj
* @param name
- *
- * @return
*/
int glGetUniformLocationARB(@GLhandleARB int programObj, @NullTerminated @Const @GLcharARB ByteBuffer name);
void glGetActiveUniformARB(@GLhandleARB int programObj, @GLuint int index, @AutoSize("name") @GLsizei int maxLength,
- @Check(value="1", canBeNull=true)
- @GLsizei
- IntBuffer length,
- @Check("1")
- IntBuffer size,
- @Check("1")
- @GLenum
- IntBuffer type,
- @GLcharARB
- ByteBuffer name);
+ @Check(value = "1", canBeNull = true)
+ @GLsizei IntBuffer length,
+ @Check("1") IntBuffer size,
+ @Check("1")
+ @GLenum IntBuffer type,
+ @GLcharARB ByteBuffer name);
@StripPostfix("params")
void glGetUniformfvARB(@GLhandleARB int programObj, int location, @Check FloatBuffer params);
+
@StripPostfix("params")
void glGetUniformivARB(@GLhandleARB int programObj, int location, @Check IntBuffer params);
void glGetShaderSourceARB(@GLhandleARB int obj, @AutoSize("source") @GLsizei int maxLength,
- @Check(value="1", canBeNull=true)
- @GLsizei
- IntBuffer length,
- @GLcharARB
- ByteBuffer source);
+ @Check(value = "1", canBeNull = true)
+ @GLsizei IntBuffer length,
+ @GLcharARB ByteBuffer source);
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_shading_language_100.java b/src/templates/org/lwjgl/opengl/ARB_shading_language_100.java
index ff1490b6..81636d2d 100644
--- a/src/templates/org/lwjgl/opengl/ARB_shading_language_100.java
+++ b/src/templates/org/lwjgl/opengl/ARB_shading_language_100.java
@@ -32,8 +32,9 @@
package org.lwjgl.opengl;
public interface ARB_shading_language_100 {
+
/**
- * Accepted by the parameter of GetString:
- */
+ * Accepted by the <name> parameter of GetString:
+ */
int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C;
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_texture_compression.java b/src/templates/org/lwjgl/opengl/ARB_texture_compression.java
index f8b1438f..ca238e86 100644
--- a/src/templates/org/lwjgl/opengl/ARB_texture_compression.java
+++ b/src/templates/org/lwjgl/opengl/ARB_texture_compression.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ARB_texture_compression {
int GL_COMPRESSED_ALPHA_ARB = 0x84E9;
int GL_COMPRESSED_LUMINANCE_ARB = 0x84EA;
@@ -49,78 +49,71 @@ public interface ARB_texture_compression {
int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3;
void glCompressedTexImage1DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pData);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pData);
void glCompressedTexImage2DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pData);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pData);
void glCompressedTexImage3DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pData);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pData);
void glCompressedTexSubImage1DARB(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pData);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pData);
void glCompressedTexSubImage2DARB(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pData);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pData);
void glCompressedTexSubImage3DARB(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pData);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pData);
void glGetCompressedTexImageARB(@GLenum int target, int lod,
- @BufferObject(BufferKind.PackPBO)
- @Check
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pImg);
+ @BufferObject(BufferKind.PackPBO)
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pImg);
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_texture_float.java b/src/templates/org/lwjgl/opengl/ARB_texture_float.java
index edd6a5bc..0ddc432d 100644
--- a/src/templates/org/lwjgl/opengl/ARB_texture_float.java
+++ b/src/templates/org/lwjgl/opengl/ARB_texture_float.java
@@ -32,8 +32,9 @@
package org.lwjgl.opengl;
public interface ARB_texture_float {
- /*
- * Accepted by the parameter of GetTexLevelParameter:
+
+ /**
+ * Accepted by the <value> parameter of GetTexLevelParameter:
*/
int GL_TEXTURE_RED_TYPE_ARB = 0x8C10;
int GL_TEXTURE_GREEN_TYPE_ARB = 0x8C11;
@@ -43,13 +44,13 @@ public interface ARB_texture_float {
int GL_TEXTURE_INTENSITY_TYPE_ARB = 0x8C15;
int GL_TEXTURE_DEPTH_TYPE_ARB = 0x8C16;
- /*
- * Returned by the parameter of GetTexLevelParameter:
+ /**
+ * Returned by the <params> parameter of GetTexLevelParameter:
*/
int GL_UNSIGNED_NORMALIZED_ARB = 0x8C17;
- /*
- * Accepted by the parameter of TexImage1D,
+ /**
+ * Accepted by the <internalFormat> parameter of TexImage1D,
* TexImage2D, and TexImage3D:
*/
int GL_RGBA32F_ARB = 0x8814;
diff --git a/src/templates/org/lwjgl/opengl/ARB_texture_rectangle.java b/src/templates/org/lwjgl/opengl/ARB_texture_rectangle.java
index ca444ed7..074a81d0 100644
--- a/src/templates/org/lwjgl/opengl/ARB_texture_rectangle.java
+++ b/src/templates/org/lwjgl/opengl/ARB_texture_rectangle.java
@@ -33,46 +33,46 @@ package org.lwjgl.opengl;
public interface ARB_texture_rectangle {
- /*
- Accepted by the parameter of Enable, Disable and IsEnabled;
- by the parameter of GetBooleanv, GetIntegerv, GetFloatv
- and GetDoublev; and by the parameter of BindTexture,
- GetTexParameterfv, GetTexParameteriv, TexParameterf, TexParameteri,
- TexParameterfv and TexParameteriv:
- Accepted by the parameter of GetTexImage,
- GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D,
- CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:
- */
+ /**
+ Accepted by the <cap> parameter of Enable, Disable and IsEnabled;
+ by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv
+ and GetDoublev; and by the <target> parameter of BindTexture,
+ GetTexParameterfv, GetTexParameteriv, TexParameterf, TexParameteri,
+ TexParameterfv and TexParameteriv:
+ Accepted by the <target> parameter of GetTexImage,
+ GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D,
+ CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:
+ */
int GL_TEXTURE_RECTANGLE_ARB = 0x84F5;
- /*
- Accepted by the parameter of GetBooleanv, GetIntegerv,
- GetFloatv and GetDoublev:
- */
+ /**
+ Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ GetFloatv and GetDoublev:
+ */
int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6;
- /*
- Accepted by the parameter of GetTexLevelParameteriv,
- GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
- */
+ /**
+ Accepted by the <target> parameter of GetTexLevelParameteriv,
+ GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
+ */
int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7;
- /*
- Accepted by the parameter of GetBooleanv, GetDoublev,
- GetIntegerv and GetFloatv:
- */
+ /**
+ Accepted by the <pname> parameter of GetBooleanv, GetDoublev,
+ GetIntegerv and GetFloatv:
+ */
int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8;
- /*
- Returned by parameter of GetActiveUniform when the location
- for program object is of type sampler2DRect:
- */
+ /**
+ Returned by <type> parameter of GetActiveUniform when the location
+ <index> for program object <program> is of type sampler2DRect:
+ */
int GL_SAMPLER_2D_RECT_ARB = 0x8B63;
- /*
- Returned by parameter of GetActiveUniform when the location
- for program object is of type sampler2DRectShadow:
- */
+ /**
+ Returned by <type> parameter of GetActiveUniform when the location
+ <index> for program object <program> is of type sampler2DRectShadow:
+ */
int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64;
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_transpose_matrix.java b/src/templates/org/lwjgl/opengl/ARB_transpose_matrix.java
index 6b681f23..cee65b26 100644
--- a/src/templates/org/lwjgl/opengl/ARB_transpose_matrix.java
+++ b/src/templates/org/lwjgl/opengl/ARB_transpose_matrix.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.FloatBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ARB_transpose_matrix {
int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3;
int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4;
@@ -43,6 +43,7 @@ public interface ARB_transpose_matrix {
@StripPostfix("pfMtx")
void glLoadTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx);
+
@StripPostfix("pfMtx")
void glMultTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx);
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_vertex_blend.java b/src/templates/org/lwjgl/opengl/ARB_vertex_blend.java
index d448e2a1..b85dd890 100644
--- a/src/templates/org/lwjgl/opengl/ARB_vertex_blend.java
+++ b/src/templates/org/lwjgl/opengl/ARB_vertex_blend.java
@@ -31,16 +31,12 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.ByteBuffer;
-import java.nio.FloatBuffer;
-import java.nio.DoubleBuffer;
-import java.nio.IntBuffer;
-import java.nio.ShortBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ARB_vertex_blend {
+
int GL_MAX_VERTEX_UNITS_ARB = 0x86A4;
int GL_ACTIVE_VERTEX_UNITS_ARB = 0x86A5;
int GL_WEIGHT_SUM_UNITY_ARB = 0x86A6;
@@ -86,36 +82,41 @@ public interface ARB_vertex_blend {
@StripPostfix("pWeights")
void glWeightbvARB(@AutoSize("pWeights") int size, ByteBuffer pWeights);
+
@StripPostfix("pWeights")
void glWeightsvARB(@AutoSize("pWeights") int size, ShortBuffer pWeights);
+
@StripPostfix("pWeights")
void glWeightivARB(@AutoSize("pWeights") int size, IntBuffer pWeights);
+
@StripPostfix("pWeights")
void glWeightfvARB(@AutoSize("pWeights") int size, FloatBuffer pWeights);
+
@StripPostfix("pWeights")
void glWeightdvARB(@AutoSize("pWeights") int size, DoubleBuffer pWeights);
@StripPostfix("pWeights")
void glWeightubvARB(@AutoSize("pWeights") int size, @GLubyte ByteBuffer pWeights);
+
@StripPostfix("pWeights")
void glWeightusvARB(@AutoSize("pWeights") int size, @GLushort ShortBuffer pWeights);
+
@StripPostfix("pWeights")
void glWeightuivARB(@AutoSize("pWeights") int size, @GLuint IntBuffer pWeights);
void glWeightPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLbyte
- @GLubyte
- @GLshort
- @GLushort
- @GLint
- @GLuint
- @GLfloat
- @GLdouble
- Buffer pPointer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLubyte
+ @GLshort
+ @GLushort
+ @GLint
+ @GLuint
+ @GLfloat
+ @GLdouble Buffer pPointer);
void glVertexBlendARB(int count);
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_vertex_buffer_object.java b/src/templates/org/lwjgl/opengl/ARB_vertex_buffer_object.java
index 0413e03d..39423983 100644
--- a/src/templates/org/lwjgl/opengl/ARB_vertex_buffer_object.java
+++ b/src/templates/org/lwjgl/opengl/ARB_vertex_buffer_object.java
@@ -32,19 +32,20 @@
package org.lwjgl.opengl;
public interface ARB_vertex_buffer_object extends ARB_buffer_object {
- /*
- * Accepted by the parameters of BindBufferARB, BufferDataARB,
+
+ /**
+ * Accepted by the <target> parameters of BindBufferARB, BufferDataARB,
* BufferSubDataARB, MapBufferARB, UnmapBufferARB,
* GetBufferSubDataARB, GetBufferParameterivARB, and
* GetBufferPointervARB:
- */
+ */
int GL_ARRAY_BUFFER_ARB = 0x8892;
int GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
- */
+ */
int GL_ARRAY_BUFFER_BINDING_ARB = 0x8894;
int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895;
int GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896;
@@ -57,8 +58,8 @@ public interface ARB_vertex_buffer_object extends ARB_buffer_object {
int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889D;
int GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889E;
- /*
- * Accepted by the parameter of GetVertexAttribivARB:
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribivARB:
*/
int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F;
}
diff --git a/src/templates/org/lwjgl/opengl/ARB_vertex_program.java b/src/templates/org/lwjgl/opengl/ARB_vertex_program.java
index 81c08ee9..b02418b7 100644
--- a/src/templates/org/lwjgl/opengl/ARB_vertex_program.java
+++ b/src/templates/org/lwjgl/opengl/ARB_vertex_program.java
@@ -31,37 +31,34 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.ByteBuffer;
-import java.nio.FloatBuffer;
-import java.nio.DoubleBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ARB_vertex_program extends ARB_program {
- /*
- * Accepted by the parameter of Disable, Enable, and IsEnabled, by the
- * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
- * and by the parameter of ProgramStringARB, BindProgramARB,
- * ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB,
- * GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
- * GetProgramivARB, and GetProgramStringARB.
- */
+
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
+ * <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
+ * and by the <target> parameter of ProgramStringARB, BindProgramARB,
+ * ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB,
+ * GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
+ * GetProgramivARB, and GetProgramStringARB.
+ */
int GL_VERTEX_PROGRAM_ARB = 0x8620;
- /*
- * Accepted by the parameter of Disable, Enable, and IsEnabled, and by
- * the parameter of GetBooleanv, GetIntegerv, GetFloatv, and
- * GetDoublev:
- */
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev:
+ */
int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
int GL_COLOR_SUM_ARB = 0x8458;
- /*
- * Accepted by the parameter of GetVertexAttrib[dfi]vARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttrib[dfi]vARB:
+ */
int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624;
@@ -69,23 +66,23 @@ public interface ARB_vertex_program extends ARB_program {
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626;
- /*
- * Accepted by the parameter of GetVertexAttribPointervARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribPointervARB:
+ */
int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
- /*
- * Accepted by the parameter of GetProgramivARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
int GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0;
int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1;
int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2;
int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
- * GetFloatv, and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
void glVertexAttrib1sARB(@GLuint int index, short x);
@@ -103,7 +100,7 @@ public interface ARB_vertex_program extends ARB_program {
void glVertexAttrib3sARB(@GLuint int index, short x, short y, short z);
void glVertexAttrib3fARB(@GLuint int index, float x, float y, float z);
-
+
void glVertexAttrib3dARB(@GLuint int index, double x, double y, double z);
void glVertexAttrib4sARB(@GLuint int index, short x, short y, short z, short w);
@@ -115,19 +112,18 @@ public interface ARB_vertex_program extends ARB_program {
void glVertexAttrib4NubARB(@GLuint int index, @GLubyte byte x, @GLubyte byte y, @GLubyte byte z, @GLubyte byte w);
void glVertexAttribPointerARB(@GLuint int index, int size, @AutoType("buffer") @GLenum int type, boolean normalized, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLbyte
- @GLubyte
- @GLshort
- @GLushort
- @GLint
- @GLuint
- @GLfloat
- @GLdouble
- Buffer buffer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLubyte
+ @GLshort
+ @GLushort
+ @GLint
+ @GLuint
+ @GLfloat
+ @GLdouble Buffer buffer);
void glEnableVertexAttribArrayARB(@GLuint int index);
@@ -135,8 +131,10 @@ public interface ARB_vertex_program extends ARB_program {
@StripPostfix("params")
void glGetVertexAttribfvARB(@GLuint int index, @GLenum int pname, @Check FloatBuffer params);
+
@StripPostfix("params")
void glGetVertexAttribdvARB(@GLuint int index, @GLenum int pname, @Check DoubleBuffer params);
+
@StripPostfix("params")
void glGetVertexAttribivARB(@GLuint int index, @GLenum int pname, @Check IntBuffer params);
diff --git a/src/templates/org/lwjgl/opengl/ARB_vertex_shader.java b/src/templates/org/lwjgl/opengl/ARB_vertex_shader.java
index 85e05ef6..558d0f89 100644
--- a/src/templates/org/lwjgl/opengl/ARB_vertex_shader.java
+++ b/src/templates/org/lwjgl/opengl/ARB_vertex_shader.java
@@ -37,16 +37,16 @@ import java.nio.*;
public interface ARB_vertex_shader {
- /*
- * Accepted by the argument of CreateShaderObjectARB and
- * returned by the parameter of GetObjectParameter{if}vARB:
- */
+ /**
+ * Accepted by the <shaderType> argument of CreateShaderObjectARB and
+ * returned by the <params> parameter of GetObjectParameter{if}vARB:
+ */
int GL_VERTEX_SHADER_ARB = 0x8B31;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
- */
+ */
int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A;
int GL_MAX_VARYING_FLOATS_ARB = 0x8B4B;
int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
@@ -55,23 +55,23 @@ public interface ARB_vertex_shader {
int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D;
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
- /*
- * Accepted by the parameter of Disable, Enable, and IsEnabled, and
- * by the parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and
+ * by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
- */
+ */
int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
- /*
- * Accepted by the parameter GetObjectParameter{if}vARB:
- */
+ /**
+ * Accepted by the <pname> parameter GetObjectParameter{if}vARB:
+ */
int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89;
int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A;
- /*
- * Accepted by the parameter of GetVertexAttrib{dfi}vARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttrib{dfi}vARB:
+ */
int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624;
@@ -79,14 +79,14 @@ public interface ARB_vertex_shader {
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626;
- /*
- * Accepted by the parameter of GetVertexAttribPointervARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribPointervARB:
+ */
int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
- /*
- * Returned by the parameter of GetActiveAttribARB:
- */
+ /**
+ * Returned by the <type> parameter of GetActiveAttribARB:
+ */
int GL_FLOAT = 0x1406;
int GL_FLOAT_VEC2_ARB = 0x8B50;
int GL_FLOAT_VEC3_ARB = 0x8B51;
diff --git a/src/templates/org/lwjgl/opengl/ARB_window_pos.java b/src/templates/org/lwjgl/opengl/ARB_window_pos.java
index 1eedf777..8517148c 100644
--- a/src/templates/org/lwjgl/opengl/ARB_window_pos.java
+++ b/src/templates/org/lwjgl/opengl/ARB_window_pos.java
@@ -34,7 +34,7 @@ package org.lwjgl.opengl;
public interface ARB_window_pos {
void glWindowPos2fARB(float x, float y);
-
+
void glWindowPos2dARB(double x, double y);
void glWindowPos2iARB(int x, int y);
diff --git a/src/templates/org/lwjgl/opengl/ATI_draw_buffers.java b/src/templates/org/lwjgl/opengl/ATI_draw_buffers.java
index 994dac71..b0c4df16 100644
--- a/src/templates/org/lwjgl/opengl/ATI_draw_buffers.java
+++ b/src/templates/org/lwjgl/opengl/ATI_draw_buffers.java
@@ -31,15 +31,16 @@
*/
package org.lwjgl.opengl;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ATI_draw_buffers {
- /*
- * Accepted by the parameters of GetIntegerv, GetFloatv,
+
+ /**
+ * Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
* and GetDoublev:
- */
+ */
int GL_MAX_DRAW_BUFFERS_ATI = 0x8824;
int GL_DRAW_BUFFER0_ATI = 0x8825;
int GL_DRAW_BUFFER1_ATI = 0x8826;
diff --git a/src/templates/org/lwjgl/opengl/ATI_element_array.java b/src/templates/org/lwjgl/opengl/ATI_element_array.java
index e84d45f1..3918c56a 100644
--- a/src/templates/org/lwjgl/opengl/ATI_element_array.java
+++ b/src/templates/org/lwjgl/opengl/ATI_element_array.java
@@ -31,24 +31,23 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ATI_element_array {
int GL_ELEMENT_ARRAY_ATI = 0x8768;
int GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769;
int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
void glElementPointerATI(@AutoType("pPointer") @GLenum int type,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLubyte
- @GLushort
- @GLuint
- Buffer pPointer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLubyte
+ @GLushort
+ @GLuint Buffer pPointer);
void glDrawElementArrayATI(@GLenum int mode, @GLsizei int count);
diff --git a/src/templates/org/lwjgl/opengl/ATI_envmap_bumpmap.java b/src/templates/org/lwjgl/opengl/ATI_envmap_bumpmap.java
index 74f169ec..35d015d7 100644
--- a/src/templates/org/lwjgl/opengl/ATI_envmap_bumpmap.java
+++ b/src/templates/org/lwjgl/opengl/ATI_envmap_bumpmap.java
@@ -31,11 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ATI_envmap_bumpmap {
int GL_BUMP_ROT_MATRIX_ATI = 0x8775;
int GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776;
@@ -48,11 +47,13 @@ public interface ATI_envmap_bumpmap {
@StripPostfix("param")
void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") @Const FloatBuffer param);
+
@StripPostfix("param")
void glTexBumpParameterivATI(@GLenum int pname, @Check("4") @Const IntBuffer param);
@StripPostfix("param")
void glGetTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param);
+
@StripPostfix("param")
void glGetTexBumpParameterivATI(@GLenum int pname, @Check("4") IntBuffer param);
}
diff --git a/src/templates/org/lwjgl/opengl/ATI_fragment_shader.java b/src/templates/org/lwjgl/opengl/ATI_fragment_shader.java
index 37d26450..b346cf7c 100644
--- a/src/templates/org/lwjgl/opengl/ATI_fragment_shader.java
+++ b/src/templates/org/lwjgl/opengl/ATI_fragment_shader.java
@@ -29,18 +29,14 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/*
- * Note: 2X_BIT_ATI, 4X_BIT_ATI and 8X_BIT_ATI has been changed to X2_BIT_ATI, X4_BIT_ATI and X8_BIT_ATI
- * because variables cannot start with a number.
- *
- */
package org.lwjgl.opengl;
-import java.nio.FloatBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ATI_fragment_shader {
+
int GL_FRAGMENT_SHADER_ATI = 0x8920;
int GL_REG_0_ATI = 0x8921;
int GL_REG_1_ATI = 0x8922;
@@ -135,9 +131,9 @@ public interface ATI_fragment_shader {
int GL_RED_BIT_ATI = 0x00000001;
int GL_GREEN_BIT_ATI = 0x00000002;
int GL_BLUE_BIT_ATI = 0x00000004;
- int GL_X2_BIT_ATI = 0x00000001;
- int GL_X4_BIT_ATI = 0x00000002;
- int GL_X8_BIT_ATI = 0x00000004;
+ int GL_2X_BIT_ATI = 0x00000001;
+ int GL_4X_BIT_ATI = 0x00000002;
+ int GL_8X_BIT_ATI = 0x00000004;
int GL_HALF_BIT_ATI = 0x00000008;
int GL_QUARTER_BIT_ATI = 0x00000010;
int GL_EIGHTH_BIT_ATI = 0x00000020;
@@ -146,7 +142,8 @@ public interface ATI_fragment_shader {
int GL_NEGATE_BIT_ATI = 0x00000004;
int GL_BIAS_BIT_ATI = 0x00000008;
- @GLuint int glGenFragmentShadersATI(@GLuint int range);
+ @GLuint
+ int glGenFragmentShadersATI(@GLuint int range);
void glBindFragmentShaderATI(@GLuint int id);
diff --git a/src/templates/org/lwjgl/opengl/ATI_map_object_buffer.java b/src/templates/org/lwjgl/opengl/ATI_map_object_buffer.java
index 1c750c9e..d6bfda78 100644
--- a/src/templates/org/lwjgl/opengl/ATI_map_object_buffer.java
+++ b/src/templates/org/lwjgl/opengl/ATI_map_object_buffer.java
@@ -31,26 +31,28 @@
*/
package org.lwjgl.opengl;
-import java.nio.ByteBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ATI_map_object_buffer {
+
/**
* glMapObjectBufferATI maps a gl object buffer to a ByteBuffer. The oldBuffer argument can be
* null, in which case a new ByteBuffer will be created, pointing to the returned memory. If
* oldBuffer is non-null, it will be returned if it points to the same mapped memory, otherwise a
* new ByteBuffer is created.
*
- * @param result_size The size of the buffer area.
- * @param old_buffer A ByteBuffer. If this argument points to the same address as the new mapping,
- * it will be returned and no new buffer will be created. In that case, size is
- * ignored.
+ * @param result_size The size of the buffer area.
+ * @param old_buffer A ByteBuffer. If this argument points to the same address as the new mapping,
+ * it will be returned and no new buffer will be created. In that case, size is
+ * ignored.
*
* @return A ByteBuffer representing the mapped object buffer memory.
*/
@CachedResult
- @GLvoid ByteBuffer glMapObjectBufferATI(@GLuint int buffer);
+ @GLvoid
+ ByteBuffer glMapObjectBufferATI(@GLuint int buffer);
void glUnmapObjectBufferATI(@GLuint int buffer);
diff --git a/src/templates/org/lwjgl/opengl/ATI_texture_compression_3dc.java b/src/templates/org/lwjgl/opengl/ATI_texture_compression_3dc.java
index 71a9b4da..0be6fb70 100644
--- a/src/templates/org/lwjgl/opengl/ATI_texture_compression_3dc.java
+++ b/src/templates/org/lwjgl/opengl/ATI_texture_compression_3dc.java
@@ -33,7 +33,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
-@Extension(postfix="ATI", className="ATITextureCompression3DC")
+@Extension(postfix = "ATI", className = "ATITextureCompression3DC")
public interface ATI_texture_compression_3dc {
int GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI = 0x8837;
}
diff --git a/src/templates/org/lwjgl/opengl/ATI_texture_float.java b/src/templates/org/lwjgl/opengl/ATI_texture_float.java
index cb3121bb..24916aac 100644
--- a/src/templates/org/lwjgl/opengl/ATI_texture_float.java
+++ b/src/templates/org/lwjgl/opengl/ATI_texture_float.java
@@ -32,10 +32,11 @@
package org.lwjgl.opengl;
public interface ATI_texture_float {
- /*
- * Accepted by the parameter of TexImage1D,
+
+ /**
+ * Accepted by the <internalFormat> parameter of TexImage1D,
* TexImage2D, and TexImage3D:
- */
+ */
int GL_RGBA_FLOAT32_ATI = 0x8814;
int GL_RGB_FLOAT32_ATI = 0x8815;
int GL_ALPHA_FLOAT32_ATI = 0x8816;
diff --git a/src/templates/org/lwjgl/opengl/ATI_vertex_array_object.java b/src/templates/org/lwjgl/opengl/ATI_vertex_array_object.java
index b7a22f68..67579d17 100644
--- a/src/templates/org/lwjgl/opengl/ATI_vertex_array_object.java
+++ b/src/templates/org/lwjgl/opengl/ATI_vertex_array_object.java
@@ -31,12 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ATI_vertex_array_object {
int GL_STATIC_ATI = 0x8760;
int GL_DYNAMIC_ATI = 0x8761;
@@ -48,28 +46,28 @@ public interface ATI_vertex_array_object {
int GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767;
@GenerateAutos
- @GLuint int glNewObjectBufferATI(@AutoSize("pPointer") @GLsizei int size,
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pPointer, @GLenum int usage);
+ @GLuint
+ int glNewObjectBufferATI(@AutoSize("pPointer") @GLsizei int size,
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pPointer, @GLenum int usage);
boolean glIsObjectBufferATI(@GLuint int buffer);
void glUpdateObjectBufferATI(@GLuint int buffer, @GLuint int offset, @AutoSize("pPointer") @GLsizei int size,
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pPointer, @GLenum int preserve);
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pPointer, @GLenum int preserve);
@StripPostfix("params")
void glGetObjectBufferfvATI(@GLuint int buffer, @GLenum int pname, @Check FloatBuffer params);
+
@StripPostfix("params")
void glGetObjectBufferivATI(@GLuint int buffer, @GLenum int pname, @Check IntBuffer params);
@@ -79,6 +77,7 @@ public interface ATI_vertex_array_object {
@StripPostfix("params")
void glGetArrayObjectfvATI(@GLenum int array, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetArrayObjectivATI(@GLenum int array, @GLenum int pname, @Check("4") IntBuffer params);
@@ -86,6 +85,7 @@ public interface ATI_vertex_array_object {
@StripPostfix("params")
void glGetVariantArrayObjectfvATI(@GLuint int id, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetVariantArrayObjectivATI(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params);
}
diff --git a/src/templates/org/lwjgl/opengl/ATI_vertex_attrib_array_object.java b/src/templates/org/lwjgl/opengl/ATI_vertex_attrib_array_object.java
index 83433b38..453ddf02 100644
--- a/src/templates/org/lwjgl/opengl/ATI_vertex_attrib_array_object.java
+++ b/src/templates/org/lwjgl/opengl/ATI_vertex_attrib_array_object.java
@@ -31,16 +31,16 @@
*/
package org.lwjgl.opengl;
-import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface ATI_vertex_attrib_array_object {
void glVertexAttribArrayObjectATI(@GLuint int index, int size, @GLenum int type, boolean normalized, @GLsizei int stride, @GLuint int buffer, @GLuint int offset);
@StripPostfix("params")
void glGetVertexAttribArrayObjectfvATI(@GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetVertexAttribArrayObjectivATI(@GLuint int index, @GLenum int pname, @Check("4") IntBuffer params);
}
diff --git a/src/templates/org/lwjgl/opengl/ATI_vertex_streams.java b/src/templates/org/lwjgl/opengl/ATI_vertex_streams.java
index 6d4201b0..c3f0461c 100644
--- a/src/templates/org/lwjgl/opengl/ATI_vertex_streams.java
+++ b/src/templates/org/lwjgl/opengl/ATI_vertex_streams.java
@@ -46,7 +46,7 @@ public interface ATI_vertex_streams {
int GL_VERTEX_STREAM7_ATI = 0x8774;
void glVertexStream2fATI(@GLenum int stream, float x, float y);
-
+
void glVertexStream2dATI(@GLenum int stream, double x, double y);
void glVertexStream2iATI(@GLenum int stream, int x, int y);
@@ -72,7 +72,7 @@ public interface ATI_vertex_streams {
void glNormalStream3bATI(@GLenum int stream, byte x, byte y, byte z);
void glNormalStream3fATI(@GLenum int stream, float x, float y, float z);
-
+
void glNormalStream3dATI(@GLenum int stream, double x, double y, double z);
void glNormalStream3iATI(@GLenum int stream, int x, int y, int z);
diff --git a/src/templates/org/lwjgl/opengl/EXT_bgra.java b/src/templates/org/lwjgl/opengl/EXT_bgra.java
index b5ee54fe..2bf5d0e9 100644
--- a/src/templates/org/lwjgl/opengl/EXT_bgra.java
+++ b/src/templates/org/lwjgl/opengl/EXT_bgra.java
@@ -31,11 +31,6 @@
*/
package org.lwjgl.opengl;
-/**
- * EXT_bgra_constants
- *
- * @author cas
- */
public interface EXT_bgra {
int GL_BGR_EXT = 0x80E0;
int GL_BGRA_EXT = 0x80E1;
diff --git a/src/templates/org/lwjgl/opengl/EXT_blend_equation_separate.java b/src/templates/org/lwjgl/opengl/EXT_blend_equation_separate.java
index 004030cd..14512c61 100644
--- a/src/templates/org/lwjgl/opengl/EXT_blend_equation_separate.java
+++ b/src/templates/org/lwjgl/opengl/EXT_blend_equation_separate.java
@@ -34,10 +34,11 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface EXT_blend_equation_separate {
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
+
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
- */
+ */
int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D;
diff --git a/src/templates/org/lwjgl/opengl/EXT_blend_subtract.java b/src/templates/org/lwjgl/opengl/EXT_blend_subtract.java
index 720f7a9a..a105ef44 100644
--- a/src/templates/org/lwjgl/opengl/EXT_blend_subtract.java
+++ b/src/templates/org/lwjgl/opengl/EXT_blend_subtract.java
@@ -31,11 +31,6 @@
*/
package org.lwjgl.opengl;
-/**
- * EXT_blend_subtract constants
- *
- * @author cas
- */
public interface EXT_blend_subtract {
int GL_FUNC_SUBTRACT_EXT = 0x800A;
int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B;
diff --git a/src/templates/org/lwjgl/opengl/EXT_cg_shader.java b/src/templates/org/lwjgl/opengl/EXT_cg_shader.java
index 76406732..e986c517 100644
--- a/src/templates/org/lwjgl/opengl/EXT_cg_shader.java
+++ b/src/templates/org/lwjgl/opengl/EXT_cg_shader.java
@@ -32,6 +32,7 @@
package org.lwjgl.opengl;
public interface EXT_cg_shader {
+
/**
* You can pass GL_CG_VERTEX_SHADER_EXT to glCreateShaderARB instead of GL_VERTEX_SHADER_ARB to create a vertex shader object
* that will parse and compile its shader source with the Cg compiler front-end rather than the GLSL front-end. Likewise, you
diff --git a/src/templates/org/lwjgl/opengl/EXT_depth_bounds_test.java b/src/templates/org/lwjgl/opengl/EXT_depth_bounds_test.java
index 09b9c15a..3c2481fe 100644
--- a/src/templates/org/lwjgl/opengl/EXT_depth_bounds_test.java
+++ b/src/templates/org/lwjgl/opengl/EXT_depth_bounds_test.java
@@ -34,17 +34,18 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface EXT_depth_bounds_test {
- /*
- Accepted by the parameter of Enable, Disable, and IsEnabled,
- and by the parameter of GetBooleanv, GetIntegerv,
- GetFloatv, and GetDoublev:
- */
+
+ /**
+ Accepted by the <cap> parameter of Enable, Disable, and IsEnabled,
+ and by the <pname> parameter of GetBooleanv, GetIntegerv,
+ GetFloatv, and GetDoublev:
+ */
int GL_DEPTH_BOUNDS_TEST_EXT = 0x8890;
- /*
- Accepted by the parameter of GetBooleanv, GetIntegerv,
- GetFloatv, and GetDoublev:
- */
+ /**
+ Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ GetFloatv, and GetDoublev:
+ */
int GL_DEPTH_BOUNDS_EXT = 0x8891;
void glDepthBoundsEXT(@GLclampd double zmin, @GLclampd double zmax);
diff --git a/src/templates/org/lwjgl/opengl/EXT_draw_range_elements.java b/src/templates/org/lwjgl/opengl/EXT_draw_range_elements.java
index 8bc0a597..eb81a9bc 100644
--- a/src/templates/org/lwjgl/opengl/EXT_draw_range_elements.java
+++ b/src/templates/org/lwjgl/opengl/EXT_draw_range_elements.java
@@ -31,19 +31,18 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface EXT_draw_range_elements {
int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8;
int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9;
void glDrawRangeElementsEXT(@GLenum int mode, @GLuint int start, @GLuint int end, @AutoSize("pIndices") @GLsizei int count, @AutoType("pIndices") @GLenum int type,
- @BufferObject(BufferKind.ElementVBO)
- @Const
- @GLubyte
- @GLushort
- @GLuint
- Buffer pIndices);
+ @BufferObject(BufferKind.ElementVBO)
+ @Const
+ @GLubyte
+ @GLushort
+ @GLuint Buffer pIndices);
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_fog_coord.java b/src/templates/org/lwjgl/opengl/EXT_fog_coord.java
index 08888c13..26535e83 100644
--- a/src/templates/org/lwjgl/opengl/EXT_fog_coord.java
+++ b/src/templates/org/lwjgl/opengl/EXT_fog_coord.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface EXT_fog_coord {
int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450;
int GL_FOG_COORDINATE_EXT = 0x8451;
@@ -46,14 +46,14 @@ public interface EXT_fog_coord {
int GL_FOG_COORDINATE_ARRAY_EXT = 0x8457;
void glFogCoordfEXT(float coord);
+
void glFogCoorddEXT(double coord);
void glFogCoordPointerEXT(@AutoType("data") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLfloat
- @GLdouble
- Buffer data);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLfloat
+ @GLdouble Buffer data);
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java b/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java
index f41ff3f7..c52aba27 100644
--- a/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java
+++ b/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java
@@ -33,7 +33,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
-import java.nio.IntBuffer;
+import java.nio.*;
public interface EXT_framebuffer_object {
@@ -61,8 +61,8 @@ public interface EXT_framebuffer_object {
int GL_STENCIL_INDEX16_EXT = 0x8D49;
/**
- * Accepted by the <pname> parameter of GetRenderbufferParameterivEXT:
- */
+ * Accepted by the <pname> parameter of GetRenderbufferParameterivEXT:
+ */
int GL_RENDERBUFFER_WIDTH_EXT = 0x8D42;
int GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43;
int GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44;
@@ -137,6 +137,7 @@ public interface EXT_framebuffer_object {
void glBindRenderbufferEXT(@GLenum int target, @GLuint int renderbuffer);
void glDeleteRenderbuffersEXT(@AutoSize("renderbuffers") int n, @Const @GLuint IntBuffer renderbuffers);
+
void glGenRenderbuffersEXT(@AutoSize("renderbuffers") int n, @GLuint IntBuffer renderbuffers);
void glRenderbufferStorageEXT(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLsizei int height);
@@ -149,9 +150,11 @@ public interface EXT_framebuffer_object {
void glBindFramebufferEXT(@GLenum int target, @GLuint int framebuffer);
void glDeleteFramebuffersEXT(@AutoSize("framebuffers") int n, @Const @GLuint IntBuffer framebuffers);
+
void glGenFramebuffersEXT(@AutoSize("framebuffers") int n, @Const @GLuint IntBuffer framebuffers);
- @GLenum int glCheckFramebufferStatusEXT(@GLenum int target);
+ @GLenum
+ int glCheckFramebufferStatusEXT(@GLenum int target);
void glFramebufferTexture1DEXT(@GLenum int target, @GLenum int attachment, @GLenum int textarget, @GLuint int texture, int level);
diff --git a/src/templates/org/lwjgl/opengl/EXT_multi_draw_arrays.java b/src/templates/org/lwjgl/opengl/EXT_multi_draw_arrays.java
index 536e93cd..1ef99737 100644
--- a/src/templates/org/lwjgl/opengl/EXT_multi_draw_arrays.java
+++ b/src/templates/org/lwjgl/opengl/EXT_multi_draw_arrays.java
@@ -31,13 +31,13 @@
*/
package org.lwjgl.opengl;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface EXT_multi_draw_arrays {
- @Code( " if (piFirst.remaining() != piCount.remaining()) {\n" +
- " throw new IllegalArgumentException(\"piFirst.remaining() != piCount.remaining()\");\n" +
- " }")
+ @Code(" if (piFirst.remaining() != piCount.remaining()) {\n" +
+ " throw new IllegalArgumentException(\"piFirst.remaining() != piCount.remaining()\");\n" +
+ " }")
void glMultiDrawArraysEXT(@GLenum int mode, IntBuffer piFirst, @Check @GLsizei IntBuffer piCount, @AutoSize("piFirst") int primcount);
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_packed_depth_stencil.java b/src/templates/org/lwjgl/opengl/EXT_packed_depth_stencil.java
index d82990f2..7f0eb4ed 100644
--- a/src/templates/org/lwjgl/opengl/EXT_packed_depth_stencil.java
+++ b/src/templates/org/lwjgl/opengl/EXT_packed_depth_stencil.java
@@ -33,9 +33,35 @@ package org.lwjgl.opengl;
public interface EXT_packed_depth_stencil {
+ /**
+ Accepted by the <format> parameter of DrawPixels, ReadPixels,
+ TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D,
+ TexSubImage3D, and GetTexImage, by the <type> parameter of
+ CopyPixels, by the <internalformat> parameter of TexImage1D,
+ TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and
+ RenderbufferStorageEXT, and returned in the <data> parameter of
+ GetTexLevelParameter and GetRenderbufferParameterivEXT.
+ */
int GL_DEPTH_STENCIL_EXT = 0x84F9;
+
+ /**
+ Accepted by the <type> parameter of DrawPixels, ReadPixels,
+ TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D,
+ TexSubImage3D, and GetTexImage.
+ */
int GL_UNSIGNED_INT_24_8_EXT = 0x84FA;
+
+ /**
+ Accepted by the <internalformat> parameter of TexImage1D,
+ TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and
+ RenderbufferStorageEXT, and returned in the <data> parameter of
+ GetTexLevelParameter and GetRenderbufferParameterivEXT.
+ */
int GL_DEPTH24_STENCIL8_EXT = 0x88F0;
+
+ /**
+ Accepted by the <value> parameter of GetTexLevelParameter.
+ */
int GL_TEXTURE_STENCIL_SIZE_EXT = 0x88F1;
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_paletted_texture.java b/src/templates/org/lwjgl/opengl/EXT_paletted_texture.java
index 91f64582..4419ef94 100644
--- a/src/templates/org/lwjgl/opengl/EXT_paletted_texture.java
+++ b/src/templates/org/lwjgl/opengl/EXT_paletted_texture.java
@@ -36,7 +36,8 @@ import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_paletted_texture {
- /*
+
+ /**
* Accepted by the internalformat parameter of TexImage1D, TexImage2D and
* TexImage3DEXT:
*/
@@ -47,7 +48,7 @@ public interface EXT_paletted_texture {
int GL_COLOR_INDEX12_EXT = 0x80E6;
int GL_COLOR_INDEX16_EXT = 0x80E7;
- /*
+ /**
* Accepted by the pname parameter of GetColorTableParameterivEXT and
* GetColorTableParameterfvEXT:
*/
@@ -60,42 +61,40 @@ public interface EXT_paletted_texture {
int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
- /*
+ /**
* Accepted by the value parameter of GetTexLevelParameter{if}v:
*/
int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED;
void glColorTableEXT(@GLenum int target, @GLenum int internalFormat, @GLsizei int width, @GLenum int format, @GLenum int type,
- @Check("GLChecks.calculateImageStorage(data, format, type, width, 1, 1)")
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @Check("GLChecks.calculateImageStorage(data, format, type, width, 1, 1)")
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glColorSubTableEXT(@GLenum int target, @GLsizei int start, @GLsizei int count, @GLenum int format, @GLenum int type,
- @Check("GLChecks.calculateImageStorage(data, format, type, count, 1, 1)")
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @Check("GLChecks.calculateImageStorage(data, format, type, count, 1, 1)")
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glGetColorTableEXT(@GLenum int target, @GLenum int format, @GLenum int type,
- @Check
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
@StripPostfix("params")
void glGetColorTableParameterivEXT(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
+
@StripPostfix("params")
void glGetColorTableParameterfvEXT(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_pixel_buffer_object.java b/src/templates/org/lwjgl/opengl/EXT_pixel_buffer_object.java
index dc56c6b9..931088f5 100644
--- a/src/templates/org/lwjgl/opengl/EXT_pixel_buffer_object.java
+++ b/src/templates/org/lwjgl/opengl/EXT_pixel_buffer_object.java
@@ -32,18 +32,19 @@
package org.lwjgl.opengl;
public interface EXT_pixel_buffer_object extends ARB_buffer_object {
- /*
- * Accepted by the parameters of BindBuffer, BufferData,
- * BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
- * GetBufferParameteriv, and GetBufferPointerv:
- */
+
+ /**
+ * Accepted by the <target> parameters of BindBuffer, BufferData,
+ * BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
+ * GetBufferParameteriv, and GetBufferPointerv:
+ */
int GL_PIXEL_PACK_BUFFER_EXT = 0x88EB;
int GL_PIXEL_UNPACK_BUFFER_EXT = 0x88EC;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
- */
+ */
int PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED;
int PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF;
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_point_parameters.java b/src/templates/org/lwjgl/opengl/EXT_point_parameters.java
index c132f0d2..aa4a2997 100644
--- a/src/templates/org/lwjgl/opengl/EXT_point_parameters.java
+++ b/src/templates/org/lwjgl/opengl/EXT_point_parameters.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.FloatBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface EXT_point_parameters {
int GL_POINT_SIZE_MIN_EXT = 0x8126;
int GL_POINT_SIZE_MAX_EXT = 0x8127;
diff --git a/src/templates/org/lwjgl/opengl/EXT_secondary_color.java b/src/templates/org/lwjgl/opengl/EXT_secondary_color.java
index ba4bacb6..1b0d09e1 100644
--- a/src/templates/org/lwjgl/opengl/EXT_secondary_color.java
+++ b/src/templates/org/lwjgl/opengl/EXT_secondary_color.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface EXT_secondary_color {
int GL_COLOR_SUM_EXT = 0x8458;
int GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459;
@@ -47,19 +47,18 @@ public interface EXT_secondary_color {
void glSecondaryColor3bEXT(byte red, byte green, byte blue);
void glSecondaryColor3fEXT(float red, float green, float blue);
-
+
void glSecondaryColor3dEXT(double red, double green, double blue);
void glSecondaryColor3ubEXT(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
void glSecondaryColorPointerEXT(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLbyte
- @GLubyte
- @GLfloat
- @GLdouble
- Buffer pPointer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLubyte
+ @GLfloat
+ @GLdouble Buffer pPointer);
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_stencil_clear_tag.java b/src/templates/org/lwjgl/opengl/EXT_stencil_clear_tag.java
index bf3dba59..dcf174db 100644
--- a/src/templates/org/lwjgl/opengl/EXT_stencil_clear_tag.java
+++ b/src/templates/org/lwjgl/opengl/EXT_stencil_clear_tag.java
@@ -34,8 +34,19 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface EXT_stencil_clear_tag {
- int GL_STENCIL_TAG_BITS_EXT = 0x88F2;
- int GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3;
+ /**
+ Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ GetFloatv, and GetDoublev.
+ */
+ int GL_STENCIL_TAG_BITS_EXT = 0x88F2;
+ int GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3;
+
+ /**
+ Controls the stencil clear tag state. stencilTagBits is a count of
+ the number of most-significant stencil buffer bits involved in the
+ stencil clear tag update.
+ */
void glStencilClearTagEXT(@GLsizei int stencilTagBits, @GLuint int stencilClearTag);
+
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_texture_compression_s3tc.java b/src/templates/org/lwjgl/opengl/EXT_texture_compression_s3tc.java
index 90fdf1d0..2a5083d7 100644
--- a/src/templates/org/lwjgl/opengl/EXT_texture_compression_s3tc.java
+++ b/src/templates/org/lwjgl/opengl/EXT_texture_compression_s3tc.java
@@ -33,7 +33,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
-@Extension(postfix="EXT", className="EXTTextureCompressionS3TC")
+@Extension(postfix = "EXT", className = "EXTTextureCompressionS3TC")
public interface EXT_texture_compression_s3tc {
int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
diff --git a/src/templates/org/lwjgl/opengl/EXT_texture_env_combine.java b/src/templates/org/lwjgl/opengl/EXT_texture_env_combine.java
index 8c815125..eb804b66 100644
--- a/src/templates/org/lwjgl/opengl/EXT_texture_env_combine.java
+++ b/src/templates/org/lwjgl/opengl/EXT_texture_env_combine.java
@@ -31,7 +31,6 @@
*/
package org.lwjgl.opengl;
-/** Insert the type's description here. Creation date: (22/02/00 01:26:05) */
public interface EXT_texture_env_combine {
int GL_COMBINE_EXT = 0x8570;
int GL_COMBINE_RGB_EXT = 0x8571;
diff --git a/src/templates/org/lwjgl/opengl/EXT_texture_lod_bias.java b/src/templates/org/lwjgl/opengl/EXT_texture_lod_bias.java
index e90de4a4..281c76cc 100644
--- a/src/templates/org/lwjgl/opengl/EXT_texture_lod_bias.java
+++ b/src/templates/org/lwjgl/opengl/EXT_texture_lod_bias.java
@@ -33,7 +33,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
-@Extension(postfix="EXT", className="EXTTextureLODBias")
+@Extension(postfix = "EXT", className = "EXTTextureLODBias")
public interface EXT_texture_lod_bias {
int GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500;
int GL_TEXTURE_LOD_BIAS_EXT = 0x8501;
diff --git a/src/templates/org/lwjgl/opengl/EXT_texture_mirror_clamp.java b/src/templates/org/lwjgl/opengl/EXT_texture_mirror_clamp.java
index 6e056213..e8f78a5c 100644
--- a/src/templates/org/lwjgl/opengl/EXT_texture_mirror_clamp.java
+++ b/src/templates/org/lwjgl/opengl/EXT_texture_mirror_clamp.java
@@ -32,12 +32,13 @@
package org.lwjgl.opengl;
public interface EXT_texture_mirror_clamp {
- /*
- * Accepted by the parameter of TexParameteri and TexParameterf,
- * and by the parameter of TexParameteriv and TexParameterfv,
- * when their parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T,
+
+ /**
+ * Accepted by the <param> parameter of TexParameteri and TexParameterf,
+ * and by the <params> parameter of TexParameteriv and TexParameterfv,
+ * when their <pname> parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T,
* or TEXTURE_WRAP_R:
- */
+ */
int GL_MIRROR_CLAMP_EXT = 0x8742;
int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;
diff --git a/src/templates/org/lwjgl/opengl/EXT_texture_sRGB.java b/src/templates/org/lwjgl/opengl/EXT_texture_sRGB.java
index 89be7fb1..a8221111 100644
--- a/src/templates/org/lwjgl/opengl/EXT_texture_sRGB.java
+++ b/src/templates/org/lwjgl/opengl/EXT_texture_sRGB.java
@@ -31,25 +31,33 @@
*/
package org.lwjgl.opengl;
-import org.lwjgl.util.generator.*;
-
public interface EXT_texture_sRGB {
- int GL_SRGB_EXT = 0x8C40;
- int GL_SRGB8_EXT = 0x8C41;
- int GL_SRGB_ALPHA_EXT = 0x8C42;
- int GL_SRGB8_ALPHA8_EXT = 0x8C43;
- int GL_SLUMINANCE_ALPHA_EXT = 0x8C44;
- int GL_SLUMINANCE8_ALPHA8_EXT = 0x8C45;
- int GL_SLUMINANCE_EXT = 0x8C46;
- int GL_SLUMINANCE8_EXT = 0x8C47;
- int GL_COMPRESSED_SRGB_EXT = 0x8C48;
- int GL_COMPRESSED_SRGB_ALPHA_EXT = 0x8C49;
- int GL_COMPRESSED_SLUMINANCE_EXT = 0x8C4A;
- int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B;
- int GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C;
- int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D;
- int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E;
- int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F;
+ /**
+ Accepted by the <internalformat> parameter of TexImage1D, TexImage2D,
+ TexImage3D, CopyTexImage1D, CopyTexImage2D.
+ */
+ int GL_SRGB_EXT = 0x8C40;
+ int GL_SRGB8_EXT = 0x8C41;
+ int GL_SRGB_ALPHA_EXT = 0x8C42;
+ int GL_SRGB8_ALPHA8_EXT = 0x8C43;
+ int GL_SLUMINANCE_ALPHA_EXT = 0x8C44;
+ int GL_SLUMINANCE8_ALPHA8_EXT = 0x8C45;
+ int GL_SLUMINANCE_EXT = 0x8C46;
+ int GL_SLUMINANCE8_EXT = 0x8C47;
+ int GL_COMPRESSED_SRGB_EXT = 0x8C48;
+ int GL_COMPRESSED_SRGB_ALPHA_EXT = 0x8C49;
+ int GL_COMPRESSED_SLUMINANCE_EXT = 0x8C4A;
+ int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B;
+
+ /**
+ Accepted by the <internalformat> parameter of TexImage2D,
+ CopyTexImage2D, and CompressedTexImage2DARB and the <format> parameter
+ of CompressedTexSubImage2DARB.
+ */
+ int GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C;
+ int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D;
+ int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E;
+ int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F;
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_vertex_shader.java b/src/templates/org/lwjgl/opengl/EXT_vertex_shader.java
index bf34add4..e519ead1 100644
--- a/src/templates/org/lwjgl/opengl/EXT_vertex_shader.java
+++ b/src/templates/org/lwjgl/opengl/EXT_vertex_shader.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.*;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface EXT_vertex_shader {
int GL_VERTEX_SHADER_EXT = 0x8780;
int GL_VERTEX_SHADER_BINDING_EXT = 0x8781;
@@ -153,7 +153,8 @@ public interface EXT_vertex_shader {
void glBindVertexShaderEXT(@GLuint int id);
- @GLuint int glGenVertexShadersEXT(@GLuint int range);
+ @GLuint
+ int glGenVertexShadersEXT(@GLuint int range);
void glDeleteVertexShaderEXT(@GLuint int id);
@@ -171,103 +172,119 @@ public interface EXT_vertex_shader {
void glExtractComponentEXT(@GLuint int res, @GLuint int src, @GLuint int num);
- @GLuint int glGenSymbolsEXT(@GLenum int dataType, @GLenum int storageType, @GLenum int range, @GLuint int components);
+ @GLuint
+ int glGenSymbolsEXT(@GLenum int dataType, @GLenum int storageType, @GLenum int range, @GLuint int components);
void glSetInvariantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
- @Check("4")
- @Const
- @GLbyte
- @GLubyte
- @GLshort
- @GLushort
- @GLint
- @GLuint
- @GLfloat
- @GLdouble
- Buffer pAddr);
+ @Check("4")
+ @Const
+ @GLbyte
+ @GLubyte
+ @GLshort
+ @GLushort
+ @GLint
+ @GLuint
+ @GLfloat
+ @GLdouble Buffer pAddr);
void glSetLocalConstantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
- @Check("4")
- @Const
- @GLbyte
- @GLubyte
- @GLshort
- @GLushort
- @GLint
- @GLuint
- @GLfloat
- @GLdouble
- Buffer pAddr);
+ @Check("4")
+ @Const
+ @GLbyte
+ @GLubyte
+ @GLshort
+ @GLushort
+ @GLint
+ @GLuint
+ @GLfloat
+ @GLdouble Buffer pAddr);
@StripPostfix("pAddr")
void glVariantbvEXT(@GLuint int id, @Check("4") @Const ByteBuffer pAddr);
+
@StripPostfix("pAddr")
void glVariantsvEXT(@GLuint int id, @Check("4") @Const ShortBuffer pAddr);
+
@StripPostfix("pAddr")
void glVariantivEXT(@GLuint int id, @Check("4") @Const IntBuffer pAddr);
+
@StripPostfix("pAddr")
void glVariantfvEXT(@GLuint int id, @Check("4") @Const FloatBuffer pAddr);
+
@StripPostfix("pAddr")
void glVariantdvEXT(@GLuint int id, @Check("4") @Const DoubleBuffer pAddr);
@StripPostfix("pAddr")
void glVariantubvEXT(@GLuint int id, @Check("4") @Const @GLubyte ByteBuffer pAddr);
+
@StripPostfix("pAddr")
void glVariantusvEXT(@GLuint int id, @Check("4") @Const @GLushort ShortBuffer pAddr);
+
@StripPostfix("pAddr")
void glVariantuivEXT(@GLuint int id, @Check("4") @Const @GLuint IntBuffer pAddr);
void glVariantPointerEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @GLuint int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLubyte
- @GLushort
- @GLuint
- @GLfloat
- @GLdouble
- Buffer pAddr);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLubyte
+ @GLushort
+ @GLuint
+ @GLfloat
+ @GLdouble Buffer pAddr);
void glEnableVariantClientStateEXT(@GLuint int id);
void glDisableVariantClientStateEXT(@GLuint int id);
- @GLuint int glBindLightParameterEXT(@GLenum int light, @GLenum int value);
+ @GLuint
+ int glBindLightParameterEXT(@GLenum int light, @GLenum int value);
- @GLuint int glBindMaterialParameterEXT(@GLenum int face, @GLenum int value);
+ @GLuint
+ int glBindMaterialParameterEXT(@GLenum int face, @GLenum int value);
- @GLuint int glBindTexGenParameterEXT(@GLenum int unit, @GLenum int coord, @GLenum int value);
+ @GLuint
+ int glBindTexGenParameterEXT(@GLenum int unit, @GLenum int coord, @GLenum int value);
- @GLuint int glBindTextureUnitParameterEXT(@GLenum int unit, @GLenum int value);
+ @GLuint
+ int glBindTextureUnitParameterEXT(@GLenum int unit, @GLenum int value);
- @GLuint int glBindParameterEXT(@GLenum int value);
+ @GLuint
+ int glBindParameterEXT(@GLenum int value);
boolean glIsVariantEnabledEXT(@GLuint int id, @GLenum int cap);
@StripPostfix("pbData")
void glGetVariantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
+
@StripPostfix("pbData")
void glGetVariantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
+
@StripPostfix("pbData")
void glGetVariantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
+
@StripPostfix("pbData")
void glGetVariantPointervEXT(@GLuint int id, @GLenum int value, @Result @GLvoid ByteBuffer pbData);
@StripPostfix("pbData")
void glGetInvariantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
+
@StripPostfix("pbData")
void glGetInvariantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
+
@StripPostfix("pbData")
void glGetInvariantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
@StripPostfix("pbData")
void glGetLocalConstantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
+
@StripPostfix("pbData")
void glGetLocalConstantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
+
@StripPostfix("pbData")
void glGetLocalConstantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
}
diff --git a/src/templates/org/lwjgl/opengl/EXT_vertex_weighting.java b/src/templates/org/lwjgl/opengl/EXT_vertex_weighting.java
index 0095c896..a971a7e7 100644
--- a/src/templates/org/lwjgl/opengl/EXT_vertex_weighting.java
+++ b/src/templates/org/lwjgl/opengl/EXT_vertex_weighting.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface EXT_vertex_weighting {
int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3;
int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502;
@@ -53,10 +53,9 @@ public interface EXT_vertex_weighting {
void glVertexWeightfEXT(float weight);
void glVertexWeightPointerEXT(@GLsizei int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLfloat
- Buffer pPointer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLfloat Buffer pPointer);
}
diff --git a/src/templates/org/lwjgl/opengl/GL11.java b/src/templates/org/lwjgl/opengl/GL11.java
index f665cee5..7f71aefc 100644
--- a/src/templates/org/lwjgl/opengl/GL11.java
+++ b/src/templates/org/lwjgl/opengl/GL11.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.*;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
/**
* $Id$
*
@@ -46,380 +46,380 @@ import org.lwjgl.util.generator.*;
public interface GL11 {
/* AccumOp */
- int GL_ACCUM = 0x0100;
- int GL_LOAD = 0x0101;
- int GL_RETURN = 0x0102;
- int GL_MULT = 0x0103;
- int GL_ADD = 0x0104;
+ int GL_ACCUM = 0x0100;
+ int GL_LOAD = 0x0101;
+ int GL_RETURN = 0x0102;
+ int GL_MULT = 0x0103;
+ int GL_ADD = 0x0104;
/* AlphaFunction */
- int GL_NEVER = 0x0200;
- int GL_LESS = 0x0201;
- int GL_EQUAL = 0x0202;
- int GL_LEQUAL = 0x0203;
- int GL_GREATER = 0x0204;
- int GL_NOTEQUAL = 0x0205;
- int GL_GEQUAL = 0x0206;
- int GL_ALWAYS = 0x0207;
+ int GL_NEVER = 0x0200;
+ int GL_LESS = 0x0201;
+ int GL_EQUAL = 0x0202;
+ int GL_LEQUAL = 0x0203;
+ int GL_GREATER = 0x0204;
+ int GL_NOTEQUAL = 0x0205;
+ int GL_GEQUAL = 0x0206;
+ int GL_ALWAYS = 0x0207;
/* AttribMask */
- int GL_CURRENT_BIT = 0x00000001;
- int GL_POINT_BIT = 0x00000002;
- int GL_LINE_BIT = 0x00000004;
- int GL_POLYGON_BIT = 0x00000008;
- int GL_POLYGON_STIPPLE_BIT = 0x00000010;
- int GL_PIXEL_MODE_BIT = 0x00000020;
- int GL_LIGHTING_BIT = 0x00000040;
- int GL_FOG_BIT = 0x00000080;
- int GL_DEPTH_BUFFER_BIT = 0x00000100;
- int GL_ACCUM_BUFFER_BIT = 0x00000200;
- int GL_STENCIL_BUFFER_BIT = 0x00000400;
- int GL_VIEWPORT_BIT = 0x00000800;
- int GL_TRANSFORM_BIT = 0x00001000;
- int GL_ENABLE_BIT = 0x00002000;
- int GL_COLOR_BUFFER_BIT = 0x00004000;
- int GL_HINT_BIT = 0x00008000;
- int GL_EVAL_BIT = 0x00010000;
- int GL_LIST_BIT = 0x00020000;
- int GL_TEXTURE_BIT = 0x00040000;
- int GL_SCISSOR_BIT = 0x00080000;
- int GL_ALL_ATTRIB_BITS = 0x000fffff;
+ int GL_CURRENT_BIT = 0x00000001;
+ int GL_POINT_BIT = 0x00000002;
+ int GL_LINE_BIT = 0x00000004;
+ int GL_POLYGON_BIT = 0x00000008;
+ int GL_POLYGON_STIPPLE_BIT = 0x00000010;
+ int GL_PIXEL_MODE_BIT = 0x00000020;
+ int GL_LIGHTING_BIT = 0x00000040;
+ int GL_FOG_BIT = 0x00000080;
+ int GL_DEPTH_BUFFER_BIT = 0x00000100;
+ int GL_ACCUM_BUFFER_BIT = 0x00000200;
+ int GL_STENCIL_BUFFER_BIT = 0x00000400;
+ int GL_VIEWPORT_BIT = 0x00000800;
+ int GL_TRANSFORM_BIT = 0x00001000;
+ int GL_ENABLE_BIT = 0x00002000;
+ int GL_COLOR_BUFFER_BIT = 0x00004000;
+ int GL_HINT_BIT = 0x00008000;
+ int GL_EVAL_BIT = 0x00010000;
+ int GL_LIST_BIT = 0x00020000;
+ int GL_TEXTURE_BIT = 0x00040000;
+ int GL_SCISSOR_BIT = 0x00080000;
+ int GL_ALL_ATTRIB_BITS = 0x000fffff;
/* BeginMode */
- int GL_POINTS = 0x0000;
- int GL_LINES = 0x0001;
- int GL_LINE_LOOP = 0x0002;
- int GL_LINE_STRIP = 0x0003;
- int GL_TRIANGLES = 0x0004;
- int GL_TRIANGLE_STRIP = 0x0005;
- int GL_TRIANGLE_FAN = 0x0006;
- int GL_QUADS = 0x0007;
- int GL_QUAD_STRIP = 0x0008;
- int GL_POLYGON = 0x0009;
+ int GL_POINTS = 0x0000;
+ int GL_LINES = 0x0001;
+ int GL_LINE_LOOP = 0x0002;
+ int GL_LINE_STRIP = 0x0003;
+ int GL_TRIANGLES = 0x0004;
+ int GL_TRIANGLE_STRIP = 0x0005;
+ int GL_TRIANGLE_FAN = 0x0006;
+ int GL_QUADS = 0x0007;
+ int GL_QUAD_STRIP = 0x0008;
+ int GL_POLYGON = 0x0009;
/* BlendingFactorDest */
- int GL_ZERO = 0;
- int GL_ONE = 1;
- int GL_SRC_COLOR = 0x0300;
- int GL_ONE_MINUS_SRC_COLOR = 0x0301;
- int GL_SRC_ALPHA = 0x0302;
- int GL_ONE_MINUS_SRC_ALPHA = 0x0303;
- int GL_DST_ALPHA = 0x0304;
- int GL_ONE_MINUS_DST_ALPHA = 0x0305;
+ int GL_ZERO = 0;
+ int GL_ONE = 1;
+ int GL_SRC_COLOR = 0x0300;
+ int GL_ONE_MINUS_SRC_COLOR = 0x0301;
+ int GL_SRC_ALPHA = 0x0302;
+ int GL_ONE_MINUS_SRC_ALPHA = 0x0303;
+ int GL_DST_ALPHA = 0x0304;
+ int GL_ONE_MINUS_DST_ALPHA = 0x0305;
/* BlendingFactorSrc */
/* GL_ZERO */
/* GL_ONE */
- int GL_DST_COLOR = 0x0306;
- int GL_ONE_MINUS_DST_COLOR = 0x0307;
- int GL_SRC_ALPHA_SATURATE = 0x0308;
- int GL_CONSTANT_COLOR = 0x8001;
- int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
- int GL_CONSTANT_ALPHA = 0x8003;
- int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
+ int GL_DST_COLOR = 0x0306;
+ int GL_ONE_MINUS_DST_COLOR = 0x0307;
+ int GL_SRC_ALPHA_SATURATE = 0x0308;
+ int GL_CONSTANT_COLOR = 0x8001;
+ int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
+ int GL_CONSTANT_ALPHA = 0x8003;
+ int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
/* Boolean */
- int GL_TRUE = 1;
- int GL_FALSE = 0;
+ int GL_TRUE = 1;
+ int GL_FALSE = 0;
/* ClipPlaneName */
- int GL_CLIP_PLANE0 = 0x3000;
- int GL_CLIP_PLANE1 = 0x3001;
- int GL_CLIP_PLANE2 = 0x3002;
- int GL_CLIP_PLANE3 = 0x3003;
- int GL_CLIP_PLANE4 = 0x3004;
- int GL_CLIP_PLANE5 = 0x3005;
+ int GL_CLIP_PLANE0 = 0x3000;
+ int GL_CLIP_PLANE1 = 0x3001;
+ int GL_CLIP_PLANE2 = 0x3002;
+ int GL_CLIP_PLANE3 = 0x3003;
+ int GL_CLIP_PLANE4 = 0x3004;
+ int GL_CLIP_PLANE5 = 0x3005;
/* DataType */
- int GL_BYTE = 0x1400;
- int GL_UNSIGNED_BYTE = 0x1401;
- int GL_SHORT = 0x1402;
- int GL_UNSIGNED_SHORT = 0x1403;
- int GL_INT = 0x1404;
- int GL_UNSIGNED_INT = 0x1405;
- int GL_FLOAT = 0x1406;
- int GL_2_BYTES = 0x1407;
- int GL_3_BYTES = 0x1408;
- int GL_4_BYTES = 0x1409;
- int GL_DOUBLE = 0x140A;
+ int GL_BYTE = 0x1400;
+ int GL_UNSIGNED_BYTE = 0x1401;
+ int GL_SHORT = 0x1402;
+ int GL_UNSIGNED_SHORT = 0x1403;
+ int GL_INT = 0x1404;
+ int GL_UNSIGNED_INT = 0x1405;
+ int GL_FLOAT = 0x1406;
+ int GL_2_BYTES = 0x1407;
+ int GL_3_BYTES = 0x1408;
+ int GL_4_BYTES = 0x1409;
+ int GL_DOUBLE = 0x140A;
/* DrawBufferMode */
- int GL_NONE = 0;
- int GL_FRONT_LEFT = 0x0400;
- int GL_FRONT_RIGHT = 0x0401;
- int GL_BACK_LEFT = 0x0402;
- int GL_BACK_RIGHT = 0x0403;
- int GL_FRONT = 0x0404;
- int GL_BACK = 0x0405;
- int GL_LEFT = 0x0406;
- int GL_RIGHT = 0x0407;
- int GL_FRONT_AND_BACK = 0x0408;
- int GL_AUX0 = 0x0409;
- int GL_AUX1 = 0x040A;
- int GL_AUX2 = 0x040B;
- int GL_AUX3 = 0x040C;
+ int GL_NONE = 0;
+ int GL_FRONT_LEFT = 0x0400;
+ int GL_FRONT_RIGHT = 0x0401;
+ int GL_BACK_LEFT = 0x0402;
+ int GL_BACK_RIGHT = 0x0403;
+ int GL_FRONT = 0x0404;
+ int GL_BACK = 0x0405;
+ int GL_LEFT = 0x0406;
+ int GL_RIGHT = 0x0407;
+ int GL_FRONT_AND_BACK = 0x0408;
+ int GL_AUX0 = 0x0409;
+ int GL_AUX1 = 0x040A;
+ int GL_AUX2 = 0x040B;
+ int GL_AUX3 = 0x040C;
/* ErrorCode */
- int GL_NO_ERROR = 0;
- int GL_INVALID_ENUM = 0x0500;
- int GL_INVALID_VALUE = 0x0501;
- int GL_INVALID_OPERATION = 0x0502;
- int GL_STACK_OVERFLOW = 0x0503;
- int GL_STACK_UNDERFLOW = 0x0504;
- int GL_OUT_OF_MEMORY = 0x0505;
+ int GL_NO_ERROR = 0;
+ int GL_INVALID_ENUM = 0x0500;
+ int GL_INVALID_VALUE = 0x0501;
+ int GL_INVALID_OPERATION = 0x0502;
+ int GL_STACK_OVERFLOW = 0x0503;
+ int GL_STACK_UNDERFLOW = 0x0504;
+ int GL_OUT_OF_MEMORY = 0x0505;
/* FeedBackMode */
- int GL_2D = 0x0600;
- int GL_3D = 0x0601;
- int GL_3D_COLOR = 0x0602;
- int GL_3D_COLOR_TEXTURE = 0x0603;
- int GL_4D_COLOR_TEXTURE = 0x0604;
+ int GL_2D = 0x0600;
+ int GL_3D = 0x0601;
+ int GL_3D_COLOR = 0x0602;
+ int GL_3D_COLOR_TEXTURE = 0x0603;
+ int GL_4D_COLOR_TEXTURE = 0x0604;
/* FeedBackToken */
- int GL_PASS_THROUGH_TOKEN = 0x0700;
- int GL_POINT_TOKEN = 0x0701;
- int GL_LINE_TOKEN = 0x0702;
- int GL_POLYGON_TOKEN = 0x0703;
- int GL_BITMAP_TOKEN = 0x0704;
- int GL_DRAW_PIXEL_TOKEN = 0x0705;
- int GL_COPY_PIXEL_TOKEN = 0x0706;
- int GL_LINE_RESET_TOKEN = 0x0707;
+ int GL_PASS_THROUGH_TOKEN = 0x0700;
+ int GL_POINT_TOKEN = 0x0701;
+ int GL_LINE_TOKEN = 0x0702;
+ int GL_POLYGON_TOKEN = 0x0703;
+ int GL_BITMAP_TOKEN = 0x0704;
+ int GL_DRAW_PIXEL_TOKEN = 0x0705;
+ int GL_COPY_PIXEL_TOKEN = 0x0706;
+ int GL_LINE_RESET_TOKEN = 0x0707;
/* FogMode */
/* GL_LINEAR */
- int GL_EXP = 0x0800;
- int GL_EXP2 = 0x0801;
+ int GL_EXP = 0x0800;
+ int GL_EXP2 = 0x0801;
/* FrontFaceDirection */
- int GL_CW = 0x0900;
- int GL_CCW = 0x0901;
+ int GL_CW = 0x0900;
+ int GL_CCW = 0x0901;
/* GetMapTarget */
- int GL_COEFF = 0x0A00;
- int GL_ORDER = 0x0A01;
- int GL_DOMAIN = 0x0A02;
+ int GL_COEFF = 0x0A00;
+ int GL_ORDER = 0x0A01;
+ int GL_DOMAIN = 0x0A02;
/* GetTarget */
- int GL_CURRENT_COLOR = 0x0B00;
- int GL_CURRENT_INDEX = 0x0B01;
- int GL_CURRENT_NORMAL = 0x0B02;
- int GL_CURRENT_TEXTURE_COORDS = 0x0B03;
- int GL_CURRENT_RASTER_COLOR = 0x0B04;
- int GL_CURRENT_RASTER_INDEX = 0x0B05;
- int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
- int GL_CURRENT_RASTER_POSITION = 0x0B07;
- int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08;
- int GL_CURRENT_RASTER_DISTANCE = 0x0B09;
- int GL_POINT_SMOOTH = 0x0B10;
- int GL_POINT_SIZE = 0x0B11;
- int GL_POINT_SIZE_RANGE = 0x0B12;
- int GL_POINT_SIZE_GRANULARITY = 0x0B13;
- int GL_LINE_SMOOTH = 0x0B20;
- int GL_LINE_WIDTH = 0x0B21;
- int GL_LINE_WIDTH_RANGE = 0x0B22;
- int GL_LINE_WIDTH_GRANULARITY = 0x0B23;
- int GL_LINE_STIPPLE = 0x0B24;
- int GL_LINE_STIPPLE_PATTERN = 0x0B25;
- int GL_LINE_STIPPLE_REPEAT = 0x0B26;
- int GL_LIST_MODE = 0x0B30;
- int GL_MAX_LIST_NESTING = 0x0B31;
- int GL_LIST_BASE = 0x0B32;
- int GL_LIST_INDEX = 0x0B33;
- int GL_POLYGON_MODE = 0x0B40;
- int GL_POLYGON_SMOOTH = 0x0B41;
- int GL_POLYGON_STIPPLE = 0x0B42;
- int GL_EDGE_FLAG = 0x0B43;
- int GL_CULL_FACE = 0x0B44;
- int GL_CULL_FACE_MODE = 0x0B45;
- int GL_FRONT_FACE = 0x0B46;
- int GL_LIGHTING = 0x0B50;
- int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
- int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
- int GL_LIGHT_MODEL_AMBIENT = 0x0B53;
- int GL_SHADE_MODEL = 0x0B54;
- int GL_COLOR_MATERIAL_FACE = 0x0B55;
- int GL_COLOR_MATERIAL_PARAMETER = 0x0B56;
- int GL_COLOR_MATERIAL = 0x0B57;
- int GL_FOG = 0x0B60;
- int GL_FOG_INDEX = 0x0B61;
- int GL_FOG_DENSITY = 0x0B62;
- int GL_FOG_START = 0x0B63;
- int GL_FOG_END = 0x0B64;
- int GL_FOG_MODE = 0x0B65;
- int GL_FOG_COLOR = 0x0B66;
- int GL_DEPTH_RANGE = 0x0B70;
- int GL_DEPTH_TEST = 0x0B71;
- int GL_DEPTH_WRITEMASK = 0x0B72;
- int GL_DEPTH_CLEAR_VALUE = 0x0B73;
- int GL_DEPTH_FUNC = 0x0B74;
- int GL_ACCUM_CLEAR_VALUE = 0x0B80;
- int GL_STENCIL_TEST = 0x0B90;
- int GL_STENCIL_CLEAR_VALUE = 0x0B91;
- int GL_STENCIL_FUNC = 0x0B92;
- int GL_STENCIL_VALUE_MASK = 0x0B93;
- int GL_STENCIL_FAIL = 0x0B94;
- int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
- int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
- int GL_STENCIL_REF = 0x0B97;
- int GL_STENCIL_WRITEMASK = 0x0B98;
- int GL_MATRIX_MODE = 0x0BA0;
- int GL_NORMALIZE = 0x0BA1;
- int GL_VIEWPORT = 0x0BA2;
- int GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
- int GL_PROJECTION_STACK_DEPTH = 0x0BA4;
- int GL_TEXTURE_STACK_DEPTH = 0x0BA5;
- int GL_MODELVIEW_MATRIX = 0x0BA6;
- int GL_PROJECTION_MATRIX = 0x0BA7;
- int GL_TEXTURE_MATRIX = 0x0BA8;
- int GL_ATTRIB_STACK_DEPTH = 0x0BB0;
- int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
- int GL_ALPHA_TEST = 0x0BC0;
- int GL_ALPHA_TEST_FUNC = 0x0BC1;
- int GL_ALPHA_TEST_REF = 0x0BC2;
- int GL_DITHER = 0x0BD0;
- int GL_BLEND_DST = 0x0BE0;
- int GL_BLEND_SRC = 0x0BE1;
- int GL_BLEND = 0x0BE2;
- int GL_LOGIC_OP_MODE = 0x0BF0;
- int GL_INDEX_LOGIC_OP = 0x0BF1;
- int GL_COLOR_LOGIC_OP = 0x0BF2;
- int GL_AUX_BUFFERS = 0x0C00;
- int GL_DRAW_BUFFER = 0x0C01;
- int GL_READ_BUFFER = 0x0C02;
- int GL_SCISSOR_BOX = 0x0C10;
- int GL_SCISSOR_TEST = 0x0C11;
- int GL_INDEX_CLEAR_VALUE = 0x0C20;
- int GL_INDEX_WRITEMASK = 0x0C21;
- int GL_COLOR_CLEAR_VALUE = 0x0C22;
- int GL_COLOR_WRITEMASK = 0x0C23;
- int GL_INDEX_MODE = 0x0C30;
- int GL_RGBA_MODE = 0x0C31;
- int GL_DOUBLEBUFFER = 0x0C32;
- int GL_STEREO = 0x0C33;
- int GL_RENDER_MODE = 0x0C40;
- int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
- int GL_POINT_SMOOTH_HINT = 0x0C51;
- int GL_LINE_SMOOTH_HINT = 0x0C52;
- int GL_POLYGON_SMOOTH_HINT = 0x0C53;
- int GL_FOG_HINT = 0x0C54;
- int GL_TEXTURE_GEN_S = 0x0C60;
- int GL_TEXTURE_GEN_T = 0x0C61;
- int GL_TEXTURE_GEN_R = 0x0C62;
- int GL_TEXTURE_GEN_Q = 0x0C63;
- int GL_PIXEL_MAP_I_TO_I = 0x0C70;
- int GL_PIXEL_MAP_S_TO_S = 0x0C71;
- int GL_PIXEL_MAP_I_TO_R = 0x0C72;
- int GL_PIXEL_MAP_I_TO_G = 0x0C73;
- int GL_PIXEL_MAP_I_TO_B = 0x0C74;
- int GL_PIXEL_MAP_I_TO_A = 0x0C75;
- int GL_PIXEL_MAP_R_TO_R = 0x0C76;
- int GL_PIXEL_MAP_G_TO_G = 0x0C77;
- int GL_PIXEL_MAP_B_TO_B = 0x0C78;
- int GL_PIXEL_MAP_A_TO_A = 0x0C79;
- int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
- int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
- int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
- int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
- int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
- int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
- int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
- int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
- int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
- int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
- int GL_UNPACK_SWAP_BYTES = 0x0CF0;
- int GL_UNPACK_LSB_FIRST = 0x0CF1;
- int GL_UNPACK_ROW_LENGTH = 0x0CF2;
- int GL_UNPACK_SKIP_ROWS = 0x0CF3;
- int GL_UNPACK_SKIP_PIXELS = 0x0CF4;
- int GL_UNPACK_ALIGNMENT = 0x0CF5;
- int GL_PACK_SWAP_BYTES = 0x0D00;
- int GL_PACK_LSB_FIRST = 0x0D01;
- int GL_PACK_ROW_LENGTH = 0x0D02;
- int GL_PACK_SKIP_ROWS = 0x0D03;
- int GL_PACK_SKIP_PIXELS = 0x0D04;
- int GL_PACK_ALIGNMENT = 0x0D05;
- int GL_MAP_COLOR = 0x0D10;
- int GL_MAP_STENCIL = 0x0D11;
- int GL_INDEX_SHIFT = 0x0D12;
- int GL_INDEX_OFFSET = 0x0D13;
- int GL_RED_SCALE = 0x0D14;
- int GL_RED_BIAS = 0x0D15;
- int GL_ZOOM_X = 0x0D16;
- int GL_ZOOM_Y = 0x0D17;
- int GL_GREEN_SCALE = 0x0D18;
- int GL_GREEN_BIAS = 0x0D19;
- int GL_BLUE_SCALE = 0x0D1A;
- int GL_BLUE_BIAS = 0x0D1B;
- int GL_ALPHA_SCALE = 0x0D1C;
- int GL_ALPHA_BIAS = 0x0D1D;
- int GL_DEPTH_SCALE = 0x0D1E;
- int GL_DEPTH_BIAS = 0x0D1F;
- int GL_MAX_EVAL_ORDER = 0x0D30;
- int GL_MAX_LIGHTS = 0x0D31;
- int GL_MAX_CLIP_PLANES = 0x0D32;
- int GL_MAX_TEXTURE_SIZE = 0x0D33;
- int GL_MAX_PIXEL_MAP_TABLE = 0x0D34;
- int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35;
- int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
- int GL_MAX_NAME_STACK_DEPTH = 0x0D37;
- int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
- int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
- int GL_MAX_VIEWPORT_DIMS = 0x0D3A;
- int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
- int GL_SUBPIXEL_BITS = 0x0D50;
- int GL_INDEX_BITS = 0x0D51;
- int GL_RED_BITS = 0x0D52;
- int GL_GREEN_BITS = 0x0D53;
- int GL_BLUE_BITS = 0x0D54;
- int GL_ALPHA_BITS = 0x0D55;
- int GL_DEPTH_BITS = 0x0D56;
- int GL_STENCIL_BITS = 0x0D57;
- int GL_ACCUM_RED_BITS = 0x0D58;
- int GL_ACCUM_GREEN_BITS = 0x0D59;
- int GL_ACCUM_BLUE_BITS = 0x0D5A;
- int GL_ACCUM_ALPHA_BITS = 0x0D5B;
- int GL_NAME_STACK_DEPTH = 0x0D70;
- int GL_AUTO_NORMAL = 0x0D80;
- int GL_MAP1_COLOR_4 = 0x0D90;
- int GL_MAP1_INDEX = 0x0D91;
- int GL_MAP1_NORMAL = 0x0D92;
- int GL_MAP1_TEXTURE_COORD_1 = 0x0D93;
- int GL_MAP1_TEXTURE_COORD_2 = 0x0D94;
- int GL_MAP1_TEXTURE_COORD_3 = 0x0D95;
- int GL_MAP1_TEXTURE_COORD_4 = 0x0D96;
- int GL_MAP1_VERTEX_3 = 0x0D97;
- int GL_MAP1_VERTEX_4 = 0x0D98;
- int GL_MAP2_COLOR_4 = 0x0DB0;
- int GL_MAP2_INDEX = 0x0DB1;
- int GL_MAP2_NORMAL = 0x0DB2;
- int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3;
- int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4;
- int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5;
- int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6;
- int GL_MAP2_VERTEX_3 = 0x0DB7;
- int GL_MAP2_VERTEX_4 = 0x0DB8;
- int GL_MAP1_GRID_DOMAIN = 0x0DD0;
- int GL_MAP1_GRID_SEGMENTS = 0x0DD1;
- int GL_MAP2_GRID_DOMAIN = 0x0DD2;
- int GL_MAP2_GRID_SEGMENTS = 0x0DD3;
- int GL_TEXTURE_1D = 0x0DE0;
- int GL_TEXTURE_2D = 0x0DE1;
- int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0;
- int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1;
- int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2;
- int GL_SELECTION_BUFFER_POINTER = 0x0DF3;
- int GL_SELECTION_BUFFER_SIZE = 0x0DF4;
+ int GL_CURRENT_COLOR = 0x0B00;
+ int GL_CURRENT_INDEX = 0x0B01;
+ int GL_CURRENT_NORMAL = 0x0B02;
+ int GL_CURRENT_TEXTURE_COORDS = 0x0B03;
+ int GL_CURRENT_RASTER_COLOR = 0x0B04;
+ int GL_CURRENT_RASTER_INDEX = 0x0B05;
+ int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
+ int GL_CURRENT_RASTER_POSITION = 0x0B07;
+ int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08;
+ int GL_CURRENT_RASTER_DISTANCE = 0x0B09;
+ int GL_POINT_SMOOTH = 0x0B10;
+ int GL_POINT_SIZE = 0x0B11;
+ int GL_POINT_SIZE_RANGE = 0x0B12;
+ int GL_POINT_SIZE_GRANULARITY = 0x0B13;
+ int GL_LINE_SMOOTH = 0x0B20;
+ int GL_LINE_WIDTH = 0x0B21;
+ int GL_LINE_WIDTH_RANGE = 0x0B22;
+ int GL_LINE_WIDTH_GRANULARITY = 0x0B23;
+ int GL_LINE_STIPPLE = 0x0B24;
+ int GL_LINE_STIPPLE_PATTERN = 0x0B25;
+ int GL_LINE_STIPPLE_REPEAT = 0x0B26;
+ int GL_LIST_MODE = 0x0B30;
+ int GL_MAX_LIST_NESTING = 0x0B31;
+ int GL_LIST_BASE = 0x0B32;
+ int GL_LIST_INDEX = 0x0B33;
+ int GL_POLYGON_MODE = 0x0B40;
+ int GL_POLYGON_SMOOTH = 0x0B41;
+ int GL_POLYGON_STIPPLE = 0x0B42;
+ int GL_EDGE_FLAG = 0x0B43;
+ int GL_CULL_FACE = 0x0B44;
+ int GL_CULL_FACE_MODE = 0x0B45;
+ int GL_FRONT_FACE = 0x0B46;
+ int GL_LIGHTING = 0x0B50;
+ int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
+ int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
+ int GL_LIGHT_MODEL_AMBIENT = 0x0B53;
+ int GL_SHADE_MODEL = 0x0B54;
+ int GL_COLOR_MATERIAL_FACE = 0x0B55;
+ int GL_COLOR_MATERIAL_PARAMETER = 0x0B56;
+ int GL_COLOR_MATERIAL = 0x0B57;
+ int GL_FOG = 0x0B60;
+ int GL_FOG_INDEX = 0x0B61;
+ int GL_FOG_DENSITY = 0x0B62;
+ int GL_FOG_START = 0x0B63;
+ int GL_FOG_END = 0x0B64;
+ int GL_FOG_MODE = 0x0B65;
+ int GL_FOG_COLOR = 0x0B66;
+ int GL_DEPTH_RANGE = 0x0B70;
+ int GL_DEPTH_TEST = 0x0B71;
+ int GL_DEPTH_WRITEMASK = 0x0B72;
+ int GL_DEPTH_CLEAR_VALUE = 0x0B73;
+ int GL_DEPTH_FUNC = 0x0B74;
+ int GL_ACCUM_CLEAR_VALUE = 0x0B80;
+ int GL_STENCIL_TEST = 0x0B90;
+ int GL_STENCIL_CLEAR_VALUE = 0x0B91;
+ int GL_STENCIL_FUNC = 0x0B92;
+ int GL_STENCIL_VALUE_MASK = 0x0B93;
+ int GL_STENCIL_FAIL = 0x0B94;
+ int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
+ int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
+ int GL_STENCIL_REF = 0x0B97;
+ int GL_STENCIL_WRITEMASK = 0x0B98;
+ int GL_MATRIX_MODE = 0x0BA0;
+ int GL_NORMALIZE = 0x0BA1;
+ int GL_VIEWPORT = 0x0BA2;
+ int GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
+ int GL_PROJECTION_STACK_DEPTH = 0x0BA4;
+ int GL_TEXTURE_STACK_DEPTH = 0x0BA5;
+ int GL_MODELVIEW_MATRIX = 0x0BA6;
+ int GL_PROJECTION_MATRIX = 0x0BA7;
+ int GL_TEXTURE_MATRIX = 0x0BA8;
+ int GL_ATTRIB_STACK_DEPTH = 0x0BB0;
+ int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
+ int GL_ALPHA_TEST = 0x0BC0;
+ int GL_ALPHA_TEST_FUNC = 0x0BC1;
+ int GL_ALPHA_TEST_REF = 0x0BC2;
+ int GL_DITHER = 0x0BD0;
+ int GL_BLEND_DST = 0x0BE0;
+ int GL_BLEND_SRC = 0x0BE1;
+ int GL_BLEND = 0x0BE2;
+ int GL_LOGIC_OP_MODE = 0x0BF0;
+ int GL_INDEX_LOGIC_OP = 0x0BF1;
+ int GL_COLOR_LOGIC_OP = 0x0BF2;
+ int GL_AUX_BUFFERS = 0x0C00;
+ int GL_DRAW_BUFFER = 0x0C01;
+ int GL_READ_BUFFER = 0x0C02;
+ int GL_SCISSOR_BOX = 0x0C10;
+ int GL_SCISSOR_TEST = 0x0C11;
+ int GL_INDEX_CLEAR_VALUE = 0x0C20;
+ int GL_INDEX_WRITEMASK = 0x0C21;
+ int GL_COLOR_CLEAR_VALUE = 0x0C22;
+ int GL_COLOR_WRITEMASK = 0x0C23;
+ int GL_INDEX_MODE = 0x0C30;
+ int GL_RGBA_MODE = 0x0C31;
+ int GL_DOUBLEBUFFER = 0x0C32;
+ int GL_STEREO = 0x0C33;
+ int GL_RENDER_MODE = 0x0C40;
+ int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
+ int GL_POINT_SMOOTH_HINT = 0x0C51;
+ int GL_LINE_SMOOTH_HINT = 0x0C52;
+ int GL_POLYGON_SMOOTH_HINT = 0x0C53;
+ int GL_FOG_HINT = 0x0C54;
+ int GL_TEXTURE_GEN_S = 0x0C60;
+ int GL_TEXTURE_GEN_T = 0x0C61;
+ int GL_TEXTURE_GEN_R = 0x0C62;
+ int GL_TEXTURE_GEN_Q = 0x0C63;
+ int GL_PIXEL_MAP_I_TO_I = 0x0C70;
+ int GL_PIXEL_MAP_S_TO_S = 0x0C71;
+ int GL_PIXEL_MAP_I_TO_R = 0x0C72;
+ int GL_PIXEL_MAP_I_TO_G = 0x0C73;
+ int GL_PIXEL_MAP_I_TO_B = 0x0C74;
+ int GL_PIXEL_MAP_I_TO_A = 0x0C75;
+ int GL_PIXEL_MAP_R_TO_R = 0x0C76;
+ int GL_PIXEL_MAP_G_TO_G = 0x0C77;
+ int GL_PIXEL_MAP_B_TO_B = 0x0C78;
+ int GL_PIXEL_MAP_A_TO_A = 0x0C79;
+ int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
+ int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
+ int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
+ int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
+ int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
+ int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
+ int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
+ int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
+ int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
+ int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
+ int GL_UNPACK_SWAP_BYTES = 0x0CF0;
+ int GL_UNPACK_LSB_FIRST = 0x0CF1;
+ int GL_UNPACK_ROW_LENGTH = 0x0CF2;
+ int GL_UNPACK_SKIP_ROWS = 0x0CF3;
+ int GL_UNPACK_SKIP_PIXELS = 0x0CF4;
+ int GL_UNPACK_ALIGNMENT = 0x0CF5;
+ int GL_PACK_SWAP_BYTES = 0x0D00;
+ int GL_PACK_LSB_FIRST = 0x0D01;
+ int GL_PACK_ROW_LENGTH = 0x0D02;
+ int GL_PACK_SKIP_ROWS = 0x0D03;
+ int GL_PACK_SKIP_PIXELS = 0x0D04;
+ int GL_PACK_ALIGNMENT = 0x0D05;
+ int GL_MAP_COLOR = 0x0D10;
+ int GL_MAP_STENCIL = 0x0D11;
+ int GL_INDEX_SHIFT = 0x0D12;
+ int GL_INDEX_OFFSET = 0x0D13;
+ int GL_RED_SCALE = 0x0D14;
+ int GL_RED_BIAS = 0x0D15;
+ int GL_ZOOM_X = 0x0D16;
+ int GL_ZOOM_Y = 0x0D17;
+ int GL_GREEN_SCALE = 0x0D18;
+ int GL_GREEN_BIAS = 0x0D19;
+ int GL_BLUE_SCALE = 0x0D1A;
+ int GL_BLUE_BIAS = 0x0D1B;
+ int GL_ALPHA_SCALE = 0x0D1C;
+ int GL_ALPHA_BIAS = 0x0D1D;
+ int GL_DEPTH_SCALE = 0x0D1E;
+ int GL_DEPTH_BIAS = 0x0D1F;
+ int GL_MAX_EVAL_ORDER = 0x0D30;
+ int GL_MAX_LIGHTS = 0x0D31;
+ int GL_MAX_CLIP_PLANES = 0x0D32;
+ int GL_MAX_TEXTURE_SIZE = 0x0D33;
+ int GL_MAX_PIXEL_MAP_TABLE = 0x0D34;
+ int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35;
+ int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
+ int GL_MAX_NAME_STACK_DEPTH = 0x0D37;
+ int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
+ int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
+ int GL_MAX_VIEWPORT_DIMS = 0x0D3A;
+ int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
+ int GL_SUBPIXEL_BITS = 0x0D50;
+ int GL_INDEX_BITS = 0x0D51;
+ int GL_RED_BITS = 0x0D52;
+ int GL_GREEN_BITS = 0x0D53;
+ int GL_BLUE_BITS = 0x0D54;
+ int GL_ALPHA_BITS = 0x0D55;
+ int GL_DEPTH_BITS = 0x0D56;
+ int GL_STENCIL_BITS = 0x0D57;
+ int GL_ACCUM_RED_BITS = 0x0D58;
+ int GL_ACCUM_GREEN_BITS = 0x0D59;
+ int GL_ACCUM_BLUE_BITS = 0x0D5A;
+ int GL_ACCUM_ALPHA_BITS = 0x0D5B;
+ int GL_NAME_STACK_DEPTH = 0x0D70;
+ int GL_AUTO_NORMAL = 0x0D80;
+ int GL_MAP1_COLOR_4 = 0x0D90;
+ int GL_MAP1_INDEX = 0x0D91;
+ int GL_MAP1_NORMAL = 0x0D92;
+ int GL_MAP1_TEXTURE_COORD_1 = 0x0D93;
+ int GL_MAP1_TEXTURE_COORD_2 = 0x0D94;
+ int GL_MAP1_TEXTURE_COORD_3 = 0x0D95;
+ int GL_MAP1_TEXTURE_COORD_4 = 0x0D96;
+ int GL_MAP1_VERTEX_3 = 0x0D97;
+ int GL_MAP1_VERTEX_4 = 0x0D98;
+ int GL_MAP2_COLOR_4 = 0x0DB0;
+ int GL_MAP2_INDEX = 0x0DB1;
+ int GL_MAP2_NORMAL = 0x0DB2;
+ int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3;
+ int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4;
+ int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5;
+ int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6;
+ int GL_MAP2_VERTEX_3 = 0x0DB7;
+ int GL_MAP2_VERTEX_4 = 0x0DB8;
+ int GL_MAP1_GRID_DOMAIN = 0x0DD0;
+ int GL_MAP1_GRID_SEGMENTS = 0x0DD1;
+ int GL_MAP2_GRID_DOMAIN = 0x0DD2;
+ int GL_MAP2_GRID_SEGMENTS = 0x0DD3;
+ int GL_TEXTURE_1D = 0x0DE0;
+ int GL_TEXTURE_2D = 0x0DE1;
+ int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0;
+ int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1;
+ int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2;
+ int GL_SELECTION_BUFFER_POINTER = 0x0DF3;
+ int GL_SELECTION_BUFFER_SIZE = 0x0DF4;
/* GetTextureParameter */
/* GL_TEXTURE_MAG_FILTER */
/* GL_TEXTURE_MIN_FILTER */
/* GL_TEXTURE_WRAP_S */
/* GL_TEXTURE_WRAP_T */
- int GL_TEXTURE_WIDTH = 0x1000;
- int GL_TEXTURE_HEIGHT = 0x1001;
- int GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
- int GL_TEXTURE_BORDER_COLOR = 0x1004;
- int GL_TEXTURE_BORDER = 0x1005;
+ int GL_TEXTURE_WIDTH = 0x1000;
+ int GL_TEXTURE_HEIGHT = 0x1001;
+ int GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
+ int GL_TEXTURE_BORDER_COLOR = 0x1004;
+ int GL_TEXTURE_BORDER = 0x1005;
/* GL_TEXTURE_RED_SIZE */
/* GL_TEXTURE_GREEN_SIZE */
/* GL_TEXTURE_BLUE_SIZE */
@@ -430,88 +430,88 @@ public interface GL11 {
/* GL_TEXTURE_RESIDENT */
/* HintMode */
- int GL_DONT_CARE = 0x1100;
- int GL_FASTEST = 0x1101;
- int GL_NICEST = 0x1102;
+ int GL_DONT_CARE = 0x1100;
+ int GL_FASTEST = 0x1101;
+ int GL_NICEST = 0x1102;
/* LightName */
- int GL_LIGHT0 = 0x4000;
- int GL_LIGHT1 = 0x4001;
- int GL_LIGHT2 = 0x4002;
- int GL_LIGHT3 = 0x4003;
- int GL_LIGHT4 = 0x4004;
- int GL_LIGHT5 = 0x4005;
- int GL_LIGHT6 = 0x4006;
- int GL_LIGHT7 = 0x4007;
+ int GL_LIGHT0 = 0x4000;
+ int GL_LIGHT1 = 0x4001;
+ int GL_LIGHT2 = 0x4002;
+ int GL_LIGHT3 = 0x4003;
+ int GL_LIGHT4 = 0x4004;
+ int GL_LIGHT5 = 0x4005;
+ int GL_LIGHT6 = 0x4006;
+ int GL_LIGHT7 = 0x4007;
/* LightParameter */
- int GL_AMBIENT = 0x1200;
- int GL_DIFFUSE = 0x1201;
- int GL_SPECULAR = 0x1202;
- int GL_POSITION = 0x1203;
- int GL_SPOT_DIRECTION = 0x1204;
- int GL_SPOT_EXPONENT = 0x1205;
- int GL_SPOT_CUTOFF = 0x1206;
- int GL_CONSTANT_ATTENUATION = 0x1207;
- int GL_LINEAR_ATTENUATION = 0x1208;
- int GL_QUADRATIC_ATTENUATION = 0x1209;
+ int GL_AMBIENT = 0x1200;
+ int GL_DIFFUSE = 0x1201;
+ int GL_SPECULAR = 0x1202;
+ int GL_POSITION = 0x1203;
+ int GL_SPOT_DIRECTION = 0x1204;
+ int GL_SPOT_EXPONENT = 0x1205;
+ int GL_SPOT_CUTOFF = 0x1206;
+ int GL_CONSTANT_ATTENUATION = 0x1207;
+ int GL_LINEAR_ATTENUATION = 0x1208;
+ int GL_QUADRATIC_ATTENUATION = 0x1209;
/* ListMode */
- int GL_COMPILE = 0x1300;
- int GL_COMPILE_AND_EXECUTE = 0x1301;
+ int GL_COMPILE = 0x1300;
+ int GL_COMPILE_AND_EXECUTE = 0x1301;
/* LogicOp */
- int GL_CLEAR = 0x1500;
- int GL_AND = 0x1501;
- int GL_AND_REVERSE = 0x1502;
- int GL_COPY = 0x1503;
- int GL_AND_INVERTED = 0x1504;
- int GL_NOOP = 0x1505;
- int GL_XOR = 0x1506;
- int GL_OR = 0x1507;
- int GL_NOR = 0x1508;
- int GL_EQUIV = 0x1509;
- int GL_INVERT = 0x150A;
- int GL_OR_REVERSE = 0x150B;
- int GL_COPY_INVERTED = 0x150C;
- int GL_OR_INVERTED = 0x150D;
- int GL_NAND = 0x150E;
- int GL_SET = 0x150F;
+ int GL_CLEAR = 0x1500;
+ int GL_AND = 0x1501;
+ int GL_AND_REVERSE = 0x1502;
+ int GL_COPY = 0x1503;
+ int GL_AND_INVERTED = 0x1504;
+ int GL_NOOP = 0x1505;
+ int GL_XOR = 0x1506;
+ int GL_OR = 0x1507;
+ int GL_NOR = 0x1508;
+ int GL_EQUIV = 0x1509;
+ int GL_INVERT = 0x150A;
+ int GL_OR_REVERSE = 0x150B;
+ int GL_COPY_INVERTED = 0x150C;
+ int GL_OR_INVERTED = 0x150D;
+ int GL_NAND = 0x150E;
+ int GL_SET = 0x150F;
/* MaterialParameter */
- int GL_EMISSION = 0x1600;
- int GL_SHININESS = 0x1601;
- int GL_AMBIENT_AND_DIFFUSE = 0x1602;
- int GL_COLOR_INDEXES = 0x1603;
+ int GL_EMISSION = 0x1600;
+ int GL_SHININESS = 0x1601;
+ int GL_AMBIENT_AND_DIFFUSE = 0x1602;
+ int GL_COLOR_INDEXES = 0x1603;
/* GL_AMBIENT */
/* GL_DIFFUSE */
/* GL_SPECULAR */
/* MatrixMode */
- int GL_MODELVIEW = 0x1700;
- int GL_PROJECTION = 0x1701;
- int GL_TEXTURE = 0x1702;
+ int GL_MODELVIEW = 0x1700;
+ int GL_PROJECTION = 0x1701;
+ int GL_TEXTURE = 0x1702;
/* PixelCopyType */
- int GL_COLOR = 0x1800;
- int GL_DEPTH = 0x1801;
- int GL_STENCIL = 0x1802;
+ int GL_COLOR = 0x1800;
+ int GL_DEPTH = 0x1801;
+ int GL_STENCIL = 0x1802;
/* PixelFormat */
- int GL_COLOR_INDEX = 0x1900;
- int GL_STENCIL_INDEX = 0x1901;
- int GL_DEPTH_COMPONENT = 0x1902;
- int GL_RED = 0x1903;
- int GL_GREEN = 0x1904;
- int GL_BLUE = 0x1905;
- int GL_ALPHA = 0x1906;
- int GL_RGB = 0x1907;
- int GL_RGBA = 0x1908;
- int GL_LUMINANCE = 0x1909;
- int GL_LUMINANCE_ALPHA = 0x190A;
+ int GL_COLOR_INDEX = 0x1900;
+ int GL_STENCIL_INDEX = 0x1901;
+ int GL_DEPTH_COMPONENT = 0x1902;
+ int GL_RED = 0x1903;
+ int GL_GREEN = 0x1904;
+ int GL_BLUE = 0x1905;
+ int GL_ALPHA = 0x1906;
+ int GL_RGB = 0x1907;
+ int GL_RGBA = 0x1908;
+ int GL_LUMINANCE = 0x1909;
+ int GL_LUMINANCE_ALPHA = 0x190A;
/* PixelType */
- int GL_BITMAP = 0x1A00;
+ int GL_BITMAP = 0x1A00;
/* GL_BYTE */
/* GL_UNSIGNED_BYTE */
/* GL_SHORT */
@@ -521,38 +521,38 @@ public interface GL11 {
/* GL_FLOAT */
/* PolygonMode */
- int GL_POINT = 0x1B00;
- int GL_LINE = 0x1B01;
- int GL_FILL = 0x1B02;
+ int GL_POINT = 0x1B00;
+ int GL_LINE = 0x1B01;
+ int GL_FILL = 0x1B02;
/* RenderingMode */
- int GL_RENDER = 0x1C00;
- int GL_FEEDBACK = 0x1C01;
- int GL_SELECT = 0x1C02;
+ int GL_RENDER = 0x1C00;
+ int GL_FEEDBACK = 0x1C01;
+ int GL_SELECT = 0x1C02;
/* ShadingModel */
- int GL_FLAT = 0x1D00;
- int GL_SMOOTH = 0x1D01;
+ int GL_FLAT = 0x1D00;
+ int GL_SMOOTH = 0x1D01;
/* StencilOp */
/* GL_ZERO */
- int GL_KEEP = 0x1E00;
- int GL_REPLACE = 0x1E01;
- int GL_INCR = 0x1E02;
- int GL_DECR = 0x1E03;
+ int GL_KEEP = 0x1E00;
+ int GL_REPLACE = 0x1E01;
+ int GL_INCR = 0x1E02;
+ int GL_DECR = 0x1E03;
/* GL_INVERT */
/* StringName */
- int GL_VENDOR = 0x1F00;
- int GL_RENDERER = 0x1F01;
- int GL_VERSION = 0x1F02;
- int GL_EXTENSIONS = 0x1F03;
+ int GL_VENDOR = 0x1F00;
+ int GL_RENDERER = 0x1F01;
+ int GL_VERSION = 0x1F02;
+ int GL_EXTENSIONS = 0x1F03;
/* TextureCoordName */
- int GL_S = 0x2000;
- int GL_T = 0x2001;
- int GL_R = 0x2002;
- int GL_Q = 0x2003;
+ int GL_S = 0x2000;
+ int GL_T = 0x2001;
+ int GL_R = 0x2002;
+ int GL_Q = 0x2003;
/* TexCoordPointerType */
/* GL_SHORT */
@@ -561,291 +561,334 @@ public interface GL11 {
/* GL_DOUBLE */
/* TextureEnvMode */
- int GL_MODULATE = 0x2100;
- int GL_DECAL = 0x2101;
+ int GL_MODULATE = 0x2100;
+ int GL_DECAL = 0x2101;
/* GL_BLEND */
/* GL_REPLACE */
/* TextureEnvParameter */
- int GL_TEXTURE_ENV_MODE = 0x2200;
- int GL_TEXTURE_ENV_COLOR = 0x2201;
+ int GL_TEXTURE_ENV_MODE = 0x2200;
+ int GL_TEXTURE_ENV_COLOR = 0x2201;
/* TextureEnvTarget */
- int GL_TEXTURE_ENV = 0x2300;
+ int GL_TEXTURE_ENV = 0x2300;
/* TextureGenMode */
- int GL_EYE_LINEAR = 0x2400;
- int GL_OBJECT_LINEAR = 0x2401;
- int GL_SPHERE_MAP = 0x2402;
+ int GL_EYE_LINEAR = 0x2400;
+ int GL_OBJECT_LINEAR = 0x2401;
+ int GL_SPHERE_MAP = 0x2402;
/* TextureGenParameter */
- int GL_TEXTURE_GEN_MODE = 0x2500;
- int GL_OBJECT_PLANE = 0x2501;
- int GL_EYE_PLANE = 0x2502;
+ int GL_TEXTURE_GEN_MODE = 0x2500;
+ int GL_OBJECT_PLANE = 0x2501;
+ int GL_EYE_PLANE = 0x2502;
/* TextureMagFilter */
- int GL_NEAREST = 0x2600;
- int GL_LINEAR = 0x2601;
+ int GL_NEAREST = 0x2600;
+ int GL_LINEAR = 0x2601;
/* TextureMinFilter */
/* GL_NEAREST */
/* GL_LINEAR */
- int GL_NEAREST_MIPMAP_NEAREST = 0x2700;
- int GL_LINEAR_MIPMAP_NEAREST = 0x2701;
- int GL_NEAREST_MIPMAP_LINEAR = 0x2702;
- int GL_LINEAR_MIPMAP_LINEAR = 0x2703;
+ int GL_NEAREST_MIPMAP_NEAREST = 0x2700;
+ int GL_LINEAR_MIPMAP_NEAREST = 0x2701;
+ int GL_NEAREST_MIPMAP_LINEAR = 0x2702;
+ int GL_LINEAR_MIPMAP_LINEAR = 0x2703;
/* TextureParameterName */
- int GL_TEXTURE_MAG_FILTER = 0x2800;
- int GL_TEXTURE_MIN_FILTER = 0x2801;
- int GL_TEXTURE_WRAP_S = 0x2802;
- int GL_TEXTURE_WRAP_T = 0x2803;
+ int GL_TEXTURE_MAG_FILTER = 0x2800;
+ int GL_TEXTURE_MIN_FILTER = 0x2801;
+ int GL_TEXTURE_WRAP_S = 0x2802;
+ int GL_TEXTURE_WRAP_T = 0x2803;
/* GL_TEXTURE_BORDER_COLOR */
/* GL_TEXTURE_PRIORITY */
/* TextureWrapMode */
- int GL_CLAMP = 0x2900;
- int GL_REPEAT = 0x2901;
+ int GL_CLAMP = 0x2900;
+ int GL_REPEAT = 0x2901;
/* ClientAttribMask */
- int GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
- int GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
- int GL_ALL_CLIENT_ATTRIB_BITS = 0xffffffff;
+ int GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
+ int GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
+ int GL_ALL_CLIENT_ATTRIB_BITS = 0xffffffff;
/* polygon_offset */
- int GL_POLYGON_OFFSET_FACTOR = 0x8038;
- int GL_POLYGON_OFFSET_UNITS = 0x2A00;
- int GL_POLYGON_OFFSET_POINT = 0x2A01;
- int GL_POLYGON_OFFSET_LINE = 0x2A02;
- int GL_POLYGON_OFFSET_FILL = 0x8037;
+ int GL_POLYGON_OFFSET_FACTOR = 0x8038;
+ int GL_POLYGON_OFFSET_UNITS = 0x2A00;
+ int GL_POLYGON_OFFSET_POINT = 0x2A01;
+ int GL_POLYGON_OFFSET_LINE = 0x2A02;
+ int GL_POLYGON_OFFSET_FILL = 0x8037;
/* texture */
- int GL_ALPHA4 = 0x803B;
- int GL_ALPHA8 = 0x803C;
- int GL_ALPHA12 = 0x803D;
- int GL_ALPHA16 = 0x803E;
- int GL_LUMINANCE4 = 0x803F;
- int GL_LUMINANCE8 = 0x8040;
- int GL_LUMINANCE12 = 0x8041;
- int GL_LUMINANCE16 = 0x8042;
- int GL_LUMINANCE4_ALPHA4 = 0x8043;
- int GL_LUMINANCE6_ALPHA2 = 0x8044;
- int GL_LUMINANCE8_ALPHA8 = 0x8045;
- int GL_LUMINANCE12_ALPHA4 = 0x8046;
- int GL_LUMINANCE12_ALPHA12 = 0x8047;
- int GL_LUMINANCE16_ALPHA16 = 0x8048;
- int GL_INTENSITY = 0x8049;
- int GL_INTENSITY4 = 0x804A;
- int GL_INTENSITY8 = 0x804B;
- int GL_INTENSITY12 = 0x804C;
- int GL_INTENSITY16 = 0x804D;
- int GL_R3_G3_B2 = 0x2A10;
- int GL_RGB4 = 0x804F;
- int GL_RGB5 = 0x8050;
- int GL_RGB8 = 0x8051;
- int GL_RGB10 = 0x8052;
- int GL_RGB12 = 0x8053;
- int GL_RGB16 = 0x8054;
- int GL_RGBA2 = 0x8055;
- int GL_RGBA4 = 0x8056;
- int GL_RGB5_A1 = 0x8057;
- int GL_RGBA8 = 0x8058;
- int GL_RGB10_A2 = 0x8059;
- int GL_RGBA12 = 0x805A;
- int GL_RGBA16 = 0x805B;
- int GL_TEXTURE_RED_SIZE = 0x805C;
- int GL_TEXTURE_GREEN_SIZE = 0x805D;
- int GL_TEXTURE_BLUE_SIZE = 0x805E;
- int GL_TEXTURE_ALPHA_SIZE = 0x805F;
- int GL_TEXTURE_LUMINANCE_SIZE = 0x8060;
- int GL_TEXTURE_INTENSITY_SIZE = 0x8061;
- int GL_PROXY_TEXTURE_1D = 0x8063;
- int GL_PROXY_TEXTURE_2D = 0x8064;
+ int GL_ALPHA4 = 0x803B;
+ int GL_ALPHA8 = 0x803C;
+ int GL_ALPHA12 = 0x803D;
+ int GL_ALPHA16 = 0x803E;
+ int GL_LUMINANCE4 = 0x803F;
+ int GL_LUMINANCE8 = 0x8040;
+ int GL_LUMINANCE12 = 0x8041;
+ int GL_LUMINANCE16 = 0x8042;
+ int GL_LUMINANCE4_ALPHA4 = 0x8043;
+ int GL_LUMINANCE6_ALPHA2 = 0x8044;
+ int GL_LUMINANCE8_ALPHA8 = 0x8045;
+ int GL_LUMINANCE12_ALPHA4 = 0x8046;
+ int GL_LUMINANCE12_ALPHA12 = 0x8047;
+ int GL_LUMINANCE16_ALPHA16 = 0x8048;
+ int GL_INTENSITY = 0x8049;
+ int GL_INTENSITY4 = 0x804A;
+ int GL_INTENSITY8 = 0x804B;
+ int GL_INTENSITY12 = 0x804C;
+ int GL_INTENSITY16 = 0x804D;
+ int GL_R3_G3_B2 = 0x2A10;
+ int GL_RGB4 = 0x804F;
+ int GL_RGB5 = 0x8050;
+ int GL_RGB8 = 0x8051;
+ int GL_RGB10 = 0x8052;
+ int GL_RGB12 = 0x8053;
+ int GL_RGB16 = 0x8054;
+ int GL_RGBA2 = 0x8055;
+ int GL_RGBA4 = 0x8056;
+ int GL_RGB5_A1 = 0x8057;
+ int GL_RGBA8 = 0x8058;
+ int GL_RGB10_A2 = 0x8059;
+ int GL_RGBA12 = 0x805A;
+ int GL_RGBA16 = 0x805B;
+ int GL_TEXTURE_RED_SIZE = 0x805C;
+ int GL_TEXTURE_GREEN_SIZE = 0x805D;
+ int GL_TEXTURE_BLUE_SIZE = 0x805E;
+ int GL_TEXTURE_ALPHA_SIZE = 0x805F;
+ int GL_TEXTURE_LUMINANCE_SIZE = 0x8060;
+ int GL_TEXTURE_INTENSITY_SIZE = 0x8061;
+ int GL_PROXY_TEXTURE_1D = 0x8063;
+ int GL_PROXY_TEXTURE_2D = 0x8064;
/* texture_object */
- int GL_TEXTURE_PRIORITY = 0x8066;
- int GL_TEXTURE_RESIDENT = 0x8067;
- int GL_TEXTURE_BINDING_1D = 0x8068;
- int GL_TEXTURE_BINDING_2D = 0x8069;
+ int GL_TEXTURE_PRIORITY = 0x8066;
+ int GL_TEXTURE_RESIDENT = 0x8067;
+ int GL_TEXTURE_BINDING_1D = 0x8068;
+ int GL_TEXTURE_BINDING_2D = 0x8069;
/* vertex_array */
- int GL_VERTEX_ARRAY = 0x8074;
- int GL_NORMAL_ARRAY = 0x8075;
- int GL_COLOR_ARRAY = 0x8076;
- int GL_INDEX_ARRAY = 0x8077;
- int GL_TEXTURE_COORD_ARRAY = 0x8078;
- int GL_EDGE_FLAG_ARRAY = 0x8079;
- int GL_VERTEX_ARRAY_SIZE = 0x807A;
- int GL_VERTEX_ARRAY_TYPE = 0x807B;
- int GL_VERTEX_ARRAY_STRIDE = 0x807C;
- int GL_NORMAL_ARRAY_TYPE = 0x807E;
- int GL_NORMAL_ARRAY_STRIDE = 0x807F;
- int GL_COLOR_ARRAY_SIZE = 0x8081;
- int GL_COLOR_ARRAY_TYPE = 0x8082;
- int GL_COLOR_ARRAY_STRIDE = 0x8083;
- int GL_INDEX_ARRAY_TYPE = 0x8085;
- int GL_INDEX_ARRAY_STRIDE = 0x8086;
- int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
- int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
- int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
- int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C;
- int GL_VERTEX_ARRAY_POINTER = 0x808E;
- int GL_NORMAL_ARRAY_POINTER = 0x808F;
- int GL_COLOR_ARRAY_POINTER = 0x8090;
- int GL_INDEX_ARRAY_POINTER = 0x8091;
- int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
- int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093;
- int GL_V2F = 0x2A20;
- int GL_V3F = 0x2A21;
- int GL_C4UB_V2F = 0x2A22;
- int GL_C4UB_V3F = 0x2A23;
- int GL_C3F_V3F = 0x2A24;
- int GL_N3F_V3F = 0x2A25;
- int GL_C4F_N3F_V3F = 0x2A26;
- int GL_T2F_V3F = 0x2A27;
- int GL_T4F_V4F = 0x2A28;
- int GL_T2F_C4UB_V3F = 0x2A29;
- int GL_T2F_C3F_V3F = 0x2A2A;
- int GL_T2F_N3F_V3F = 0x2A2B;
- int GL_T2F_C4F_N3F_V3F = 0x2A2C;
- int GL_T4F_C4F_N3F_V4F = 0x2A2D;
+ int GL_VERTEX_ARRAY = 0x8074;
+ int GL_NORMAL_ARRAY = 0x8075;
+ int GL_COLOR_ARRAY = 0x8076;
+ int GL_INDEX_ARRAY = 0x8077;
+ int GL_TEXTURE_COORD_ARRAY = 0x8078;
+ int GL_EDGE_FLAG_ARRAY = 0x8079;
+ int GL_VERTEX_ARRAY_SIZE = 0x807A;
+ int GL_VERTEX_ARRAY_TYPE = 0x807B;
+ int GL_VERTEX_ARRAY_STRIDE = 0x807C;
+ int GL_NORMAL_ARRAY_TYPE = 0x807E;
+ int GL_NORMAL_ARRAY_STRIDE = 0x807F;
+ int GL_COLOR_ARRAY_SIZE = 0x8081;
+ int GL_COLOR_ARRAY_TYPE = 0x8082;
+ int GL_COLOR_ARRAY_STRIDE = 0x8083;
+ int GL_INDEX_ARRAY_TYPE = 0x8085;
+ int GL_INDEX_ARRAY_STRIDE = 0x8086;
+ int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
+ int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
+ int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
+ int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C;
+ int GL_VERTEX_ARRAY_POINTER = 0x808E;
+ int GL_NORMAL_ARRAY_POINTER = 0x808F;
+ int GL_COLOR_ARRAY_POINTER = 0x8090;
+ int GL_INDEX_ARRAY_POINTER = 0x8091;
+ int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
+ int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093;
+ int GL_V2F = 0x2A20;
+ int GL_V3F = 0x2A21;
+ int GL_C4UB_V2F = 0x2A22;
+ int GL_C4UB_V3F = 0x2A23;
+ int GL_C3F_V3F = 0x2A24;
+ int GL_N3F_V3F = 0x2A25;
+ int GL_C4F_N3F_V3F = 0x2A26;
+ int GL_T2F_V3F = 0x2A27;
+ int GL_T4F_V4F = 0x2A28;
+ int GL_T2F_C4UB_V3F = 0x2A29;
+ int GL_T2F_C3F_V3F = 0x2A2A;
+ int GL_T2F_N3F_V3F = 0x2A2B;
+ int GL_T2F_C4F_N3F_V3F = 0x2A2C;
+ int GL_T4F_C4F_N3F_V4F = 0x2A2D;
/* For compatibility with OpenGL v1.0 */
int GL_LOGIC_OP = GL_INDEX_LOGIC_OP;
int GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT;
void glAccum(@GLenum int op, float value);
+
void glAlphaFunc(@GLenum int func, @GLclampf float ref);
+
void glClearColor(@GLclampf float red, @GLclampf float green, @GLclampf float blue, @GLclampf float alpha);
+
void glClearAccum(float red, float green, float blue, float alpha);
+
void glClear(@GLbitfield int mask);
void glCallLists(@AutoSize("lists") @GLsizei int n, @AutoType("lists") @GLenum int type,
- @Const
- @GLubyte
- @GLushort
- @GLuint
- Buffer lists);
+ @Const
+ @GLubyte
+ @GLushort
+ @GLuint Buffer lists);
void glCallList(@GLuint int list);
+
void glBlendFunc(@GLenum int sfactor, @GLenum int dfactor);
void glBitmap(@GLsizei int width, @GLsizei int height, float xorig, float yorig, float xmove, float ymove,
- @BufferObject(BufferKind.UnpackPBO)
- @Check("(((width + 7)/8)*height)")
- @Const
- @GLubyte
- ByteBuffer bitmap);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check("(((width + 7)/8)*height)")
+ @Const
+ @GLubyte ByteBuffer bitmap);
void glBindTexture(@GLenum int target, @GLuint int texture);
+
void glBegin(@GLenum int mode);
+
void glEnd();
+
void glArrayElement(int i);
+
void glClearDepth(@GLclampd double depth);
+
void glDeleteLists(@GLuint int list, @GLsizei int range);
void glDeleteTextures(@AutoSize("textures") @GLsizei int n, @Const @GLuint IntBuffer textures);
void glCullFace(@GLenum int mode);
+
void glCopyTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, int x, int y, @GLsizei int width, @GLsizei int height);
+
void glCopyTexSubImage1D(@GLenum int target, int level, int xoffset, int x, int y, @GLsizei int width);
+
void glCopyTexImage2D(@GLenum int target, int level, int internalFormat, int x, int y, @GLsizei int width, @GLsizei int height, int border);
+
void glCopyTexImage1D(@GLenum int target, int level, int internalFormat, int x, int y, @GLsizei int width, int border);
+
void glCopyPixels(int x, int y, int width, int height, int type);
void glColorPointer(int size, @AutoType("pointer") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @Check
- @BufferObject(BufferKind.ArrayVBO)
- @Const
- @GLfloat
- @GLdouble
- @GLubyte
- @GLbyte
- Buffer pointer);
+ @CachedReference
+ @Check
+ @BufferObject(BufferKind.ArrayVBO)
+ @Const
+ @GLfloat
+ @GLdouble
+ @GLubyte
+ @GLbyte Buffer pointer);
void glColorMaterial(@GLenum int face, @GLenum int mode);
+
void glColorMask(boolean red, boolean green, boolean blue, boolean alpha);
+
void glColor3b(byte red, byte green, byte blue);
+
void glColor3f(float red, float green, float blue);
+
void glColor3d(double red, double green, double blue);
+
void glColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
+
void glColor4b(byte red, byte green, byte blue, byte alpha);
+
void glColor4f(float red, float green, float blue, float alpha);
+
void glColor4d(double red, double green, double blue, double alpha);
+
void glColor4ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue, @GLubyte byte alpha);
void glClipPlane(@GLenum int plane, @Check("4") @Const DoubleBuffer equation);
void glClearStencil(int s);
+
// This function is only used in indexed color mode
// void glClearIndex(float c);
void glEvalPoint1(int i);
+
void glEvalPoint2(int i, int j);
+
void glEvalMesh1(@GLenum int mode, int i1, int i2);
+
void glEvalMesh2(@GLenum int mode, int i1, int i2, int j1, int j2);
+
void glEvalCoord1f(float u);
+
void glEvalCoord1d(double u);
+
void glEvalCoord2f(float u, float v);
+
void glEvalCoord2d(double u, double v);
+
void glEnableClientState(@GLenum int cap);
+
void glDisableClientState(@GLenum int cap);
+
void glEnable(@GLenum int cap);
+
void glDisable(@GLenum int cap);
- void glEdgeFlagPointer(int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLbyte
- Buffer pointer);
+
+ void glEdgeFlagPointer(int stride,
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLbyte Buffer pointer);
void glEdgeFlag(boolean flag);
+
void glDrawPixels(@GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
- @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
- @BufferObject(BufferKind.UnpackPBO)
- @Const
- @GLbyte
- @GLshort
- @GLint
- Buffer pixels);
+ @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
+ @BufferObject(BufferKind.UnpackPBO)
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint Buffer pixels);
void glDrawElements(@GLenum int mode, @AutoSize("indices") @GLsizei int count, @AutoType("indices") @GLenum int type,
- @BufferObject(BufferKind.ElementVBO)
- @Const
- @GLubyte
- @GLushort
- @GLuint
- Buffer indices);
+ @BufferObject(BufferKind.ElementVBO)
+ @Const
+ @GLubyte
+ @GLushort
+ @GLuint Buffer indices);
void glDrawBuffer(@GLenum int mode);
+
void glDrawArrays(@GLenum int mode, int first, @GLsizei int count);
+
void glDepthRange(@GLclampd double zNear, @GLclampd double zFar);
+
void glDepthMask(boolean flag);
+
void glDepthFunc(@GLenum int func);
void glFeedbackBuffer(@AutoSize("buffer") @GLsizei int size, @GLenum int type, FloatBuffer buffer);
@StripPostfix("values")
void glGetPixelMapfv(@GLenum int map, @Check("256") @BufferObject(BufferKind.PackPBO) FloatBuffer values);
+
@StripPostfix("values")
void glGetPixelMapuiv(@GLenum int map, @Check("256") @BufferObject(BufferKind.PackPBO) @GLuint IntBuffer values);
+
@StripPostfix("values")
void glGetPixelMapusv(@GLenum int map, @Check("256") @BufferObject(BufferKind.PackPBO) @GLushort ShortBuffer values);
+
@StripPostfix("params")
void glGetMaterialfv(@GLenum int face, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetMaterialiv(@GLenum int face, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("v")
void glGetMapfv(@GLenum int target, @GLenum int query, @Check("256") FloatBuffer v);
+
@StripPostfix("v")
void glGetMapdv(@GLenum int target, @GLenum int query, @Check("256") DoubleBuffer v);
+
@StripPostfix("v")
void glGetMapiv(@GLenum int target, @GLenum int query, @Check("256") IntBuffer v);
@StripPostfix("params")
void glGetLightfv(@GLenum int light, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetLightiv(@GLenum int light, @GLenum int pname, @Check("4") IntBuffer params);
@@ -858,7 +901,7 @@ public interface GL11 {
@StripPostfix("params")
void glGetDoublev(@GLenum int pname, @Check("16") DoubleBuffer params);
-
+
@StripPostfix("params")
void glGetFloatv(@GLenum int pname, @Check("16") FloatBuffer params);
@@ -867,37 +910,44 @@ public interface GL11 {
void glGenTextures(@AutoSize("textures") @GLsizei int n, @GLuint IntBuffer textures);
- @GLuint int glGenLists(@GLsizei int range);
+ @GLuint
+ int glGenLists(@GLsizei int range);
+
void glFrustum(double left, double right, double bottom, double top, double zNear, double zFar);
+
void glFrontFace(@GLenum int mode);
+
void glFogf(@GLenum int pname, float param);
+
void glFogi(@GLenum int pname, int param);
@StripPostfix("params")
void glFogfv(@GLenum int pname, @Check("4") @Const FloatBuffer params);
-
+
@StripPostfix("params")
void glFogiv(@GLenum int pname, @Check("4") @Const IntBuffer params);
void glFlush();
+
void glFinish();
@StripPostfix("result")
void glGetPointerv(@GLenum int pname, @Result @GLvoid ByteBuffer result);
+
boolean glIsEnabled(@GLenum int cap);
void glInterleavedArrays(@GLenum int format, @GLsizei int stride,
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pointer);
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pointer);
void glInitNames();
+
void glHint(@GLenum int target, @GLenum int mode);
@StripPostfix("params")
@@ -913,26 +963,26 @@ public interface GL11 {
void glGetTexLevelParameteriv(@GLenum int target, int level, @GLenum int pname, @Check("4") IntBuffer params);
void glGetTexImage(@GLenum int target, int level, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.PackPBO)
- @Check("GLChecks.calculateImageStorage(pixels, format, type, 1, 1, 1)")
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pixels);
+ @BufferObject(BufferKind.PackPBO)
+ @Check("GLChecks.calculateImageStorage(pixels, format, type, 1, 1, 1)")
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pixels);
@StripPostfix("params")
void glGetTexGeniv(@GLenum int coord, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
void glGetTexGenfv(@GLenum int coord, @GLenum int pname, @Check("4") FloatBuffer params);
-
+
@StripPostfix("params")
void glGetTexGendv(@GLenum int coord, @GLenum int pname, @Check("4") DoubleBuffer params);
@StripPostfix("params")
void glGetTexEnviv(@GLenum int coord, @GLenum int pname, @Check("4") IntBuffer params);
+
@StripPostfix("params")
void glGetTexEnvfv(@GLenum int coord, @GLenum int pname, @Check("4") FloatBuffer params);
@@ -942,7 +992,9 @@ public interface GL11 {
void glGetPolygonStipple(@BufferObject(BufferKind.PackPBO) @Check("1024") @GLubyte ByteBuffer mask);
boolean glIsList(@GLuint int list);
+
void glMaterialf(@GLenum int face, @GLenum int pname, float param);
+
void glMateriali(@GLenum int face, @GLenum int pname, int param);
@StripPostfix("params")
@@ -952,31 +1004,43 @@ public interface GL11 {
void glMaterialiv(@GLenum int face, @GLenum int pname, @Check("4") @Const IntBuffer params);
void glMapGrid1f(int un, float u1, float u2);
+
void glMapGrid1d(int un, double u1, double u2);
+
void glMapGrid2f(int un, float u1, float u2, int vn, float v1, float v2);
+
void glMapGrid2d(int un, double u1, double u2, int vn, double v1, double v2);
// TODO: check buffer size valid
void glMap2f(@GLenum int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, @Check @Const FloatBuffer points);
+
void glMap2d(@GLenum int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, @Check @Const DoubleBuffer points);
+
// TODO: check buffer size valid
void glMap1f(@GLenum int target, float u1, float u2, int stride, int order, @Check @Const FloatBuffer points);
+
void glMap1d(@GLenum int target, double u1, double u2, int stride, int order, @Check @Const DoubleBuffer points);
void glLogicOp(@GLenum int opcode);
+
void glLoadName(@GLuint int name);
@StripPostfix("m")
void glLoadMatrixf(@Check("16") @Const FloatBuffer m);
-
+
@StripPostfix("m")
void glLoadMatrixd(@Check("16") @Const DoubleBuffer m);
void glLoadIdentity();
+
void glListBase(@GLuint int base);
+
void glLineWidth(float width);
+
void glLineStipple(int factor, @GLushort short pattern);
+
void glLightModelf(@GLenum int pname, float param);
+
void glLightModeli(@GLenum int pname, int param);
@StripPostfix("params")
@@ -984,58 +1048,77 @@ public interface GL11 {
@StripPostfix("params")
void glLightModeliv(@GLenum int pname, @Check("4") @Const IntBuffer params);
+
void glLightf(@GLenum int light, @GLenum int pname, float param);
+
void glLighti(@GLenum int light, @GLenum int pname, int param);
@StripPostfix("params")
void glLightfv(@GLenum int light, @GLenum int pname, @Check("4") @Const FloatBuffer params);
+
@StripPostfix("params")
void glLightiv(@GLenum int light, @GLenum int pname, @Check("4") @Const IntBuffer params);
boolean glIsTexture(@GLuint int texture);
+
void glMatrixMode(@GLenum int mode);
+
void glPolygonStipple(@BufferObject(BufferKind.UnpackPBO) @Check("1024") @Const @GLubyte ByteBuffer mask);
void glPolygonOffset(float factor, float units);
+
void glPolygonMode(@GLenum int face, @GLenum int mode);
+
void glPointSize(float size);
+
void glPixelZoom(float xfactor, float yfactor);
+
void glPixelTransferf(@GLenum int pname, float param);
+
void glPixelTransferi(@GLenum int pname, int param);
+
void glPixelStoref(@GLenum int pname, float param);
+
void glPixelStorei(@GLenum int pname, int param);
@StripPostfix("values")
void glPixelMapfv(@GLenum int map, @AutoSize("values") @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const FloatBuffer values);
+
@StripPostfix("values")
void glPixelMapuiv(@GLenum int map, @AutoSize("values") @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const @GLuint IntBuffer values);
+
@StripPostfix("values")
void glPixelMapusv(@GLenum int map, @AutoSize("values") @GLsizei int mapsize, @BufferObject(BufferKind.UnpackPBO) @Const @GLushort ShortBuffer values);
void glPassThrough(float token);
+
void glOrtho(double left, double right, double bottom, double top, double zNear, double zFar);
void glNormalPointer(@AutoType("pointer") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLint
- @GLbyte
- @GLfloat
- @GLdouble
- Buffer pointer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLint
+ @GLbyte
+ @GLfloat
+ @GLdouble Buffer pointer);
void glNormal3b(byte nx, byte ny, byte nz);
+
void glNormal3f(float nx, float ny, float nz);
+
void glNormal3d(double nx, double ny, double nz);
+
void glNormal3i(int nx, int ny, int nz);
+
void glNewList(@GLuint int list, @GLenum int mode);
+
void glEndList();
@StripPostfix("m")
void glMultMatrixf(@Check("16") @Const FloatBuffer m);
-
+
@StripPostfix("m")
void glMultMatrixd(@Check("16") @Const DoubleBuffer m);
@@ -1044,122 +1127,153 @@ public interface GL11 {
void glSelectBuffer(@AutoSize("buffer") @GLsizei int size, @CachedReference @GLuint IntBuffer buffer);
void glScissor(int x, int y, @GLsizei int width, @GLsizei int height);
+
void glScalef(float x, float y, float z);
+
void glScaled(double x, double y, double z);
+
void glRotatef(float angle, float x, float y, float z);
+
int glRenderMode(@GLenum int mode);
+
void glRectf(float x1, float y1, float x2, float y2);
+
void glRectd(double x1, double y1, double x2, double y2);
+
void glRecti(int x1, int y1, int x2, int y2);
void glReadPixels(int x, int y, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.PackPBO)
- @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pixels);
+ @BufferObject(BufferKind.PackPBO)
+ @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pixels);
void glReadBuffer(@GLenum int mode);
+
void glRasterPos2f(float x, float y);
+
void glRasterPos2d(double x, double y);
+
void glRasterPos2i(int x, int y);
+
void glRasterPos3f(float x, float y, float z);
+
void glRasterPos3d(double x, double y, double z);
+
void glRasterPos3i(int x, int y, int z);
+
void glRasterPos4f(float x, float y, float z, float w);
+
void glRasterPos4d(double x, double y, double z, double w);
+
void glRasterPos4i(int x, int y, int z, int w);
+
void glPushName(@GLuint int name);
+
void glPopName();
+
void glPushMatrix();
+
void glPopMatrix();
- @Code( " StateTracker.pushAttrib(mask);")
+ @Code(" StateTracker.pushAttrib(mask);")
void glPushClientAttrib(@GLbitfield int mask);
- @Code( " StateTracker.popAttrib();")
+ @Code(" StateTracker.popAttrib();")
void glPopClientAttrib();
void glPushAttrib(@GLbitfield int mask);
+
void glPopAttrib();
+
void glStencilFunc(@GLenum int func, int ref, @GLuint int mask);
void glVertexPointer(int size, @AutoType("pointer") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLint
- @GLfloat
- @GLdouble
- Buffer pointer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pointer);
void glVertex2f(float x, float y);
+
void glVertex2d(double x, double y);
+
void glVertex2i(int x, int y);
+
void glVertex3f(float x, float y, float z);
+
void glVertex3d(double x, double y, double z);
+
void glVertex3i(int x, int y, int z);
+
void glVertex4f(float x, float y, float z, float w);
+
void glVertex4d(double x, double y, double z, double w);
+
void glVertex4i(int x, int y, int z, int w);
+
void glTranslatef(float x, float y, float z);
+
void glTranslated(double x, double y, double z);
void glTexImage1D(@GLenum int target, int level, int internalformat, @GLsizei int width, int border, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check(value="GLChecks.calculateTexImage1DStorage(pixels, format, type, width, border)", canBeNull=true)
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pixels);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check(value = "GLChecks.calculateTexImage1DStorage(pixels, format, type, width, border)", canBeNull = true)
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pixels);
void glTexImage2D(@GLenum int target, int level, int internalformat, int width, int height, int border, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check(value="GLChecks.calculateTexImage2DStorage(pixels, format, type, width, height, border)", canBeNull=true)
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pixels);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check(value = "GLChecks.calculateTexImage2DStorage(pixels, format, type, width, height, border)", canBeNull = true)
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pixels);
+
void glTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check("GLChecks.calculateImageStorage(pixels, format, type, width, 1, 1)")
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pixels);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check("GLChecks.calculateImageStorage(pixels, format, type, width, 1, 1)")
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pixels);
+
void glTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pixels);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, 1)")
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pixels);
void glTexParameterf(@GLenum int target, @GLenum int pname, float param);
+
void glTexParameteri(@GLenum int target, @GLenum int pname, int param);
@StripPostfix("param")
void glTexParameterfv(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer param);
+
@StripPostfix("param")
void glTexParameteriv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer param);
void glTexGenf(@GLenum int coord, @GLenum int pname, float param);
+
void glTexGend(@GLenum int coord, @GLenum int pname, double param);
@StripPostfix("params")
@@ -1174,6 +1288,7 @@ public interface GL11 {
void glTexGeniv(@GLenum int coord, @GLenum int pname, @Check("4") @Const IntBuffer params);
void glTexEnvf(@GLenum int target, @GLenum int pname, float param);
+
void glTexEnvi(@GLenum int target, @GLenum int pname, int param);
@StripPostfix("params")
@@ -1183,23 +1298,32 @@ public interface GL11 {
void glTexEnviv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
void glTexCoordPointer(int size, @AutoType("pointer") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLfloat
- @GLdouble
- Buffer pointer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLfloat
+ @GLdouble Buffer pointer);
void glTexCoord1f(float s);
+
void glTexCoord1d(double s);
+
void glTexCoord2f(float s, float t);
+
void glTexCoord2d(double s, double t);
+
void glTexCoord3f(float s, float t, float r);
+
void glTexCoord3d(double s, double t, double r);
+
void glTexCoord4f(float s, float t, float r, float q);
+
void glTexCoord4d(double s, double t, double r, double q);
+
void glStencilOp(@GLenum int fail, @GLenum int zfail, @GLenum int zpass);
+
void glStencilMask(@GLuint int mask);
+
void glViewport(int x, int y, @GLsizei int width, @GLsizei int height);
}
diff --git a/src/templates/org/lwjgl/opengl/GL12.java b/src/templates/org/lwjgl/opengl/GL12.java
index b713d85a..849c4f8a 100644
--- a/src/templates/org/lwjgl/opengl/GL12.java
+++ b/src/templates/org/lwjgl/opengl/GL12.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
/**
* $Id$
*
@@ -87,37 +87,34 @@ public interface GL12 {
int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
void glDrawRangeElements(@GLenum int mode, @GLuint int start, @GLuint int end, @AutoSize("indices") @GLsizei int count,
- @AutoType("indices")
- @GLenum
- int type,
- @BufferObject(BufferKind.ElementVBO)
- @Const
- @GLubyte
- @GLushort
- @GLuint
- Buffer indices);
+ @AutoType("indices")
+ @GLenum int type,
+ @BufferObject(BufferKind.ElementVBO)
+ @Const
+ @GLubyte
+ @GLushort
+ @GLuint Buffer indices);
void glTexImage3D(@GLenum int target, int level, int internalFormat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check(value="GLChecks.calculateTexImage3DStorage(pixels, format, type, width, height, depth, border)", canBeNull=true)
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pixels);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check(value = "GLChecks.calculateTexImage3DStorage(pixels, format, type, width, height, depth, border)", canBeNull = true)
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pixels);
void glTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLenum int type,
- @BufferObject(BufferKind.UnpackPBO)
- @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, depth)")
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pixels);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, depth)")
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pixels);
+
void glCopyTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, @GLsizei int width, @GLsizei int height);
}
diff --git a/src/templates/org/lwjgl/opengl/GL13.java b/src/templates/org/lwjgl/opengl/GL13.java
index f45c12df..d3ec1677 100644
--- a/src/templates/org/lwjgl/opengl/GL13.java
+++ b/src/templates/org/lwjgl/opengl/GL13.java
@@ -31,12 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.FloatBuffer;
-import java.nio.DoubleBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
/**
* $Id$
*
@@ -151,106 +149,100 @@ public interface GL13 {
void glActiveTexture(@GLenum int texture);
void glClientActiveTexture(@GLenum int texture);
+
void glCompressedTexImage1D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glCompressedTexImage2D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glCompressedTexImage3D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glCompressedTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glCompressedTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glCompressedTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLsizei int imageSize,
- @BufferObject(BufferKind.UnpackPBO)
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.UnpackPBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
// TODO: check buffer size valid
void glGetCompressedTexImage(@GLenum int target, int lod,
- @BufferObject(BufferKind.PackPBO)
- @Check
- @GLbyte
- @GLshort
- @GLint
- Buffer img);
+ @BufferObject(BufferKind.PackPBO)
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint Buffer img);
void glMultiTexCoord1f(@GLenum int target, float s);
void glMultiTexCoord1d(@GLenum int target, double s);
void glMultiTexCoord2f(@GLenum int target, float s, float t);
-
+
void glMultiTexCoord2d(@GLenum int target, double s, double t);
void glMultiTexCoord3f(@GLenum int target, float s, float t, float r);
-
+
void glMultiTexCoord3d(@GLenum int target, double s, double t, double r);
void glMultiTexCoord4f(@GLenum int target, float s, float t, float r, float q);
-
+
void glMultiTexCoord4d(@GLenum int target, double s, double t, double r, double q);
@StripPostfix("m")
void glLoadTransposeMatrixf(@Check("16") @Const FloatBuffer m);
-
+
@StripPostfix("m")
void glLoadTransposeMatrixd(@Check("16") @Const DoubleBuffer m);
@StripPostfix("m")
void glMultTransposeMatrixf(@Check("16") @Const FloatBuffer m);
-
+
@StripPostfix("m")
void glMultTransposeMatrixd(@Check("16") @Const DoubleBuffer m);
diff --git a/src/templates/org/lwjgl/opengl/GL14.java b/src/templates/org/lwjgl/opengl/GL14.java
index ead16a82..e68bea47 100644
--- a/src/templates/org/lwjgl/opengl/GL14.java
+++ b/src/templates/org/lwjgl/opengl/GL14.java
@@ -31,12 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
/**
* $Id$
*
@@ -91,53 +89,63 @@ public interface GL14 {
void glBlendColor(@GLclampf float red, @GLclampf float green, @GLclampf float blue, @GLclampf float alpha);
void glFogCoordf(float coord);
-
+
void glFogCoordd(double coord);
void glFogCoordPointer(@AutoType("data") @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLfloat
- @GLdouble
- Buffer data);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLfloat
+ @GLdouble Buffer data);
- @Code( " if (piFirst.remaining() != piCount.remaining()) {\n" +
- " throw new IllegalArgumentException(\"piFirst.remaining() != piCount.remaining()\");\n" +
- " }")
+ @Code(" if (piFirst.remaining() != piCount.remaining()) {\n" +
+ " throw new IllegalArgumentException(\"piFirst.remaining() != piCount.remaining()\");\n" +
+ " }")
void glMultiDrawArrays(@GLenum int mode, IntBuffer piFirst, @Check @GLsizei IntBuffer piCount, @AutoSize("piFirst") @GLsizei int primcount);
//void glMultiDrawElements(int mode, int piCount, int type, int pIndices, int primcount);
void glPointParameteri(@GLenum int pname, int param);
+
void glPointParameterf(@GLenum int pname, float param);
+
@StripPostfix("params")
void glPointParameteriv(@GLenum int pname, @Check("4") @Const IntBuffer params);
+
@StripPostfix("params")
void glPointParameterfv(@GLenum int pname, @Check("4") @Const FloatBuffer params);
void glSecondaryColor3b(byte red, byte green, byte blue);
+
void glSecondaryColor3f(float red, float green, float blue);
+
void glSecondaryColor3d(double red, double green, double blue);
+
void glSecondaryColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
void glSecondaryColorPointer(int size, @AutoType("data") @GLenum int type, @GLsizei int stride,
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLbyte
- @GLubyte
- @GLfloat
- @GLdouble
- Buffer data);
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLubyte
+ @GLfloat
+ @GLdouble Buffer data);
void glBlendFuncSeparate(@GLenum int sfactorRGB, @GLenum int dfactorRGB, @GLenum int sfactorAlpha, @GLenum int dfactorAlpha);
+
void glWindowPos2f(float x, float y);
+
void glWindowPos2d(double x, double y);
+
void glWindowPos2i(int x, int y);
+
void glWindowPos3f(float x, float y, float z);
+
void glWindowPos3d(double x, double y, double z);
+
void glWindowPos3i(int x, int y, int z);
}
diff --git a/src/templates/org/lwjgl/opengl/GL15.java b/src/templates/org/lwjgl/opengl/GL15.java
index cd5a26c6..6743c1ba 100644
--- a/src/templates/org/lwjgl/opengl/GL15.java
+++ b/src/templates/org/lwjgl/opengl/GL15.java
@@ -72,41 +72,41 @@ public interface GL15 {
int GL_BUFFER_MAPPED = 0x88BC;
int GL_BUFFER_MAP_POINTER = 0x88BD;
- @Code( " StateTracker.bindBuffer(target, buffer);")
+ @Code(" StateTracker.bindBuffer(target, buffer);")
void glBindBuffer(@GLenum int target, @GLuint int buffer);
- @Code( " StateTracker.deleteBuffers(buffers);")
+
+ @Code(" StateTracker.deleteBuffers(buffers);")
void glDeleteBuffers(@AutoSize("buffers") @GLsizei int n, @Const @GLuint IntBuffer buffers);
void glGenBuffers(@AutoSize("buffers") @GLsizei int n, @GLuint IntBuffer buffers);
+
boolean glIsBuffer(@GLuint int buffer);
@GenerateAutos
void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr int size,
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data, @GLenum int usage);
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data, @GLenum int usage);
+
void glBufferSubData(@GLenum int target, @GLintptr int offset, @AutoSize("data") @GLsizeiptr int size,
- @Check
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @Check
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glGetBufferSubData(@GLenum int target, @GLintptr int offset, @AutoSize("data") @GLsizeiptr int size,
- @Check
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @Check
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
/**
* glMapBuffer maps a gl vertex buffer buffer to a ByteBuffer. The oldBuffer argument can be null, in which case a new
@@ -124,7 +124,8 @@ public interface GL15 {
* @return A ByteBuffer representing the mapped buffer memory.
*/
@CachedResult
- @GLvoid ByteBuffer glMapBuffer(@GLenum int target, @GLenum int access);
+ @GLvoid
+ ByteBuffer glMapBuffer(@GLenum int target, @GLenum int access);
boolean glUnmapBuffer(@GLenum int target);
@@ -138,30 +139,33 @@ public interface GL15 {
// ---------------------- ARB_occlusion_query ----------------------
// -----------------------------------------------------------------
- /*
- * Accepted by the parameter of BeginQuery, EndQuery,
- * and GetQueryiv:
- */
+ /**
+ * Accepted by the <target> parameter of BeginQuery, EndQuery,
+ * and GetQueryiv:
+ */
int GL_SAMPLES_PASSED = 0x8914;
- /*
- Accepted by the parameter of GetQueryiv:
- */
+ /**
+ Accepted by the <pname> parameter of GetQueryiv:
+ */
int GL_QUERY_COUNTER_BITS = 0x8864;
int GL_CURRENT_QUERY = 0x8865;
- /*
- Accepted by the parameter of GetQueryObjectiv and
- GetQueryObjectuiv:
- */
+ /**
+ Accepted by the <pname> parameter of GetQueryObjectiv and
+ GetQueryObjectuiv:
+ */
int GL_QUERY_RESULT = 0x8866;
int GL_QUERY_RESULT_AVAILABLE = 0x8867;
void glGenQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
+
void glDeleteQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
+
boolean glIsQuery(@GLuint int id);
void glBeginQuery(@GLenum int target, @GLuint int id);
+
void glEndQuery(@GLenum int target);
@StripPostfix("params")
diff --git a/src/templates/org/lwjgl/opengl/GL20.java b/src/templates/org/lwjgl/opengl/GL20.java
index e7094e9e..8d0c9e8c 100644
--- a/src/templates/org/lwjgl/opengl/GL20.java
+++ b/src/templates/org/lwjgl/opengl/GL20.java
@@ -40,23 +40,23 @@ public interface GL20 {
// ----------------------[ ARB_shading_language_100 ]----------------------
// ------------------------------------------------------------------
- /*
- * Accepted by the parameter of GetString:
- */
+ /**
+ * Accepted by the <name> parameter of GetString:
+ */
int GL_SHADING_LANGUAGE_VERSION = 0x8B8C;
// ------------------------------------------------------------------
// ----------------------[ ARB_shader_objects ]----------------------
// ------------------------------------------------------------------
- /*
- * Accepted by the argument of GetInteger:
- */
+ /**
+ * Accepted by the <pname> argument of GetInteger:
+ */
int GL_CURRENT_PROGRAM = 0x8B8D;
- /*
- * Accepted by the parameter of GetObjectParameter{fi}vARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetObjectParameter{fi}vARB:
+ */
int GL_SHADER_TYPE = 0x8B4F;
int GL_DELETE_STATUS = 0x8B80;
int GL_COMPILE_STATUS = 0x8B81;
@@ -70,14 +70,14 @@ public interface GL20 {
int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A;
int GL_SHADER_SOURCE_LENGTH = 0x8B88;
- /*
- * Returned by the parameter of GetObjectParameter{fi}vARB:
- */
+ /**
+ * Returned by the <params> parameter of GetObjectParameter{fi}vARB:
+ */
int GL_SHADER_OBJECT = 0x8B48;
- /*
- * Returned by the parameter of GetActiveUniformARB:
- */
+ /**
+ * Returned by the <type> parameter of GetActiveUniformARB:
+ */
int GL_FLOAT_VEC2 = 0x8B50;
int GL_FLOAT_VEC3 = 0x8B51;
int GL_FLOAT_VEC4 = 0x8B52;
@@ -107,16 +107,14 @@ public interface GL20 {
* @param string
*/
void glShaderSource(@GLuint int shader, @Constant("1") @GLsizei int count,
- @Indirect
- @Check
- @Const
- @GLchar
- ByteBuffer string,
- @AutoSize("string")
- @Indirect
- @Const
- @GLint
- int length);
+ @Indirect
+ @Check
+ @Const
+ @GLchar ByteBuffer string,
+ @AutoSize("string")
+ @Indirect
+ @Const
+ @GLint int length);
int glCreateShader(@GLuint int type);
@@ -160,31 +158,39 @@ public interface GL20 {
@StripPostfix("values")
void glUniform1fv(int location, @AutoSize("values") @GLsizei int count, FloatBuffer values);
+
@StripPostfix("values")
- void glUniform2fv(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, FloatBuffer values);
+ void glUniform2fv(int location, @AutoSize(value = "values", expression = " >> 1") @GLsizei int count, FloatBuffer values);
+
@StripPostfix("values")
- void glUniform3fv(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, FloatBuffer values);
+ void glUniform3fv(int location, @AutoSize(value = "values", expression = " / 3") @GLsizei int count, FloatBuffer values);
+
@StripPostfix("values")
- void glUniform4fv(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, FloatBuffer values);
+ void glUniform4fv(int location, @AutoSize(value = "values", expression = " >> 2") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
void glUniform1iv(int location, @AutoSize("values") @GLsizei int count, IntBuffer values);
+
@StripPostfix("values")
- void glUniform2iv(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, IntBuffer values);
+ void glUniform2iv(int location, @AutoSize(value = "values", expression = " >> 1") @GLsizei int count, IntBuffer values);
+
@StripPostfix("values")
- void glUniform3iv(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, IntBuffer values);
+ void glUniform3iv(int location, @AutoSize(value = "values", expression = " / 3") @GLsizei int count, IntBuffer values);
+
@StripPostfix("values")
- void glUniform4iv(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, IntBuffer values);
+ void glUniform4iv(int location, @AutoSize(value = "values", expression = " >> 2") @GLsizei int count, IntBuffer values);
@StripPostfix("matrices")
- void glUniformMatrix2fv(int location, @AutoSize(value="matrices", expression=" >> 2") @GLsizei int count,
- boolean transpose, FloatBuffer matrices);
+ void glUniformMatrix2fv(int location, @AutoSize(value = "matrices", expression = " >> 2") @GLsizei int count,
+ boolean transpose, FloatBuffer matrices);
+
@StripPostfix("matrices")
- void glUniformMatrix3fv(int location, @AutoSize(value="matrices", expression=" / (3 * 3)") @GLsizei int count,
- boolean transpose, FloatBuffer matrices);
+ void glUniformMatrix3fv(int location, @AutoSize(value = "matrices", expression = " / (3 * 3)") @GLsizei int count,
+ boolean transpose, FloatBuffer matrices);
+
@StripPostfix("matrices")
- void glUniformMatrix4fv(int location, @AutoSize(value="matrices", expression=" >> 4") @GLsizei int count,
- boolean transpose, FloatBuffer matrices);
+ void glUniformMatrix4fv(int location, @AutoSize(value = "matrices", expression = " >> 4") @GLsizei int count,
+ boolean transpose, FloatBuffer matrices);
@StripPostfix("params")
void glGetShaderiv(@GLuint int shader, @GLenum int pname, @Check IntBuffer params);
@@ -193,25 +199,19 @@ public interface GL20 {
void glGetProgramiv(@GLuint int program, @GLenum int pname, @Check IntBuffer params);
void glGetShaderInfoLog(@GLuint int shader, @AutoSize("infoLog") @GLsizei int maxLength,
- @GLsizei
- @Check(value="1", canBeNull=true)
- IntBuffer length,
- @GLchar
- ByteBuffer infoLog);
+ @GLsizei
+ @Check(value = "1", canBeNull = true) IntBuffer length,
+ @GLchar ByteBuffer infoLog);
void glGetProgramInfoLog(@GLuint int program, @AutoSize("infoLog") @GLsizei int maxLength,
- @GLsizei
- @Check(value="1", canBeNull=true)
- IntBuffer length,
- @GLchar
- ByteBuffer infoLog);
+ @GLsizei
+ @Check(value = "1", canBeNull = true) IntBuffer length,
+ @GLchar ByteBuffer infoLog);
void glGetAttachedShaders(@GLuint int program, @AutoSize("shaders") @GLsizei int maxCount,
- @GLsizei
- @Check(value="1", canBeNull=true)
- IntBuffer count,
- @GLuint
- IntBuffer shaders);
+ @GLsizei
+ @Check(value = "1", canBeNull = true) IntBuffer count,
+ @GLuint IntBuffer shaders);
/**
* Returns the location of the uniform with the specified name. The ByteBuffer should contain the uniform name as a
@@ -225,29 +225,24 @@ public interface GL20 {
int glGetUniformLocation(@GLuint int program, @NullTerminated @Check("1") @Const @GLchar ByteBuffer name);
void glGetActiveUniform(@GLuint int program, @GLuint int index, @AutoSize("name") @GLsizei int maxLength,
- @Check(value="1", canBeNull=true)
- @GLsizei
- IntBuffer length,
- @Check
- @GLsizei
- IntBuffer size,
- @Check
- @GLenum
- IntBuffer type,
- @GLchar
- ByteBuffer name);
+ @Check(value = "1", canBeNull = true)
+ @GLsizei IntBuffer length,
+ @Check
+ @GLsizei IntBuffer size,
+ @Check
+ @GLenum IntBuffer type,
+ @GLchar ByteBuffer name);
@StripPostfix("params")
void glGetUniformfv(@GLuint int program, int location, @Check FloatBuffer params);
+
@StripPostfix("params")
void glGetUniformiv(@GLuint int program, int location, @Check IntBuffer params);
void glGetShaderSource(@GLuint int shader, @AutoSize("source") @GLsizei int maxLength,
- @Check(value="1", canBeNull=true)
- @GLsizei
- IntBuffer length,
- @GLchar
- ByteBuffer source);
+ @Check(value = "1", canBeNull = true)
+ @GLsizei IntBuffer length,
+ @GLchar ByteBuffer source);
// ------------------------------------------------------------------
// ----------------------[ ARB_vertex_program ]----------------------
@@ -256,7 +251,7 @@ public interface GL20 {
void glVertexAttrib1s(@GLuint int index, short x);
void glVertexAttrib1f(@GLuint int index, float x);
-
+
void glVertexAttrib1d(@GLuint int index, double x);
void glVertexAttrib2s(@GLuint int index, short x, short y);
@@ -274,33 +269,35 @@ public interface GL20 {
void glVertexAttrib4s(@GLuint int index, short x, short y, short z, short w);
void glVertexAttrib4f(@GLuint int index, float x, float y, float z, float w);
-
+
void glVertexAttrib4d(@GLuint int index, double x, double y, double z, double w);
void glVertexAttrib4Nub(@GLuint int index, @GLubyte byte x, @GLubyte byte y, @GLubyte byte z, @GLubyte byte w);
void glVertexAttribPointer(@GLuint int index, int size, @AutoType("buffer") @GLenum int type, boolean normalized, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLubyte
- @GLbyte
- @GLshort
- @GLushort
- @GLint
- @GLuint
- @GLfloat
- @GLdouble
- Buffer buffer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLubyte
+ @GLbyte
+ @GLshort
+ @GLushort
+ @GLint
+ @GLuint
+ @GLfloat
+ @GLdouble Buffer buffer);
void glEnableVertexAttribArray(@GLuint int index);
+
void glDisableVertexAttribArray(@GLuint int index);
@StripPostfix("params")
void glGetVertexAttribfv(@GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetVertexAttribdv(@GLuint int index, @GLenum int pname, @Check("4") DoubleBuffer params);
+
@StripPostfix("params")
void glGetVertexAttribiv(@GLuint int index, @GLenum int pname, @Check("4") IntBuffer params);
@@ -311,16 +308,16 @@ public interface GL20 {
// ----------------------[ ARB_vertex_shader ]----------------------
// -----------------------------------------------------------------
- /*
- * Accepted by the argument of CreateShader and
- * returned by the parameter of GetShader{if}v:
- */
+ /**
+ * Accepted by the <shaderType> argument of CreateShader and
+ * returned by the <params> parameter of GetShader{if}v:
+ */
int GL_VERTEX_SHADER = 0x8B31;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
- * GetFloatv, and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
int GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A;
int GL_MAX_VARYING_FLOATS = 0x8B4B;
int GL_MAX_VERTEX_ATTRIBS = 0x8869;
@@ -329,17 +326,17 @@ public interface GL20 {
int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
int GL_MAX_TEXTURE_COORDS = 0x8871;
- /*
- * Accepted by the parameter of Disable, Enable, and IsEnabled, and
- * by the parameter of GetBooleanv, GetIntegerv, GetFloatv, and
- * GetDoublev:
- */
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and
+ * by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev:
+ */
int GL_VERTEX_PROGRAM_POINT_SIZE = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643;
- /*
- * Accepted by the parameter of GetVertexAttrib{dfi}vARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttrib{dfi}vARB:
+ */
int GL_VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
@@ -347,25 +344,21 @@ public interface GL20 {
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB = 0x8626;
- /*
- * Accepted by the parameter of GetVertexAttribPointervARB:
- */
+ /**
+ * Accepted by the <pname> parameter of GetVertexAttribPointervARB:
+ */
int GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
void glBindAttribLocation(@GLuint int program, @GLuint int index, @NullTerminated @Const @GLchar ByteBuffer name);
void glGetActiveAttrib(@GLuint int program, @GLuint int index, @AutoSize("name") @GLsizei int maxLength,
- @Check(value="1", canBeNull=true)
- @GLsizei
- IntBuffer length,
- @Check("1")
- IntBuffer size,
- @Check("1")
- @GLenum
- IntBuffer type,
- @Const
- @GLchar
- ByteBuffer name);
+ @Check(value = "1", canBeNull = true)
+ @GLsizei IntBuffer length,
+ @Check("1") IntBuffer size,
+ @Check("1")
+ @GLenum IntBuffer type,
+ @Const
+ @GLchar ByteBuffer name);
int glGetAttribLocation(@GLuint int program, @NullTerminated @Const @GLchar ByteBuffer name);
@@ -373,32 +366,32 @@ public interface GL20 {
// ----------------------[ ARB_fragment_shader ]----------------------
// -------------------------------------------------------------------
- /*
- * Accepted by the argument of CreateShader and
- * returned by the parameter of GetShader{fi}vARB:
- */
+ /**
+ * Accepted by the <shaderType> argument of CreateShader and
+ * returned by the <params> parameter of GetShader{fi}vARB:
+ */
int GL_FRAGMENT_SHADER = 0x8B30;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
- * GetFloatv, and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49;
- /*
- * Accepted by the parameter of Hint and the parameter of
- * GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
- */
+ /**
+ * Accepted by the <target> parameter of Hint and the <pname> parameter of
+ * GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
+ */
int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B;
// ----------------------------------------------------------------
// ----------------------[ ARB_draw_buffers ]----------------------
// ----------------------------------------------------------------
- /*
- * Accepted by the parameters of GetIntegerv, GetFloatv,
- * and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
int GL_MAX_DRAW_BUFFERS = 0x8824;
int GL_DRAW_BUFFER0 = 0x8825;
int GL_DRAW_BUFFER1 = 0x8826;
@@ -423,30 +416,30 @@ public interface GL20 {
// ----------------------[ ARB_point_sprite ]----------------------
// ----------------------------------------------------------------
- /*
- * Accepted by the parameter of Enable, Disable, and IsEnabled, by
- * the parameter of GetBooleanv, GetIntegerv, GetFloatv, and
- * GetDoublev, and by the parameter of TexEnvi, TexEnviv,
- * TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
- */
+ /**
+ * Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev, and by the <target> parameter of TexEnvi, TexEnviv,
+ * TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
+ */
int GL_POINT_SPRITE = 0x8861;
- /*
- * When the parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
- * GetTexEnvfv, or GetTexEnviv is POINT_SPRITE, then the value of
- * may be:
- */
+ /**
+ * When the <target> parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
+ * GetTexEnvfv, or GetTexEnviv is POINT_SPRITE, then the value of
+ * <pname> may be:
+ */
int GL_COORD_REPLACE = 0x8862;
- /*
- * Accepted by the parameter of PointParameter{if}vARB, and the
- * of Get:
- */
+ /**
+ * Accepted by the <pname> parameter of PointParameter{if}vARB, and the
+ * <pname> of Get:
+ */
int GL_POINT_SPRITE_COORD_ORIGIN = 0x8CA0;
- /*
- * Accepted by the parameter of PointParameter{if}vARB:
- */
+ /**
+ * Accepted by the <param> parameter of PointParameter{if}vARB:
+ */
int GL_LOWER_LEFT = 0x8CA1;
int GL_UPPER_LEFT = 0x8CA2;
diff --git a/src/templates/org/lwjgl/opengl/HP_occlusion_test.java b/src/templates/org/lwjgl/opengl/HP_occlusion_test.java
index 5ed65d73..4e0bb7b0 100644
--- a/src/templates/org/lwjgl/opengl/HP_occlusion_test.java
+++ b/src/templates/org/lwjgl/opengl/HP_occlusion_test.java
@@ -33,16 +33,16 @@ package org.lwjgl.opengl;
public interface HP_occlusion_test {
- /**
- * Accepted by the parameter of Enable, Disable, and IsEnabled, by
- * the of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev :
- */
+ /**
+ * Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
+ * the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev :
+ */
int GL_OCCLUSION_TEST_HP = 0x8165;
- /**
- * Accepted by the of GetBooleanv, GetIntegerv, GetFloatv, and
- * GetDoublev :
- */
+ /**
+ * Accepted by the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev :
+ */
int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
}
diff --git a/src/templates/org/lwjgl/opengl/IBM_rasterpos_clip.java b/src/templates/org/lwjgl/opengl/IBM_rasterpos_clip.java
index a9f1b7cf..a9a6d46c 100644
--- a/src/templates/org/lwjgl/opengl/IBM_rasterpos_clip.java
+++ b/src/templates/org/lwjgl/opengl/IBM_rasterpos_clip.java
@@ -33,10 +33,10 @@ package org.lwjgl.opengl;
public interface IBM_rasterpos_clip {
- /**
- * Accepted by the parameter of Enable and Disable and the
- * parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
- */
+ /**
+ * Accepted by the <target> parameter of Enable and Disable and the <value>
+ * parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
+ */
int GL_RASTER_POSITION_UNCLIPPED_IBM = 103010;
}
diff --git a/src/templates/org/lwjgl/opengl/NV_evaluators.java b/src/templates/org/lwjgl/opengl/NV_evaluators.java
index 551cb079..9592dafa 100644
--- a/src/templates/org/lwjgl/opengl/NV_evaluators.java
+++ b/src/templates/org/lwjgl/opengl/NV_evaluators.java
@@ -31,12 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_evaluators {
int GL_EVAL_2D_NV = 0x86C0;
int GL_EVAL_TRIANGULAR_2D_NV = 0x86C1;
@@ -64,25 +62,27 @@ public interface NV_evaluators {
int GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7;
void glGetMapControlPointsNV(@GLenum int target, @GLuint int index, @GLenum int type, @GLsizei int ustride, @GLsizei int vstride, boolean packed,
- @Check
- @Const
- @GLfloat
- Buffer pPoints);
+ @Check
+ @Const
+ @GLfloat Buffer pPoints);
void glMapControlPointsNV(@GLenum int target, @GLuint int index, @GLenum int type, @GLsizei int ustride, @GLsizei int vstride, int uorder, int vorder, boolean packed, @Check @Const @GLfloat Buffer pPoints);
@StripPostfix("params")
void glMapParameterfvNV(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
+
@StripPostfix("params")
void glMapParameterivNV(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
@StripPostfix("params")
void glGetMapParameterfvNV(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
+
@StripPostfix("params")
void glGetMapParameterivNV(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
@StripPostfix("params")
void glGetMapAttribParameterfvNV(@GLenum int target, @GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetMapAttribParameterivNV(@GLenum int target, @GLuint int index, @GLenum int pname, @Check("4") IntBuffer params);
diff --git a/src/templates/org/lwjgl/opengl/NV_fence.java b/src/templates/org/lwjgl/opengl/NV_fence.java
index 88a9d716..7825984f 100644
--- a/src/templates/org/lwjgl/opengl/NV_fence.java
+++ b/src/templates/org/lwjgl/opengl/NV_fence.java
@@ -31,16 +31,17 @@
*/
package org.lwjgl.opengl;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_fence {
int GL_ALL_COMPLETED_NV = 0x84F2;
int GL_FENCE_STATUS_NV = 0x84F3;
int GL_FENCE_CONDITION_NV = 0x84F4;
void glGenFencesNV(@AutoSize("piFences") @GLsizei int n, @GLuint IntBuffer piFences);
+
void glDeleteFencesNV(@AutoSize("piFences") @GLsizei int n, @Const @GLuint IntBuffer piFences);
void glSetFenceNV(@GLuint int fence, @GLenum int condition);
diff --git a/src/templates/org/lwjgl/opengl/NV_float_buffer.java b/src/templates/org/lwjgl/opengl/NV_float_buffer.java
index dab8e929..a0f523de 100644
--- a/src/templates/org/lwjgl/opengl/NV_float_buffer.java
+++ b/src/templates/org/lwjgl/opengl/NV_float_buffer.java
@@ -32,10 +32,11 @@
package org.lwjgl.opengl;
public interface NV_float_buffer {
- /*
- * Accepted by the parameter of TexImage2D and
+
+ /**
+ * Accepted by the <internalformat> parameter of TexImage2D and
* CopyTexImage2D:
- */
+ */
int GL_FLOAT_R_NV = 0x8880;
int GL_FLOAT_RG_NV = 0x8881;
int GL_FLOAT_RGB_NV = 0x8882;
@@ -49,42 +50,42 @@ public interface NV_float_buffer {
int GL_FLOAT_RGBA16_NV = 0x888A;
int GL_FLOAT_RGBA32_NV = 0x888B;
- /*
- * Accepted by the parameter of GetTexLevelParameterfv and
- * GetTexLevelParameteriv:
- */
+ /**
+ * Accepted by the <pname> parameter of GetTexLevelParameterfv and
+ * GetTexLevelParameteriv:
+ */
int GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888C;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv, GetFloatv,
- * and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ * and GetDoublev:
+ */
int GL_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D;
int GL_FLOAT_RGBA_MODE_NV = 0x888E;
+ /**
+ * Accepted in the <piAttributes> array of wglGetPixelFormatAttribivARB and
+ * wglGetPixelFormatAttribfvARB and in the <piAttribIList> and
+ * <pfAttribFList> arrays of wglChoosePixelFormatARB:
+ */
/*
- * Accepted in the array of wglGetPixelFormatAttribivARB and
- * wglGetPixelFormatAttribfvARB and in the and
- * arrays of wglChoosePixelFormatARB:
- */
- /*
- int WGL_FLOAT_COMPONENTS_NV = 0x20B0;
- int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
- int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2;
- int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3;
- int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4;
- */
+ int WGL_FLOAT_COMPONENTS_NV = 0x20B0;
+ int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
+ int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2;
+ int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3;
+ int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4;
+ */
+ /**
+ * Accepted in the <piAttribIList> array of wglCreatePbufferARB and returned
+ * in the <value> parameter of wglQueryPbufferARB when <iAttribute> is
+ * WGL_TEXTURE_FORMAT_ARB:
+ */
/*
- * Accepted in the array of wglCreatePbufferARB and returned
- * in the parameter of wglQueryPbufferARB when is
- * WGL_TEXTURE_FORMAT_ARB:
- */
- /*
- int WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
- int WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
- int WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
- int WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
- */
+ int WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
+ int WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
+ int WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
+ int WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
+ */
}
diff --git a/src/templates/org/lwjgl/opengl/NV_fragment_program.java b/src/templates/org/lwjgl/opengl/NV_fragment_program.java
index 8f7689de..30644a49 100644
--- a/src/templates/org/lwjgl/opengl/NV_fragment_program.java
+++ b/src/templates/org/lwjgl/opengl/NV_fragment_program.java
@@ -31,25 +31,24 @@
*/
package org.lwjgl.opengl;
-import java.nio.ByteBuffer;
-import java.nio.FloatBuffer;
-import java.nio.DoubleBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_fragment_program extends NV_program {
- /*
- * Accepted by the parameter of Disable, Enable, and IsEnabled, by the
- * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
- * and by the parameter of BindProgramNV, LoadProgramNV,
+
+ /**
+ * Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
+ * <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
+ * and by the <target> parameter of BindProgramNV, LoadProgramNV,
* ProgramLocalParameter4dARB, ProgramLocalParameter4dvARB,
* ProgramLocalParameter4fARB, ProgramLocalParameter4fvARB,
* GetProgramLocalParameterdvARB, and GetProgramLocalParameterfvARB:
*/
int GL_FRAGMENT_PROGRAM_NV = 0x8870;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev:
*/
int GL_MAX_TEXTURE_COORDS_NV = 0x8871;
@@ -63,7 +62,7 @@ public interface NV_fragment_program extends NV_program {
@StripPostfix("params")
void glGetProgramNamedParameterfvNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, @Check("4") FloatBuffer params);
-
+
@StripPostfix("params")
void glGetProgramNamedParameterdvNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, @Check("4") DoubleBuffer params);
}
diff --git a/src/templates/org/lwjgl/opengl/NV_fragment_program2.java b/src/templates/org/lwjgl/opengl/NV_fragment_program2.java
index 790ea333..12e7e4ba 100644
--- a/src/templates/org/lwjgl/opengl/NV_fragment_program2.java
+++ b/src/templates/org/lwjgl/opengl/NV_fragment_program2.java
@@ -32,9 +32,10 @@
package org.lwjgl.opengl;
public interface NV_fragment_program2 {
- /*
- * Accepted by the parameter of GetProgramivARB:
- */
+
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6;
diff --git a/src/templates/org/lwjgl/opengl/NV_half_float.java b/src/templates/org/lwjgl/opengl/NV_half_float.java
index 72537474..8fc8b297 100644
--- a/src/templates/org/lwjgl/opengl/NV_half_float.java
+++ b/src/templates/org/lwjgl/opengl/NV_half_float.java
@@ -31,18 +31,19 @@
*/
package org.lwjgl.opengl;
-import java.nio.ShortBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_half_float {
- /*
- * Accepted by the argument of VertexPointer, NormalPointer,
+
+ /**
+ * Accepted by the <type> argument of VertexPointer, NormalPointer,
* ColorPointer, TexCoordPointer, FogCoordPointerEXT,
* SecondaryColorPointerEXT, VertexWeightPointerEXT, VertexAttribPointerNV,
* DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D,
* TexSubImage2D, TexSubImage3D, and GetTexImage:
- */
+ */
int GL_HALF_FLOAT_NV = 0x140B;
void glVertex2hNV(@GLhalf short x, @GLhalf short y);
@@ -87,10 +88,13 @@ public interface NV_half_float {
@StripPostfix("attribs")
void glVertexAttribs1hvNV(@GLuint int index, @AutoSize("attribs") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
+
@StripPostfix("attribs")
- void glVertexAttribs2hvNV(@GLuint int index, @AutoSize(value="attribs", expression=" >> 1") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
+ void glVertexAttribs2hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " >> 1") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
+
@StripPostfix("attribs")
- void glVertexAttribs3hvNV(@GLuint int index, @AutoSize(value="attribs", expression=" / 3") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
+ void glVertexAttribs3hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " / 3") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
+
@StripPostfix("attribs")
- void glVertexAttribs4hvNV(@GLuint int index, @AutoSize(value="attribs", expression=" >> 2") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
+ void glVertexAttribs4hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " >> 2") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
}
diff --git a/src/templates/org/lwjgl/opengl/NV_multisample_filter_hint.java b/src/templates/org/lwjgl/opengl/NV_multisample_filter_hint.java
index 3c3d6f5b..84167d97 100644
--- a/src/templates/org/lwjgl/opengl/NV_multisample_filter_hint.java
+++ b/src/templates/org/lwjgl/opengl/NV_multisample_filter_hint.java
@@ -32,9 +32,10 @@
package org.lwjgl.opengl;
public interface NV_multisample_filter_hint {
- /*
- * Accepted by the parameter of Hint and by the
+
+ /**
+ * Accepted by the <target> parameter of Hint and by the <pname>
* parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
- */
+ */
int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
}
diff --git a/src/templates/org/lwjgl/opengl/NV_occlusion_query.java b/src/templates/org/lwjgl/opengl/NV_occlusion_query.java
index 45ff1821..b56b6a90 100644
--- a/src/templates/org/lwjgl/opengl/NV_occlusion_query.java
+++ b/src/templates/org/lwjgl/opengl/NV_occlusion_query.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_occlusion_query {
int GL_OCCLUSION_TEST_HP = 0x8165;
int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
@@ -45,6 +45,7 @@ public interface NV_occlusion_query {
int GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867;
void glGenOcclusionQueriesNV(@AutoSize("piIDs") @GLsizei int n, @GLuint IntBuffer piIDs);
+
void glDeleteOcclusionQueriesNV(@AutoSize("piIDs") @GLsizei int n, @Const @GLuint IntBuffer piIDs);
boolean glIsOcclusionQueryNV(@GLuint int id);
@@ -55,6 +56,7 @@ public interface NV_occlusion_query {
@StripPostfix("params")
void glGetOcclusionQueryuivNV(@GLuint int id, @GLenum int pname, @Check("4") @GLuint IntBuffer params);
+
@StripPostfix("params")
void glGetOcclusionQueryivNV(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params);
}
diff --git a/src/templates/org/lwjgl/opengl/NV_pixel_data_range.java b/src/templates/org/lwjgl/opengl/NV_pixel_data_range.java
index a0ffa9c4..482e2772 100644
--- a/src/templates/org/lwjgl/opengl/NV_pixel_data_range.java
+++ b/src/templates/org/lwjgl/opengl/NV_pixel_data_range.java
@@ -31,39 +31,39 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_pixel_data_range {
- /*
- * Accepted by the parameter of PixelDataRangeNV and
- * FlushPixelDataRangeNV, and by the parameter of
- * EnableClientState, DisableClientState, and IsEnabled:
- */
+
+ /**
+ * Accepted by the <target> parameter of PixelDataRangeNV and
+ * FlushPixelDataRangeNV, and by the <cap> parameter of
+ * EnableClientState, DisableClientState, and IsEnabled:
+ */
int GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878;
int GL_READ_PIXEL_DATA_RANGE_NV = 0x8879;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
- * GetFloatv, and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
int GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A;
int GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B;
- /*
- * Accepted by the parameter of GetPointerv:
- */
+ /**
+ * Accepted by the <pname> parameter of GetPointerv:
+ */
int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C;
int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D;
void glPixelDataRangeNV(@GLenum int target, @AutoSize("data") @GLsizei int length,
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer data);
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer data);
void glFlushPixelDataRangeNV(@GLenum int target);
}
diff --git a/src/templates/org/lwjgl/opengl/NV_point_sprite.java b/src/templates/org/lwjgl/opengl/NV_point_sprite.java
index d5953108..e91ccda3 100644
--- a/src/templates/org/lwjgl/opengl/NV_point_sprite.java
+++ b/src/templates/org/lwjgl/opengl/NV_point_sprite.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_point_sprite {
int GL_POINT_SPRITE_NV = 0x8861;
int GL_COORD_REPLACE_NV = 0x8862;
diff --git a/src/templates/org/lwjgl/opengl/NV_primitive_restart.java b/src/templates/org/lwjgl/opengl/NV_primitive_restart.java
index eeb1e744..094f29c8 100644
--- a/src/templates/org/lwjgl/opengl/NV_primitive_restart.java
+++ b/src/templates/org/lwjgl/opengl/NV_primitive_restart.java
@@ -34,18 +34,19 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface NV_primitive_restart {
- /*
- * Accepted by the parameter of EnableClientState and
- * DisableClientState, by the parameter of IsEnabled, and by
- * the parameter of GetBooleanv, GetIntegerv, GetFloatv, and
- * GetDoublev:
- */
+
+ /**
+ * Accepted by the <array> parameter of EnableClientState and
+ * DisableClientState, by the <cap> parameter of IsEnabled, and by
+ * the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ * GetDoublev:
+ */
int GL_PRIMITIVE_RESTART_NV = 0x8558;
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
- * GetFloatv, and GetDoublev:
- */
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ * GetFloatv, and GetDoublev:
+ */
int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
void glPrimitiveRestartNV();
diff --git a/src/templates/org/lwjgl/opengl/NV_program.java b/src/templates/org/lwjgl/opengl/NV_program.java
index 1cb5627d..ea2e67b9 100644
--- a/src/templates/org/lwjgl/opengl/NV_program.java
+++ b/src/templates/org/lwjgl/opengl/NV_program.java
@@ -31,34 +31,33 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.ByteBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
-@Extension(postfix="NV", isFinal=false)
+import java.nio.*;
+
+@Extension(postfix = "NV", isFinal = false)
public interface NV_program {
- /*
- Accepted by the parameter of GetProgramivNV:
+
+ /**
+ Accepted by the <pname> parameter of GetProgramivNV:
*/
int GL_PROGRAM_TARGET_NV = 0x8646;
int GL_PROGRAM_LENGTH_NV = 0x8627;
int GL_PROGRAM_RESIDENT_NV = 0x8647;
- /*
- Accepted by the parameter of GetProgramStringNV:
+ /**
+ Accepted by the <pname> parameter of GetProgramStringNV:
*/
int GL_PROGRAM_STRING_NV = 0x8628;
- /*
- Accepted by the parameter of GetBooleanv, GetIntegerv,
- GetFloatv, and GetDoublev:
+ /**
+ Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ GetFloatv, and GetDoublev:
*/
int GL_PROGRAM_ERROR_POSITION_NV = 0x864B;
- /*
- Accepted by the parameter of GetString:
+ /**
+ Accepted by the <name> parameter of GetString:
*/
int GL_PROGRAM_ERROR_STRING_NV = 0x8874;
@@ -67,6 +66,7 @@ public interface NV_program {
void glBindProgramNV(@GLenum int target, @GLuint int programID);
void glDeleteProgramsNV(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs);
+
void glGenProgramsNV(@AutoSize("programs") @GLsizei int n, @GLuint IntBuffer programs);
@StripPostfix("params")
@@ -76,15 +76,13 @@ public interface NV_program {
boolean glIsProgramNV(@GLuint int programID);
- @Code( " if (programIDs.remaining() != programResidences.remaining())\n" +
- " throw new IllegalArgumentException(\"programIDs.remaining() != programResidences.remaining()\");")
+ @Code(" if (programIDs.remaining() != programResidences.remaining())\n" +
+ " throw new IllegalArgumentException(\"programIDs.remaining() != programResidences.remaining()\");")
boolean glAreProgramsResidentNV(@AutoSize("programIDs") @GLsizei int n,
- @Const
- @GLuint
- IntBuffer programIDs,
- @Check
- @GLboolean
- ByteBuffer programResidences);
+ @Const
+ @GLuint IntBuffer programIDs,
+ @Check
+ @GLboolean ByteBuffer programResidences);
void glRequestResidentProgramsNV(@AutoSize("programIDs") @GLsizei int n, @GLuint IntBuffer programIDs);
}
diff --git a/src/templates/org/lwjgl/opengl/NV_register_combiners.java b/src/templates/org/lwjgl/opengl/NV_register_combiners.java
index 8248b3ba..745bfa79 100644
--- a/src/templates/org/lwjgl/opengl/NV_register_combiners.java
+++ b/src/templates/org/lwjgl/opengl/NV_register_combiners.java
@@ -31,11 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.FloatBuffer;
-import java.nio.IntBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_register_combiners {
int GL_REGISTER_COMBINERS_NV = 0x8522;
int GL_COMBINER0_NV = 0x8550;
@@ -107,16 +106,19 @@ public interface NV_register_combiners {
@StripPostfix("params")
void glGetCombinerInputParameterfvNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetCombinerInputParameterivNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
void glGetCombinerOutputParameterfvNV(@GLenum int stage, @GLenum int portion, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetCombinerOutputParameterivNV(@GLenum int stage, @GLenum int portion, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
void glGetFinalCombinerInputParameterfvNV(@GLenum int variable, @GLenum int pname, @Check("4") FloatBuffer params);
+
@StripPostfix("params")
void glGetFinalCombinerInputParameterivNV(@GLenum int variable, @GLenum int pname, @Check("4") IntBuffer params);
}
diff --git a/src/templates/org/lwjgl/opengl/NV_register_combiners2.java b/src/templates/org/lwjgl/opengl/NV_register_combiners2.java
index 937c51cd..744b1a78 100644
--- a/src/templates/org/lwjgl/opengl/NV_register_combiners2.java
+++ b/src/templates/org/lwjgl/opengl/NV_register_combiners2.java
@@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.FloatBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_register_combiners2 {
int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
diff --git a/src/templates/org/lwjgl/opengl/NV_texture_compression_vtc.java b/src/templates/org/lwjgl/opengl/NV_texture_compression_vtc.java
index dffe536d..91c58694 100644
--- a/src/templates/org/lwjgl/opengl/NV_texture_compression_vtc.java
+++ b/src/templates/org/lwjgl/opengl/NV_texture_compression_vtc.java
@@ -33,13 +33,14 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
-@Extension(postfix="NV", className="NVTextureCompressionVTC")
+@Extension(postfix = "NV", className = "NVTextureCompressionVTC")
public interface NV_texture_compression_vtc {
- /*
- * Accepted by the parameter of TexImage3D and
- * CompressedTexImage3DARB and the parameter of
+
+ /**
+ * Accepted by the <internalformat> parameter of TexImage3D and
+ * CompressedTexImage3DARB and the <format> parameter of
* CompressedTexSubImage2DARB:
- */
+ */
int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
diff --git a/src/templates/org/lwjgl/opengl/NV_texture_expand_normal.java b/src/templates/org/lwjgl/opengl/NV_texture_expand_normal.java
index 5d0dabd7..ba804dac 100644
--- a/src/templates/org/lwjgl/opengl/NV_texture_expand_normal.java
+++ b/src/templates/org/lwjgl/opengl/NV_texture_expand_normal.java
@@ -32,10 +32,11 @@
package org.lwjgl.opengl;
public interface NV_texture_expand_normal {
- /*
- * Accepted by the parameters of TexParameteri,
+
+ /**
+ * Accepted by the <pname> parameters of TexParameteri,
* TexParameteriv, TexParameterf, TexParameterfv, GetTexParameteri,
* and GetTexParameteriv:
- */
+ */
int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F;
}
diff --git a/src/templates/org/lwjgl/opengl/NV_vertex_array_range.java b/src/templates/org/lwjgl/opengl/NV_vertex_array_range.java
index e8f29be2..bbba60b7 100644
--- a/src/templates/org/lwjgl/opengl/NV_vertex_array_range.java
+++ b/src/templates/org/lwjgl/opengl/NV_vertex_array_range.java
@@ -31,11 +31,10 @@
*/
package org.lwjgl.opengl;
-import java.nio.Buffer;
-import java.nio.ByteBuffer;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_vertex_array_range {
int GL_VERTEX_ARRAY_RANGE_NV = 0x851D;
int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E;
@@ -44,18 +43,18 @@ public interface NV_vertex_array_range {
int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521;
void glVertexArrayRangeNV(@AutoSize("pPointer") @GLsizei int size,
- @Const
- @GLbyte
- @GLshort
- @GLint
- @GLfloat
- @GLdouble
- Buffer pPointer);
+ @Const
+ @GLbyte
+ @GLshort
+ @GLint
+ @GLfloat
+ @GLdouble Buffer pPointer);
void glFlushVertexArrayRangeNV();
@PlatformDependent({Platform.WGL, Platform.GLX})
- @GLvoid ByteBuffer glAllocateMemoryNV(@AutoResultSize int size, float readFrequency, float writeFrequency, float priority);
+ @GLvoid
+ ByteBuffer glAllocateMemoryNV(@AutoResultSize int size, float readFrequency, float writeFrequency, float priority);
@PlatformDependent({Platform.WGL, Platform.GLX})
void glFreeMemoryNV(@Check @GLbyte Buffer pointer);
diff --git a/src/templates/org/lwjgl/opengl/NV_vertex_program.java b/src/templates/org/lwjgl/opengl/NV_vertex_program.java
index 047235af..3a728380 100644
--- a/src/templates/org/lwjgl/opengl/NV_vertex_program.java
+++ b/src/templates/org/lwjgl/opengl/NV_vertex_program.java
@@ -31,78 +31,79 @@
*/
package org.lwjgl.opengl;
-import java.nio.*;
-
import org.lwjgl.util.generator.*;
+import java.nio.*;
+
public interface NV_vertex_program extends NV_program {
- /*
- Accepted by the parameter of Disable, Enable, and IsEnabled,
- and by the parameter of GetBooleanv, GetIntegerv, GetFloatv,
- and GetDoublev, and by the parameter of BindProgramNV,
- ExecuteProgramNV, GetProgramParameter[df]vNV, GetTrackMatrixivNV,
- LoadProgramNV, ProgramParameter[s]4[df][v]NV, and TrackMatrixNV:
- */
+
+ /**
+ Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
+ and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ and GetDoublev, and by the <target> parameter of BindProgramNV,
+ ExecuteProgramNV, GetProgramParameter[df]vNV, GetTrackMatrixivNV,
+ LoadProgramNV, ProgramParameter[s]4[df][v]NV, and TrackMatrixNV:
+ */
int GL_VERTEX_PROGRAM_NV = 0x8620;
- /*
- Accepted by the parameter of Disable, Enable, and IsEnabled,
- and by the parameter of GetBooleanv, GetIntegerv, GetFloatv,
- and GetDoublev:
- */
+ /**
+ Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
+ and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
+ and GetDoublev:
+ */
int GL_VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643;
- /*
- Accepted by the parameter of ExecuteProgramNV and
- LoadProgramNV:
- */
+ /**
+ Accepted by the <target> parameter of ExecuteProgramNV and
+ LoadProgramNV:
+ */
int GL_VERTEX_STATE_PROGRAM_NV = 0x8621;
- /*
- Accepted by the parameter of GetVertexAttrib[dfi]vNV:
- */
+ /**
+ Accepted by the <pname> parameter of GetVertexAttrib[dfi]vNV:
+ */
int GL_ATTRIB_ARRAY_SIZE_NV = 0x8623;
int GL_ATTRIB_ARRAY_STRIDE_NV = 0x8624;
int GL_ATTRIB_ARRAY_TYPE_NV = 0x8625;
int GL_CURRENT_ATTRIB_NV = 0x8626;
- /*
- Accepted by the parameter of GetProgramParameterfvNV
- and GetProgramParameterdvNV:
- */
+ /**
+ Accepted by the <pname> parameter of GetProgramParameterfvNV
+ and GetProgramParameterdvNV:
+ */
int GL_PROGRAM_PARAMETER_NV = 0x8644;
- /*
- Accepted by the parameter of GetVertexAttribPointervNV:
- */
+ /**
+ Accepted by the <pname> parameter of GetVertexAttribPointervNV:
+ */
int GL_ATTRIB_ARRAY_POINTER_NV = 0x8645;
- /*
- Accepted by the parameter of GetTrackMatrixivNV:
- */
+ /**
+ Accepted by the <pname> parameter of GetTrackMatrixivNV:
+ */
int GL_TRACK_MATRIX_NV = 0x8648;
int GL_TRACK_MATRIX_TRANSFORM_NV = 0x8649;
- /*
- Accepted by the parameter of GetBooleanv, GetIntegerv,
- GetFloatv, and GetDoublev:
- */
+ /**
+ Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
+ GetFloatv, and GetDoublev:
+ */
int GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E;
int GL_MAX_TRACK_MATRICES_NV = 0x862F;
int GL_CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640;
int GL_CURRENT_MATRIX_NV = 0x8641;
int GL_VERTEX_PROGRAM_BINDING_NV = 0x864A;
- /*
- Accepted by the parameter of TrackMatrixNV:
- */
+ /**
+ Accepted by the <matrix> parameter of TrackMatrixNV:
+ */
int GL_MODELVIEW_PROJECTION_NV = 0x8629;
- /*
- Accepted by the parameter of TrackMatrixNV and by the
- parameter of MatrixMode:
- */
+ /**
+ Accepted by the <matrix> parameter of TrackMatrixNV and by the
+ <mode> parameter of MatrixMode:
+ */
int GL_MATRIX0_NV = 0x8630;
int GL_MATRIX1_NV = 0x8631;
int GL_MATRIX2_NV = 0x8632;
@@ -112,20 +113,20 @@ public interface NV_vertex_program extends NV_program {
int GL_MATRIX6_NV = 0x8636;
int GL_MATRIX7_NV = 0x8637;
- /*
- Accepted by the parameter of TrackMatrixNV:
- */
+ /**
+ Accepted by the <transform> parameter of TrackMatrixNV:
+ */
int GL_IDENTITY_NV = 0x862A;
int GL_INVERSE_NV = 0x862B;
int GL_TRANSPOSE_NV = 0x862C;
int GL_INVERSE_TRANSPOSE_NV = 0x862D;
- /*
- Accepted by the parameter of EnableClientState and
- DisableClientState, by the parameter of IsEnabled, and by
- the parameter of GetBooleanv, GetIntegerv, GetFloatv, and
- GetDoublev:
- */
+ /**
+ Accepted by the <array> parameter of EnableClientState and
+ DisableClientState, by the <cap> parameter of IsEnabled, and by
+ the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
+ GetDoublev:
+ */
int GL_VERTEX_ATTRIB_ARRAY0_NV = 0x8650;
int GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651;
int GL_VERTEX_ATTRIB_ARRAY2_NV = 0x8652;
@@ -143,12 +144,12 @@ public interface NV_vertex_program extends NV_program {
int GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865E;
int GL_VERTEX_ATTRIB_ARRAY15_NV = 0x865F;
- /*
- Accepted by the parameter of GetMapdv, GetMapfv, GetMapiv,
- Map1d and Map1f and by the parameter of Enable, Disable, and
- IsEnabled, and by the parameter of GetBooleanv, GetIntegerv,
- GetFloatv, and GetDoublev:
- */
+ /**
+ Accepted by the <target> parameter of GetMapdv, GetMapfv, GetMapiv,
+ Map1d and Map1f and by the <cap> parameter of Enable, Disable, and
+ IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
+ GetFloatv, and GetDoublev:
+ */
int GL_MAP1_VERTEX_ATTRIB0_4_NV = 0x8660;
int GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661;
int GL_MAP1_VERTEX_ATTRIB2_4_NV = 0x8662;
@@ -166,12 +167,12 @@ public interface NV_vertex_program extends NV_program {
int GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866E;
int GL_MAP1_VERTEX_ATTRIB15_4_NV = 0x866F;
- /*
- Accepted by the parameter of GetMapdv, GetMapfv, GetMapiv,
- Map2d and Map2f and by the parameter of Enable, Disable, and
- IsEnabled, and by the parameter of GetBooleanv, GetIntegerv,
- GetFloatv, and GetDoublev:
- */
+ /**
+ Accepted by the <target> parameter of GetMapdv, GetMapfv, GetMapiv,
+ Map2d and Map2f and by the <cap> parameter of Enable, Disable, and
+ IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
+ GetFloatv, and GetDoublev:
+ */
int GL_MAP2_VERTEX_ATTRIB0_4_NV = 0x8670;
int GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671;
int GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672;
@@ -202,10 +203,10 @@ public interface NV_vertex_program extends NV_program {
@StripPostfix("params")
void glGetVertexAttribfvNV(@GLuint int index, @GLenum int parameterName, @Check("4") FloatBuffer params);
-
+
@StripPostfix("params")
void glGetVertexAttribdvNV(@GLuint int index, @GLenum int parameterName, @Check("4") DoubleBuffer params);
-
+
@StripPostfix("params")
void glGetVertexAttribivNV(@GLuint int index, @GLenum int parameterName, @Check("4") IntBuffer params);
@@ -213,87 +214,92 @@ public interface NV_vertex_program extends NV_program {
void glGetVertexAttribPointervNV(@GLuint int index, @GLenum int parameterName, @Result @GLvoid ByteBuffer pointer);
void glProgramParameter4fNV(@GLenum int target, @GLuint int index, float x, float y, float z, float w);
-
+
void glProgramParameter4dNV(@GLenum int target, @GLuint int index, double x, double y, double z, double w);
@StripPostfix("params")
- void glProgramParameters4fvNV(@GLenum int target, @GLuint int index, @AutoSize(value="params", expression=" >> 2") @GLuint int count,
- @Const
- FloatBuffer params);
-
+ void glProgramParameters4fvNV(@GLenum int target, @GLuint int index, @AutoSize(value = "params", expression = " >> 2") @GLuint int count,
+ @Const FloatBuffer params);
+
@StripPostfix("params")
- void glProgramParameters4dvNV(@GLenum int target, @GLuint int index, @AutoSize(value="params", expression=" >> 2") @GLuint int count,
- @Const
- DoubleBuffer params);
+ void glProgramParameters4dvNV(@GLenum int target, @GLuint int index, @AutoSize(value = "params", expression = " >> 2") @GLuint int count,
+ @Const DoubleBuffer params);
void glTrackMatrixNV(@GLenum int target, @GLuint int address, @GLenum int matrix, @GLenum int transform);
void glVertexAttribPointerNV(@GLuint int index, int size, @GLenum int type, @GLsizei int stride,
- @CachedReference
- @BufferObject(BufferKind.ArrayVBO)
- @Check
- @Const
- @GLbyte
- @GLubyte
- @GLshort
- @GLushort
- @GLint
- @GLuint
- @GLfloat
- @GLdouble
- Buffer buffer);
+ @CachedReference
+ @BufferObject(BufferKind.ArrayVBO)
+ @Check
+ @Const
+ @GLbyte
+ @GLubyte
+ @GLshort
+ @GLushort
+ @GLint
+ @GLuint
+ @GLfloat
+ @GLdouble Buffer buffer);
void glVertexAttrib1sNV(@GLuint int index, short x);
void glVertexAttrib1fNV(@GLuint int index, float x);
-
+
void glVertexAttrib1dNV(@GLuint int index, double x);
void glVertexAttrib2sNV(@GLuint int index, short x, short y);
void glVertexAttrib2fNV(@GLuint int index, float x, float y);
-
+
void glVertexAttrib2dNV(@GLuint int index, double x, double y);
void glVertexAttrib3sNV(@GLuint int index, short x, short y, short z);
void glVertexAttrib3fNV(@GLuint int index, float x, float y, float z);
-
+
void glVertexAttrib3dNV(@GLuint int index, double x, double y, double z);
void glVertexAttrib4sNV(@GLuint int index, short x, short y, short z, short w);
void glVertexAttrib4fNV(@GLuint int index, float x, float y, float z, float w);
-
+
void glVertexAttrib4dNV(@GLuint int index, double x, double y, double z, double w);
void glVertexAttrib4ubNV(@GLuint int index, @GLubyte byte x, @GLubyte byte y, @GLubyte byte z, @GLubyte byte w);
@StripPostfix("v")
void glVertexAttribs1svNV(@GLuint int index, @AutoSize("v") @GLsizei int n, @Const ShortBuffer v);
+
@StripPostfix("v")
void glVertexAttribs1fvNV(@GLuint int index, @AutoSize("v") @GLsizei int n, @Const FloatBuffer v);
+
@StripPostfix("v")
void glVertexAttribs1dvNV(@GLuint int index, @AutoSize("v") @GLsizei int n, @Const DoubleBuffer v);
@StripPostfix("v")
- void glVertexAttribs2svNV(@GLuint int index, @AutoSize(value="v", expression=" >> 1") @GLsizei int n, @Const ShortBuffer v);
- @StripPostfix("v")
- void glVertexAttribs2fvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 1") @GLsizei int n, @Const FloatBuffer v);
- @StripPostfix("v")
- void glVertexAttribs2dvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 1") @GLsizei int n, @Const DoubleBuffer v);
+ void glVertexAttribs2svNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 1") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
- void glVertexAttribs3svNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const ShortBuffer v);
- @StripPostfix("v")
- void glVertexAttribs3fvNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const FloatBuffer v);
- @StripPostfix("v")
- void glVertexAttribs3dvNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const DoubleBuffer v);
+ void glVertexAttribs2fvNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 1") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
- void glVertexAttribs4svNV(@GLuint int index, @AutoSize(value="v", expression=" >> 2") @GLsizei int n, @Const ShortBuffer v);
+ void glVertexAttribs2dvNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 1") @GLsizei int n, @Const DoubleBuffer v);
+
@StripPostfix("v")
- void glVertexAttribs4fvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 2") @GLsizei int n, @Const FloatBuffer v);
+ void glVertexAttribs3svNV(@GLuint int index, @AutoSize(value = "v", expression = " / 3") @GLsizei int n, @Const ShortBuffer v);
+
@StripPostfix("v")
- void glVertexAttribs4dvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 2") @GLsizei int n, @Const DoubleBuffer v);
+ void glVertexAttribs3fvNV(@GLuint int index, @AutoSize(value = "v", expression = " / 3") @GLsizei int n, @Const FloatBuffer v);
+
+ @StripPostfix("v")
+ void glVertexAttribs3dvNV(@GLuint int index, @AutoSize(value = "v", expression = " / 3") @GLsizei int n, @Const DoubleBuffer v);
+
+ @StripPostfix("v")
+ void glVertexAttribs4svNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 2") @GLsizei int n, @Const ShortBuffer v);
+
+ @StripPostfix("v")
+ void glVertexAttribs4fvNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 2") @GLsizei int n, @Const FloatBuffer v);
+
+ @StripPostfix("v")
+ void glVertexAttribs4dvNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 2") @GLsizei int n, @Const DoubleBuffer v);
}
diff --git a/src/templates/org/lwjgl/opengl/NV_vertex_program2_option.java b/src/templates/org/lwjgl/opengl/NV_vertex_program2_option.java
index 6b864692..9f28ffe8 100644
--- a/src/templates/org/lwjgl/opengl/NV_vertex_program2_option.java
+++ b/src/templates/org/lwjgl/opengl/NV_vertex_program2_option.java
@@ -32,9 +32,10 @@
package org.lwjgl.opengl;
public interface NV_vertex_program2_option {
- /*
- * Accepted by the parameter of GetProgramivARB:
- */
+
+ /**
+ * Accepted by the <pname> parameter of GetProgramivARB:
+ */
int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
}
diff --git a/src/templates/org/lwjgl/opengl/NV_vertex_program3.java b/src/templates/org/lwjgl/opengl/NV_vertex_program3.java
index cdc9d3ad..37f1ed1a 100644
--- a/src/templates/org/lwjgl/opengl/NV_vertex_program3.java
+++ b/src/templates/org/lwjgl/opengl/NV_vertex_program3.java
@@ -32,9 +32,10 @@
package org.lwjgl.opengl;
public interface NV_vertex_program3 {
- /*
- * Accepted by the parameter of GetBooleanv, GetIntegerv,
+
+ /**
+ * Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
- */
+ */
int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C;
}
diff --git a/src/templates/org/lwjgl/opengl/SUN_slice_accum.java b/src/templates/org/lwjgl/opengl/SUN_slice_accum.java
index 3fa135e5..25a03a78 100644
--- a/src/templates/org/lwjgl/opengl/SUN_slice_accum.java
+++ b/src/templates/org/lwjgl/opengl/SUN_slice_accum.java
@@ -33,9 +33,9 @@ package org.lwjgl.opengl;
public interface SUN_slice_accum {
- /*
- * Accepted by the parameter of Accum,
- */
- int GL_SLICE_ACCUM_SUN = 0x85CC;
+ /**
+ * Accepted by the <op> parameter of Accum,
+ */
+ int GL_SLICE_ACCUM_SUN = 0x85CC;
}