Converted comments to javadoc, code cleanup

This commit is contained in:
Ioannis Tsakpinis 2005-12-24 19:28:13 +00:00
parent 1e582060ba
commit ab7d4a797c
137 changed files with 2785 additions and 2040 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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() {

View file

@ -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;

View file

@ -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;

View file

@ -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() {

View file

@ -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() {

View file

@ -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;

View file

@ -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;

View file

@ -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() {

View file

@ -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;

View file

@ -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.
* <p/>
* 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 <b>null-terminated</b> string.
* @param programObj
* @param name
* @return
*/
public static int glGetUniformLocationARB(int programObj, ByteBuffer name) {
long function_pointer = GLContext.getCapabilities().ARB_shader_objects_glGetUniformLocationARB_pointer;

View file

@ -8,7 +8,7 @@ import java.nio.*;
public final class ARBShadingLanguage100 {
/**
* Accepted by the <name> parameter of GetString:
* Accepted by the &lt;name&gt; parameter of GetString:
*/
public static final int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8b8c;

View file

@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBTextureFloat {
/**
* Accepted by the &lt;value&gt; 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 &lt;params&gt; parameter of GetTexLevelParameter:
*/
public static final int GL_UNSIGNED_NORMALIZED_ARB = 0x8c17;
/**
* Accepted by the &lt;internalFormat&gt; 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;

View file

@ -7,12 +7,42 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBTextureRectangle {
/**
* Accepted by the &lt;cap&gt; parameter of Enable, Disable and IsEnabled;
* by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv
* and GetDoublev; and by the &lt;target&gt; parameter of BindTexture,
* GetTexParameterfv, GetTexParameteriv, TexParameterf, TexParameteri,
* TexParameterfv and TexParameteriv:
* Accepted by the &lt;target&gt; parameter of GetTexImage,
* GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D,
* CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:
*/
public static final int GL_TEXTURE_RECTANGLE_ARB = 0x84f5;
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv and GetDoublev:
*/
public static final int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84f6;
/**
* Accepted by the &lt;target&gt; parameter of GetTexLevelParameteriv,
* GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
*/
public static final int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84f7;
/**
* Accepted by the &lt;pname&gt; 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 &lt;type&gt; parameter of GetActiveUniform when the location
* &lt;index&gt; for program object &lt;program&gt; is of type sampler2DRect:
*/
public static final int GL_SAMPLER_2D_RECT_ARB = 0x8b63;
/**
* Returned by &lt;type&gt; parameter of GetActiveUniform when the location
* &lt;index&gt; for program object &lt;program&gt; is of type sampler2DRectShadow:
*/
public static final int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8b64;
private ARBTextureRectangle() {
}

View file

@ -7,8 +7,18 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBVertexBufferObject extends ARBBufferObject {
/**
* Accepted by the &lt;target&gt; 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 &lt;pname&gt; 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 &lt;pname&gt; parameter of GetVertexAttribivARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889f;
private ARBVertexBufferObject() {

View file

@ -7,21 +7,47 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBVertexProgram extends ARBProgram {
/**
* Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, by the
* &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
* and by the &lt;target&gt; 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 &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, and by
* the &lt;pname&gt; 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 &lt;pname&gt; 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 &lt;pname&gt; parameter of GetVertexAttribPointervARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
/**
* Accepted by the &lt;pname&gt; 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 &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
private ARBVertexProgram() {

View file

@ -7,7 +7,15 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ARBVertexShader {
/**
* Accepted by the &lt;shaderType&gt; argument of CreateShaderObjectARB and
* returned by the &lt;params&gt; parameter of GetObjectParameter{if}vARB:
*/
public static final int GL_VERTEX_SHADER_ARB = 0x8b31;
/**
* Accepted by the &lt;pname&gt; 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 &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, and
* by the &lt;pname&gt; 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 &lt;pname&gt; 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 &lt;pname&gt; 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 &lt;pname&gt; parameter of GetVertexAttribPointervARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
/**
* Returned by the &lt;type&gt; 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;

View file

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ATIDrawBuffers {
/**
* Accepted by the &lt;pname&gt; 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;

View file

@ -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;

View file

@ -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) {

View file

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class ATITextureFloat {
/**
* Accepted by the &lt;internalFormat&gt; 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;

View file

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTBlendEquationSeparate {
/**
* Accepted by the &lt;pname&gt; 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;

View file

@ -7,7 +7,16 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTDepthBoundsTest {
/**
* Accepted by the &lt;cap&gt; parameter of Enable, Disable, and IsEnabled,
* and by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_DEPTH_BOUNDS_TEST_EXT = 0x8890;
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_DEPTH_BOUNDS_EXT = 0x8891;
private EXTDepthBoundsTest() {

View file

@ -7,9 +7,32 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTPackedDepthStencil {
/**
* Accepted by the &lt;format&gt; parameter of DrawPixels, ReadPixels,
* TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D,
* TexSubImage3D, and GetTexImage, by the &lt;type&gt; parameter of
* CopyPixels, by the &lt;internalformat&gt; parameter of TexImage1D,
* TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and
* RenderbufferStorageEXT, and returned in the &lt;data&gt; parameter of
* GetTexLevelParameter and GetRenderbufferParameterivEXT.
*/
public static final int GL_DEPTH_STENCIL_EXT = 0x84f9;
/**
* Accepted by the &lt;type&gt; 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 &lt;internalformat&gt; parameter of TexImage1D,
* TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and
* RenderbufferStorageEXT, and returned in the &lt;data&gt; parameter of
* GetTexLevelParameter and GetRenderbufferParameterivEXT.
*/
public static final int GL_DEPTH24_STENCIL8_EXT = 0x88f0;
/**
* Accepted by the &lt;value&gt; parameter of GetTexLevelParameter.
*/
public static final int GL_TEXTURE_STENCIL_SIZE_EXT = 0x88f1;
private EXTPackedDepthStencil() {

View file

@ -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() {

View file

@ -7,8 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTPixelBufferObject extends ARBBufferObject {
/**
* Accepted by the &lt;target&gt; 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 &lt;pname&gt; 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;

View file

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTStencilClearTag {
/**
* Accepted by the &lt;pname&gt; 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);

View file

@ -7,6 +7,12 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTTextureMirrorClamp {
/**
* Accepted by the &lt;param&gt; parameter of TexParameteri and TexParameterf,
* and by the &lt;params&gt; parameter of TexParameteriv and TexParameterfv,
* when their &lt;pname&gt; 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;

View file

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class EXTTextureSRGB {
/**
* Accepted by the &lt;internalformat&gt; 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 &lt;internalformat&gt; parameter of TexImage2D,
* CopyTexImage2D, and CompressedTexImage2DARB and the &lt;format&gt; 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;

View file

@ -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 &lt;target&gt; parameter of BeginQuery, EndQuery,
* and GetQueryiv:
*/
public static final int GL_SAMPLES_PASSED = 0x8914;
/**
* Accepted by the &lt;pname&gt; parameter of GetQueryiv:
*/
public static final int GL_QUERY_COUNTER_BITS = 0x8864;
public static final int GL_CURRENT_QUERY = 0x8865;
/**
* Accepted by the &lt;pname&gt; parameter of GetQueryObjectiv and
* GetQueryObjectuiv:
*/
public static final int GL_QUERY_RESULT = 0x8866;
public static final int GL_QUERY_RESULT_AVAILABLE = 0x8867;

View file

@ -7,8 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class GL20 {
/**
* Accepted by the &lt;name&gt; parameter of GetString:
*/
public static final int GL_SHADING_LANGUAGE_VERSION = 0x8b8c;
/**
* Accepted by the &lt;pname&gt; argument of GetInteger:
*/
public static final int GL_CURRENT_PROGRAM = 0x8b8d;
/**
* Accepted by the &lt;pname&gt; 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 &lt;params&gt; parameter of GetObjectParameter{fi}vARB:
*/
public static final int GL_SHADER_OBJECT = 0x8b48;
/**
* Returned by the &lt;type&gt; 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 &lt;shaderType&gt; argument of CreateShader and
* returned by the &lt;params&gt; parameter of GetShader{if}v:
*/
public static final int GL_VERTEX_SHADER = 0x8b31;
/**
* Accepted by the &lt;pname&gt; 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 &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, and
* by the &lt;pname&gt; 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 &lt;pname&gt; 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 &lt;pname&gt; parameter of GetVertexAttribPointervARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
/**
* Accepted by the &lt;shaderType&gt; argument of CreateShader and
* returned by the &lt;params&gt; parameter of GetShader{fi}vARB:
*/
public static final int GL_FRAGMENT_SHADER = 0x8b30;
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8b49;
/**
* Accepted by the &lt;target&gt; parameter of Hint and the &lt;pname&gt; parameter of
* GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/
public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8b8b;
/**
* Accepted by the &lt;pname&gt; 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 &lt;cap&gt; parameter of Enable, Disable, and IsEnabled, by
* the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev, and by the &lt;target&gt; parameter of TexEnvi, TexEnviv,
* TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
*/
public static final int GL_POINT_SPRITE = 0x8861;
/**
* When the &lt;target&gt; parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
* GetTexEnvfv, or GetTexEnviv is POINT_SPRITE, then the value of
* &lt;pname&gt; may be:
*/
public static final int GL_COORD_REPLACE = 0x8862;
/**
* Accepted by the &lt;pname&gt; parameter of PointParameter{if}vARB, and the
* &lt;pname&gt; of Get:
*/
public static final int GL_POINT_SPRITE_COORD_ORIGIN = 0x8ca0;
/**
* Accepted by the &lt;param&gt; 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;

View file

@ -8,12 +8,12 @@ import java.nio.*;
public final class HPOcclusionTest {
/**
* Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
* the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev :
* Accepted by the &lt;cap&gt; parameter of Enable, Disable, and IsEnabled, by
* the &lt;pname&gt; of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev :
*/
public static final int GL_OCCLUSION_TEST_HP = 0x8165;
/**
* Accepted by the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and
* Accepted by the &lt;pname&gt; of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev :
*/
public static final int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;

View file

@ -8,7 +8,7 @@ import java.nio.*;
public final class IBMRasterposClip {
/**
* Accepted by the <target> parameter of Enable and Disable and the <value>
* Accepted by the &lt;target&gt; parameter of Enable and Disable and the &lt;value&gt;
* parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
*/
public static final int GL_RASTER_POSITION_UNCLIPPED_IBM = 0x19262;

View file

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVFloatBuffer {
/**
* Accepted by the &lt;internalformat&gt; 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 &lt;pname&gt; parameter of GetTexLevelParameterfv and
* GetTexLevelParameteriv:
*/
public static final int GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888c;
/**
* Accepted by the &lt;pname&gt; 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;

View file

@ -7,7 +7,19 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVFragmentProgram extends NVProgram {
/**
* Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, by the
* &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
* and by the &lt;target&gt; parameter of BindProgramNV, LoadProgramNV,
* ProgramLocalParameter4dARB, ProgramLocalParameter4dvARB,
* ProgramLocalParameter4fARB, ProgramLocalParameter4fvARB,
* GetProgramLocalParameterdvARB, and GetProgramLocalParameterfvARB:
*/
public static final int GL_FRAGMENT_PROGRAM_NV = 0x8870;
/**
* Accepted by the &lt;pname&gt; 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;

View file

@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVFragmentProgram2 {
/**
* Accepted by the &lt;pname&gt; 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;

View file

@ -7,6 +7,13 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVHalfFloat {
/**
* Accepted by the &lt;type&gt; 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() {

View file

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVMultisampleFilterHint {
/**
* Accepted by the &lt;target&gt; parameter of Hint and by the &lt;pname&gt;
* parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/
public static final int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
private NVMultisampleFilterHint() {

View file

@ -7,10 +7,22 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVPixelDataRange {
/**
* Accepted by the &lt;target&gt; parameter of PixelDataRangeNV and
* FlushPixelDataRangeNV, and by the &lt;cap&gt; 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 &lt;pname&gt; 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 &lt;pname&gt; 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;

View file

@ -7,7 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVPrimitiveRestart {
/**
* Accepted by the &lt;array&gt; parameter of EnableClientState and
* DisableClientState, by the &lt;cap&gt; parameter of IsEnabled, and by
* the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
*/
public static final int GL_PRIMITIVE_RESTART_NV = 0x8558;
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
private NVPrimitiveRestart() {

View file

@ -7,11 +7,24 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public class NVProgram {
/**
* Accepted by the &lt;pname&gt; 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 &lt;pname&gt; parameter of GetProgramStringNV:
*/
public static final int GL_PROGRAM_STRING_NV = 0x8628;
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_PROGRAM_ERROR_POSITION_NV = 0x864b;
/**
* Accepted by the &lt;name&gt; parameter of GetString:
*/
public static final int GL_PROGRAM_ERROR_STRING_NV = 0x8874;

View file

@ -7,6 +7,11 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVTextureCompressionVTC {
/**
* Accepted by the &lt;internalformat&gt; parameter of TexImage3D and
* CompressedTexImage3DARB and the &lt;format&gt; 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;

View file

@ -7,6 +7,11 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVTextureExpandNormal {
/**
* Accepted by the &lt;pname&gt; parameters of TexParameteri,
* TexParameteriv, TexParameterf, TexParameterfv, GetTexParameteri,
* and GetTexParameteriv:
*/
public static final int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888f;
private NVTextureExpandNormal() {

View file

@ -7,24 +7,64 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVVertexProgram extends NVProgram {
/**
* Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled,
* and by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev, and by the &lt;target&gt; 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 &lt;cap&gt; parameter of Disable, Enable, and IsEnabled,
* and by the &lt;pname&gt; 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 &lt;target&gt; parameter of ExecuteProgramNV and
* LoadProgramNV:
*/
public static final int GL_VERTEX_STATE_PROGRAM_NV = 0x8621;
/**
* Accepted by the &lt;pname&gt; 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 &lt;pname&gt; parameter of GetProgramParameterfvNV
* and GetProgramParameterdvNV:
*/
public static final int GL_PROGRAM_PARAMETER_NV = 0x8644;
/**
* Accepted by the &lt;pname&gt; parameter of GetVertexAttribPointervNV:
*/
public static final int GL_ATTRIB_ARRAY_POINTER_NV = 0x8645;
/**
* Accepted by the &lt;pname&gt; 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 &lt;pname&gt; 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 &lt;matrix&gt; parameter of TrackMatrixNV:
*/
public static final int GL_MODELVIEW_PROJECTION_NV = 0x8629;
/**
* Accepted by the &lt;matrix&gt; parameter of TrackMatrixNV and by the
* &lt;mode&gt; 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 &lt;transform&gt; 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 &lt;array&gt; parameter of EnableClientState and
* DisableClientState, by the &lt;cap&gt; parameter of IsEnabled, and by
* the &lt;pname&gt; 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 &lt;target&gt; parameter of GetMapdv, GetMapfv, GetMapiv,
* Map1d and Map1f and by the &lt;cap&gt; parameter of Enable, Disable, and
* IsEnabled, and by the &lt;pname&gt; 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 &lt;target&gt; parameter of GetMapdv, GetMapfv, GetMapiv,
* Map2d and Map2f and by the &lt;cap&gt; parameter of Enable, Disable, and
* IsEnabled, and by the &lt;pname&gt; 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;

View file

@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVVertexProgram2Option {
/**
* Accepted by the &lt;pname&gt; 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;

View file

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class NVVertexProgram3 {
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8b4c;
private NVVertexProgram3() {

View file

@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*;
public final class SUNSliceAccum {
/**
* Accepted by the &lt;op&gt; parameter of Accum,
*/
public static final int GL_SLICE_ACCUM_SUN = 0x85cc;
private SUNSliceAccum() {

View file

@ -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 <usage> parameter of BufferDataARB:
/**
* Accepted by the &lt;usage&gt; 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 <access> parameter of MapBufferARB:
*/
/**
* Accepted by the &lt;access&gt; parameter of MapBufferARB:
*/
int GL_READ_ONLY_ARB = 0x88B8;
int GL_WRITE_ONLY_ARB = 0x88B9;
int GL_READ_WRITE_ARB = 0x88BA;
/*
* Accepted by the <pname> parameter of GetBufferParameterivARB:
*/
/**
* Accepted by the &lt;pname&gt; 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);

View file

@ -34,40 +34,40 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface ARB_color_buffer_float {
/*
* Accepted by the <pname> parameters of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
/**
* Accepted by the &lt;pname&gt; parameters of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
int GL_RGBA_FLOAT_MODE_ARB = 0x8820;
/*
* Accepted by the <target> parameter of ClampColorARB and the <pname>
* parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
/**
* Accepted by the &lt;target&gt; parameter of ClampColorARB and the &lt;pname&gt;
* 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 <clamp> parameter of ClampColorARB.
/**
* Accepted by the &lt;clamp&gt; parameter of ClampColorARB.
*/
int GL_FIXED_ONLY_ARB = 0x891D;
/*
* Accepted as a value in the <piAttribIList> and <pfAttribFList>
/**
* Accepted as a value in the &lt;piAttribIList&gt; and &lt;pfAttribFList&gt;
* parameter arrays of wglChoosePixelFormatARB, and returned in the
* <piValues> parameter array of wglGetPixelFormatAttribivARB, and the
* <pfValues> parameter array of wglGetPixelFormatAttribfvARB:
* &lt;piValues&gt; parameter array of wglGetPixelFormatAttribivARB, and the
* &lt;pfValues&gt; parameter array of wglGetPixelFormatAttribfvARB:
*/
//int WGL_TYPE_RGBA_FLOAT_ARB = 0x21A0;
/*
* Accepted as values of the <render_type> arguments in the
/**
* Accepted as values of the &lt;render_type&gt; 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;

View file

@ -32,23 +32,24 @@
package org.lwjgl.opengl;
public interface ARB_depth_texture {
/*
* Accepted by the <internalFormat> parameter of TexImage1D, TexImage2D,
/**
* Accepted by the &lt;internalFormat&gt; 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 <pname> parameter of GetTexLevelParameterfv and
* GetTexLevelParameteriv:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetTexLevelParameterfv and
* GetTexLevelParameteriv:
*/
int GL_TEXTURE_DEPTH_SIZE_ARB = 0x884A;
/*
* Accepted by the <pname> parameter of TexParameterf, TexParameteri,
* TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv:
*/
/**
* Accepted by the &lt;pname&gt; parameter of TexParameterf, TexParameteri,
* TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv:
*/
int GL_DEPTH_TEXTURE_MODE_ARB = 0x884B;
}

View file

@ -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 <pname> parameters of GetIntegerv, GetFloatv,
/**
* Accepted by the &lt;pname&gt; parameters of GetIntegerv, GetFloatv,
* and GetDoublev:
*/
int GL_MAX_DRAW_BUFFERS_ARB = 0x8824;

View file

@ -32,18 +32,19 @@
package org.lwjgl.opengl;
public interface ARB_fragment_program extends ARB_program {
/*
* 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,
/**
* Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, by the
* &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
* and by the &lt;target&gt; 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 <pname> parameter of GetProgramivARB:
/**
* Accepted by the &lt;pname&gt; 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 <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev:
*/
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;

View file

@ -32,4 +32,5 @@
package org.lwjgl.opengl;
public interface ARB_fragment_program_shadow {
}

View file

@ -32,23 +32,24 @@
package org.lwjgl.opengl;
public interface ARB_fragment_shader {
/*
* Accepted by the <shaderType> argument of CreateShaderObjectARB and
* returned by the <params> parameter of GetObjectParameter{fi}vARB:
*/
/**
* Accepted by the &lt;shaderType&gt; argument of CreateShaderObjectARB and
* returned by the &lt;params&gt; parameter of GetObjectParameter{fi}vARB:
*/
int GL_FRAGMENT_SHADER_ARB = 0x8B30;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
/**
* Accepted by the &lt;pname&gt; 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 <target> parameter of Hint and the <pname> parameter of
/**
* Accepted by the &lt;target&gt; parameter of Hint and the &lt;pname&gt; parameter of
* GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/
*/
int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B;
}

View file

@ -32,13 +32,14 @@
package org.lwjgl.opengl;
public interface ARB_half_float_pixel {
/*
* 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:
*/
/**
* Accepted by the &lt;type&gt; 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;
}

View file

@ -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$
* <p/>
@ -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);
}

View file

@ -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);
}

View file

@ -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;

View file

@ -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);

View file

@ -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 <target> parameter of BeginQueryARB, EndQueryARB,
/**
* Accepted by the &lt;target&gt; parameter of BeginQueryARB, EndQueryARB,
* and GetQueryivARB:
*/
*/
int GL_SAMPLES_PASSED_ARB = 0x8914;
/*
* Accepted by the <pname> parameter of GetQueryivARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetQueryivARB:
*/
int GL_QUERY_COUNTER_BITS_ARB = 0x8864;
int GL_CURRENT_QUERY_ARB = 0x8865;
/*
* Accepted by the <pname> parameter of GetQueryObjectivARB and
/**
* Accepted by the &lt;pname&gt; parameter of GetQueryObjectivARB and
* GetQueryObjectuivARB:
*/
*/
int GL_QUERY_RESULT_ARB = 0x8866;
int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867;

View file

@ -32,18 +32,19 @@
package org.lwjgl.opengl;
public interface ARB_pixel_buffer_object extends ARB_buffer_object {
/*
* Accepted by the <target> parameters of BindBuffer, BufferData,
/**
* Accepted by the &lt;target&gt; 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 <pname> parameter of GetBooleanv, GetIntegerv,
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
*/
int GL_PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED;
int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF;
}

View file

@ -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);
}

View file

@ -32,18 +32,19 @@
package org.lwjgl.opengl;
public interface ARB_point_sprite {
/*
* 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,
/**
* Accepted by the &lt;cap&gt; parameter of Enable, Disable, and IsEnabled, by
* the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev, and by the &lt;target&gt; parameter of TexEnvi, TexEnviv,
* TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
*/
*/
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:
*/
/**
* When the &lt;target&gt; parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
* GetTexEnvfv, or GetTexEnviv is POINT_SPRITE_ARB, then the value of
* &lt;pname&gt; may be:
*/
int GL_COORD_REPLACE_ARB = 0x8862;
}

View file

@ -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 <format> parameter of ProgramStringARB:
*/
/**
* Accepted by the &lt;format&gt; parameter of ProgramStringARB:
*/
int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875;
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
/**
* Accepted by the &lt;pname&gt; 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 <pname> parameter of GetProgramStringARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetProgramStringARB:
*/
int GL_PROGRAM_STRING_ARB = 0x8628;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
/**
* Accepted by the &lt;pname&gt; 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 <name> parameter of GetString:
*/
/**
* Accepted by the &lt;name&gt; parameter of GetString:
*/
int GL_PROGRAM_ERROR_STRING_ARB = 0x8874;
/*
* Accepted by the <mode> parameter of MatrixMode:
*/
/**
* Accepted by the &lt;mode&gt; 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);

View file

@ -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 <pname> argument of GetHandleARB:
*/
/**
* Accepted by the &lt;pname&gt; argument of GetHandleARB:
*/
int GL_PROGRAM_OBJECT_ARB = 0x8B40;
/*
* Accepted by the <pname> parameter of GetObjectParameter{fi}vARB:
*/
/**
* Accepted by the &lt;pname&gt; 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 <params> parameter of GetObjectParameter{fi}vARB:
*/
/**
* Returned by the &lt;params&gt; parameter of GetObjectParameter{fi}vARB:
*/
int GL_SHADER_OBJECT_ARB = 0x8B48;
/*
* Returned by the <type> parameter of GetActiveUniformARB:
*/
/**
* Returned by the &lt;type&gt; 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.
* <p/>
* 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 <b>null-terminated</b> 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);
}

View file

@ -32,8 +32,9 @@
package org.lwjgl.opengl;
public interface ARB_shading_language_100 {
/**
* Accepted by the <name> parameter of GetString:
*/
* Accepted by the &lt;name&gt; parameter of GetString:
*/
int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C;
}

View file

@ -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);
}

View file

@ -32,8 +32,9 @@
package org.lwjgl.opengl;
public interface ARB_texture_float {
/*
* Accepted by the <value> parameter of GetTexLevelParameter:
/**
* Accepted by the &lt;value&gt; 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 <params> parameter of GetTexLevelParameter:
/**
* Returned by the &lt;params&gt; parameter of GetTexLevelParameter:
*/
int GL_UNSIGNED_NORMALIZED_ARB = 0x8C17;
/*
* Accepted by the <internalFormat> parameter of TexImage1D,
/**
* Accepted by the &lt;internalFormat&gt; parameter of TexImage1D,
* TexImage2D, and TexImage3D:
*/
int GL_RGBA32F_ARB = 0x8814;

View file

@ -33,46 +33,46 @@ package org.lwjgl.opengl;
public interface ARB_texture_rectangle {
/*
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:
*/
/**
Accepted by the &lt;cap&gt; parameter of Enable, Disable and IsEnabled;
by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv
and GetDoublev; and by the &lt;target&gt; parameter of BindTexture,
GetTexParameterfv, GetTexParameteriv, TexParameterf, TexParameteri,
TexParameterfv and TexParameteriv:
Accepted by the &lt;target&gt; parameter of GetTexImage,
GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D,
CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:
*/
int GL_TEXTURE_RECTANGLE_ARB = 0x84F5;
/*
Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv and GetDoublev:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
GetFloatv and GetDoublev:
*/
int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6;
/*
Accepted by the <target> parameter of GetTexLevelParameteriv,
GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
*/
/**
Accepted by the &lt;target&gt; parameter of GetTexLevelParameteriv,
GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
*/
int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7;
/*
Accepted by the <pname> parameter of GetBooleanv, GetDoublev,
GetIntegerv and GetFloatv:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetDoublev,
GetIntegerv and GetFloatv:
*/
int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8;
/*
Returned by <type> parameter of GetActiveUniform when the location
<index> for program object <program> is of type sampler2DRect:
*/
/**
Returned by &lt;type&gt; parameter of GetActiveUniform when the location
&lt;index&gt; for program object &lt;program&gt; is of type sampler2DRect:
*/
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:
*/
/**
Returned by &lt;type&gt; parameter of GetActiveUniform when the location
&lt;index&gt; for program object &lt;program&gt; is of type sampler2DRectShadow:
*/
int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64;
}

View file

@ -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);
}

View file

@ -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);
}

View file

@ -32,19 +32,20 @@
package org.lwjgl.opengl;
public interface ARB_vertex_buffer_object extends ARB_buffer_object {
/*
* Accepted by the <target> parameters of BindBufferARB, BufferDataARB,
/**
* Accepted by the &lt;target&gt; 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 <pname> parameter of GetBooleanv, GetIntegerv,
/**
* Accepted by the &lt;pname&gt; 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 <pname> parameter of GetVertexAttribivARB:
/**
* Accepted by the &lt;pname&gt; parameter of GetVertexAttribivARB:
*/
int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F;
}

View file

@ -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 <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.
*/
/**
* Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, by the
* &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
* and by the &lt;target&gt; 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 <cap> parameter of Disable, Enable, and IsEnabled, and by
* the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
*/
/**
* Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, and by
* the &lt;pname&gt; 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 <pname> parameter of GetVertexAttrib[dfi]vARB:
*/
/**
* Accepted by the &lt;pname&gt; 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 <pname> parameter of GetVertexAttribPointervARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetVertexAttribPointervARB:
*/
int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
/**
* Accepted by the &lt;pname&gt; 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 <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
/**
* Accepted by the &lt;pname&gt; 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);

View file

@ -37,16 +37,16 @@ import java.nio.*;
public interface ARB_vertex_shader {
/*
* Accepted by the <shaderType> argument of CreateShaderObjectARB and
* returned by the <params> parameter of GetObjectParameter{if}vARB:
*/
/**
* Accepted by the &lt;shaderType&gt; argument of CreateShaderObjectARB and
* returned by the &lt;params&gt; parameter of GetObjectParameter{if}vARB:
*/
int GL_VERTEX_SHADER_ARB = 0x8B31;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
/**
* Accepted by the &lt;pname&gt; 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 <cap> parameter of Disable, Enable, and IsEnabled, and
* by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
/**
* Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, and
* by the &lt;pname&gt; 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 <pname> parameter GetObjectParameter{if}vARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter GetObjectParameter{if}vARB:
*/
int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89;
int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A;
/*
* Accepted by the <pname> parameter of GetVertexAttrib{dfi}vARB:
*/
/**
* Accepted by the &lt;pname&gt; 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 <pname> parameter of GetVertexAttribPointervARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetVertexAttribPointervARB:
*/
int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
/*
* Returned by the <type> parameter of GetActiveAttribARB:
*/
/**
* Returned by the &lt;type&gt; parameter of GetActiveAttribARB:
*/
int GL_FLOAT = 0x1406;
int GL_FLOAT_VEC2_ARB = 0x8B50;
int GL_FLOAT_VEC3_ARB = 0x8B51;

View file

@ -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);

View file

@ -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 <pname> parameters of GetIntegerv, GetFloatv,
/**
* Accepted by the &lt;pname&gt; 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;

View file

@ -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);

View file

@ -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);
}

View file

@ -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);

View file

@ -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);

View file

@ -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;
}

View file

@ -32,10 +32,11 @@
package org.lwjgl.opengl;
public interface ATI_texture_float {
/*
* Accepted by the <internalFormat> parameter of TexImage1D,
/**
* Accepted by the &lt;internalFormat&gt; parameter of TexImage1D,
* TexImage2D, and TexImage3D:
*/
*/
int GL_RGBA_FLOAT32_ATI = 0x8814;
int GL_RGB_FLOAT32_ATI = 0x8815;
int GL_ALPHA_FLOAT32_ATI = 0x8816;

View file

@ -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);
}

View file

@ -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);
}

View file

@ -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);

View file

@ -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;

View file

@ -34,10 +34,11 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface EXT_blend_equation_separate {
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
*/
int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D;

View file

@ -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;

View file

@ -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

View file

@ -34,17 +34,18 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface EXT_depth_bounds_test {
/*
Accepted by the <cap> parameter of Enable, Disable, and IsEnabled,
and by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
/**
Accepted by the &lt;cap&gt; parameter of Enable, Disable, and IsEnabled,
and by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
int GL_DEPTH_BOUNDS_TEST_EXT = 0x8890;
/*
Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
int GL_DEPTH_BOUNDS_EXT = 0x8891;
void glDepthBoundsEXT(@GLclampd double zmin, @GLclampd double zmax);

View file

@ -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);
}

View file

@ -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);
}

View file

@ -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 &lt;pname&gt; parameter of GetRenderbufferParameterivEXT:
*/
* Accepted by the &lt;pname&gt; 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);

View file

@ -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);
}

View file

@ -33,9 +33,35 @@ package org.lwjgl.opengl;
public interface EXT_packed_depth_stencil {
/**
Accepted by the &lt;format&gt; parameter of DrawPixels, ReadPixels,
TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D,
TexSubImage3D, and GetTexImage, by the &lt;type&gt; parameter of
CopyPixels, by the &lt;internalformat&gt; parameter of TexImage1D,
TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and
RenderbufferStorageEXT, and returned in the &lt;data&gt; parameter of
GetTexLevelParameter and GetRenderbufferParameterivEXT.
*/
int GL_DEPTH_STENCIL_EXT = 0x84F9;
/**
Accepted by the &lt;type&gt; parameter of DrawPixels, ReadPixels,
TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D,
TexSubImage3D, and GetTexImage.
*/
int GL_UNSIGNED_INT_24_8_EXT = 0x84FA;
/**
Accepted by the &lt;internalformat&gt; parameter of TexImage1D,
TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and
RenderbufferStorageEXT, and returned in the &lt;data&gt; parameter of
GetTexLevelParameter and GetRenderbufferParameterivEXT.
*/
int GL_DEPTH24_STENCIL8_EXT = 0x88F0;
/**
Accepted by the &lt;value&gt; parameter of GetTexLevelParameter.
*/
int GL_TEXTURE_STENCIL_SIZE_EXT = 0x88F1;
}

View file

@ -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);
}

View file

@ -32,18 +32,19 @@
package org.lwjgl.opengl;
public interface EXT_pixel_buffer_object extends ARB_buffer_object {
/*
* Accepted by the <target> parameters of BindBuffer, BufferData,
* BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
* GetBufferParameteriv, and GetBufferPointerv:
*/
/**
* Accepted by the &lt;target&gt; 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 <pname> parameter of GetBooleanv, GetIntegerv,
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
*/
int PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED;
int PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF;
}

View file

@ -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;

View file

@ -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);
}

Some files were not shown because too many files have changed in this diff Show more