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

View File

@ -34,8 +34,19 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface EXT_stencil_clear_tag {
int GL_STENCIL_TAG_BITS_EXT = 0x88F2;
int GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3;
/**
Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev.
*/
int GL_STENCIL_TAG_BITS_EXT = 0x88F2;
int GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3;
/**
Controls the stencil clear tag state. stencilTagBits is a count of
the number of most-significant stencil buffer bits involved in the
stencil clear tag update.
*/
void glStencilClearTagEXT(@GLsizei int stencilTagBits, @GLuint int stencilClearTag);
}

View File

@ -33,7 +33,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
@Extension(postfix="EXT", className="EXTTextureCompressionS3TC")
@Extension(postfix = "EXT", className = "EXTTextureCompressionS3TC")
public interface EXT_texture_compression_s3tc {
int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;

View File

@ -31,7 +31,6 @@
*/
package org.lwjgl.opengl;
/** Insert the type's description here. Creation date: (22/02/00 01:26:05) */
public interface EXT_texture_env_combine {
int GL_COMBINE_EXT = 0x8570;
int GL_COMBINE_RGB_EXT = 0x8571;

View File

@ -33,7 +33,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
@Extension(postfix="EXT", className="EXTTextureLODBias")
@Extension(postfix = "EXT", className = "EXTTextureLODBias")
public interface EXT_texture_lod_bias {
int GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500;
int GL_TEXTURE_LOD_BIAS_EXT = 0x8501;

View File

@ -32,12 +32,13 @@
package org.lwjgl.opengl;
public interface EXT_texture_mirror_clamp {
/*
* Accepted by the <param> parameter of TexParameteri and TexParameterf,
* and by the <params> parameter of TexParameteriv and TexParameterfv,
* when their <pname> parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T,
/**
* 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:
*/
*/
int GL_MIRROR_CLAMP_EXT = 0x8742;
int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;

View File

@ -31,25 +31,33 @@
*/
package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface EXT_texture_sRGB {
int GL_SRGB_EXT = 0x8C40;
int GL_SRGB8_EXT = 0x8C41;
int GL_SRGB_ALPHA_EXT = 0x8C42;
int GL_SRGB8_ALPHA8_EXT = 0x8C43;
int GL_SLUMINANCE_ALPHA_EXT = 0x8C44;
int GL_SLUMINANCE8_ALPHA8_EXT = 0x8C45;
int GL_SLUMINANCE_EXT = 0x8C46;
int GL_SLUMINANCE8_EXT = 0x8C47;
int GL_COMPRESSED_SRGB_EXT = 0x8C48;
int GL_COMPRESSED_SRGB_ALPHA_EXT = 0x8C49;
int GL_COMPRESSED_SLUMINANCE_EXT = 0x8C4A;
int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B;
int GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C;
int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D;
int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E;
int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F;
/**
Accepted by the &lt;internalformat&gt; parameter of TexImage1D, TexImage2D,
TexImage3D, CopyTexImage1D, CopyTexImage2D.
*/
int GL_SRGB_EXT = 0x8C40;
int GL_SRGB8_EXT = 0x8C41;
int GL_SRGB_ALPHA_EXT = 0x8C42;
int GL_SRGB8_ALPHA8_EXT = 0x8C43;
int GL_SLUMINANCE_ALPHA_EXT = 0x8C44;
int GL_SLUMINANCE8_ALPHA8_EXT = 0x8C45;
int GL_SLUMINANCE_EXT = 0x8C46;
int GL_SLUMINANCE8_EXT = 0x8C47;
int GL_COMPRESSED_SRGB_EXT = 0x8C48;
int GL_COMPRESSED_SRGB_ALPHA_EXT = 0x8C49;
int GL_COMPRESSED_SLUMINANCE_EXT = 0x8C4A;
int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B;
/**
Accepted by the &lt;internalformat&gt; parameter of TexImage2D,
CopyTexImage2D, and CompressedTexImage2DARB and the &lt;format&gt; parameter
of CompressedTexSubImage2DARB.
*/
int GL_COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C;
int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D;
int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E;
int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F;
}

View File

@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
import java.nio.*;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_vertex_shader {
int GL_VERTEX_SHADER_EXT = 0x8780;
int GL_VERTEX_SHADER_BINDING_EXT = 0x8781;
@ -153,7 +153,8 @@ public interface EXT_vertex_shader {
void glBindVertexShaderEXT(@GLuint int id);
@GLuint int glGenVertexShadersEXT(@GLuint int range);
@GLuint
int glGenVertexShadersEXT(@GLuint int range);
void glDeleteVertexShaderEXT(@GLuint int id);
@ -171,103 +172,119 @@ public interface EXT_vertex_shader {
void glExtractComponentEXT(@GLuint int res, @GLuint int src, @GLuint int num);
@GLuint int glGenSymbolsEXT(@GLenum int dataType, @GLenum int storageType, @GLenum int range, @GLuint int components);
@GLuint
int glGenSymbolsEXT(@GLenum int dataType, @GLenum int storageType, @GLenum int range, @GLuint int components);
void glSetInvariantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
@Check("4")
@Const
@GLbyte
@GLubyte
@GLshort
@GLushort
@GLint
@GLuint
@GLfloat
@GLdouble
Buffer pAddr);
@Check("4")
@Const
@GLbyte
@GLubyte
@GLshort
@GLushort
@GLint
@GLuint
@GLfloat
@GLdouble Buffer pAddr);
void glSetLocalConstantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
@Check("4")
@Const
@GLbyte
@GLubyte
@GLshort
@GLushort
@GLint
@GLuint
@GLfloat
@GLdouble
Buffer pAddr);
@Check("4")
@Const
@GLbyte
@GLubyte
@GLshort
@GLushort
@GLint
@GLuint
@GLfloat
@GLdouble Buffer pAddr);
@StripPostfix("pAddr")
void glVariantbvEXT(@GLuint int id, @Check("4") @Const ByteBuffer pAddr);
@StripPostfix("pAddr")
void glVariantsvEXT(@GLuint int id, @Check("4") @Const ShortBuffer pAddr);
@StripPostfix("pAddr")
void glVariantivEXT(@GLuint int id, @Check("4") @Const IntBuffer pAddr);
@StripPostfix("pAddr")
void glVariantfvEXT(@GLuint int id, @Check("4") @Const FloatBuffer pAddr);
@StripPostfix("pAddr")
void glVariantdvEXT(@GLuint int id, @Check("4") @Const DoubleBuffer pAddr);
@StripPostfix("pAddr")
void glVariantubvEXT(@GLuint int id, @Check("4") @Const @GLubyte ByteBuffer pAddr);
@StripPostfix("pAddr")
void glVariantusvEXT(@GLuint int id, @Check("4") @Const @GLushort ShortBuffer pAddr);
@StripPostfix("pAddr")
void glVariantuivEXT(@GLuint int id, @Check("4") @Const @GLuint IntBuffer pAddr);
void glVariantPointerEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @GLuint int stride,
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLubyte
@GLushort
@GLuint
@GLfloat
@GLdouble
Buffer pAddr);
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLubyte
@GLushort
@GLuint
@GLfloat
@GLdouble Buffer pAddr);
void glEnableVariantClientStateEXT(@GLuint int id);
void glDisableVariantClientStateEXT(@GLuint int id);
@GLuint int glBindLightParameterEXT(@GLenum int light, @GLenum int value);
@GLuint
int glBindLightParameterEXT(@GLenum int light, @GLenum int value);
@GLuint int glBindMaterialParameterEXT(@GLenum int face, @GLenum int value);
@GLuint
int glBindMaterialParameterEXT(@GLenum int face, @GLenum int value);
@GLuint int glBindTexGenParameterEXT(@GLenum int unit, @GLenum int coord, @GLenum int value);
@GLuint
int glBindTexGenParameterEXT(@GLenum int unit, @GLenum int coord, @GLenum int value);
@GLuint int glBindTextureUnitParameterEXT(@GLenum int unit, @GLenum int value);
@GLuint
int glBindTextureUnitParameterEXT(@GLenum int unit, @GLenum int value);
@GLuint int glBindParameterEXT(@GLenum int value);
@GLuint
int glBindParameterEXT(@GLenum int value);
boolean glIsVariantEnabledEXT(@GLuint int id, @GLenum int cap);
@StripPostfix("pbData")
void glGetVariantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
@StripPostfix("pbData")
void glGetVariantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
@StripPostfix("pbData")
void glGetVariantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
@StripPostfix("pbData")
void glGetVariantPointervEXT(@GLuint int id, @GLenum int value, @Result @GLvoid ByteBuffer pbData);
@StripPostfix("pbData")
void glGetInvariantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
@StripPostfix("pbData")
void glGetInvariantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
@StripPostfix("pbData")
void glGetInvariantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
@StripPostfix("pbData")
void glGetLocalConstantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
@StripPostfix("pbData")
void glGetLocalConstantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
@StripPostfix("pbData")
void glGetLocalConstantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
}

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_vertex_weighting {
int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3;
int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502;
@ -53,10 +53,9 @@ public interface EXT_vertex_weighting {
void glVertexWeightfEXT(float weight);
void glVertexWeightPointerEXT(@GLsizei int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLfloat
Buffer pPointer);
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLfloat Buffer pPointer);
}

File diff suppressed because it is too large Load Diff

View File

@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
/**
* $Id$
* <p/>
@ -87,37 +87,34 @@ public interface GL12 {
int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
void glDrawRangeElements(@GLenum int mode, @GLuint int start, @GLuint int end, @AutoSize("indices") @GLsizei int count,
@AutoType("indices")
@GLenum
int type,
@BufferObject(BufferKind.ElementVBO)
@Const
@GLubyte
@GLushort
@GLuint
Buffer indices);
@AutoType("indices")
@GLenum int type,
@BufferObject(BufferKind.ElementVBO)
@Const
@GLubyte
@GLushort
@GLuint Buffer indices);
void glTexImage3D(@GLenum int target, int level, int internalFormat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.UnpackPBO)
@Check(value="GLChecks.calculateTexImage3DStorage(pixels, format, type, width, height, depth, border)", canBeNull=true)
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer pixels);
@BufferObject(BufferKind.UnpackPBO)
@Check(value = "GLChecks.calculateTexImage3DStorage(pixels, format, type, width, height, depth, border)", canBeNull = true)
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer pixels);
void glTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.UnpackPBO)
@Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, depth)")
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer pixels);
@BufferObject(BufferKind.UnpackPBO)
@Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, depth)")
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer pixels);
void glCopyTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, @GLsizei int width, @GLsizei int height);
}

View File

@ -31,12 +31,10 @@
*/
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.FloatBuffer;
import java.nio.DoubleBuffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
/**
* $Id$
* <p/>
@ -151,106 +149,100 @@ public interface GL13 {
void glActiveTexture(@GLenum int texture);
void glClientActiveTexture(@GLenum int texture);
void glCompressedTexImage1D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
void glCompressedTexImage2D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
void glCompressedTexImage3D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
void glCompressedTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
void glCompressedTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
void glCompressedTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
// TODO: check buffer size valid
void glGetCompressedTexImage(@GLenum int target, int lod,
@BufferObject(BufferKind.PackPBO)
@Check
@GLbyte
@GLshort
@GLint
Buffer img);
@BufferObject(BufferKind.PackPBO)
@Check
@GLbyte
@GLshort
@GLint Buffer img);
void glMultiTexCoord1f(@GLenum int target, float s);
void glMultiTexCoord1d(@GLenum int target, double s);
void glMultiTexCoord2f(@GLenum int target, float s, float t);
void glMultiTexCoord2d(@GLenum int target, double s, double t);
void glMultiTexCoord3f(@GLenum int target, float s, float t, float r);
void glMultiTexCoord3d(@GLenum int target, double s, double t, double r);
void glMultiTexCoord4f(@GLenum int target, float s, float t, float r, float q);
void glMultiTexCoord4d(@GLenum int target, double s, double t, double r, double q);
@StripPostfix("m")
void glLoadTransposeMatrixf(@Check("16") @Const FloatBuffer m);
@StripPostfix("m")
void glLoadTransposeMatrixd(@Check("16") @Const DoubleBuffer m);
@StripPostfix("m")
void glMultTransposeMatrixf(@Check("16") @Const FloatBuffer m);
@StripPostfix("m")
void glMultTransposeMatrixd(@Check("16") @Const DoubleBuffer m);

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/>
@ -91,53 +89,63 @@ public interface GL14 {
void glBlendColor(@GLclampf float red, @GLclampf float green, @GLclampf float blue, @GLclampf float alpha);
void glFogCoordf(float coord);
void glFogCoordd(double coord);
void glFogCoordPointer(@AutoType("data") @GLenum int type, @GLsizei int stride,
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLfloat
@GLdouble
Buffer data);
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLfloat
@GLdouble Buffer data);
@Code( " if (piFirst.remaining() != piCount.remaining()) {\n" +
" throw new IllegalArgumentException(\"piFirst.remaining() != piCount.remaining()\");\n" +
" }")
@Code(" if (piFirst.remaining() != piCount.remaining()) {\n" +
" throw new IllegalArgumentException(\"piFirst.remaining() != piCount.remaining()\");\n" +
" }")
void glMultiDrawArrays(@GLenum int mode, IntBuffer piFirst, @Check @GLsizei IntBuffer piCount, @AutoSize("piFirst") @GLsizei int primcount);
//void glMultiDrawElements(int mode, int piCount, int type, int pIndices, int primcount);
void glPointParameteri(@GLenum int pname, int param);
void glPointParameterf(@GLenum int pname, float param);
@StripPostfix("params")
void glPointParameteriv(@GLenum int pname, @Check("4") @Const IntBuffer params);
@StripPostfix("params")
void glPointParameterfv(@GLenum int pname, @Check("4") @Const FloatBuffer params);
void glSecondaryColor3b(byte red, byte green, byte blue);
void glSecondaryColor3f(float red, float green, float blue);
void glSecondaryColor3d(double red, double green, double blue);
void glSecondaryColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
void glSecondaryColorPointer(int size, @AutoType("data") @GLenum int type, @GLsizei int stride,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLbyte
@GLubyte
@GLfloat
@GLdouble
Buffer data);
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLbyte
@GLubyte
@GLfloat
@GLdouble Buffer data);
void glBlendFuncSeparate(@GLenum int sfactorRGB, @GLenum int dfactorRGB, @GLenum int sfactorAlpha, @GLenum int dfactorAlpha);
void glWindowPos2f(float x, float y);
void glWindowPos2d(double x, double y);
void glWindowPos2i(int x, int y);
void glWindowPos3f(float x, float y, float z);
void glWindowPos3d(double x, double y, double z);
void glWindowPos3i(int x, int y, int z);
}

View File

@ -72,41 +72,41 @@ public interface GL15 {
int GL_BUFFER_MAPPED = 0x88BC;
int GL_BUFFER_MAP_POINTER = 0x88BD;
@Code( " StateTracker.bindBuffer(target, buffer);")
@Code(" StateTracker.bindBuffer(target, buffer);")
void glBindBuffer(@GLenum int target, @GLuint int buffer);
@Code( " StateTracker.deleteBuffers(buffers);")
@Code(" StateTracker.deleteBuffers(buffers);")
void glDeleteBuffers(@AutoSize("buffers") @GLsizei int n, @Const @GLuint IntBuffer buffers);
void glGenBuffers(@AutoSize("buffers") @GLsizei int n, @GLuint IntBuffer buffers);
boolean glIsBuffer(@GLuint int buffer);
@GenerateAutos
void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr int size,
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data, @GLenum int usage);
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data, @GLenum int usage);
void glBufferSubData(@GLenum int target, @GLintptr int offset, @AutoSize("data") @GLsizeiptr int size,
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
void glGetBufferSubData(@GLenum int target, @GLintptr int offset, @AutoSize("data") @GLsizeiptr int size,
@Check
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@Check
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
/**
* glMapBuffer maps a gl vertex buffer buffer to a ByteBuffer. The oldBuffer argument can be null, in which case a new
@ -124,7 +124,8 @@ public interface GL15 {
* @return A ByteBuffer representing the mapped buffer memory.
*/
@CachedResult
@GLvoid ByteBuffer glMapBuffer(@GLenum int target, @GLenum int access);
@GLvoid
ByteBuffer glMapBuffer(@GLenum int target, @GLenum int access);
boolean glUnmapBuffer(@GLenum int target);
@ -138,30 +139,33 @@ public interface GL15 {
// ---------------------- ARB_occlusion_query ----------------------
// -----------------------------------------------------------------
/*
* Accepted by the <target> parameter of BeginQuery, EndQuery,
* and GetQueryiv:
*/
/**
* Accepted by the &lt;target&gt; parameter of BeginQuery, EndQuery,
* and GetQueryiv:
*/
int GL_SAMPLES_PASSED = 0x8914;
/*
Accepted by the <pname> parameter of GetQueryiv:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetQueryiv:
*/
int GL_QUERY_COUNTER_BITS = 0x8864;
int GL_CURRENT_QUERY = 0x8865;
/*
Accepted by the <pname> parameter of GetQueryObjectiv and
GetQueryObjectuiv:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetQueryObjectiv and
GetQueryObjectuiv:
*/
int GL_QUERY_RESULT = 0x8866;
int GL_QUERY_RESULT_AVAILABLE = 0x8867;
void glGenQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
void glDeleteQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
boolean glIsQuery(@GLuint int id);
void glBeginQuery(@GLenum int target, @GLuint int id);
void glEndQuery(@GLenum int target);
@StripPostfix("params")

View File

@ -40,23 +40,23 @@ public interface GL20 {
// ----------------------[ 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 = 0x8B8C;
// ------------------------------------------------------------------
// ----------------------[ ARB_shader_objects ]----------------------
// ------------------------------------------------------------------
/*
* Accepted by the <pname> argument of GetInteger:
*/
/**
* Accepted by the &lt;pname&gt; argument of GetInteger:
*/
int GL_CURRENT_PROGRAM = 0x8B8D;
/*
* Accepted by the <pname> parameter of GetObjectParameter{fi}vARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetObjectParameter{fi}vARB:
*/
int GL_SHADER_TYPE = 0x8B4F;
int GL_DELETE_STATUS = 0x8B80;
int GL_COMPILE_STATUS = 0x8B81;
@ -70,14 +70,14 @@ public interface GL20 {
int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A;
int GL_SHADER_SOURCE_LENGTH = 0x8B88;
/*
* Returned by the <params> parameter of GetObjectParameter{fi}vARB:
*/
/**
* Returned by the &lt;params&gt; parameter of GetObjectParameter{fi}vARB:
*/
int GL_SHADER_OBJECT = 0x8B48;
/*
* Returned by the <type> parameter of GetActiveUniformARB:
*/
/**
* Returned by the &lt;type&gt; parameter of GetActiveUniformARB:
*/
int GL_FLOAT_VEC2 = 0x8B50;
int GL_FLOAT_VEC3 = 0x8B51;
int GL_FLOAT_VEC4 = 0x8B52;
@ -107,16 +107,14 @@ public interface GL20 {
* @param string
*/
void glShaderSource(@GLuint int shader, @Constant("1") @GLsizei int count,
@Indirect
@Check
@Const
@GLchar
ByteBuffer string,
@AutoSize("string")
@Indirect
@Const
@GLint
int length);
@Indirect
@Check
@Const
@GLchar ByteBuffer string,
@AutoSize("string")
@Indirect
@Const
@GLint int length);
int glCreateShader(@GLuint int type);
@ -160,31 +158,39 @@ public interface GL20 {
@StripPostfix("values")
void glUniform1fv(int location, @AutoSize("values") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
void glUniform2fv(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, FloatBuffer values);
void glUniform2fv(int location, @AutoSize(value = "values", expression = " >> 1") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
void glUniform3fv(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, FloatBuffer values);
void glUniform3fv(int location, @AutoSize(value = "values", expression = " / 3") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
void glUniform4fv(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, FloatBuffer values);
void glUniform4fv(int location, @AutoSize(value = "values", expression = " >> 2") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
void glUniform1iv(int location, @AutoSize("values") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
void glUniform2iv(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, IntBuffer values);
void glUniform2iv(int location, @AutoSize(value = "values", expression = " >> 1") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
void glUniform3iv(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, IntBuffer values);
void glUniform3iv(int location, @AutoSize(value = "values", expression = " / 3") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
void glUniform4iv(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, IntBuffer values);
void glUniform4iv(int location, @AutoSize(value = "values", expression = " >> 2") @GLsizei int count, IntBuffer values);
@StripPostfix("matrices")
void glUniformMatrix2fv(int location, @AutoSize(value="matrices", expression=" >> 2") @GLsizei int count,
boolean transpose, FloatBuffer matrices);
void glUniformMatrix2fv(int location, @AutoSize(value = "matrices", expression = " >> 2") @GLsizei int count,
boolean transpose, FloatBuffer matrices);
@StripPostfix("matrices")
void glUniformMatrix3fv(int location, @AutoSize(value="matrices", expression=" / (3 * 3)") @GLsizei int count,
boolean transpose, FloatBuffer matrices);
void glUniformMatrix3fv(int location, @AutoSize(value = "matrices", expression = " / (3 * 3)") @GLsizei int count,
boolean transpose, FloatBuffer matrices);
@StripPostfix("matrices")
void glUniformMatrix4fv(int location, @AutoSize(value="matrices", expression=" >> 4") @GLsizei int count,
boolean transpose, FloatBuffer matrices);
void glUniformMatrix4fv(int location, @AutoSize(value = "matrices", expression = " >> 4") @GLsizei int count,
boolean transpose, FloatBuffer matrices);
@StripPostfix("params")
void glGetShaderiv(@GLuint int shader, @GLenum int pname, @Check IntBuffer params);
@ -193,25 +199,19 @@ public interface GL20 {
void glGetProgramiv(@GLuint int program, @GLenum int pname, @Check IntBuffer params);
void glGetShaderInfoLog(@GLuint int shader, @AutoSize("infoLog") @GLsizei int maxLength,
@GLsizei
@Check(value="1", canBeNull=true)
IntBuffer length,
@GLchar
ByteBuffer infoLog);
@GLsizei
@Check(value = "1", canBeNull = true) IntBuffer length,
@GLchar ByteBuffer infoLog);
void glGetProgramInfoLog(@GLuint int program, @AutoSize("infoLog") @GLsizei int maxLength,
@GLsizei
@Check(value="1", canBeNull=true)
IntBuffer length,
@GLchar
ByteBuffer infoLog);
@GLsizei
@Check(value = "1", canBeNull = true) IntBuffer length,
@GLchar ByteBuffer infoLog);
void glGetAttachedShaders(@GLuint int program, @AutoSize("shaders") @GLsizei int maxCount,
@GLsizei
@Check(value="1", canBeNull=true)
IntBuffer count,
@GLuint
IntBuffer shaders);
@GLsizei
@Check(value = "1", canBeNull = true) IntBuffer count,
@GLuint IntBuffer shaders);
/**
* Returns the location of the uniform with the specified name. The ByteBuffer should contain the uniform name as a
@ -225,29 +225,24 @@ public interface GL20 {
int glGetUniformLocation(@GLuint int program, @NullTerminated @Check("1") @Const @GLchar ByteBuffer name);
void glGetActiveUniform(@GLuint int program, @GLuint int index, @AutoSize("name") @GLsizei int maxLength,
@Check(value="1", canBeNull=true)
@GLsizei
IntBuffer length,
@Check
@GLsizei
IntBuffer size,
@Check
@GLenum
IntBuffer type,
@GLchar
ByteBuffer name);
@Check(value = "1", canBeNull = true)
@GLsizei IntBuffer length,
@Check
@GLsizei IntBuffer size,
@Check
@GLenum IntBuffer type,
@GLchar ByteBuffer name);
@StripPostfix("params")
void glGetUniformfv(@GLuint int program, int location, @Check FloatBuffer params);
@StripPostfix("params")
void glGetUniformiv(@GLuint int program, int location, @Check IntBuffer params);
void glGetShaderSource(@GLuint int shader, @AutoSize("source") @GLsizei int maxLength,
@Check(value="1", canBeNull=true)
@GLsizei
IntBuffer length,
@GLchar
ByteBuffer source);
@Check(value = "1", canBeNull = true)
@GLsizei IntBuffer length,
@GLchar ByteBuffer source);
// ------------------------------------------------------------------
// ----------------------[ ARB_vertex_program ]----------------------
@ -256,7 +251,7 @@ public interface GL20 {
void glVertexAttrib1s(@GLuint int index, short x);
void glVertexAttrib1f(@GLuint int index, float x);
void glVertexAttrib1d(@GLuint int index, double x);
void glVertexAttrib2s(@GLuint int index, short x, short y);
@ -274,33 +269,35 @@ public interface GL20 {
void glVertexAttrib4s(@GLuint int index, short x, short y, short z, short w);
void glVertexAttrib4f(@GLuint int index, float x, float y, float z, float w);
void glVertexAttrib4d(@GLuint int index, double x, double y, double z, double w);
void glVertexAttrib4Nub(@GLuint int index, @GLubyte byte x, @GLubyte byte y, @GLubyte byte z, @GLubyte byte w);
void glVertexAttribPointer(@GLuint int index, int size, @AutoType("buffer") @GLenum int type, boolean normalized, @GLsizei int stride,
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLubyte
@GLbyte
@GLshort
@GLushort
@GLint
@GLuint
@GLfloat
@GLdouble
Buffer buffer);
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLubyte
@GLbyte
@GLshort
@GLushort
@GLint
@GLuint
@GLfloat
@GLdouble Buffer buffer);
void glEnableVertexAttribArray(@GLuint int index);
void glDisableVertexAttribArray(@GLuint int index);
@StripPostfix("params")
void glGetVertexAttribfv(@GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params")
void glGetVertexAttribdv(@GLuint int index, @GLenum int pname, @Check("4") DoubleBuffer params);
@StripPostfix("params")
void glGetVertexAttribiv(@GLuint int index, @GLenum int pname, @Check("4") IntBuffer params);
@ -311,16 +308,16 @@ public interface GL20 {
// ----------------------[ ARB_vertex_shader ]----------------------
// -----------------------------------------------------------------
/*
* Accepted by the <shaderType> argument of CreateShader and
* returned by the <params> parameter of GetShader{if}v:
*/
/**
* Accepted by the &lt;shaderType&gt; argument of CreateShader and
* returned by the &lt;params&gt; parameter of GetShader{if}v:
*/
int GL_VERTEX_SHADER = 0x8B31;
/*
* 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_UNIFORM_COMPONENTS = 0x8B4A;
int GL_MAX_VARYING_FLOATS = 0x8B4B;
int GL_MAX_VERTEX_ATTRIBS = 0x8869;
@ -329,17 +326,17 @@ public interface GL20 {
int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
int GL_MAX_TEXTURE_COORDS = 0x8871;
/*
* Accepted by the <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 = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643;
/*
* 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 = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
@ -347,25 +344,21 @@ public interface GL20 {
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB = 0x8626;
/*
* Accepted by the <pname> parameter of GetVertexAttribPointervARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetVertexAttribPointervARB:
*/
int GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
void glBindAttribLocation(@GLuint int program, @GLuint int index, @NullTerminated @Const @GLchar ByteBuffer name);
void glGetActiveAttrib(@GLuint int program, @GLuint int index, @AutoSize("name") @GLsizei int maxLength,
@Check(value="1", canBeNull=true)
@GLsizei
IntBuffer length,
@Check("1")
IntBuffer size,
@Check("1")
@GLenum
IntBuffer type,
@Const
@GLchar
ByteBuffer name);
@Check(value = "1", canBeNull = true)
@GLsizei IntBuffer length,
@Check("1") IntBuffer size,
@Check("1")
@GLenum IntBuffer type,
@Const
@GLchar ByteBuffer name);
int glGetAttribLocation(@GLuint int program, @NullTerminated @Const @GLchar ByteBuffer name);
@ -373,32 +366,32 @@ public interface GL20 {
// ----------------------[ ARB_fragment_shader ]----------------------
// -------------------------------------------------------------------
/*
* Accepted by the <shaderType> argument of CreateShader and
* returned by the <params> parameter of GetShader{fi}vARB:
*/
/**
* Accepted by the &lt;shaderType&gt; argument of CreateShader and
* returned by the &lt;params&gt; parameter of GetShader{fi}vARB:
*/
int GL_FRAGMENT_SHADER = 0x8B30;
/*
* 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_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49;
/*
* Accepted by the <target> parameter of Hint and the <pname> parameter of
* GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/
/**
* 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 = 0x8B8B;
// ----------------------------------------------------------------
// ----------------------[ ARB_draw_buffers ]----------------------
// ----------------------------------------------------------------
/*
* Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
* and GetDoublev:
*/
/**
* Accepted by the &lt;pname&gt; parameters of GetIntegerv, GetFloatv,
* and GetDoublev:
*/
int GL_MAX_DRAW_BUFFERS = 0x8824;
int GL_DRAW_BUFFER0 = 0x8825;
int GL_DRAW_BUFFER1 = 0x8826;
@ -423,30 +416,30 @@ public interface GL20 {
// ----------------------[ ARB_point_sprite ]----------------------
// ----------------------------------------------------------------
/*
* Accepted by the <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:
*/
/**
* 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 = 0x8861;
/*
* When the <target> parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
* GetTexEnvfv, or GetTexEnviv is POINT_SPRITE, then the value of
* <pname> may be:
*/
/**
* 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:
*/
int GL_COORD_REPLACE = 0x8862;
/*
* Accepted by the <pname> parameter of PointParameter{if}vARB, and the
* <pname> of Get:
*/
/**
* Accepted by the &lt;pname&gt; parameter of PointParameter{if}vARB, and the
* &lt;pname&gt; of Get:
*/
int GL_POINT_SPRITE_COORD_ORIGIN = 0x8CA0;
/*
* Accepted by the <param> parameter of PointParameter{if}vARB:
*/
/**
* Accepted by the &lt;param&gt; parameter of PointParameter{if}vARB:
*/
int GL_LOWER_LEFT = 0x8CA1;
int GL_UPPER_LEFT = 0x8CA2;

View File

@ -33,16 +33,16 @@ package org.lwjgl.opengl;
public interface HP_occlusion_test {
/**
* 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 :
*/
int GL_OCCLUSION_TEST_HP = 0x8165;
/**
* Accepted by the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev :
*/
/**
* Accepted by the &lt;pname&gt; of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev :
*/
int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
}

View File

@ -33,10 +33,10 @@ package org.lwjgl.opengl;
public interface IBM_rasterpos_clip {
/**
* Accepted by the <target> parameter of Enable and Disable and the <value>
* parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
*/
/**
* Accepted by the &lt;target&gt; parameter of Enable and Disable and the &lt;value&gt;
* parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
*/
int GL_RASTER_POSITION_UNCLIPPED_IBM = 103010;
}

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 NV_evaluators {
int GL_EVAL_2D_NV = 0x86C0;
int GL_EVAL_TRIANGULAR_2D_NV = 0x86C1;
@ -64,25 +62,27 @@ public interface NV_evaluators {
int GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7;
void glGetMapControlPointsNV(@GLenum int target, @GLuint int index, @GLenum int type, @GLsizei int ustride, @GLsizei int vstride, boolean packed,
@Check
@Const
@GLfloat
Buffer pPoints);
@Check
@Const
@GLfloat Buffer pPoints);
void glMapControlPointsNV(@GLenum int target, @GLuint int index, @GLenum int type, @GLsizei int ustride, @GLsizei int vstride, int uorder, int vorder, boolean packed, @Check @Const @GLfloat Buffer pPoints);
@StripPostfix("params")
void glMapParameterfvNV(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
@StripPostfix("params")
void glMapParameterivNV(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
@StripPostfix("params")
void glGetMapParameterfvNV(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
@StripPostfix("params")
void glGetMapParameterivNV(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
@StripPostfix("params")
void glGetMapAttribParameterfvNV(@GLenum int target, @GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params")
void glGetMapAttribParameterivNV(@GLenum int target, @GLuint int index, @GLenum int pname, @Check("4") IntBuffer params);

View File

@ -31,16 +31,17 @@
*/
package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_fence {
int GL_ALL_COMPLETED_NV = 0x84F2;
int GL_FENCE_STATUS_NV = 0x84F3;
int GL_FENCE_CONDITION_NV = 0x84F4;
void glGenFencesNV(@AutoSize("piFences") @GLsizei int n, @GLuint IntBuffer piFences);
void glDeleteFencesNV(@AutoSize("piFences") @GLsizei int n, @Const @GLuint IntBuffer piFences);
void glSetFenceNV(@GLuint int fence, @GLenum int condition);

View File

@ -32,10 +32,11 @@
package org.lwjgl.opengl;
public interface NV_float_buffer {
/*
* Accepted by the <internalformat> parameter of TexImage2D and
/**
* Accepted by the &lt;internalformat&gt; parameter of TexImage2D and
* CopyTexImage2D:
*/
*/
int GL_FLOAT_R_NV = 0x8880;
int GL_FLOAT_RG_NV = 0x8881;
int GL_FLOAT_RGB_NV = 0x8882;
@ -49,42 +50,42 @@ public interface NV_float_buffer {
int GL_FLOAT_RGBA16_NV = 0x888A;
int GL_FLOAT_RGBA32_NV = 0x888B;
/*
* Accepted by the <pname> parameter of GetTexLevelParameterfv and
* GetTexLevelParameteriv:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetTexLevelParameterfv and
* GetTexLevelParameteriv:
*/
int GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888C;
/*
* 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_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D;
int GL_FLOAT_RGBA_MODE_NV = 0x888E;
/**
* Accepted in the &lt;piAttributes&gt; array of wglGetPixelFormatAttribivARB and
* wglGetPixelFormatAttribfvARB and in the &lt;piAttribIList&gt; and
* &lt;pfAttribFList&gt; arrays of wglChoosePixelFormatARB:
*/
/*
* Accepted in the <piAttributes> array of wglGetPixelFormatAttribivARB and
* wglGetPixelFormatAttribfvARB and in the <piAttribIList> and
* <pfAttribFList> arrays of wglChoosePixelFormatARB:
*/
/*
int WGL_FLOAT_COMPONENTS_NV = 0x20B0;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4;
*/
int WGL_FLOAT_COMPONENTS_NV = 0x20B0;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4;
*/
/**
* Accepted in the &lt;piAttribIList&gt; array of wglCreatePbufferARB and returned
* in the &lt;value&gt; parameter of wglQueryPbufferARB when &lt;iAttribute&gt; is
* WGL_TEXTURE_FORMAT_ARB:
*/
/*
* Accepted in the <piAttribIList> array of wglCreatePbufferARB and returned
* in the <value> parameter of wglQueryPbufferARB when <iAttribute> is
* WGL_TEXTURE_FORMAT_ARB:
*/
/*
int WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
int WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
int WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
int WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
*/
int WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
int WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
int WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
int WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
*/
}

View File

@ -31,25 +31,24 @@
*/
package org.lwjgl.opengl;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.DoubleBuffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_fragment_program extends NV_program {
/*
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
* <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
* and by the <target> parameter of BindProgramNV, LoadProgramNV,
/**
* 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:
*/
int GL_FRAGMENT_PROGRAM_NV = 0x8870;
/*
* 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_NV = 0x8871;
@ -63,7 +62,7 @@ public interface NV_fragment_program extends NV_program {
@StripPostfix("params")
void glGetProgramNamedParameterfvNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, @Check("4") FloatBuffer params);
@StripPostfix("params")
void glGetProgramNamedParameterdvNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, @Check("4") DoubleBuffer params);
}

View File

@ -32,9 +32,10 @@
package org.lwjgl.opengl;
public interface NV_fragment_program2 {
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetProgramivARB:
*/
int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6;

View File

@ -31,18 +31,19 @@
*/
package org.lwjgl.opengl;
import java.nio.ShortBuffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_half_float {
/*
* Accepted by the <type> argument of VertexPointer, NormalPointer,
/**
* 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:
*/
*/
int GL_HALF_FLOAT_NV = 0x140B;
void glVertex2hNV(@GLhalf short x, @GLhalf short y);
@ -87,10 +88,13 @@ public interface NV_half_float {
@StripPostfix("attribs")
void glVertexAttribs1hvNV(@GLuint int index, @AutoSize("attribs") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
@StripPostfix("attribs")
void glVertexAttribs2hvNV(@GLuint int index, @AutoSize(value="attribs", expression=" >> 1") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
void glVertexAttribs2hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " >> 1") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
@StripPostfix("attribs")
void glVertexAttribs3hvNV(@GLuint int index, @AutoSize(value="attribs", expression=" / 3") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
void glVertexAttribs3hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " / 3") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
@StripPostfix("attribs")
void glVertexAttribs4hvNV(@GLuint int index, @AutoSize(value="attribs", expression=" >> 2") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
void glVertexAttribs4hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " >> 2") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
}

View File

@ -32,9 +32,10 @@
package org.lwjgl.opengl;
public interface NV_multisample_filter_hint {
/*
* Accepted by the <target> parameter of Hint and by the <pname>
/**
* Accepted by the &lt;target&gt; parameter of Hint and by the &lt;pname&gt;
* parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/
*/
int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
}

View File

@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_occlusion_query {
int GL_OCCLUSION_TEST_HP = 0x8165;
int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
@ -45,6 +45,7 @@ public interface NV_occlusion_query {
int GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867;
void glGenOcclusionQueriesNV(@AutoSize("piIDs") @GLsizei int n, @GLuint IntBuffer piIDs);
void glDeleteOcclusionQueriesNV(@AutoSize("piIDs") @GLsizei int n, @Const @GLuint IntBuffer piIDs);
boolean glIsOcclusionQueryNV(@GLuint int id);
@ -55,6 +56,7 @@ public interface NV_occlusion_query {
@StripPostfix("params")
void glGetOcclusionQueryuivNV(@GLuint int id, @GLenum int pname, @Check("4") @GLuint IntBuffer params);
@StripPostfix("params")
void glGetOcclusionQueryivNV(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params);
}

View File

@ -31,39 +31,39 @@
*/
package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_pixel_data_range {
/*
* Accepted by the <target> parameter of PixelDataRangeNV and
* FlushPixelDataRangeNV, and by the <cap> parameter of
* EnableClientState, DisableClientState, and IsEnabled:
*/
/**
* Accepted by the &lt;target&gt; parameter of PixelDataRangeNV and
* FlushPixelDataRangeNV, and by the &lt;cap&gt; parameter of
* EnableClientState, DisableClientState, and IsEnabled:
*/
int GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878;
int GL_READ_PIXEL_DATA_RANGE_NV = 0x8879;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
int GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A;
int GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B;
/*
* Accepted by the <pname> parameter of GetPointerv:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetPointerv:
*/
int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C;
int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D;
void glPixelDataRangeNV(@GLenum int target, @AutoSize("data") @GLsizei int length,
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer data);
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer data);
void glFlushPixelDataRangeNV(@GLenum int target);
}

View File

@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_point_sprite {
int GL_POINT_SPRITE_NV = 0x8861;
int GL_COORD_REPLACE_NV = 0x8862;

View File

@ -34,18 +34,19 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface NV_primitive_restart {
/*
* Accepted by the <array> parameter of EnableClientState and
* DisableClientState, by the <cap> parameter of IsEnabled, and by
* the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
*/
/**
* 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:
*/
int GL_PRIMITIVE_RESTART_NV = 0x8558;
/*
* 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_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
void glPrimitiveRestartNV();

View File

@ -31,34 +31,33 @@
*/
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*;
@Extension(postfix="NV", isFinal=false)
import java.nio.*;
@Extension(postfix = "NV", isFinal = false)
public interface NV_program {
/*
Accepted by the <pname> parameter of GetProgramivNV:
/**
Accepted by the &lt;pname&gt; parameter of GetProgramivNV:
*/
int GL_PROGRAM_TARGET_NV = 0x8646;
int GL_PROGRAM_LENGTH_NV = 0x8627;
int GL_PROGRAM_RESIDENT_NV = 0x8647;
/*
Accepted by the <pname> parameter of GetProgramStringNV:
/**
Accepted by the &lt;pname&gt; parameter of GetProgramStringNV:
*/
int GL_PROGRAM_STRING_NV = 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_NV = 0x864B;
/*
Accepted by the <name> parameter of GetString:
/**
Accepted by the &lt;name&gt; parameter of GetString:
*/
int GL_PROGRAM_ERROR_STRING_NV = 0x8874;
@ -67,6 +66,7 @@ public interface NV_program {
void glBindProgramNV(@GLenum int target, @GLuint int programID);
void glDeleteProgramsNV(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs);
void glGenProgramsNV(@AutoSize("programs") @GLsizei int n, @GLuint IntBuffer programs);
@StripPostfix("params")
@ -76,15 +76,13 @@ public interface NV_program {
boolean glIsProgramNV(@GLuint int programID);
@Code( " if (programIDs.remaining() != programResidences.remaining())\n" +
" throw new IllegalArgumentException(\"programIDs.remaining() != programResidences.remaining()\");")
@Code(" if (programIDs.remaining() != programResidences.remaining())\n" +
" throw new IllegalArgumentException(\"programIDs.remaining() != programResidences.remaining()\");")
boolean glAreProgramsResidentNV(@AutoSize("programIDs") @GLsizei int n,
@Const
@GLuint
IntBuffer programIDs,
@Check
@GLboolean
ByteBuffer programResidences);
@Const
@GLuint IntBuffer programIDs,
@Check
@GLboolean ByteBuffer programResidences);
void glRequestResidentProgramsNV(@AutoSize("programIDs") @GLsizei int n, @GLuint IntBuffer programIDs);
}

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 NV_register_combiners {
int GL_REGISTER_COMBINERS_NV = 0x8522;
int GL_COMBINER0_NV = 0x8550;
@ -107,16 +106,19 @@ public interface NV_register_combiners {
@StripPostfix("params")
void glGetCombinerInputParameterfvNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params")
void glGetCombinerInputParameterivNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
void glGetCombinerOutputParameterfvNV(@GLenum int stage, @GLenum int portion, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params")
void glGetCombinerOutputParameterivNV(@GLenum int stage, @GLenum int portion, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
void glGetFinalCombinerInputParameterfvNV(@GLenum int variable, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params")
void glGetFinalCombinerInputParameterivNV(@GLenum int variable, @GLenum int pname, @Check("4") IntBuffer params);
}

View File

@ -31,10 +31,10 @@
*/
package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_register_combiners2 {
int GL_PER_STAGE_CONSTANTS_NV = 0x8535;

View File

@ -33,13 +33,14 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
@Extension(postfix="NV", className="NVTextureCompressionVTC")
@Extension(postfix = "NV", className = "NVTextureCompressionVTC")
public interface NV_texture_compression_vtc {
/*
* Accepted by the <internalformat> parameter of TexImage3D and
* CompressedTexImage3DARB and the <format> parameter of
/**
* Accepted by the &lt;internalformat&gt; parameter of TexImage3D and
* CompressedTexImage3DARB and the &lt;format&gt; parameter of
* CompressedTexSubImage2DARB:
*/
*/
int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;

View File

@ -32,10 +32,11 @@
package org.lwjgl.opengl;
public interface NV_texture_expand_normal {
/*
* Accepted by the <pname> parameters of TexParameteri,
/**
* Accepted by the &lt;pname&gt; parameters of TexParameteri,
* TexParameteriv, TexParameterf, TexParameterfv, GetTexParameteri,
* and GetTexParameteriv:
*/
*/
int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F;
}

View File

@ -31,11 +31,10 @@
*/
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_vertex_array_range {
int GL_VERTEX_ARRAY_RANGE_NV = 0x851D;
int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E;
@ -44,18 +43,18 @@ public interface NV_vertex_array_range {
int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521;
void glVertexArrayRangeNV(@AutoSize("pPointer") @GLsizei int size,
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble
Buffer pPointer);
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
@GLdouble Buffer pPointer);
void glFlushVertexArrayRangeNV();
@PlatformDependent({Platform.WGL, Platform.GLX})
@GLvoid ByteBuffer glAllocateMemoryNV(@AutoResultSize int size, float readFrequency, float writeFrequency, float priority);
@GLvoid
ByteBuffer glAllocateMemoryNV(@AutoResultSize int size, float readFrequency, float writeFrequency, float priority);
@PlatformDependent({Platform.WGL, Platform.GLX})
void glFreeMemoryNV(@Check @GLbyte Buffer pointer);

View File

@ -31,78 +31,79 @@
*/
package org.lwjgl.opengl;
import java.nio.*;
import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_vertex_program extends NV_program {
/*
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
and GetDoublev, and by the <target> parameter of BindProgramNV,
ExecuteProgramNV, GetProgramParameter[df]vNV, GetTrackMatrixivNV,
LoadProgramNV, ProgramParameter[s]4[df][v]NV, and TrackMatrixNV:
*/
/**
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:
*/
int GL_VERTEX_PROGRAM_NV = 0x8620;
/*
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
and GetDoublev:
*/
/**
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_NV = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643;
/*
Accepted by the <target> parameter of ExecuteProgramNV and
LoadProgramNV:
*/
/**
Accepted by the &lt;target&gt; parameter of ExecuteProgramNV and
LoadProgramNV:
*/
int GL_VERTEX_STATE_PROGRAM_NV = 0x8621;
/*
Accepted by the <pname> parameter of GetVertexAttrib[dfi]vNV:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetVertexAttrib[dfi]vNV:
*/
int GL_ATTRIB_ARRAY_SIZE_NV = 0x8623;
int GL_ATTRIB_ARRAY_STRIDE_NV = 0x8624;
int GL_ATTRIB_ARRAY_TYPE_NV = 0x8625;
int GL_CURRENT_ATTRIB_NV = 0x8626;
/*
Accepted by the <pname> parameter of GetProgramParameterfvNV
and GetProgramParameterdvNV:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetProgramParameterfvNV
and GetProgramParameterdvNV:
*/
int GL_PROGRAM_PARAMETER_NV = 0x8644;
/*
Accepted by the <pname> parameter of GetVertexAttribPointervNV:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetVertexAttribPointervNV:
*/
int GL_ATTRIB_ARRAY_POINTER_NV = 0x8645;
/*
Accepted by the <pname> parameter of GetTrackMatrixivNV:
*/
/**
Accepted by the &lt;pname&gt; parameter of GetTrackMatrixivNV:
*/
int GL_TRACK_MATRIX_NV = 0x8648;
int GL_TRACK_MATRIX_TRANSFORM_NV = 0x8649;
/*
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_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E;
int GL_MAX_TRACK_MATRICES_NV = 0x862F;
int GL_CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640;
int GL_CURRENT_MATRIX_NV = 0x8641;
int GL_VERTEX_PROGRAM_BINDING_NV = 0x864A;
/*
Accepted by the <matrix> parameter of TrackMatrixNV:
*/
/**
Accepted by the &lt;matrix&gt; parameter of TrackMatrixNV:
*/
int GL_MODELVIEW_PROJECTION_NV = 0x8629;
/*
Accepted by the <matrix> parameter of TrackMatrixNV and by the
<mode> parameter of MatrixMode:
*/
/**
Accepted by the &lt;matrix&gt; parameter of TrackMatrixNV and by the
&lt;mode&gt; parameter of MatrixMode:
*/
int GL_MATRIX0_NV = 0x8630;
int GL_MATRIX1_NV = 0x8631;
int GL_MATRIX2_NV = 0x8632;
@ -112,20 +113,20 @@ public interface NV_vertex_program extends NV_program {
int GL_MATRIX6_NV = 0x8636;
int GL_MATRIX7_NV = 0x8637;
/*
Accepted by the <transform> parameter of TrackMatrixNV:
*/
/**
Accepted by the &lt;transform&gt; parameter of TrackMatrixNV:
*/
int GL_IDENTITY_NV = 0x862A;
int GL_INVERSE_NV = 0x862B;
int GL_TRANSPOSE_NV = 0x862C;
int GL_INVERSE_TRANSPOSE_NV = 0x862D;
/*
Accepted by the <array> parameter of EnableClientState and
DisableClientState, by the <cap> parameter of IsEnabled, and by
the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev:
*/
/**
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:
*/
int GL_VERTEX_ATTRIB_ARRAY0_NV = 0x8650;
int GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651;
int GL_VERTEX_ATTRIB_ARRAY2_NV = 0x8652;
@ -143,12 +144,12 @@ public interface NV_vertex_program extends NV_program {
int GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865E;
int GL_VERTEX_ATTRIB_ARRAY15_NV = 0x865F;
/*
Accepted by the <target> parameter of GetMapdv, GetMapfv, GetMapiv,
Map1d and Map1f and by the <cap> parameter of Enable, Disable, and
IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
/**
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:
*/
int GL_MAP1_VERTEX_ATTRIB0_4_NV = 0x8660;
int GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661;
int GL_MAP1_VERTEX_ATTRIB2_4_NV = 0x8662;
@ -166,12 +167,12 @@ public interface NV_vertex_program extends NV_program {
int GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866E;
int GL_MAP1_VERTEX_ATTRIB15_4_NV = 0x866F;
/*
Accepted by the <target> parameter of GetMapdv, GetMapfv, GetMapiv,
Map2d and Map2f and by the <cap> parameter of Enable, Disable, and
IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
/**
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:
*/
int GL_MAP2_VERTEX_ATTRIB0_4_NV = 0x8670;
int GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671;
int GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672;
@ -202,10 +203,10 @@ public interface NV_vertex_program extends NV_program {
@StripPostfix("params")
void glGetVertexAttribfvNV(@GLuint int index, @GLenum int parameterName, @Check("4") FloatBuffer params);
@StripPostfix("params")
void glGetVertexAttribdvNV(@GLuint int index, @GLenum int parameterName, @Check("4") DoubleBuffer params);
@StripPostfix("params")
void glGetVertexAttribivNV(@GLuint int index, @GLenum int parameterName, @Check("4") IntBuffer params);
@ -213,87 +214,92 @@ public interface NV_vertex_program extends NV_program {
void glGetVertexAttribPointervNV(@GLuint int index, @GLenum int parameterName, @Result @GLvoid ByteBuffer pointer);
void glProgramParameter4fNV(@GLenum int target, @GLuint int index, float x, float y, float z, float w);
void glProgramParameter4dNV(@GLenum int target, @GLuint int index, double x, double y, double z, double w);
@StripPostfix("params")
void glProgramParameters4fvNV(@GLenum int target, @GLuint int index, @AutoSize(value="params", expression=" >> 2") @GLuint int count,
@Const
FloatBuffer params);
void glProgramParameters4fvNV(@GLenum int target, @GLuint int index, @AutoSize(value = "params", expression = " >> 2") @GLuint int count,
@Const FloatBuffer params);
@StripPostfix("params")
void glProgramParameters4dvNV(@GLenum int target, @GLuint int index, @AutoSize(value="params", expression=" >> 2") @GLuint int count,
@Const
DoubleBuffer params);
void glProgramParameters4dvNV(@GLenum int target, @GLuint int index, @AutoSize(value = "params", expression = " >> 2") @GLuint int count,
@Const DoubleBuffer params);
void glTrackMatrixNV(@GLenum int target, @GLuint int address, @GLenum int matrix, @GLenum int transform);
void glVertexAttribPointerNV(@GLuint int index, int size, @GLenum int type, @GLsizei int stride,
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLbyte
@GLubyte
@GLshort
@GLushort
@GLint
@GLuint
@GLfloat
@GLdouble
Buffer buffer);
@CachedReference
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@GLbyte
@GLubyte
@GLshort
@GLushort
@GLint
@GLuint
@GLfloat
@GLdouble Buffer buffer);
void glVertexAttrib1sNV(@GLuint int index, short x);
void glVertexAttrib1fNV(@GLuint int index, float x);
void glVertexAttrib1dNV(@GLuint int index, double x);
void glVertexAttrib2sNV(@GLuint int index, short x, short y);
void glVertexAttrib2fNV(@GLuint int index, float x, float y);
void glVertexAttrib2dNV(@GLuint int index, double x, double y);
void glVertexAttrib3sNV(@GLuint int index, short x, short y, short z);
void glVertexAttrib3fNV(@GLuint int index, float x, float y, float z);
void glVertexAttrib3dNV(@GLuint int index, double x, double y, double z);
void glVertexAttrib4sNV(@GLuint int index, short x, short y, short z, short w);
void glVertexAttrib4fNV(@GLuint int index, float x, float y, float z, float w);
void glVertexAttrib4dNV(@GLuint int index, double x, double y, double z, double w);
void glVertexAttrib4ubNV(@GLuint int index, @GLubyte byte x, @GLubyte byte y, @GLubyte byte z, @GLubyte byte w);
@StripPostfix("v")
void glVertexAttribs1svNV(@GLuint int index, @AutoSize("v") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
void glVertexAttribs1fvNV(@GLuint int index, @AutoSize("v") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
void glVertexAttribs1dvNV(@GLuint int index, @AutoSize("v") @GLsizei int n, @Const DoubleBuffer v);
@StripPostfix("v")
void glVertexAttribs2svNV(@GLuint int index, @AutoSize(value="v", expression=" >> 1") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
void glVertexAttribs2fvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 1") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
void glVertexAttribs2dvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 1") @GLsizei int n, @Const DoubleBuffer v);
void glVertexAttribs2svNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 1") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
void glVertexAttribs3svNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
void glVertexAttribs3fvNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
void glVertexAttribs3dvNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const DoubleBuffer v);
void glVertexAttribs2fvNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 1") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
void glVertexAttribs4svNV(@GLuint int index, @AutoSize(value="v", expression=" >> 2") @GLsizei int n, @Const ShortBuffer v);
void glVertexAttribs2dvNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 1") @GLsizei int n, @Const DoubleBuffer v);
@StripPostfix("v")
void glVertexAttribs4fvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 2") @GLsizei int n, @Const FloatBuffer v);
void glVertexAttribs3svNV(@GLuint int index, @AutoSize(value = "v", expression = " / 3") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
void glVertexAttribs4dvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 2") @GLsizei int n, @Const DoubleBuffer v);
void glVertexAttribs3fvNV(@GLuint int index, @AutoSize(value = "v", expression = " / 3") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
void glVertexAttribs3dvNV(@GLuint int index, @AutoSize(value = "v", expression = " / 3") @GLsizei int n, @Const DoubleBuffer v);
@StripPostfix("v")
void glVertexAttribs4svNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 2") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
void glVertexAttribs4fvNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 2") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
void glVertexAttribs4dvNV(@GLuint int index, @AutoSize(value = "v", expression = " >> 2") @GLsizei int n, @Const DoubleBuffer v);
}

View File

@ -32,9 +32,10 @@
package org.lwjgl.opengl;
public interface NV_vertex_program2_option {
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
/**
* Accepted by the &lt;pname&gt; parameter of GetProgramivARB:
*/
int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
}

View File

@ -32,9 +32,10 @@
package org.lwjgl.opengl;
public interface NV_vertex_program3 {
/*
* 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_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C;
}

View File

@ -33,9 +33,9 @@ package org.lwjgl.opengl;
public interface SUN_slice_accum {
/*
* Accepted by the <op> parameter of Accum,
*/
int GL_SLICE_ACCUM_SUN = 0x85CC;
/**
* Accepted by the &lt;op&gt; parameter of Accum,
*/
int GL_SLICE_ACCUM_SUN = 0x85CC;
}