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.*; import java.nio.*;
public class ARBBufferObject { 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_DRAW_ARB = 0x88e0;
public static final int GL_STREAM_READ_ARB = 0x88e1; public static final int GL_STREAM_READ_ARB = 0x88e1;
public static final int GL_STREAM_COPY_ARB = 0x88e2; 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_DRAW_ARB = 0x88e8;
public static final int GL_DYNAMIC_READ_ARB = 0x88e9; public static final int GL_DYNAMIC_READ_ARB = 0x88e9;
public static final int GL_DYNAMIC_COPY_ARB = 0x88ea; 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_READ_ONLY_ARB = 0x88b8;
public static final int GL_WRITE_ONLY_ARB = 0x88b9; public static final int GL_WRITE_ONLY_ARB = 0x88b9;
public static final int GL_READ_WRITE_ARB = 0x88ba; 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_SIZE_ARB = 0x8764;
public static final int GL_BUFFER_USAGE_ARB = 0x8765; public static final int GL_BUFFER_USAGE_ARB = 0x8765;
public static final int GL_BUFFER_ACCESS_ARB = 0x88bb; public static final int GL_BUFFER_ACCESS_ARB = 0x88bb;

View File

@ -7,16 +7,30 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBColorBufferFloat { 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; 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_VERTEX_COLOR_ARB = 0x891a;
public static final int GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891b; public static final int GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891b;
public static final int GL_CLAMP_READ_COLOR_ARB = 0x891c; 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; public static final int GL_FIXED_ONLY_ARB = 0x891d;
private ARBColorBufferFloat() { private ARBColorBufferFloat() {
} }
/**
* Accepted as a bit set in the GLX_RENDER_TYPE variable
*/
public static void glClampColorARB(int target, int clamp) { public static void glClampColorARB(int target, int clamp) {
long function_pointer = GLContext.getCapabilities().ARB_color_buffer_float_glClampColorARB_pointer; long function_pointer = GLContext.getCapabilities().ARB_color_buffer_float_glClampColorARB_pointer;
BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkFunctionAddress(function_pointer);

View File

@ -7,10 +7,22 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBDepthTexture { 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_COMPONENT16_ARB = 0x81a5;
public static final int GL_DEPTH_COMPONENT24_ARB = 0x81a6; public static final int GL_DEPTH_COMPONENT24_ARB = 0x81a6;
public static final int GL_DEPTH_COMPONENT32_ARB = 0x81a7; 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; 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; public static final int GL_DEPTH_TEXTURE_MODE_ARB = 0x884b;
private ARBDepthTexture() { private ARBDepthTexture() {

View File

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBDrawBuffers { 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_MAX_DRAW_BUFFERS_ARB = 0x8824;
public static final int GL_DRAW_BUFFER0_ARB = 0x8825; public static final int GL_DRAW_BUFFER0_ARB = 0x8825;
public static final int GL_DRAW_BUFFER1_ARB = 0x8826; public static final int GL_DRAW_BUFFER1_ARB = 0x8826;

View File

@ -7,7 +7,18 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBFragmentProgram extends ARBProgram { 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; 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_ALU_INSTRUCTIONS_ARB = 0x8805;
public static final int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806; public static final int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806;
public static final int GL_PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807; 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_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_INSTRUCTIONS_ARB = 0x880f;
public static final int GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810; 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_COORDS_ARB = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872; public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;

View File

@ -7,10 +7,22 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBFragmentShader { 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; 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_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8b49;
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871; public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872; 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; public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8b8b;
private ARBFragmentShader() { private ARBFragmentShader() {

View File

@ -7,6 +7,14 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBHalfFloatPixel { 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; public static final int GL_HALF_FLOAT_ARB = 0x140b;
private ARBHalfFloatPixel() { private ARBHalfFloatPixel() {

View File

@ -7,9 +7,20 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBOcclusionQuery { public final class ARBOcclusionQuery {
/**
* Accepted by the <target> parameter of BeginQueryARB, EndQueryARB,
* and GetQueryivARB:
*/
public static final int GL_SAMPLES_PASSED_ARB = 0x8914; 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_QUERY_COUNTER_BITS_ARB = 0x8864;
public static final int GL_CURRENT_QUERY_ARB = 0x8865; 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_ARB = 0x8866;
public static final int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867; public static final int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867;

View File

@ -7,8 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBPixelBufferObject extends ARBBufferObject { 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_PACK_BUFFER_ARB = 0x88eb;
public static final int GL_PIXEL_UNPACK_BUFFER_ARB = 0x88ec; 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_PACK_BUFFER_BINDING_ARB = 0x88ed;
public static final int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88ef; public static final int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88ef;

View File

@ -7,7 +7,18 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBPointSprite { 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; 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; public static final int GL_COORD_REPLACE_ARB = 0x8862;
private ARBPointSprite() { private ARBPointSprite() {

View File

@ -7,7 +7,13 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public class ARBProgram { public class ARBProgram {
/**
* Accepted by the <format> parameter of ProgramStringARB:
*/
public static final int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875; 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_LENGTH_ARB = 0x8627;
public static final int GL_PROGRAM_FORMAT_ARB = 0x8876; public static final int GL_PROGRAM_FORMAT_ARB = 0x8876;
public static final int GL_PROGRAM_BINDING_ARB = 0x8677; 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_LOCAL_PARAMETERS_ARB = 0x88b4;
public static final int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88b5; public static final int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88b5;
public static final int GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88b6; 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; 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_PROGRAM_ERROR_POSITION_ARB = 0x864b;
public static final int GL_CURRENT_MATRIX_ARB = 0x8641; public static final int GL_CURRENT_MATRIX_ARB = 0x8641;
public static final int GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88b7; 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_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640;
public static final int GL_MAX_PROGRAM_MATRICES_ARB = 0x862f; public static final int GL_MAX_PROGRAM_MATRICES_ARB = 0x862f;
public static final int GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862e; 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; 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_MATRIX0_ARB = 0x88c0;
public static final int GL_MATRIX1_ARB = 0x88c1; public static final int GL_MATRIX1_ARB = 0x88c1;
public static final int GL_MATRIX2_ARB = 0x88c2; public static final int GL_MATRIX2_ARB = 0x88c2;

View File

@ -7,7 +7,13 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBShaderObjects { public final class ARBShaderObjects {
/**
* Accepted by the <pname> argument of GetHandleARB:
*/
public static final int GL_PROGRAM_OBJECT_ARB = 0x8b40; 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_TYPE_ARB = 0x8b4e;
public static final int GL_OBJECT_SUBTYPE_ARB = 0x8b4f; public static final int GL_OBJECT_SUBTYPE_ARB = 0x8b4f;
public static final int GL_OBJECT_DELETE_STATUS_ARB = 0x8b80; 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_UNIFORMS_ARB = 0x8b86;
public static final int GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8b87; public static final int GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8b87;
public static final int GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8b88; 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; 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 = 0x1406;
public static final int GL_FLOAT_VEC2_ARB = 0x8b50; public static final int GL_FLOAT_VEC2_ARB = 0x8b50;
public static final int GL_FLOAT_VEC3_ARB = 0x8b51; 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. * The ARB_shader_objects extension allows multiple, optionally null-terminated, source strings to define a shader program.
* <p/> * <p/>
* This method uses just a single string, that should NOT be null-terminated. * 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) { public static void glShaderSourceARB(int shader, ByteBuffer string) {
long function_pointer = GLContext.getCapabilities().ARB_shader_objects_glShaderSourceARB_pointer; 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. * 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 programObj
* @param name * @param name
* @return
*/ */
public static int glGetUniformLocationARB(int programObj, ByteBuffer name) { public static int glGetUniformLocationARB(int programObj, ByteBuffer name) {
long function_pointer = GLContext.getCapabilities().ARB_shader_objects_glGetUniformLocationARB_pointer; long function_pointer = GLContext.getCapabilities().ARB_shader_objects_glGetUniformLocationARB_pointer;

View File

@ -8,7 +8,7 @@ import java.nio.*;
public final class ARBShadingLanguage100 { 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; public static final int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8b8c;

View File

@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBTextureFloat { 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_RED_TYPE_ARB = 0x8c10;
public static final int GL_TEXTURE_GREEN_TYPE_ARB = 0x8c11; public static final int GL_TEXTURE_GREEN_TYPE_ARB = 0x8c11;
public static final int GL_TEXTURE_BLUE_TYPE_ARB = 0x8c12; 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_LUMINANCE_TYPE_ARB = 0x8c14;
public static final int GL_TEXTURE_INTENSITY_TYPE_ARB = 0x8c15; public static final int GL_TEXTURE_INTENSITY_TYPE_ARB = 0x8c15;
public static final int GL_TEXTURE_DEPTH_TYPE_ARB = 0x8c16; 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; 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_RGBA32F_ARB = 0x8814;
public static final int GL_RGB32F_ARB = 0x8815; public static final int GL_RGB32F_ARB = 0x8815;
public static final int GL_ALPHA32F_ARB = 0x8816; public static final int GL_ALPHA32F_ARB = 0x8816;

View File

@ -7,12 +7,42 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBTextureRectangle { 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; 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; 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; 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_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() { private ARBTextureRectangle() {
} }

View File

@ -7,8 +7,18 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBVertexBufferObject extends ARBBufferObject { 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_ARRAY_BUFFER_ARB = 0x8892;
public static final int GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893; 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_ARRAY_BUFFER_BINDING_ARB = 0x8894;
public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895; public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895;
public static final int GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896; 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_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x889c;
public static final int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889d; public static final int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889d;
public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889e; 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; public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889f;
private ARBVertexBufferObject() { private ARBVertexBufferObject() {

View File

@ -7,21 +7,47 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBVertexProgram extends ARBProgram { 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; 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_POINT_SIZE_ARB = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643; public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
public static final int GL_COLOR_SUM_ARB = 0x8458; 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_ENABLED_ARB = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623; 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_STRIDE_ARB = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625; 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_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886a;
public static final int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626; 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; 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_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88b0;
public static final int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88b1; 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_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88b2;
public static final int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88b3; 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; public static final int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
private ARBVertexProgram() { private ARBVertexProgram() {

View File

@ -7,7 +7,15 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ARBVertexShader { 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; 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_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8b4a;
public static final int GL_MAX_VARYING_FLOATS_ARB = 0x8b4b; public static final int GL_MAX_VARYING_FLOATS_ARB = 0x8b4b;
public static final int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869; 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_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8b4c;
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8b4d; public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8b4d;
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871; 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_POINT_SIZE_ARB = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643; 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_ATTRIBUTES_ARB = 0x8b89;
public static final int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8b8a; 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_ENABLED_ARB = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623; 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_STRIDE_ARB = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625; 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_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886a;
public static final int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626; 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; 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 = 0x1406;
public static final int GL_FLOAT_VEC2_ARB = 0x8b50; public static final int GL_FLOAT_VEC2_ARB = 0x8b50;
public static final int GL_FLOAT_VEC3_ARB = 0x8b51; public static final int GL_FLOAT_VEC3_ARB = 0x8b51;

View File

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class ATIDrawBuffers { 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_MAX_DRAW_BUFFERS_ATI = 0x8824;
public static final int GL_DRAW_BUFFER0_ATI = 0x8825; public static final int GL_DRAW_BUFFER0_ATI = 0x8825;
public static final int GL_DRAW_BUFFER1_ATI = 0x8826; 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_RED_BIT_ATI = 0x1;
public static final int GL_GREEN_BIT_ATI = 0x2; public static final int GL_GREEN_BIT_ATI = 0x2;
public static final int GL_BLUE_BIT_ATI = 0x4; public static final int GL_BLUE_BIT_ATI = 0x4;
public static final int GL_X2_BIT_ATI = 0x1; public static final int GL_2X_BIT_ATI = 0x1;
public static final int GL_X4_BIT_ATI = 0x2; public static final int GL_4X_BIT_ATI = 0x2;
public static final int GL_X8_BIT_ATI = 0x4; public static final int GL_8X_BIT_ATI = 0x4;
public static final int GL_HALF_BIT_ATI = 0x8; public static final int GL_HALF_BIT_ATI = 0x8;
public static final int GL_QUARTER_BIT_ATI = 0x10; public static final int GL_QUARTER_BIT_ATI = 0x10;
public static final int GL_EIGHTH_BIT_ATI = 0x20; 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 * 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 * oldBuffer is non-null, it will be returned if it points to the same mapped memory, otherwise a
* new ByteBuffer is created. * new ByteBuffer is created.
* @param result_size The size of the buffer area. * @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, * @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 * it will be returned and no new buffer will be created. In that case, size is
* ignored. * ignored.
* @return A ByteBuffer representing the mapped object buffer memory. * @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) { 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.*; import java.nio.*;
public final class ATITextureFloat { 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_RGBA_FLOAT32_ATI = 0x8814;
public static final int GL_RGB_FLOAT32_ATI = 0x8815; public static final int GL_RGB_FLOAT32_ATI = 0x8815;
public static final int GL_ALPHA_FLOAT32_ATI = 0x8816; public static final int GL_ALPHA_FLOAT32_ATI = 0x8816;

View File

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class EXTBlendEquationSeparate { 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_RGB_EXT = 0x8009;
public static final int GL_BLEND_EQUATION_ALPHA_EXT = 0x883d; public static final int GL_BLEND_EQUATION_ALPHA_EXT = 0x883d;

View File

@ -7,7 +7,16 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class EXTDepthBoundsTest { 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; 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; public static final int GL_DEPTH_BOUNDS_EXT = 0x8891;
private EXTDepthBoundsTest() { private EXTDepthBoundsTest() {

View File

@ -7,9 +7,32 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class EXTPackedDepthStencil { 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; 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; 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; 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; public static final int GL_TEXTURE_STENCIL_SIZE_EXT = 0x88f1;
private EXTPackedDepthStencil() { private EXTPackedDepthStencil() {

View File

@ -7,12 +7,20 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class EXTPalettedTexture { 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_INDEX1_EXT = 0x80e2;
public static final int GL_COLOR_INDEX2_EXT = 0x80e3; public static final int GL_COLOR_INDEX2_EXT = 0x80e3;
public static final int GL_COLOR_INDEX4_EXT = 0x80e4; public static final int GL_COLOR_INDEX4_EXT = 0x80e4;
public static final int GL_COLOR_INDEX8_EXT = 0x80e5; public static final int GL_COLOR_INDEX8_EXT = 0x80e5;
public static final int GL_COLOR_INDEX12_EXT = 0x80e6; public static final int GL_COLOR_INDEX12_EXT = 0x80e6;
public static final int GL_COLOR_INDEX16_EXT = 0x80e7; 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_FORMAT_EXT = 0x80d8;
public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80d9; public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80d9;
public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80da; 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_ALPHA_SIZE_EXT = 0x80dd;
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80de; public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80de;
public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80df; 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; public static final int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ed;
private EXTPalettedTexture() { private EXTPalettedTexture() {

View File

@ -7,8 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class EXTPixelBufferObject extends ARBBufferObject { 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_PACK_BUFFER_EXT = 0x88eb;
public static final int GL_PIXEL_UNPACK_BUFFER_EXT = 0x88ec; 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_PACK_BUFFER_BINDING_EXT = 0x88ed;
public static final int PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88ef; public static final int PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88ef;

View File

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class EXTStencilClearTag { 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_TAG_BITS_EXT = 0x88f2;
public static final int GL_STENCIL_CLEAR_TAG_VALUE_EXT = 0x88f3; 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) { public static void glStencilClearTagEXT(int stencilTagBits, int stencilClearTag) {
long function_pointer = GLContext.getCapabilities().EXT_stencil_clear_tag_glStencilClearTagEXT_pointer; long function_pointer = GLContext.getCapabilities().EXT_stencil_clear_tag_glStencilClearTagEXT_pointer;
BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkFunctionAddress(function_pointer);

View File

@ -7,6 +7,12 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class EXTTextureMirrorClamp { 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_EXT = 0x8742;
public static final int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743; public static final int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
public static final int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912; public static final int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;

View File

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class EXTTextureSRGB { 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_SRGB_EXT = 0x8c40;
public static final int GL_SRGB8_EXT = 0x8c41; public static final int GL_SRGB8_EXT = 0x8c41;
public static final int GL_SRGB_ALPHA_EXT = 0x8c42; 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_SRGB_ALPHA_EXT = 0x8c49;
public static final int GL_COMPRESSED_SLUMINANCE_EXT = 0x8c4a; public static final int GL_COMPRESSED_SLUMINANCE_EXT = 0x8c4a;
public static final int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8c4b; 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_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_DXT1_EXT = 0x8c4d;
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8c4e; 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_ACCESS = 0x88bb;
public static final int GL_BUFFER_MAPPED = 0x88bc; public static final int GL_BUFFER_MAPPED = 0x88bc;
public static final int GL_BUFFER_MAP_POINTER = 0x88bd; 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; 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_QUERY_COUNTER_BITS = 0x8864;
public static final int GL_CURRENT_QUERY = 0x8865; 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 = 0x8866;
public static final int GL_QUERY_RESULT_AVAILABLE = 0x8867; public static final int GL_QUERY_RESULT_AVAILABLE = 0x8867;

View File

@ -7,8 +7,17 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class GL20 { public final class GL20 {
/**
* Accepted by the &lt;name&gt; parameter of GetString:
*/
public static final int GL_SHADING_LANGUAGE_VERSION = 0x8b8c; 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; 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_SHADER_TYPE = 0x8b4f;
public static final int GL_DELETE_STATUS = 0x8b80; public static final int GL_DELETE_STATUS = 0x8b80;
public static final int GL_COMPILE_STATUS = 0x8b81; 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_ATTRIBUTES = 0x8b89;
public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a; public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a;
public static final int GL_SHADER_SOURCE_LENGTH = 0x8b88; 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; 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_VEC2 = 0x8b50;
public static final int GL_FLOAT_VEC3 = 0x8b51; public static final int GL_FLOAT_VEC3 = 0x8b51;
public static final int GL_FLOAT_VEC4 = 0x8b52; 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_CUBE = 0x8b60;
public static final int GL_SAMPLER_1D_SHADOW = 0x8b61; public static final int GL_SAMPLER_1D_SHADOW = 0x8b61;
public static final int GL_SAMPLER_2D_SHADOW = 0x8b62; 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; 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_VERTEX_UNIFORM_COMPONENTS = 0x8b4a;
public static final int GL_MAX_VARYING_FLOATS = 0x8b4b; public static final int GL_MAX_VARYING_FLOATS = 0x8b4b;
public static final int GL_MAX_VERTEX_ATTRIBS = 0x8869; 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_VERTEX_TEXTURE_IMAGE_UNITS = 0x8b4c;
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8b4d; public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8b4d;
public static final int GL_MAX_TEXTURE_COORDS = 0x8871; 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_POINT_SIZE = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643; 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_ENABLED = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; 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_STRIDE = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; 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_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886a;
public static final int GL_CURRENT_VERTEX_ATTRIB = 0x8626; 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; 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; 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; 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; 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_MAX_DRAW_BUFFERS = 0x8824;
public static final int GL_DRAW_BUFFER0 = 0x8825; public static final int GL_DRAW_BUFFER0 = 0x8825;
public static final int GL_DRAW_BUFFER1 = 0x8826; 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_BUFFER13 = 0x8832;
public static final int GL_DRAW_BUFFER14 = 0x8833; public static final int GL_DRAW_BUFFER14 = 0x8833;
public static final int GL_DRAW_BUFFER15 = 0x8834; 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; 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; 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; 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_LOWER_LEFT = 0x8ca1;
public static final int GL_UPPER_LEFT = 0x8ca2; public static final int GL_UPPER_LEFT = 0x8ca2;
public static final int GL_STENCIL_BACK_FUNC = 0x8800; public static final int GL_STENCIL_BACK_FUNC = 0x8800;

View File

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

View File

@ -8,7 +8,7 @@ import java.nio.*;
public final class IBMRasterposClip { 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: * parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
*/ */
public static final int GL_RASTER_POSITION_UNCLIPPED_IBM = 0x19262; public static final int GL_RASTER_POSITION_UNCLIPPED_IBM = 0x19262;

View File

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVFloatBuffer { 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_R_NV = 0x8880;
public static final int GL_FLOAT_RG_NV = 0x8881; public static final int GL_FLOAT_RG_NV = 0x8881;
public static final int GL_FLOAT_RGB_NV = 0x8882; 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_RGB32_NV = 0x8889;
public static final int GL_FLOAT_RGBA16_NV = 0x888a; public static final int GL_FLOAT_RGBA16_NV = 0x888a;
public static final int GL_FLOAT_RGBA32_NV = 0x888b; 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; 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_CLEAR_COLOR_VALUE_NV = 0x888d;
public static final int GL_FLOAT_RGBA_MODE_NV = 0x888e; public static final int GL_FLOAT_RGBA_MODE_NV = 0x888e;

View File

@ -7,7 +7,19 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVFragmentProgram extends NVProgram { 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; 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_COORDS_NV = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872; public static final int GL_MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872;
public static final int GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873; public static final int GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873;

View File

@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVFragmentProgram2 { 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_EXEC_INSTRUCTIONS_NV = 0x88f4;
public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88f5; public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88f5;
public static final int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88f6; public static final int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88f6;

View File

@ -7,6 +7,13 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVHalfFloat { 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; public static final int GL_HALF_FLOAT_NV = 0x140b;
private NVHalfFloat() { private NVHalfFloat() {

View File

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVMultisampleFilterHint { 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; public static final int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
private NVMultisampleFilterHint() { private NVMultisampleFilterHint() {

View File

@ -7,10 +7,22 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVPixelDataRange { 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_WRITE_PIXEL_DATA_RANGE_NV = 0x8878;
public static final int GL_READ_PIXEL_DATA_RANGE_NV = 0x8879; 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_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887a;
public static final int GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887b; 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_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887c;
public static final int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887d; 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.*; import java.nio.*;
public final class NVPrimitiveRestart { 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; 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; public static final int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
private NVPrimitiveRestart() { private NVPrimitiveRestart() {

View File

@ -7,11 +7,24 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public class NVProgram { 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_TARGET_NV = 0x8646;
public static final int GL_PROGRAM_LENGTH_NV = 0x8627; public static final int GL_PROGRAM_LENGTH_NV = 0x8627;
public static final int GL_PROGRAM_RESIDENT_NV = 0x8647; 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; 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; 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; public static final int GL_PROGRAM_ERROR_STRING_NV = 0x8874;

View File

@ -7,6 +7,11 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVTextureCompressionVTC { 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_RGB_S3TC_DXT1_EXT = 0x83f0;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83f1; public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83f1;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83f2; public static final int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83f2;

View File

@ -7,6 +7,11 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVTextureExpandNormal { 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; public static final int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888f;
private NVTextureExpandNormal() { private NVTextureExpandNormal() {

View File

@ -7,24 +7,64 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVVertexProgram extends NVProgram { 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; 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_POINT_SIZE_NV = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643; 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; 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_SIZE_NV = 0x8623;
public static final int GL_ATTRIB_ARRAY_STRIDE_NV = 0x8624; 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_ATTRIB_ARRAY_TYPE_NV = 0x8625;
public static final int GL_CURRENT_ATTRIB_NV = 0x8626; 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; 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; 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_NV = 0x8648;
public static final int GL_TRACK_MATRIX_TRANSFORM_NV = 0x8649; 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_MATRIX_STACK_DEPTH_NV = 0x862e;
public static final int GL_MAX_TRACK_MATRICES_NV = 0x862f; 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_STACK_DEPTH_NV = 0x8640;
public static final int GL_CURRENT_MATRIX_NV = 0x8641; public static final int GL_CURRENT_MATRIX_NV = 0x8641;
public static final int GL_VERTEX_PROGRAM_BINDING_NV = 0x864a; 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; 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_MATRIX0_NV = 0x8630;
public static final int GL_MATRIX1_NV = 0x8631; public static final int GL_MATRIX1_NV = 0x8631;
public static final int GL_MATRIX2_NV = 0x8632; 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_MATRIX5_NV = 0x8635;
public static final int GL_MATRIX6_NV = 0x8636; public static final int GL_MATRIX6_NV = 0x8636;
public static final int GL_MATRIX7_NV = 0x8637; 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_IDENTITY_NV = 0x862a;
public static final int GL_INVERSE_NV = 0x862b; public static final int GL_INVERSE_NV = 0x862b;
public static final int GL_TRANSPOSE_NV = 0x862c; public static final int GL_TRANSPOSE_NV = 0x862c;
public static final int GL_INVERSE_TRANSPOSE_NV = 0x862d; 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_ARRAY0_NV = 0x8650;
public static final int GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651; public static final int GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651;
public static final int GL_VERTEX_ATTRIB_ARRAY2_NV = 0x8652; 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_ARRAY13_NV = 0x865d;
public static final int GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865e; public static final int GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865e;
public static final int GL_VERTEX_ATTRIB_ARRAY15_NV = 0x865f; 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_ATTRIB0_4_NV = 0x8660;
public static final int GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661; public static final int GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661;
public static final int GL_MAP1_VERTEX_ATTRIB2_4_NV = 0x8662; 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_ATTRIB13_4_NV = 0x866d;
public static final int GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866e; public static final int GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866e;
public static final int GL_MAP1_VERTEX_ATTRIB15_4_NV = 0x866f; 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_ATTRIB0_4_NV = 0x8670;
public static final int GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671; public static final int GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671;
public static final int GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672; public static final int GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672;

View File

@ -7,6 +7,9 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVVertexProgram2Option { 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_EXEC_INSTRUCTIONS_NV = 0x88f4;
public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88f5; public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88f5;

View File

@ -7,6 +7,10 @@ import org.lwjgl.BufferChecks;
import java.nio.*; import java.nio.*;
public final class NVVertexProgram3 { 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; public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8b4c;
private NVVertexProgram3() { private NVVertexProgram3() {

View File

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

View File

@ -35,10 +35,11 @@ import org.lwjgl.util.generator.*;
import java.nio.*; import java.nio.*;
@Extension(postfix="ARB", isFinal=false) @Extension(postfix = "ARB", isFinal = false)
public interface ARB_buffer_object { 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_DRAW_ARB = 0x88E0;
int GL_STREAM_READ_ARB = 0x88E1; int GL_STREAM_READ_ARB = 0x88E1;
@ -50,57 +51,57 @@ public interface ARB_buffer_object {
int GL_DYNAMIC_READ_ARB = 0x88E9; int GL_DYNAMIC_READ_ARB = 0x88E9;
int GL_DYNAMIC_COPY_ARB = 0x88EA; 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_READ_ONLY_ARB = 0x88B8;
int GL_WRITE_ONLY_ARB = 0x88B9; int GL_WRITE_ONLY_ARB = 0x88B9;
int GL_READ_WRITE_ARB = 0x88BA; 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_SIZE_ARB = 0x8764;
int GL_BUFFER_USAGE_ARB = 0x8765; int GL_BUFFER_USAGE_ARB = 0x8765;
int GL_BUFFER_ACCESS_ARB = 0x88BB; int GL_BUFFER_ACCESS_ARB = 0x88BB;
int GL_BUFFER_MAPPED_ARB = 0x88BC; int GL_BUFFER_MAPPED_ARB = 0x88BC;
int GL_BUFFER_MAP_POINTER_ARB = 0x88BD; 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); 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 glDeleteBuffersARB(@AutoSize("buffers") @GLsizei int n, @Const @GLuint IntBuffer buffers);
void glGenBuffersARB(@AutoSize("buffers") int n, @GLuint IntBuffer buffers); void glGenBuffersARB(@AutoSize("buffers") int n, @GLuint IntBuffer buffers);
boolean glIsBufferARB(@GLuint int buffer); boolean glIsBufferARB(@GLuint int buffer);
@GenerateAutos @GenerateAutos
void glBufferDataARB(@GLenum int target, @AutoSize("data") @GLsizeiptrARB int size, void glBufferDataARB(@GLenum int target, @AutoSize("data") @GLsizeiptrARB int size,
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data, @GLenum int usage);
Buffer data, @GLenum int usage);
void glBufferSubDataARB(@GLenum int target, @GLintptrARB int offset, @AutoSize("data") @GLsizeiptrARB int size, void glBufferSubDataARB(@GLenum int target, @GLintptrARB int offset, @AutoSize("data") @GLsizeiptrARB int size,
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
void glGetBufferSubDataARB(@GLenum int target, @GLintptrARB int offset, @AutoSize("data") @GLsizeiptrARB int size, void glGetBufferSubDataARB(@GLenum int target, @GLintptrARB int offset, @AutoSize("data") @GLsizeiptrARB int size,
@Check @Check
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
/** /**
* glMapBufferARB maps a gl vertex buffer buffer to a ByteBuffer. The oldBuffer argument can be null, * 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. * @return A ByteBuffer representing the mapped buffer memory.
*/ */
@CachedResult @CachedResult
@GLvoid ByteBuffer glMapBufferARB(@GLenum int target, @GLenum int access); @GLvoid
ByteBuffer glMapBufferARB(@GLenum int target, @GLenum int access);
boolean glUnmapBufferARB(@GLenum int target); boolean glUnmapBufferARB(@GLenum int target);

View File

@ -34,40 +34,40 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
public interface ARB_color_buffer_float { public interface ARB_color_buffer_float {
/* /**
* Accepted by the <pname> parameters of GetBooleanv, GetIntegerv, * Accepted by the &lt;pname&gt; parameters of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev: * GetFloatv, and GetDoublev:
*/ */
int GL_RGBA_FLOAT_MODE_ARB = 0x8820; int GL_RGBA_FLOAT_MODE_ARB = 0x8820;
/* /**
* Accepted by the <target> parameter of ClampColorARB and the <pname> * Accepted by the &lt;target&gt; parameter of ClampColorARB and the &lt;pname&gt;
* parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
*/ */
int GL_CLAMP_VERTEX_COLOR_ARB = 0x891A; int GL_CLAMP_VERTEX_COLOR_ARB = 0x891A;
int GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B; int GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B;
int GL_CLAMP_READ_COLOR_ARB = 0x891C; 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; 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 * parameter arrays of wglChoosePixelFormatARB, and returned in the
* <piValues> parameter array of wglGetPixelFormatAttribivARB, and the * &lt;piValues&gt; parameter array of wglGetPixelFormatAttribivARB, and the
* <pfValues> parameter array of wglGetPixelFormatAttribfvARB: * &lt;pfValues&gt; parameter array of wglGetPixelFormatAttribfvARB:
*/ */
//int WGL_TYPE_RGBA_FLOAT_ARB = 0x21A0; //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 * glXCreateNewContext and glXCreateContext functions
*/ */
//int GLX_RGBA_FLOAT_TYPE = 0x20B9; //int GLX_RGBA_FLOAT_TYPE = 0x20B9;
/* /**
* Accepted as a bit set in the GLX_RENDER_TYPE variable * Accepted as a bit set in the GLX_RENDER_TYPE variable
*/ */
//int GLX_RGBA_FLOAT_BIT = 0x00000004; //int GLX_RGBA_FLOAT_BIT = 0x00000004;

View File

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

View File

@ -33,11 +33,12 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.IntBuffer; import java.nio.*;
public interface ARB_draw_buffers { 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: * and GetDoublev:
*/ */
int GL_MAX_DRAW_BUFFERS_ARB = 0x8824; int GL_MAX_DRAW_BUFFERS_ARB = 0x8824;

View File

@ -32,18 +32,19 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface ARB_fragment_program extends ARB_program { 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, * Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, by the
* and by the <target> parameter of ProgramStringARB, BindProgramARB, * &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, * ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB,
* GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB, * GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
* GetProgramivARB and GetProgramStringARB. * GetProgramivARB and GetProgramStringARB.
*/ */
int GL_FRAGMENT_PROGRAM_ARB = 0x8804; 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_ALU_INSTRUCTIONS_ARB = 0x8805;
int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806; 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_INSTRUCTIONS_ARB = 0x880F;
int GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810; 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: * and GetDoublev:
*/ */
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871; int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;

View File

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

View File

@ -32,23 +32,24 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface ARB_fragment_shader { 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; 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: * GetFloatv, and GetDoublev:
*/ */
int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49; int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49;
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871; int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872; 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: * GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/ */
int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B; int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B;
} }

View File

@ -32,13 +32,14 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface ARB_half_float_pixel { public interface ARB_half_float_pixel {
/*
* Accepted by the <type> parameter of DrawPixels, ReadPixels, /**
* TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D, * Accepted by the &lt;type&gt; parameter of DrawPixels, ReadPixels,
* TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, * TexImage1D, TexImage2D, TexImage3D, GetTexImage, TexSubImage1D,
* ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter, * TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax,
* SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, * ConvolutionFilter1D, ConvolutionFilter2D, GetConvolutionFilter,
* and GetColorTable: * SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable,
*/ * and GetColorTable:
*/
int GL_HALF_FLOAT_ARB = 0x140B; int GL_HALF_FLOAT_ARB = 0x140B;
} }

View File

@ -31,12 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
/** /**
* $Id$ * $Id$
* <p/> * <p/>
@ -46,8 +44,9 @@ import org.lwjgl.util.generator.*;
* @version $Revision$ * @version $Revision$
*/ */
@Extension(postfix="") @Extension(postfix = "")
public interface ARB_imaging { public interface ARB_imaging {
int GL_CONSTANT_COLOR = 0x8001; int GL_CONSTANT_COLOR = 0x8001;
int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002; int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
int GL_CONSTANT_ALPHA = 0x8003; int GL_CONSTANT_ALPHA = 0x8003;
@ -125,22 +124,20 @@ public interface ARB_imaging {
int GL_MINMAX_SINK = 0x8030; int GL_MINMAX_SINK = 0x8030;
void glColorTable(@GLenum int target, @GLenum int internalFormat, @GLsizei int width, @GLenum int format, @GLenum int type, void glColorTable(@GLenum int target, @GLenum int internalFormat, @GLsizei int width, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check("256") @Check("256")
@Const @Const
@GLbyte @GLbyte
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
void glColorSubTable(@GLenum int target, @GLsizei int start, @GLsizei int count, @GLenum int format, @GLenum int type, void glColorSubTable(@GLenum int target, @GLsizei int start, @GLsizei int count, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check("256") @Check("256")
@Const @Const
@GLbyte @GLbyte
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
@StripPostfix("params") @StripPostfix("params")
void glColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer 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 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, void glGetColorTable(@GLenum int target, @GLenum int format, @GLenum int type,
@Check("256") @Check("256")
@GLbyte @GLbyte
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
@StripPostfix("params") @StripPostfix("params")
void glGetColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params); void glGetColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer 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 glResetHistogram(@GLenum int target);
void glGetHistogram(@GLenum int target, boolean reset, @GLenum int format, @GLenum int type, void glGetHistogram(@GLenum int target, boolean reset, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.PackPBO) @BufferObject(BufferKind.PackPBO)
@Check("256") @Check("256")
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer values);
Buffer values);
@StripPostfix("params") @StripPostfix("params")
void glGetHistogramParameterfv(@GLenum int target, @GLenum int pname, @Check("256") FloatBuffer params); void glGetHistogramParameterfv(@GLenum int target, @GLenum int pname, @Check("256") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetHistogramParameteriv(@GLenum int target, @GLenum int pname, @Check("256") IntBuffer 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 glResetMinmax(@GLenum int target);
void glGetMinmax(@GLenum int target, boolean reset, @GLenum int format, @GLenum int types, void glGetMinmax(@GLenum int target, boolean reset, @GLenum int format, @GLenum int types,
@BufferObject(BufferKind.PackPBO) @BufferObject(BufferKind.PackPBO)
@Check("4") @Check("4")
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer values);
Buffer values);
@StripPostfix("params") @StripPostfix("params")
void glGetMinmaxParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params); void glGetMinmaxParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetMinmaxParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer 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, void glConvolutionFilter1D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check("GLChecks.calculateImageStorage(image, format, type, width, 1, 1)") @Check("GLChecks.calculateImageStorage(image, format, type, width, 1, 1)")
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer image);
Buffer image);
void glConvolutionFilter2D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type, void glConvolutionFilter2D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check("GLChecks.calculateImageStorage(image, format, type, width, height, 1)") @Check("GLChecks.calculateImageStorage(image, format, type, width, height, 1)")
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint Buffer image);
Buffer image);
void glConvolutionParameterf(@GLenum int target, @GLenum int pname, float params); void glConvolutionParameterf(@GLenum int target, @GLenum int pname, float params);
@ -242,64 +237,58 @@ public interface ARB_imaging {
// TODO: check buffer size valid // TODO: check buffer size valid
void glGetConvolutionFilter(@GLenum int target, @GLenum int format, @GLenum int type, void glGetConvolutionFilter(@GLenum int target, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.PackPBO) @BufferObject(BufferKind.PackPBO)
@Check @Check
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer image);
Buffer image);
@StripPostfix("params") @StripPostfix("params")
void glGetConvolutionParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params); void glGetConvolutionParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetConvolutionParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params); void glGetConvolutionParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
// TODO: check buffer size valid // 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, void glSeparableFilter2D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer row,
Buffer row, @BufferObject(BufferKind.UnpackPBO)
@BufferObject(BufferKind.UnpackPBO) @Check
@Check @Const
@Const @GLbyte
@GLbyte @GLshort
@GLshort @GLint
@GLint @GLfloat
@GLfloat @GLdouble Buffer column);
@GLdouble
Buffer column);
// TODO: check buffer size valid // TODO: check buffer size valid
void glGetSeparableFilter(@GLenum int target, @GLenum int format, @GLenum int type, void glGetSeparableFilter(@GLenum int target, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.PackPBO) @BufferObject(BufferKind.PackPBO)
@Check @Check
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer row,
Buffer row, @BufferObject(BufferKind.PackPBO)
@BufferObject(BufferKind.PackPBO) @Check
@Check @GLbyte
@GLbyte @GLshort
@GLshort @GLint
@GLint @GLdouble Buffer column,
@GLdouble @BufferObject(BufferKind.PackPBO)
Buffer column, @Check
@BufferObject(BufferKind.PackPBO) @GLbyte
@Check @GLshort
@GLbyte @GLint
@GLshort @GLdouble Buffer span);
@GLint }
@GLdouble
Buffer span);
}

View File

@ -31,14 +31,12 @@
*/ */
package org.lwjgl.opengl; 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 org.lwjgl.util.generator.*;
import java.nio.*;
public interface ARB_matrix_palette { public interface ARB_matrix_palette {
int GL_MATRIX_PALETTE_ARB = 0x8840; int GL_MATRIX_PALETTE_ARB = 0x8840;
int GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841; int GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841;
int GL_MAX_PALETTE_MATRICES_ARB = 0x8842; int GL_MAX_PALETTE_MATRICES_ARB = 0x8842;
@ -53,19 +51,20 @@ public interface ARB_matrix_palette {
void glCurrentPaletteMatrixARB(int index); void glCurrentPaletteMatrixARB(int index);
void glMatrixIndexPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride, void glMatrixIndexPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLubyte @GLubyte
@GLushort @GLushort
@GLuint @GLuint Buffer pPointer);
Buffer pPointer);
@StripPostfix("pIndices") @StripPostfix("pIndices")
void glMatrixIndexubvARB(@AutoSize("pIndices") int size, @GLubyte ByteBuffer pIndices); void glMatrixIndexubvARB(@AutoSize("pIndices") int size, @GLubyte ByteBuffer pIndices);
@StripPostfix("pIndices") @StripPostfix("pIndices")
void glMatrixIndexusvARB(@AutoSize("pIndices") int size, @GLushort ShortBuffer pIndices); void glMatrixIndexusvARB(@AutoSize("pIndices") int size, @GLushort ShortBuffer pIndices);
@StripPostfix("pIndices") @StripPostfix("pIndices")
void glMatrixIndexuivARB(@AutoSize("pIndices") int size, @GLuint IntBuffer 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.*; import org.lwjgl.util.generator.*;
public interface ARB_multisample { public interface ARB_multisample {
int GL_MULTISAMPLE_ARB = 0x809D; int GL_MULTISAMPLE_ARB = 0x809D;
int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E; int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E;
int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F; int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F;

View File

@ -34,6 +34,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
public interface ARB_multitexture { public interface ARB_multitexture {
int GL_TEXTURE0_ARB = 0x84C0; int GL_TEXTURE0_ARB = 0x84C0;
int GL_TEXTURE1_ARB = 0x84C1; int GL_TEXTURE1_ARB = 0x84C1;
int GL_TEXTURE2_ARB = 0x84C2; int GL_TEXTURE2_ARB = 0x84C2;
@ -75,7 +76,7 @@ public interface ARB_multitexture {
void glActiveTextureARB(@GLenum int texture); void glActiveTextureARB(@GLenum int texture);
void glMultiTexCoord1fARB(@GLenum int target, float s); void glMultiTexCoord1fARB(@GLenum int target, float s);
void glMultiTexCoord1dARB(@GLenum int target, double s); void glMultiTexCoord1dARB(@GLenum int target, double s);
void glMultiTexCoord1iARB(@GLenum int target, int s); void glMultiTexCoord1iARB(@GLenum int target, int s);
@ -83,7 +84,7 @@ public interface ARB_multitexture {
void glMultiTexCoord1sARB(@GLenum int target, short s); void glMultiTexCoord1sARB(@GLenum int target, short s);
void glMultiTexCoord2fARB(@GLenum int target, float s, float t); void glMultiTexCoord2fARB(@GLenum int target, float s, float t);
void glMultiTexCoord2dARB(@GLenum int target, double s, double t); void glMultiTexCoord2dARB(@GLenum int target, double s, double t);
void glMultiTexCoord2iARB(@GLenum int target, int s, int 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 glMultiTexCoord2sARB(@GLenum int target, short s, short t);
void glMultiTexCoord3fARB(@GLenum int target, float s, float t, float r); void glMultiTexCoord3fARB(@GLenum int target, float s, float t, float r);
void glMultiTexCoord3dARB(@GLenum int target, double s, double t, double r); void glMultiTexCoord3dARB(@GLenum int target, double s, double t, double r);
void glMultiTexCoord3iARB(@GLenum int target, int s, int t, int r); void glMultiTexCoord3iARB(@GLenum int target, int s, int t, int r);

View File

@ -31,27 +31,28 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ARB_occlusion_query { 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: * and GetQueryivARB:
*/ */
int GL_SAMPLES_PASSED_ARB = 0x8914; 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_QUERY_COUNTER_BITS_ARB = 0x8864;
int GL_CURRENT_QUERY_ARB = 0x8865; 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: * GetQueryObjectuivARB:
*/ */
int GL_QUERY_RESULT_ARB = 0x8866; int GL_QUERY_RESULT_ARB = 0x8866;
int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867; int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867;

View File

@ -32,18 +32,19 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface ARB_pixel_buffer_object extends ARB_buffer_object { 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, * BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
* GetBufferParameteriv, and GetBufferPointerv: * GetBufferParameteriv, and GetBufferPointerv:
*/ */
int GL_PIXEL_PACK_BUFFER_ARB = 0x88EB; int GL_PIXEL_PACK_BUFFER_ARB = 0x88EB;
int GL_PIXEL_UNPACK_BUFFER_ARB = 0x88EC; 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: * GetFloatv, and GetDoublev:
*/ */
int GL_PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED; int GL_PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED;
int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF; int GL_PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF;
} }

View File

@ -31,11 +31,12 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ARB_point_parameters { public interface ARB_point_parameters {
int GL_POINT_SIZE_MIN_ARB = 0x8126; int GL_POINT_SIZE_MIN_ARB = 0x8126;
int GL_POINT_SIZE_MAX_ARB = 0x8127; int GL_POINT_SIZE_MAX_ARB = 0x8127;
int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128; int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128;
@ -45,4 +46,5 @@ public interface ARB_point_parameters {
@StripPostfix("pfParams") @StripPostfix("pfParams")
void glPointParameterfvARB(@GLenum int pname, @Check("4") @Const FloatBuffer pfParams); void glPointParameterfvARB(@GLenum int pname, @Check("4") @Const FloatBuffer pfParams);
} }

View File

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

View File

@ -31,23 +31,21 @@
*/ */
package org.lwjgl.opengl; 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.*; import org.lwjgl.util.generator.*;
@Extension(postfix="ARB", isFinal=false) import java.nio.*;
@Extension(postfix = "ARB", isFinal = false)
public interface ARB_program { 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; 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_LENGTH_ARB = 0x8627;
int GL_PROGRAM_FORMAT_ARB = 0x8876; int GL_PROGRAM_FORMAT_ARB = 0x8876;
int GL_PROGRAM_BINDING_ARB = 0x8677; int GL_PROGRAM_BINDING_ARB = 0x8677;
@ -71,15 +69,15 @@ public interface ARB_program {
int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5; int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5;
int GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6; 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; int GL_PROGRAM_STRING_ARB = 0x8628;
/* /**
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, * Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev: * GetFloatv, and GetDoublev:
*/ */
int GL_PROGRAM_ERROR_POSITION_ARB = 0x864B; int GL_PROGRAM_ERROR_POSITION_ARB = 0x864B;
int GL_CURRENT_MATRIX_ARB = 0x8641; int GL_CURRENT_MATRIX_ARB = 0x8641;
int GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7; 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_MATRICES_ARB = 0x862F;
int GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E; 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; 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_MATRIX0_ARB = 0x88C0;
int GL_MATRIX1_ARB = 0x88C1; int GL_MATRIX1_ARB = 0x88C1;
int GL_MATRIX2_ARB = 0x88C2; int GL_MATRIX2_ARB = 0x88C2;
@ -133,6 +131,7 @@ public interface ARB_program {
void glBindProgramARB(@GLenum int target, @GLuint int program); void glBindProgramARB(@GLenum int target, @GLuint int program);
void glDeleteProgramsARB(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs); void glDeleteProgramsARB(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs);
void glGenProgramsARB(@AutoSize("programs") @GLsizei int n, @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); void glProgramEnvParameter4fARB(int target, int index, float x, float y, float z, float w);
@ -141,7 +140,7 @@ public interface ARB_program {
@StripPostfix("params") @StripPostfix("params")
void glProgramEnvParameter4fvARB(@GLenum int target, @GLuint int index, @Check("4") @Const FloatBuffer params); void glProgramEnvParameter4fvARB(@GLenum int target, @GLuint int index, @Check("4") @Const FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glProgramEnvParameter4dvARB(@GLenum int target, @GLuint int index, @Check("4") @Const DoubleBuffer params); void glProgramEnvParameter4dvARB(@GLenum int target, @GLuint int index, @Check("4") @Const DoubleBuffer params);
@ -151,19 +150,19 @@ public interface ARB_program {
@StripPostfix("params") @StripPostfix("params")
void glProgramLocalParameter4fvARB(@GLenum int target, @GLuint int index, @Check("4") @Const FloatBuffer params); void glProgramLocalParameter4fvARB(@GLenum int target, @GLuint int index, @Check("4") @Const FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glProgramLocalParameter4dvARB(@GLenum int target, @GLuint int index, @Check("4") @Const DoubleBuffer params); void glProgramLocalParameter4dvARB(@GLenum int target, @GLuint int index, @Check("4") @Const DoubleBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetProgramEnvParameterfvARB(@GLenum int target, @GLuint int index, @Check("4") FloatBuffer params); void glGetProgramEnvParameterfvARB(@GLenum int target, @GLuint int index, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetProgramEnvParameterdvARB(@GLenum int target, @GLuint int index, @Check("4") DoubleBuffer params); void glGetProgramEnvParameterdvARB(@GLenum int target, @GLuint int index, @Check("4") DoubleBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetProgramLocalParameterfvARB(@GLenum int target, @GLuint int index, @Check("4") FloatBuffer params); void glGetProgramLocalParameterfvARB(@GLenum int target, @GLuint int index, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetProgramLocalParameterdvARB(@GLenum int target, @GLuint int index, @Check("4") DoubleBuffer params); void glGetProgramLocalParameterdvARB(@GLenum int target, @GLuint int index, @Check("4") DoubleBuffer params);

View File

@ -31,21 +31,20 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ARB_shader_objects { 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; 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_TYPE_ARB = 0x8B4E;
int GL_OBJECT_SUBTYPE_ARB = 0x8B4F; int GL_OBJECT_SUBTYPE_ARB = 0x8B4F;
int GL_OBJECT_DELETE_STATUS_ARB = 0x8B80; 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_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87;
int GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88; 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; 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 = 0x1406;
int GL_FLOAT_VEC2_ARB = 0x8B50; int GL_FLOAT_VEC2_ARB = 0x8B50;
int GL_FLOAT_VEC3_ARB = 0x8B51; int GL_FLOAT_VEC3_ARB = 0x8B51;
@ -92,35 +91,33 @@ public interface ARB_shader_objects {
void glDeleteObjectARB(@GLhandleARB int obj); 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); 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. * The ARB_shader_objects extension allows multiple, optionally null-terminated, source strings to define a shader program.
* <p/> * <p/>
* This method uses just a single string, that should NOT be null-terminated. * 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, void glShaderSourceARB(@GLhandleARB int shader, @Constant("1") @GLsizei int count,
@Indirect @Indirect
@Check @Check
@Const @Const
@GLcharARB @GLcharARB ByteBuffer string,
ByteBuffer string, @AutoSize("string")
@AutoSize("string") @Indirect
@Indirect @Const
@Const @GLint int length);
@GLint
int length);
void glCompileShaderARB(@GLhandleARB int shaderObj); void glCompileShaderARB(@GLhandleARB int shaderObj);
@GLhandleARB int glCreateProgramObjectARB(); @GLhandleARB
int glCreateProgramObjectARB();
void glAttachObjectARB(@GLhandleARB int containerObj, @GLhandleARB int obj); void glAttachObjectARB(@GLhandleARB int containerObj, @GLhandleARB int obj);
@ -148,78 +145,77 @@ public interface ARB_shader_objects {
@StripPostfix("values") @StripPostfix("values")
void glUniform1fvARB(int location, @AutoSize("values") @GLsizei int count, FloatBuffer 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") @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") @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") @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") @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") @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") @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") @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") @StripPostfix("params")
void glGetObjectParameterfvARB(@GLhandleARB int obj, @GLenum int pname, @Check FloatBuffer params); void glGetObjectParameterfvARB(@GLhandleARB int obj, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetObjectParameterivARB(@GLhandleARB int obj, @GLenum int pname, @Check IntBuffer params); void glGetObjectParameterivARB(@GLhandleARB int obj, @GLenum int pname, @Check IntBuffer params);
void glGetInfoLogARB(@GLhandleARB int obj, @AutoSize("infoLog") @GLsizei int maxLength, void glGetInfoLogARB(@GLhandleARB int obj, @AutoSize("infoLog") @GLsizei int maxLength,
@Check(value="1", canBeNull=true) @Check(value = "1", canBeNull = true)
@GLsizei IntBuffer length, @GLsizei IntBuffer length,
@GLcharARB @GLcharARB ByteBuffer infoLog);
ByteBuffer infoLog);
void glGetAttachedObjectsARB(@GLhandleARB int containerObj, @AutoSize("obj") @GLsizei int maxCount, void glGetAttachedObjectsARB(@GLhandleARB int containerObj, @AutoSize("obj") @GLsizei int maxCount,
@Check(value="1", canBeNull=true) @Check(value = "1", canBeNull = true)
@GLsizei @GLsizei IntBuffer count,
IntBuffer count, @GLhandleARB IntBuffer obj);
@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. * 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 programObj
* @param name * @param name
*
* @return
*/ */
int glGetUniformLocationARB(@GLhandleARB int programObj, @NullTerminated @Const @GLcharARB ByteBuffer name); int glGetUniformLocationARB(@GLhandleARB int programObj, @NullTerminated @Const @GLcharARB ByteBuffer name);
void glGetActiveUniformARB(@GLhandleARB int programObj, @GLuint int index, @AutoSize("name") @GLsizei int maxLength, void glGetActiveUniformARB(@GLhandleARB int programObj, @GLuint int index, @AutoSize("name") @GLsizei int maxLength,
@Check(value="1", canBeNull=true) @Check(value = "1", canBeNull = true)
@GLsizei @GLsizei IntBuffer length,
IntBuffer length, @Check("1") IntBuffer size,
@Check("1") @Check("1")
IntBuffer size, @GLenum IntBuffer type,
@Check("1") @GLcharARB ByteBuffer name);
@GLenum
IntBuffer type,
@GLcharARB
ByteBuffer name);
@StripPostfix("params") @StripPostfix("params")
void glGetUniformfvARB(@GLhandleARB int programObj, int location, @Check FloatBuffer params); void glGetUniformfvARB(@GLhandleARB int programObj, int location, @Check FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetUniformivARB(@GLhandleARB int programObj, int location, @Check IntBuffer params); void glGetUniformivARB(@GLhandleARB int programObj, int location, @Check IntBuffer params);
void glGetShaderSourceARB(@GLhandleARB int obj, @AutoSize("source") @GLsizei int maxLength, void glGetShaderSourceARB(@GLhandleARB int obj, @AutoSize("source") @GLsizei int maxLength,
@Check(value="1", canBeNull=true) @Check(value = "1", canBeNull = true)
@GLsizei @GLsizei IntBuffer length,
IntBuffer length, @GLcharARB ByteBuffer source);
@GLcharARB
ByteBuffer source);
} }

View File

@ -32,8 +32,9 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface ARB_shading_language_100 { 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; int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C;
} }

View File

@ -31,10 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ARB_texture_compression { public interface ARB_texture_compression {
int GL_COMPRESSED_ALPHA_ARB = 0x84E9; int GL_COMPRESSED_ALPHA_ARB = 0x84E9;
int GL_COMPRESSED_LUMINANCE_ARB = 0x84EA; int GL_COMPRESSED_LUMINANCE_ARB = 0x84EA;
@ -49,78 +49,71 @@ public interface ARB_texture_compression {
int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3; 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, void glCompressedTexImage1DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pData);
Buffer pData);
void glCompressedTexImage2DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize, void glCompressedTexImage2DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pData);
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, 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) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pData);
Buffer pData);
void glCompressedTexSubImage1DARB(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize, void glCompressedTexSubImage1DARB(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pData);
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, 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) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pData);
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, 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) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pData);
Buffer pData);
void glGetCompressedTexImageARB(@GLenum int target, int lod, void glGetCompressedTexImageARB(@GLenum int target, int lod,
@BufferObject(BufferKind.PackPBO) @BufferObject(BufferKind.PackPBO)
@Check @Check
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pImg);
Buffer pImg);
} }

View File

@ -32,8 +32,9 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface ARB_texture_float { 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_RED_TYPE_ARB = 0x8C10;
int GL_TEXTURE_GREEN_TYPE_ARB = 0x8C11; 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_INTENSITY_TYPE_ARB = 0x8C15;
int GL_TEXTURE_DEPTH_TYPE_ARB = 0x8C16; 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; 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: * TexImage2D, and TexImage3D:
*/ */
int GL_RGBA32F_ARB = 0x8814; int GL_RGBA32F_ARB = 0x8814;

View File

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

View File

@ -31,10 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ARB_transpose_matrix { public interface ARB_transpose_matrix {
int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3; int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3;
int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4; int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4;
@ -43,6 +43,7 @@ public interface ARB_transpose_matrix {
@StripPostfix("pfMtx") @StripPostfix("pfMtx")
void glLoadTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx); void glLoadTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx);
@StripPostfix("pfMtx") @StripPostfix("pfMtx")
void glMultTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx); void glMultTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx);
} }

View File

@ -31,16 +31,12 @@
*/ */
package org.lwjgl.opengl; 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 org.lwjgl.util.generator.*;
import java.nio.*;
public interface ARB_vertex_blend { public interface ARB_vertex_blend {
int GL_MAX_VERTEX_UNITS_ARB = 0x86A4; int GL_MAX_VERTEX_UNITS_ARB = 0x86A4;
int GL_ACTIVE_VERTEX_UNITS_ARB = 0x86A5; int GL_ACTIVE_VERTEX_UNITS_ARB = 0x86A5;
int GL_WEIGHT_SUM_UNITY_ARB = 0x86A6; int GL_WEIGHT_SUM_UNITY_ARB = 0x86A6;
@ -86,36 +82,41 @@ public interface ARB_vertex_blend {
@StripPostfix("pWeights") @StripPostfix("pWeights")
void glWeightbvARB(@AutoSize("pWeights") int size, ByteBuffer pWeights); void glWeightbvARB(@AutoSize("pWeights") int size, ByteBuffer pWeights);
@StripPostfix("pWeights") @StripPostfix("pWeights")
void glWeightsvARB(@AutoSize("pWeights") int size, ShortBuffer pWeights); void glWeightsvARB(@AutoSize("pWeights") int size, ShortBuffer pWeights);
@StripPostfix("pWeights") @StripPostfix("pWeights")
void glWeightivARB(@AutoSize("pWeights") int size, IntBuffer pWeights); void glWeightivARB(@AutoSize("pWeights") int size, IntBuffer pWeights);
@StripPostfix("pWeights") @StripPostfix("pWeights")
void glWeightfvARB(@AutoSize("pWeights") int size, FloatBuffer pWeights); void glWeightfvARB(@AutoSize("pWeights") int size, FloatBuffer pWeights);
@StripPostfix("pWeights") @StripPostfix("pWeights")
void glWeightdvARB(@AutoSize("pWeights") int size, DoubleBuffer pWeights); void glWeightdvARB(@AutoSize("pWeights") int size, DoubleBuffer pWeights);
@StripPostfix("pWeights") @StripPostfix("pWeights")
void glWeightubvARB(@AutoSize("pWeights") int size, @GLubyte ByteBuffer pWeights); void glWeightubvARB(@AutoSize("pWeights") int size, @GLubyte ByteBuffer pWeights);
@StripPostfix("pWeights") @StripPostfix("pWeights")
void glWeightusvARB(@AutoSize("pWeights") int size, @GLushort ShortBuffer pWeights); void glWeightusvARB(@AutoSize("pWeights") int size, @GLushort ShortBuffer pWeights);
@StripPostfix("pWeights") @StripPostfix("pWeights")
void glWeightuivARB(@AutoSize("pWeights") int size, @GLuint IntBuffer pWeights); void glWeightuivARB(@AutoSize("pWeights") int size, @GLuint IntBuffer pWeights);
void glWeightPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride, void glWeightPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLubyte @GLubyte
@GLshort @GLshort
@GLushort @GLushort
@GLint @GLint
@GLuint @GLuint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pPointer);
Buffer pPointer);
void glVertexBlendARB(int count); void glVertexBlendARB(int count);
} }

View File

@ -32,19 +32,20 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface ARB_vertex_buffer_object extends ARB_buffer_object { 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, * BufferSubDataARB, MapBufferARB, UnmapBufferARB,
* GetBufferSubDataARB, GetBufferParameterivARB, and * GetBufferSubDataARB, GetBufferParameterivARB, and
* GetBufferPointervARB: * GetBufferPointervARB:
*/ */
int GL_ARRAY_BUFFER_ARB = 0x8892; int GL_ARRAY_BUFFER_ARB = 0x8892;
int GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893; 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: * GetFloatv, and GetDoublev:
*/ */
int GL_ARRAY_BUFFER_BINDING_ARB = 0x8894; int GL_ARRAY_BUFFER_BINDING_ARB = 0x8894;
int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895; int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895;
int GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896; 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_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889D;
int GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889E; 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; int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F;
} }

View File

@ -31,37 +31,34 @@
*/ */
package org.lwjgl.opengl; 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 org.lwjgl.util.generator.*;
import java.nio.*;
public interface ARB_vertex_program extends ARB_program { 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, * Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, by the
* and by the <target> parameter of ProgramStringARB, BindProgramARB, * &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
* ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB, * and by the &lt;target&gt; parameter of ProgramStringARB, BindProgramARB,
* GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB, * ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB,
* GetProgramivARB, and GetProgramStringARB. * GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
*/ * GetProgramivARB, and GetProgramStringARB.
*/
int GL_VERTEX_PROGRAM_ARB = 0x8620; int GL_VERTEX_PROGRAM_ARB = 0x8620;
/* /**
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and by * Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, and by
* the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and * the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev: * GetDoublev:
*/ */
int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642; int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643; int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
int GL_COLOR_SUM_ARB = 0x8458; 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_ENABLED_ARB = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623; int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624; 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_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626; 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; 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_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0;
int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1; int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1;
int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2; int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2;
int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3; int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3;
/* /**
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, * Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev: * GetFloatv, and GetDoublev:
*/ */
int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869; int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
void glVertexAttrib1sARB(@GLuint int index, short x); 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 glVertexAttrib3sARB(@GLuint int index, short x, short y, short z);
void glVertexAttrib3fARB(@GLuint int index, float x, float y, float z); void glVertexAttrib3fARB(@GLuint int index, float x, float y, float z);
void glVertexAttrib3dARB(@GLuint int index, double x, double y, double 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); 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 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, void glVertexAttribPointerARB(@GLuint int index, int size, @AutoType("buffer") @GLenum int type, boolean normalized, @GLsizei int stride,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLubyte @GLubyte
@GLshort @GLshort
@GLushort @GLushort
@GLint @GLint
@GLuint @GLuint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer buffer);
Buffer buffer);
void glEnableVertexAttribArrayARB(@GLuint int index); void glEnableVertexAttribArrayARB(@GLuint int index);
@ -135,8 +131,10 @@ public interface ARB_vertex_program extends ARB_program {
@StripPostfix("params") @StripPostfix("params")
void glGetVertexAttribfvARB(@GLuint int index, @GLenum int pname, @Check FloatBuffer params); void glGetVertexAttribfvARB(@GLuint int index, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetVertexAttribdvARB(@GLuint int index, @GLenum int pname, @Check DoubleBuffer params); void glGetVertexAttribdvARB(@GLuint int index, @GLenum int pname, @Check DoubleBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetVertexAttribivARB(@GLuint int index, @GLenum int pname, @Check IntBuffer 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 { public interface ARB_vertex_shader {
/* /**
* Accepted by the <shaderType> argument of CreateShaderObjectARB and * Accepted by the &lt;shaderType&gt; argument of CreateShaderObjectARB and
* returned by the <params> parameter of GetObjectParameter{if}vARB: * returned by the &lt;params&gt; parameter of GetObjectParameter{if}vARB:
*/ */
int GL_VERTEX_SHADER_ARB = 0x8B31; 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: * GetFloatv, and GetDoublev:
*/ */
int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A; int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A;
int GL_MAX_VARYING_FLOATS_ARB = 0x8B4B; int GL_MAX_VARYING_FLOATS_ARB = 0x8B4B;
int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869; 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_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D;
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871; int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
/* /**
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and * Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, and
* by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and * by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev: * GetDoublev:
*/ */
int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642; int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643; 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_ATTRIBUTES_ARB = 0x8B89;
int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A; 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_ENABLED_ARB = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623; int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624; 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_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626; 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; 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 = 0x1406;
int GL_FLOAT_VEC2_ARB = 0x8B50; int GL_FLOAT_VEC2_ARB = 0x8B50;
int GL_FLOAT_VEC3_ARB = 0x8B51; int GL_FLOAT_VEC3_ARB = 0x8B51;

View File

@ -34,7 +34,7 @@ package org.lwjgl.opengl;
public interface ARB_window_pos { public interface ARB_window_pos {
void glWindowPos2fARB(float x, float y); void glWindowPos2fARB(float x, float y);
void glWindowPos2dARB(double x, double y); void glWindowPos2dARB(double x, double y);
void glWindowPos2iARB(int x, int y); void glWindowPos2iARB(int x, int y);

View File

@ -31,15 +31,16 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ATI_draw_buffers { 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: * and GetDoublev:
*/ */
int GL_MAX_DRAW_BUFFERS_ATI = 0x8824; int GL_MAX_DRAW_BUFFERS_ATI = 0x8824;
int GL_DRAW_BUFFER0_ATI = 0x8825; int GL_DRAW_BUFFER0_ATI = 0x8825;
int GL_DRAW_BUFFER1_ATI = 0x8826; int GL_DRAW_BUFFER1_ATI = 0x8826;

View File

@ -31,24 +31,23 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ATI_element_array { public interface ATI_element_array {
int GL_ELEMENT_ARRAY_ATI = 0x8768; int GL_ELEMENT_ARRAY_ATI = 0x8768;
int GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769; int GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769;
int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A; int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
void glElementPointerATI(@AutoType("pPointer") @GLenum int type, void glElementPointerATI(@AutoType("pPointer") @GLenum int type,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLubyte @GLubyte
@GLushort @GLushort
@GLuint @GLuint Buffer pPointer);
Buffer pPointer);
void glDrawElementArrayATI(@GLenum int mode, @GLsizei int count); void glDrawElementArrayATI(@GLenum int mode, @GLsizei int count);

View File

@ -31,11 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ATI_envmap_bumpmap { public interface ATI_envmap_bumpmap {
int GL_BUMP_ROT_MATRIX_ATI = 0x8775; int GL_BUMP_ROT_MATRIX_ATI = 0x8775;
int GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776; int GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776;
@ -48,11 +47,13 @@ public interface ATI_envmap_bumpmap {
@StripPostfix("param") @StripPostfix("param")
void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") @Const FloatBuffer param); void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") @Const FloatBuffer param);
@StripPostfix("param") @StripPostfix("param")
void glTexBumpParameterivATI(@GLenum int pname, @Check("4") @Const IntBuffer param); void glTexBumpParameterivATI(@GLenum int pname, @Check("4") @Const IntBuffer param);
@StripPostfix("param") @StripPostfix("param")
void glGetTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param); void glGetTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param);
@StripPostfix("param") @StripPostfix("param")
void glGetTexBumpParameterivATI(@GLenum int pname, @Check("4") IntBuffer 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 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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; package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ATI_fragment_shader { public interface ATI_fragment_shader {
int GL_FRAGMENT_SHADER_ATI = 0x8920; int GL_FRAGMENT_SHADER_ATI = 0x8920;
int GL_REG_0_ATI = 0x8921; int GL_REG_0_ATI = 0x8921;
int GL_REG_1_ATI = 0x8922; int GL_REG_1_ATI = 0x8922;
@ -135,9 +131,9 @@ public interface ATI_fragment_shader {
int GL_RED_BIT_ATI = 0x00000001; int GL_RED_BIT_ATI = 0x00000001;
int GL_GREEN_BIT_ATI = 0x00000002; int GL_GREEN_BIT_ATI = 0x00000002;
int GL_BLUE_BIT_ATI = 0x00000004; int GL_BLUE_BIT_ATI = 0x00000004;
int GL_X2_BIT_ATI = 0x00000001; int GL_2X_BIT_ATI = 0x00000001;
int GL_X4_BIT_ATI = 0x00000002; int GL_4X_BIT_ATI = 0x00000002;
int GL_X8_BIT_ATI = 0x00000004; int GL_8X_BIT_ATI = 0x00000004;
int GL_HALF_BIT_ATI = 0x00000008; int GL_HALF_BIT_ATI = 0x00000008;
int GL_QUARTER_BIT_ATI = 0x00000010; int GL_QUARTER_BIT_ATI = 0x00000010;
int GL_EIGHTH_BIT_ATI = 0x00000020; int GL_EIGHTH_BIT_ATI = 0x00000020;
@ -146,7 +142,8 @@ public interface ATI_fragment_shader {
int GL_NEGATE_BIT_ATI = 0x00000004; int GL_NEGATE_BIT_ATI = 0x00000004;
int GL_BIAS_BIT_ATI = 0x00000008; int GL_BIAS_BIT_ATI = 0x00000008;
@GLuint int glGenFragmentShadersATI(@GLuint int range); @GLuint
int glGenFragmentShadersATI(@GLuint int range);
void glBindFragmentShaderATI(@GLuint int id); void glBindFragmentShaderATI(@GLuint int id);

View File

@ -31,26 +31,28 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.ByteBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ATI_map_object_buffer { public interface ATI_map_object_buffer {
/** /**
* glMapObjectBufferATI maps a gl object buffer to a ByteBuffer. The oldBuffer argument can be * 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 * 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 * oldBuffer is non-null, it will be returned if it points to the same mapped memory, otherwise a
* new ByteBuffer is created. * new ByteBuffer is created.
* *
* @param result_size The size of the buffer area. * @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, * @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 * it will be returned and no new buffer will be created. In that case, size is
* ignored. * ignored.
* *
* @return A ByteBuffer representing the mapped object buffer memory. * @return A ByteBuffer representing the mapped object buffer memory.
*/ */
@CachedResult @CachedResult
@GLvoid ByteBuffer glMapObjectBufferATI(@GLuint int buffer); @GLvoid
ByteBuffer glMapObjectBufferATI(@GLuint int buffer);
void glUnmapObjectBufferATI(@GLuint int buffer); void glUnmapObjectBufferATI(@GLuint int buffer);

View File

@ -33,7 +33,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
@Extension(postfix="ATI", className="ATITextureCompression3DC") @Extension(postfix = "ATI", className = "ATITextureCompression3DC")
public interface ATI_texture_compression_3dc { public interface ATI_texture_compression_3dc {
int GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI = 0x8837; int GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI = 0x8837;
} }

View File

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

View File

@ -31,12 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ATI_vertex_array_object { public interface ATI_vertex_array_object {
int GL_STATIC_ATI = 0x8760; int GL_STATIC_ATI = 0x8760;
int GL_DYNAMIC_ATI = 0x8761; int GL_DYNAMIC_ATI = 0x8761;
@ -48,28 +46,28 @@ public interface ATI_vertex_array_object {
int GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767; int GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767;
@GenerateAutos @GenerateAutos
@GLuint int glNewObjectBufferATI(@AutoSize("pPointer") @GLsizei int size, @GLuint
@Const int glNewObjectBufferATI(@AutoSize("pPointer") @GLsizei int size,
@GLbyte @Const
@GLshort @GLbyte
@GLint @GLshort
@GLfloat @GLint
@GLdouble @GLfloat
Buffer pPointer, @GLenum int usage); @GLdouble Buffer pPointer, @GLenum int usage);
boolean glIsObjectBufferATI(@GLuint int buffer); boolean glIsObjectBufferATI(@GLuint int buffer);
void glUpdateObjectBufferATI(@GLuint int buffer, @GLuint int offset, @AutoSize("pPointer") @GLsizei int size, void glUpdateObjectBufferATI(@GLuint int buffer, @GLuint int offset, @AutoSize("pPointer") @GLsizei int size,
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pPointer, @GLenum int preserve);
Buffer pPointer, @GLenum int preserve);
@StripPostfix("params") @StripPostfix("params")
void glGetObjectBufferfvATI(@GLuint int buffer, @GLenum int pname, @Check FloatBuffer params); void glGetObjectBufferfvATI(@GLuint int buffer, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetObjectBufferivATI(@GLuint int buffer, @GLenum int pname, @Check IntBuffer params); void glGetObjectBufferivATI(@GLuint int buffer, @GLenum int pname, @Check IntBuffer params);
@ -79,6 +77,7 @@ public interface ATI_vertex_array_object {
@StripPostfix("params") @StripPostfix("params")
void glGetArrayObjectfvATI(@GLenum int array, @GLenum int pname, @Check("4") FloatBuffer params); void glGetArrayObjectfvATI(@GLenum int array, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetArrayObjectivATI(@GLenum int array, @GLenum int pname, @Check("4") IntBuffer 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") @StripPostfix("params")
void glGetVariantArrayObjectfvATI(@GLuint int id, @GLenum int pname, @Check("4") FloatBuffer params); void glGetVariantArrayObjectfvATI(@GLuint int id, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetVariantArrayObjectivATI(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params); void glGetVariantArrayObjectivATI(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params);
} }

View File

@ -31,16 +31,16 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface ATI_vertex_attrib_array_object { 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); void glVertexAttribArrayObjectATI(@GLuint int index, int size, @GLenum int type, boolean normalized, @GLsizei int stride, @GLuint int buffer, @GLuint int offset);
@StripPostfix("params") @StripPostfix("params")
void glGetVertexAttribArrayObjectfvATI(@GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params); void glGetVertexAttribArrayObjectfvATI(@GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetVertexAttribArrayObjectivATI(@GLuint int index, @GLenum int pname, @Check("4") IntBuffer 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; int GL_VERTEX_STREAM7_ATI = 0x8774;
void glVertexStream2fATI(@GLenum int stream, float x, float y); void glVertexStream2fATI(@GLenum int stream, float x, float y);
void glVertexStream2dATI(@GLenum int stream, double x, double y); void glVertexStream2dATI(@GLenum int stream, double x, double y);
void glVertexStream2iATI(@GLenum int stream, int x, int 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 glNormalStream3bATI(@GLenum int stream, byte x, byte y, byte z);
void glNormalStream3fATI(@GLenum int stream, float x, float y, float z); void glNormalStream3fATI(@GLenum int stream, float x, float y, float z);
void glNormalStream3dATI(@GLenum int stream, double x, double y, double z); void glNormalStream3dATI(@GLenum int stream, double x, double y, double z);
void glNormalStream3iATI(@GLenum int stream, int x, int y, int z); void glNormalStream3iATI(@GLenum int stream, int x, int y, int z);

View File

@ -31,11 +31,6 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
/**
* EXT_bgra_constants
*
* @author cas
*/
public interface EXT_bgra { public interface EXT_bgra {
int GL_BGR_EXT = 0x80E0; int GL_BGR_EXT = 0x80E0;
int GL_BGRA_EXT = 0x80E1; int GL_BGRA_EXT = 0x80E1;

View File

@ -34,10 +34,11 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
public interface EXT_blend_equation_separate { 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: * GetFloatv, and GetDoublev:
*/ */
int GL_BLEND_EQUATION_RGB_EXT = 0x8009; int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D; int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D;

View File

@ -31,11 +31,6 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
/**
* EXT_blend_subtract constants
*
* @author cas
*/
public interface EXT_blend_subtract { public interface EXT_blend_subtract {
int GL_FUNC_SUBTRACT_EXT = 0x800A; int GL_FUNC_SUBTRACT_EXT = 0x800A;
int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B; int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B;

View File

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

View File

@ -31,19 +31,18 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_draw_range_elements { public interface EXT_draw_range_elements {
int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8; int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8;
int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9; 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, void glDrawRangeElementsEXT(@GLenum int mode, @GLuint int start, @GLuint int end, @AutoSize("pIndices") @GLsizei int count, @AutoType("pIndices") @GLenum int type,
@BufferObject(BufferKind.ElementVBO) @BufferObject(BufferKind.ElementVBO)
@Const @Const
@GLubyte @GLubyte
@GLushort @GLushort
@GLuint @GLuint Buffer pIndices);
Buffer pIndices);
} }

View File

@ -31,10 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_fog_coord { public interface EXT_fog_coord {
int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450; int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450;
int GL_FOG_COORDINATE_EXT = 0x8451; int GL_FOG_COORDINATE_EXT = 0x8451;
@ -46,14 +46,14 @@ public interface EXT_fog_coord {
int GL_FOG_COORDINATE_ARRAY_EXT = 0x8457; int GL_FOG_COORDINATE_ARRAY_EXT = 0x8457;
void glFogCoordfEXT(float coord); void glFogCoordfEXT(float coord);
void glFogCoorddEXT(double coord); void glFogCoorddEXT(double coord);
void glFogCoordPointerEXT(@AutoType("data") @GLenum int type, @GLsizei int stride, void glFogCoordPointerEXT(@AutoType("data") @GLenum int type, @GLsizei int stride,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
} }

View File

@ -33,7 +33,7 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.IntBuffer; import java.nio.*;
public interface EXT_framebuffer_object { public interface EXT_framebuffer_object {
@ -61,8 +61,8 @@ public interface EXT_framebuffer_object {
int GL_STENCIL_INDEX16_EXT = 0x8D49; 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_WIDTH_EXT = 0x8D42;
int GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43; int GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43;
int GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44; 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 glBindRenderbufferEXT(@GLenum int target, @GLuint int renderbuffer);
void glDeleteRenderbuffersEXT(@AutoSize("renderbuffers") int n, @Const @GLuint IntBuffer renderbuffers); void glDeleteRenderbuffersEXT(@AutoSize("renderbuffers") int n, @Const @GLuint IntBuffer renderbuffers);
void glGenRenderbuffersEXT(@AutoSize("renderbuffers") int n, @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); 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 glBindFramebufferEXT(@GLenum int target, @GLuint int framebuffer);
void glDeleteFramebuffersEXT(@AutoSize("framebuffers") int n, @Const @GLuint IntBuffer framebuffers); void glDeleteFramebuffersEXT(@AutoSize("framebuffers") int n, @Const @GLuint IntBuffer framebuffers);
void glGenFramebuffersEXT(@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); 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; package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_multi_draw_arrays { public interface EXT_multi_draw_arrays {
@Code( " if (piFirst.remaining() != piCount.remaining()) {\n" + @Code(" if (piFirst.remaining() != piCount.remaining()) {\n" +
" throw new IllegalArgumentException(\"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); 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 { 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; 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; 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; int GL_DEPTH24_STENCIL8_EXT = 0x88F0;
/**
Accepted by the &lt;value&gt; parameter of GetTexLevelParameter.
*/
int GL_TEXTURE_STENCIL_SIZE_EXT = 0x88F1; int GL_TEXTURE_STENCIL_SIZE_EXT = 0x88F1;
} }

View File

@ -36,7 +36,8 @@ import org.lwjgl.util.generator.*;
import java.nio.*; import java.nio.*;
public interface EXT_paletted_texture { public interface EXT_paletted_texture {
/*
/**
* Accepted by the internalformat parameter of TexImage1D, TexImage2D and * Accepted by the internalformat parameter of TexImage1D, TexImage2D and
* TexImage3DEXT: * TexImage3DEXT:
*/ */
@ -47,7 +48,7 @@ public interface EXT_paletted_texture {
int GL_COLOR_INDEX12_EXT = 0x80E6; int GL_COLOR_INDEX12_EXT = 0x80E6;
int GL_COLOR_INDEX16_EXT = 0x80E7; int GL_COLOR_INDEX16_EXT = 0x80E7;
/* /**
* Accepted by the pname parameter of GetColorTableParameterivEXT and * Accepted by the pname parameter of GetColorTableParameterivEXT and
* GetColorTableParameterfvEXT: * GetColorTableParameterfvEXT:
*/ */
@ -60,42 +61,40 @@ public interface EXT_paletted_texture {
int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE; int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF; int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
/* /**
* Accepted by the value parameter of GetTexLevelParameter{if}v: * Accepted by the value parameter of GetTexLevelParameter{if}v:
*/ */
int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED; int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED;
void glColorTableEXT(@GLenum int target, @GLenum int internalFormat, @GLsizei int width, @GLenum int format, @GLenum int type, 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)") @Check("GLChecks.calculateImageStorage(data, format, type, width, 1, 1)")
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
void glColorSubTableEXT(@GLenum int target, @GLsizei int start, @GLsizei int count, @GLenum int format, @GLenum int type, 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)") @Check("GLChecks.calculateImageStorage(data, format, type, count, 1, 1)")
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
void glGetColorTableEXT(@GLenum int target, @GLenum int format, @GLenum int type, void glGetColorTableEXT(@GLenum int target, @GLenum int format, @GLenum int type,
@Check @Check
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
@StripPostfix("params") @StripPostfix("params")
void glGetColorTableParameterivEXT(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params); void glGetColorTableParameterivEXT(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetColorTableParameterfvEXT(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params); void glGetColorTableParameterfvEXT(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
} }

View File

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

View File

@ -31,10 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_point_parameters { public interface EXT_point_parameters {
int GL_POINT_SIZE_MIN_EXT = 0x8126; int GL_POINT_SIZE_MIN_EXT = 0x8126;
int GL_POINT_SIZE_MAX_EXT = 0x8127; int GL_POINT_SIZE_MAX_EXT = 0x8127;

View File

@ -31,10 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_secondary_color { public interface EXT_secondary_color {
int GL_COLOR_SUM_EXT = 0x8458; int GL_COLOR_SUM_EXT = 0x8458;
int GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459; 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 glSecondaryColor3bEXT(byte red, byte green, byte blue);
void glSecondaryColor3fEXT(float red, float green, float blue); void glSecondaryColor3fEXT(float red, float green, float blue);
void glSecondaryColor3dEXT(double red, double green, double blue); void glSecondaryColor3dEXT(double red, double green, double blue);
void glSecondaryColor3ubEXT(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue); void glSecondaryColor3ubEXT(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
void glSecondaryColorPointerEXT(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride, void glSecondaryColorPointerEXT(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLubyte @GLubyte
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pPointer);
Buffer pPointer);
} }

View File

@ -34,8 +34,19 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
public interface EXT_stencil_clear_tag { 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); void glStencilClearTagEXT(@GLsizei int stencilTagBits, @GLuint int stencilClearTag);
} }

View File

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

View File

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

View File

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

View File

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

View File

@ -31,25 +31,33 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import org.lwjgl.util.generator.*;
public interface EXT_texture_sRGB { 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; Accepted by the &lt;internalformat&gt; parameter of TexImage1D, TexImage2D,
int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E; TexImage3D, CopyTexImage1D, CopyTexImage2D.
int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F; */
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; package org.lwjgl.opengl;
import java.nio.*;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_vertex_shader { public interface EXT_vertex_shader {
int GL_VERTEX_SHADER_EXT = 0x8780; int GL_VERTEX_SHADER_EXT = 0x8780;
int GL_VERTEX_SHADER_BINDING_EXT = 0x8781; int GL_VERTEX_SHADER_BINDING_EXT = 0x8781;
@ -153,7 +153,8 @@ public interface EXT_vertex_shader {
void glBindVertexShaderEXT(@GLuint int id); void glBindVertexShaderEXT(@GLuint int id);
@GLuint int glGenVertexShadersEXT(@GLuint int range); @GLuint
int glGenVertexShadersEXT(@GLuint int range);
void glDeleteVertexShaderEXT(@GLuint int id); 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); 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, void glSetInvariantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
@Check("4") @Check("4")
@Const @Const
@GLbyte @GLbyte
@GLubyte @GLubyte
@GLshort @GLshort
@GLushort @GLushort
@GLint @GLint
@GLuint @GLuint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pAddr);
Buffer pAddr);
void glSetLocalConstantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, void glSetLocalConstantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
@Check("4") @Check("4")
@Const @Const
@GLbyte @GLbyte
@GLubyte @GLubyte
@GLshort @GLshort
@GLushort @GLushort
@GLint @GLint
@GLuint @GLuint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pAddr);
Buffer pAddr);
@StripPostfix("pAddr") @StripPostfix("pAddr")
void glVariantbvEXT(@GLuint int id, @Check("4") @Const ByteBuffer pAddr); void glVariantbvEXT(@GLuint int id, @Check("4") @Const ByteBuffer pAddr);
@StripPostfix("pAddr") @StripPostfix("pAddr")
void glVariantsvEXT(@GLuint int id, @Check("4") @Const ShortBuffer pAddr); void glVariantsvEXT(@GLuint int id, @Check("4") @Const ShortBuffer pAddr);
@StripPostfix("pAddr") @StripPostfix("pAddr")
void glVariantivEXT(@GLuint int id, @Check("4") @Const IntBuffer pAddr); void glVariantivEXT(@GLuint int id, @Check("4") @Const IntBuffer pAddr);
@StripPostfix("pAddr") @StripPostfix("pAddr")
void glVariantfvEXT(@GLuint int id, @Check("4") @Const FloatBuffer pAddr); void glVariantfvEXT(@GLuint int id, @Check("4") @Const FloatBuffer pAddr);
@StripPostfix("pAddr") @StripPostfix("pAddr")
void glVariantdvEXT(@GLuint int id, @Check("4") @Const DoubleBuffer pAddr); void glVariantdvEXT(@GLuint int id, @Check("4") @Const DoubleBuffer pAddr);
@StripPostfix("pAddr") @StripPostfix("pAddr")
void glVariantubvEXT(@GLuint int id, @Check("4") @Const @GLubyte ByteBuffer pAddr); void glVariantubvEXT(@GLuint int id, @Check("4") @Const @GLubyte ByteBuffer pAddr);
@StripPostfix("pAddr") @StripPostfix("pAddr")
void glVariantusvEXT(@GLuint int id, @Check("4") @Const @GLushort ShortBuffer pAddr); void glVariantusvEXT(@GLuint int id, @Check("4") @Const @GLushort ShortBuffer pAddr);
@StripPostfix("pAddr") @StripPostfix("pAddr")
void glVariantuivEXT(@GLuint int id, @Check("4") @Const @GLuint IntBuffer 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, void glVariantPointerEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @GLuint int stride,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLubyte @GLubyte
@GLushort @GLushort
@GLuint @GLuint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pAddr);
Buffer pAddr);
void glEnableVariantClientStateEXT(@GLuint int id); void glEnableVariantClientStateEXT(@GLuint int id);
void glDisableVariantClientStateEXT(@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); boolean glIsVariantEnabledEXT(@GLuint int id, @GLenum int cap);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetVariantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData); void glGetVariantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetVariantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData); void glGetVariantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetVariantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData); void glGetVariantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetVariantPointervEXT(@GLuint int id, @GLenum int value, @Result @GLvoid ByteBuffer pbData); void glGetVariantPointervEXT(@GLuint int id, @GLenum int value, @Result @GLvoid ByteBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetInvariantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData); void glGetInvariantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetInvariantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData); void glGetInvariantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetInvariantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData); void glGetInvariantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetLocalConstantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData); void glGetLocalConstantBooleanvEXT(@GLuint int id, @GLenum int value, @Check("4") ByteBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetLocalConstantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData); void glGetLocalConstantIntegervEXT(@GLuint int id, @GLenum int value, @Check("4") IntBuffer pbData);
@StripPostfix("pbData") @StripPostfix("pbData")
void glGetLocalConstantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData); void glGetLocalConstantFloatvEXT(@GLuint int id, @GLenum int value, @Check("4") FloatBuffer pbData);
} }

View File

@ -31,10 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface EXT_vertex_weighting { public interface EXT_vertex_weighting {
int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3; int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3;
int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502; int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502;
@ -53,10 +53,9 @@ public interface EXT_vertex_weighting {
void glVertexWeightfEXT(float weight); void glVertexWeightfEXT(float weight);
void glVertexWeightPointerEXT(@GLsizei int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride, void glVertexWeightPointerEXT(@GLsizei int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLfloat @GLfloat Buffer pPointer);
Buffer pPointer);
} }

File diff suppressed because it is too large Load Diff

View File

@ -31,10 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
/** /**
* $Id$ * $Id$
* <p/> * <p/>
@ -87,37 +87,34 @@ public interface GL12 {
int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E; int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
void glDrawRangeElements(@GLenum int mode, @GLuint int start, @GLuint int end, @AutoSize("indices") @GLsizei int count, void glDrawRangeElements(@GLenum int mode, @GLuint int start, @GLuint int end, @AutoSize("indices") @GLsizei int count,
@AutoType("indices") @AutoType("indices")
@GLenum @GLenum int type,
int type, @BufferObject(BufferKind.ElementVBO)
@BufferObject(BufferKind.ElementVBO) @Const
@Const @GLubyte
@GLubyte @GLushort
@GLushort @GLuint Buffer indices);
@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, 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) @BufferObject(BufferKind.UnpackPBO)
@Check(value="GLChecks.calculateTexImage3DStorage(pixels, format, type, width, height, depth, border)", canBeNull=true) @Check(value = "GLChecks.calculateTexImage3DStorage(pixels, format, type, width, height, depth, border)", canBeNull = true)
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pixels);
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, 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) @BufferObject(BufferKind.UnpackPBO)
@Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, depth)") @Check("GLChecks.calculateImageStorage(pixels, format, type, width, height, depth)")
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pixels);
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); 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; package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.FloatBuffer;
import java.nio.DoubleBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
/** /**
* $Id$ * $Id$
* <p/> * <p/>
@ -151,106 +149,100 @@ public interface GL13 {
void glActiveTexture(@GLenum int texture); void glActiveTexture(@GLenum int texture);
void glClientActiveTexture(@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, void glCompressedTexImage1D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
void glCompressedTexImage2D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize, void glCompressedTexImage2D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
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, 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) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
void glCompressedTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize, void glCompressedTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
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, 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) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
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, 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) @BufferObject(BufferKind.UnpackPBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
// TODO: check buffer size valid // TODO: check buffer size valid
void glGetCompressedTexImage(@GLenum int target, int lod, void glGetCompressedTexImage(@GLenum int target, int lod,
@BufferObject(BufferKind.PackPBO) @BufferObject(BufferKind.PackPBO)
@Check @Check
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint Buffer img);
Buffer img);
void glMultiTexCoord1f(@GLenum int target, float s); void glMultiTexCoord1f(@GLenum int target, float s);
void glMultiTexCoord1d(@GLenum int target, double s); void glMultiTexCoord1d(@GLenum int target, double s);
void glMultiTexCoord2f(@GLenum int target, float s, float t); void glMultiTexCoord2f(@GLenum int target, float s, float t);
void glMultiTexCoord2d(@GLenum int target, double s, double t); void glMultiTexCoord2d(@GLenum int target, double s, double t);
void glMultiTexCoord3f(@GLenum int target, float s, float t, float r); void glMultiTexCoord3f(@GLenum int target, float s, float t, float r);
void glMultiTexCoord3d(@GLenum int target, double s, double t, double 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 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); void glMultiTexCoord4d(@GLenum int target, double s, double t, double r, double q);
@StripPostfix("m") @StripPostfix("m")
void glLoadTransposeMatrixf(@Check("16") @Const FloatBuffer m); void glLoadTransposeMatrixf(@Check("16") @Const FloatBuffer m);
@StripPostfix("m") @StripPostfix("m")
void glLoadTransposeMatrixd(@Check("16") @Const DoubleBuffer m); void glLoadTransposeMatrixd(@Check("16") @Const DoubleBuffer m);
@StripPostfix("m") @StripPostfix("m")
void glMultTransposeMatrixf(@Check("16") @Const FloatBuffer m); void glMultTransposeMatrixf(@Check("16") @Const FloatBuffer m);
@StripPostfix("m") @StripPostfix("m")
void glMultTransposeMatrixd(@Check("16") @Const DoubleBuffer m); void glMultTransposeMatrixd(@Check("16") @Const DoubleBuffer m);

View File

@ -31,12 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
/** /**
* $Id$ * $Id$
* <p/> * <p/>
@ -91,53 +89,63 @@ public interface GL14 {
void glBlendColor(@GLclampf float red, @GLclampf float green, @GLclampf float blue, @GLclampf float alpha); void glBlendColor(@GLclampf float red, @GLclampf float green, @GLclampf float blue, @GLclampf float alpha);
void glFogCoordf(float coord); void glFogCoordf(float coord);
void glFogCoordd(double coord); void glFogCoordd(double coord);
void glFogCoordPointer(@AutoType("data") @GLenum int type, @GLsizei int stride, void glFogCoordPointer(@AutoType("data") @GLenum int type, @GLsizei int stride,
@CachedReference @CachedReference
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
@Code( " if (piFirst.remaining() != piCount.remaining()) {\n" + @Code(" if (piFirst.remaining() != piCount.remaining()) {\n" +
" throw new IllegalArgumentException(\"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 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 glMultiDrawElements(int mode, int piCount, int type, int pIndices, int primcount);
void glPointParameteri(@GLenum int pname, int param); void glPointParameteri(@GLenum int pname, int param);
void glPointParameterf(@GLenum int pname, float param); void glPointParameterf(@GLenum int pname, float param);
@StripPostfix("params") @StripPostfix("params")
void glPointParameteriv(@GLenum int pname, @Check("4") @Const IntBuffer params); void glPointParameteriv(@GLenum int pname, @Check("4") @Const IntBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glPointParameterfv(@GLenum int pname, @Check("4") @Const FloatBuffer params); void glPointParameterfv(@GLenum int pname, @Check("4") @Const FloatBuffer params);
void glSecondaryColor3b(byte red, byte green, byte blue); void glSecondaryColor3b(byte red, byte green, byte blue);
void glSecondaryColor3f(float red, float green, float blue); void glSecondaryColor3f(float red, float green, float blue);
void glSecondaryColor3d(double red, double green, double blue); void glSecondaryColor3d(double red, double green, double blue);
void glSecondaryColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue); void glSecondaryColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
void glSecondaryColorPointer(int size, @AutoType("data") @GLenum int type, @GLsizei int stride, void glSecondaryColorPointer(int size, @AutoType("data") @GLenum int type, @GLsizei int stride,
@BufferObject(BufferKind.ArrayVBO) @BufferObject(BufferKind.ArrayVBO)
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLubyte @GLubyte
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
void glBlendFuncSeparate(@GLenum int sfactorRGB, @GLenum int dfactorRGB, @GLenum int sfactorAlpha, @GLenum int dfactorAlpha); void glBlendFuncSeparate(@GLenum int sfactorRGB, @GLenum int dfactorRGB, @GLenum int sfactorAlpha, @GLenum int dfactorAlpha);
void glWindowPos2f(float x, float y); void glWindowPos2f(float x, float y);
void glWindowPos2d(double x, double y); void glWindowPos2d(double x, double y);
void glWindowPos2i(int x, int y); void glWindowPos2i(int x, int y);
void glWindowPos3f(float x, float y, float z); void glWindowPos3f(float x, float y, float z);
void glWindowPos3d(double x, double y, double z); void glWindowPos3d(double x, double y, double z);
void glWindowPos3i(int x, int y, int 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_MAPPED = 0x88BC;
int GL_BUFFER_MAP_POINTER = 0x88BD; int GL_BUFFER_MAP_POINTER = 0x88BD;
@Code( " StateTracker.bindBuffer(target, buffer);") @Code(" StateTracker.bindBuffer(target, buffer);")
void glBindBuffer(@GLenum int target, @GLuint int 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 glDeleteBuffers(@AutoSize("buffers") @GLsizei int n, @Const @GLuint IntBuffer buffers);
void glGenBuffers(@AutoSize("buffers") @GLsizei int n, @GLuint IntBuffer buffers); void glGenBuffers(@AutoSize("buffers") @GLsizei int n, @GLuint IntBuffer buffers);
boolean glIsBuffer(@GLuint int buffer); boolean glIsBuffer(@GLuint int buffer);
@GenerateAutos @GenerateAutos
void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr int size, void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr int size,
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data, @GLenum int usage);
Buffer data, @GLenum int usage);
void glBufferSubData(@GLenum int target, @GLintptr int offset, @AutoSize("data") @GLsizeiptr int size, void glBufferSubData(@GLenum int target, @GLintptr int offset, @AutoSize("data") @GLsizeiptr int size,
@Check @Check
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
void glGetBufferSubData(@GLenum int target, @GLintptr int offset, @AutoSize("data") @GLsizeiptr int size, void glGetBufferSubData(@GLenum int target, @GLintptr int offset, @AutoSize("data") @GLsizeiptr int size,
@Check @Check
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer data);
Buffer data);
/** /**
* glMapBuffer maps a gl vertex buffer buffer to a ByteBuffer. The oldBuffer argument can be null, in which case a new * 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. * @return A ByteBuffer representing the mapped buffer memory.
*/ */
@CachedResult @CachedResult
@GLvoid ByteBuffer glMapBuffer(@GLenum int target, @GLenum int access); @GLvoid
ByteBuffer glMapBuffer(@GLenum int target, @GLenum int access);
boolean glUnmapBuffer(@GLenum int target); boolean glUnmapBuffer(@GLenum int target);
@ -138,30 +139,33 @@ public interface GL15 {
// ---------------------- ARB_occlusion_query ---------------------- // ---------------------- ARB_occlusion_query ----------------------
// ----------------------------------------------------------------- // -----------------------------------------------------------------
/* /**
* Accepted by the <target> parameter of BeginQuery, EndQuery, * Accepted by the &lt;target&gt; parameter of BeginQuery, EndQuery,
* and GetQueryiv: * and GetQueryiv:
*/ */
int GL_SAMPLES_PASSED = 0x8914; 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_QUERY_COUNTER_BITS = 0x8864;
int GL_CURRENT_QUERY = 0x8865; int GL_CURRENT_QUERY = 0x8865;
/* /**
Accepted by the <pname> parameter of GetQueryObjectiv and Accepted by the &lt;pname&gt; parameter of GetQueryObjectiv and
GetQueryObjectuiv: GetQueryObjectuiv:
*/ */
int GL_QUERY_RESULT = 0x8866; int GL_QUERY_RESULT = 0x8866;
int GL_QUERY_RESULT_AVAILABLE = 0x8867; int GL_QUERY_RESULT_AVAILABLE = 0x8867;
void glGenQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids); void glGenQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
void glDeleteQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids); void glDeleteQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
boolean glIsQuery(@GLuint int id); boolean glIsQuery(@GLuint int id);
void glBeginQuery(@GLenum int target, @GLuint int id); void glBeginQuery(@GLenum int target, @GLuint int id);
void glEndQuery(@GLenum int target); void glEndQuery(@GLenum int target);
@StripPostfix("params") @StripPostfix("params")

View File

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

View File

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

View File

@ -33,10 +33,10 @@ package org.lwjgl.opengl;
public interface IBM_rasterpos_clip { public interface IBM_rasterpos_clip {
/** /**
* 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: * parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
*/ */
int GL_RASTER_POSITION_UNCLIPPED_IBM = 103010; int GL_RASTER_POSITION_UNCLIPPED_IBM = 103010;
} }

View File

@ -31,12 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_evaluators { public interface NV_evaluators {
int GL_EVAL_2D_NV = 0x86C0; int GL_EVAL_2D_NV = 0x86C0;
int GL_EVAL_TRIANGULAR_2D_NV = 0x86C1; int GL_EVAL_TRIANGULAR_2D_NV = 0x86C1;
@ -64,25 +62,27 @@ public interface NV_evaluators {
int GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7; 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, void glGetMapControlPointsNV(@GLenum int target, @GLuint int index, @GLenum int type, @GLsizei int ustride, @GLsizei int vstride, boolean packed,
@Check @Check
@Const @Const
@GLfloat @GLfloat Buffer pPoints);
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); 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") @StripPostfix("params")
void glMapParameterfvNV(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params); void glMapParameterfvNV(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glMapParameterivNV(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params); void glMapParameterivNV(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetMapParameterfvNV(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params); void glGetMapParameterfvNV(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetMapParameterivNV(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params); void glGetMapParameterivNV(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetMapAttribParameterfvNV(@GLenum int target, @GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params); void glGetMapAttribParameterfvNV(@GLenum int target, @GLuint int index, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetMapAttribParameterivNV(@GLenum int target, @GLuint int index, @GLenum int pname, @Check("4") IntBuffer 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; package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_fence { public interface NV_fence {
int GL_ALL_COMPLETED_NV = 0x84F2; int GL_ALL_COMPLETED_NV = 0x84F2;
int GL_FENCE_STATUS_NV = 0x84F3; int GL_FENCE_STATUS_NV = 0x84F3;
int GL_FENCE_CONDITION_NV = 0x84F4; int GL_FENCE_CONDITION_NV = 0x84F4;
void glGenFencesNV(@AutoSize("piFences") @GLsizei int n, @GLuint IntBuffer piFences); void glGenFencesNV(@AutoSize("piFences") @GLsizei int n, @GLuint IntBuffer piFences);
void glDeleteFencesNV(@AutoSize("piFences") @GLsizei int n, @Const @GLuint IntBuffer piFences); void glDeleteFencesNV(@AutoSize("piFences") @GLsizei int n, @Const @GLuint IntBuffer piFences);
void glSetFenceNV(@GLuint int fence, @GLenum int condition); void glSetFenceNV(@GLuint int fence, @GLenum int condition);

View File

@ -32,10 +32,11 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface NV_float_buffer { public interface NV_float_buffer {
/*
* Accepted by the <internalformat> parameter of TexImage2D and /**
* Accepted by the &lt;internalformat&gt; parameter of TexImage2D and
* CopyTexImage2D: * CopyTexImage2D:
*/ */
int GL_FLOAT_R_NV = 0x8880; int GL_FLOAT_R_NV = 0x8880;
int GL_FLOAT_RG_NV = 0x8881; int GL_FLOAT_RG_NV = 0x8881;
int GL_FLOAT_RGB_NV = 0x8882; int GL_FLOAT_RGB_NV = 0x8882;
@ -49,42 +50,42 @@ public interface NV_float_buffer {
int GL_FLOAT_RGBA16_NV = 0x888A; int GL_FLOAT_RGBA16_NV = 0x888A;
int GL_FLOAT_RGBA32_NV = 0x888B; int GL_FLOAT_RGBA32_NV = 0x888B;
/* /**
* Accepted by the <pname> parameter of GetTexLevelParameterfv and * Accepted by the &lt;pname&gt; parameter of GetTexLevelParameterfv and
* GetTexLevelParameteriv: * GetTexLevelParameteriv:
*/ */
int GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888C; int GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888C;
/* /**
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, * Accepted by the &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev: * and GetDoublev:
*/ */
int GL_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D; int GL_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D;
int GL_FLOAT_RGBA_MODE_NV = 0x888E; 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 int WGL_FLOAT_COMPONENTS_NV = 0x20B0;
* wglGetPixelFormatAttribfvARB and in the <piAttribIList> and int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
* <pfAttribFList> arrays of wglChoosePixelFormatARB: 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 int WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
* in the <value> parameter of wglQueryPbufferARB when <iAttribute> is int WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
* WGL_TEXTURE_FORMAT_ARB: 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; package org.lwjgl.opengl;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.DoubleBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_fragment_program extends NV_program { 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, * Accepted by the &lt;cap&gt; parameter of Disable, Enable, and IsEnabled, by the
* and by the <target> parameter of BindProgramNV, LoadProgramNV, * &lt;pname&gt; parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
* and by the &lt;target&gt; parameter of BindProgramNV, LoadProgramNV,
* ProgramLocalParameter4dARB, ProgramLocalParameter4dvARB, * ProgramLocalParameter4dARB, ProgramLocalParameter4dvARB,
* ProgramLocalParameter4fARB, ProgramLocalParameter4fvARB, * ProgramLocalParameter4fARB, ProgramLocalParameter4fvARB,
* GetProgramLocalParameterdvARB, and GetProgramLocalParameterfvARB: * GetProgramLocalParameterdvARB, and GetProgramLocalParameterfvARB:
*/ */
int GL_FRAGMENT_PROGRAM_NV = 0x8870; 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: * and GetDoublev:
*/ */
int GL_MAX_TEXTURE_COORDS_NV = 0x8871; int GL_MAX_TEXTURE_COORDS_NV = 0x8871;
@ -63,7 +62,7 @@ public interface NV_fragment_program extends NV_program {
@StripPostfix("params") @StripPostfix("params")
void glGetProgramNamedParameterfvNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, @Check("4") FloatBuffer params); void glGetProgramNamedParameterfvNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetProgramNamedParameterdvNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, @Check("4") DoubleBuffer 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; package org.lwjgl.opengl;
public interface NV_fragment_program2 { 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_EXEC_INSTRUCTIONS_NV = 0x88F4;
int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5; int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6; int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6;

View File

@ -31,18 +31,19 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.ShortBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_half_float { 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, * ColorPointer, TexCoordPointer, FogCoordPointerEXT,
* SecondaryColorPointerEXT, VertexWeightPointerEXT, VertexAttribPointerNV, * SecondaryColorPointerEXT, VertexWeightPointerEXT, VertexAttribPointerNV,
* DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, * DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D,
* TexSubImage2D, TexSubImage3D, and GetTexImage: * TexSubImage2D, TexSubImage3D, and GetTexImage:
*/ */
int GL_HALF_FLOAT_NV = 0x140B; int GL_HALF_FLOAT_NV = 0x140B;
void glVertex2hNV(@GLhalf short x, @GLhalf short y); void glVertex2hNV(@GLhalf short x, @GLhalf short y);
@ -87,10 +88,13 @@ public interface NV_half_float {
@StripPostfix("attribs") @StripPostfix("attribs")
void glVertexAttribs1hvNV(@GLuint int index, @AutoSize("attribs") @GLsizei int n, @Const @GLhalf ShortBuffer attribs); void glVertexAttribs1hvNV(@GLuint int index, @AutoSize("attribs") @GLsizei int n, @Const @GLhalf ShortBuffer attribs);
@StripPostfix("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") @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") @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; package org.lwjgl.opengl;
public interface NV_multisample_filter_hint { 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: * parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/ */
int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534; int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,11 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_register_combiners { public interface NV_register_combiners {
int GL_REGISTER_COMBINERS_NV = 0x8522; int GL_REGISTER_COMBINERS_NV = 0x8522;
int GL_COMBINER0_NV = 0x8550; int GL_COMBINER0_NV = 0x8550;
@ -107,16 +106,19 @@ public interface NV_register_combiners {
@StripPostfix("params") @StripPostfix("params")
void glGetCombinerInputParameterfvNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int pname, @Check("4") FloatBuffer params); void glGetCombinerInputParameterfvNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetCombinerInputParameterivNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int pname, @Check("4") IntBuffer params); void glGetCombinerInputParameterivNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetCombinerOutputParameterfvNV(@GLenum int stage, @GLenum int portion, @GLenum int pname, @Check("4") FloatBuffer params); void glGetCombinerOutputParameterfvNV(@GLenum int stage, @GLenum int portion, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetCombinerOutputParameterivNV(@GLenum int stage, @GLenum int portion, @GLenum int pname, @Check("4") IntBuffer params); void glGetCombinerOutputParameterivNV(@GLenum int stage, @GLenum int portion, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetFinalCombinerInputParameterfvNV(@GLenum int variable, @GLenum int pname, @Check("4") FloatBuffer params); void glGetFinalCombinerInputParameterfvNV(@GLenum int variable, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params") @StripPostfix("params")
void glGetFinalCombinerInputParameterivNV(@GLenum int variable, @GLenum int pname, @Check("4") IntBuffer params); void glGetFinalCombinerInputParameterivNV(@GLenum int variable, @GLenum int pname, @Check("4") IntBuffer params);
} }

View File

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

View File

@ -33,13 +33,14 @@ package org.lwjgl.opengl;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
@Extension(postfix="NV", className="NVTextureCompressionVTC") @Extension(postfix = "NV", className = "NVTextureCompressionVTC")
public interface NV_texture_compression_vtc { 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: * CompressedTexSubImage2DARB:
*/ */
int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;

View File

@ -32,10 +32,11 @@
package org.lwjgl.opengl; package org.lwjgl.opengl;
public interface NV_texture_expand_normal { 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, * TexParameteriv, TexParameterf, TexParameterfv, GetTexParameteri,
* and GetTexParameteriv: * and GetTexParameteriv:
*/ */
int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F; int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F;
} }

View File

@ -31,11 +31,10 @@
*/ */
package org.lwjgl.opengl; package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import org.lwjgl.util.generator.*; import org.lwjgl.util.generator.*;
import java.nio.*;
public interface NV_vertex_array_range { public interface NV_vertex_array_range {
int GL_VERTEX_ARRAY_RANGE_NV = 0x851D; int GL_VERTEX_ARRAY_RANGE_NV = 0x851D;
int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E; 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; int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521;
void glVertexArrayRangeNV(@AutoSize("pPointer") @GLsizei int size, void glVertexArrayRangeNV(@AutoSize("pPointer") @GLsizei int size,
@Const @Const
@GLbyte @GLbyte
@GLshort @GLshort
@GLint @GLint
@GLfloat @GLfloat
@GLdouble @GLdouble Buffer pPointer);
Buffer pPointer);
void glFlushVertexArrayRangeNV(); void glFlushVertexArrayRangeNV();
@PlatformDependent({Platform.WGL, Platform.GLX}) @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}) @PlatformDependent({Platform.WGL, Platform.GLX})
void glFreeMemoryNV(@Check @GLbyte Buffer pointer); void glFreeMemoryNV(@Check @GLbyte Buffer pointer);

View File

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

View File

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

View File

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