Removed redundant modifiers

This commit is contained in:
Ioannis Tsakpinis 2005-02-15 17:06:16 +00:00
parent d1fcb0e3bc
commit c9531997e9
118 changed files with 3175 additions and 3244 deletions

View File

@ -1,39 +1,37 @@
/*
/*
* Copyright (c) 2002-2004 LWJGL Project
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of 'LWJGL' nor the names of
* its contributors may be used to endorse or promote products derived
* * Neither the name of 'LWJGL' nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.lwjgl.openal;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.ShortBuffer;
import java.nio.IntBuffer;
import java.nio.FloatBuffer;
@ -42,7 +40,7 @@ import org.lwjgl.generator.*;
/**
* $Id$
* <br>
* This is the core OpenAL class. This class implements
* This is the core OpenAL class. This class implements
* AL.h version 1.0
*
* @author Brian Matzon <brian@matzon.dk>
@ -50,42 +48,42 @@ import org.lwjgl.generator.*;
*/
public interface AL10 {
/** Bad value */
public static final int AL_INVALID = -1;
int AL_INVALID = -1;
/** Disable value */
public static final int AL_NONE = 0;
int AL_NONE = 0;
/** Boolean False */
public static final int AL_FALSE = 0;
int AL_FALSE = 0;
/** Boolean True */
public static final int AL_TRUE = 1;
int AL_TRUE = 1;
/**
* Indicate the type of SOURCE.
* Sources can be spatialized
*/
public static final int AL_SOURCE_TYPE = 0x200;
int AL_SOURCE_TYPE = 0x200;
/** Indicate source has absolute coordinates */
public static final int AL_SOURCE_ABSOLUTE = 0x201;
int AL_SOURCE_ABSOLUTE = 0x201;
/** Indicate Source has listener relative coordinates */
public static final int AL_SOURCE_RELATIVE = 0x202;
int AL_SOURCE_RELATIVE = 0x202;
/**
* Directional source, inner cone angle, in degrees
* Range: [0-360]
* Default: 360
*/
public static final int AL_CONE_INNER_ANGLE = 0x1001;
int AL_CONE_INNER_ANGLE = 0x1001;
/**
* Directional source, outer cone angle, in degrees.
* Range: [0-360]
* Default: 360
*/
public static final int AL_CONE_OUTER_ANGLE = 0x1002;
int AL_CONE_OUTER_ANGLE = 0x1002;
/**
* Specify the pitch to be applied, either at source,
@ -93,7 +91,7 @@ public interface AL10 {
* Range: [0.5-2.0]
* Default: 1.0
*/
public static final int AL_PITCH = 0x1003;
int AL_PITCH = 0x1003;
/**
* Specify the current location in three dimensional space.
@ -105,13 +103,13 @@ public interface AL10 {
* sign on the Z coordinate.
* Listener position is always in the world coordinate system.
*/
public static final int AL_POSITION = 0x1004;
int AL_POSITION = 0x1004;
/** Specify the current direction as forward vector. */
public static final int AL_DIRECTION = 0x1005;
int AL_DIRECTION = 0x1005;
/** Specify the current velocity in three dimensional space. */
public static final int AL_VELOCITY = 0x1006;
int AL_VELOCITY = 0x1006;
/**
* Indicate whether source has to loop infinite.
@ -119,14 +117,14 @@ public interface AL10 {
* Range: [TRUE, FALSE]
* Default: FALSE
*/
public static final int AL_LOOPING = 0x1007;
int AL_LOOPING = 0x1007;
/**
* Indicate the buffer to provide sound samples.
* Type: ALuint.
* Range: any valid Buffer id.
*/
public static final int AL_BUFFER = 0x1009;
int AL_BUFFER = 0x1009;
/**
* Indicate the gain (volume amplification) applied.
@ -139,28 +137,28 @@ public interface AL10 {
* scale; it is interpreted as zero volume - the channel
* is effectively disabled.
*/
public static final int AL_GAIN = 0x100A;
int AL_GAIN = 0x100A;
/**
* Indicate minimum source attenuation.
* Type: ALfloat
* Range: [0.0 - 1.0]
*/
public static final int AL_MIN_GAIN = 0x100D;
int AL_MIN_GAIN = 0x100D;
/**
* Indicate maximum source attenuation.
* Type: ALfloat
* Range: [0.0 - 1.0]
*/
public static final int AL_MAX_GAIN = 0x100E;
int AL_MAX_GAIN = 0x100E;
/**
* Specify the current orientation.
* Type: ALfv6 (at/up)
* Range: N/A
*/
public static final int AL_ORIENTATION = 0x100F;
int AL_ORIENTATION = 0x100F;
/* byte offset into source (in canon format). -1 if source
* is not playing. Don't set this, get this.
@ -169,7 +167,7 @@ public interface AL10 {
* Range: [0.0 - ]
* Default: 1.0
*/
public static final int AL_REFERENCE_DISTANCE = 0x1020;
int AL_REFERENCE_DISTANCE = 0x1020;
/**
* Indicate the rolloff factor for the source.
@ -177,7 +175,7 @@ public interface AL10 {
* Range: [0.0 - ]
* Default: 1.0
*/
public static final int AL_ROLLOFF_FACTOR = 0x1021;
int AL_ROLLOFF_FACTOR = 0x1021;
/**
* Indicate the gain (volume amplification) applied.
@ -190,57 +188,57 @@ public interface AL10 {
* scale; it is interpreted as zero volume - the channel
* is effectively disabled.
*/
public static final int AL_CONE_OUTER_GAIN = 0x1022;
int AL_CONE_OUTER_GAIN = 0x1022;
/**
* Specify the maximum distance.
* Type: ALfloat
* Range: [0.0 - ]
*/
public static final int AL_MAX_DISTANCE = 0x1023;
int AL_MAX_DISTANCE = 0x1023;
/**
* Specify the channel mask. (Creative)
* Type: ALuint
* Range: [0 - 255]
*/
public static final int AL_CHANNEL_MASK = 0x3000;
int AL_CHANNEL_MASK = 0x3000;
/** Source state information */
public static final int AL_SOURCE_STATE = 0x1010;
int AL_SOURCE_STATE = 0x1010;
/** Source state information */
public static final int AL_INITIAL = 0x1011;
int AL_INITIAL = 0x1011;
/** Source state information */
public static final int AL_PLAYING = 0x1012;
int AL_PLAYING = 0x1012;
/** Source state information */
public static final int AL_PAUSED = 0x1013;
int AL_PAUSED = 0x1013;
/** Source state information */
public static final int AL_STOPPED = 0x1014;
int AL_STOPPED = 0x1014;
/** Buffer Queue params */
public static final int AL_BUFFERS_QUEUED = 0x1015;
int AL_BUFFERS_QUEUED = 0x1015;
/** Buffer Queue params */
public static final int AL_BUFFERS_PROCESSED = 0x1016;
int AL_BUFFERS_PROCESSED = 0x1016;
/** Sound buffers: format specifier. */
public static final int AL_FORMAT_MONO8 = 0x1100;
int AL_FORMAT_MONO8 = 0x1100;
/** Sound buffers: format specifier. */
public static final int AL_FORMAT_MONO16 = 0x1101;
int AL_FORMAT_MONO16 = 0x1101;
/** Sound buffers: format specifier. */
public static final int AL_FORMAT_STEREO8 = 0x1102;
int AL_FORMAT_STEREO8 = 0x1102;
/** Sound buffers: format specifier. */
public static final int AL_FORMAT_STEREO16 = 0x1103;
int AL_FORMAT_STEREO16 = 0x1103;
/** Ogg Vorbis format specifier. */
public static final int AL_FORMAT_VORBIS_EXT = 0x10003;
int AL_FORMAT_VORBIS_EXT = 0x10003;
/**
* Sound buffers: frequency, in units of Hertz [Hz].
@ -248,7 +246,7 @@ public interface AL10 {
* sample frequency marks the maximum significant
* frequency component.
*/
public static final int AL_FREQUENCY = 0x2001;
int AL_FREQUENCY = 0x2001;
/**
* Sound buffers: frequency, in units of Hertz [Hz].
@ -256,7 +254,7 @@ public interface AL10 {
* sample frequency marks the maximum significant
* frequency component.
*/
public static final int AL_BITS = 0x2002;
int AL_BITS = 0x2002;
/**
* Sound buffers: frequency, in units of Hertz [Hz].
@ -264,7 +262,7 @@ public interface AL10 {
* sample frequency marks the maximum significant
* frequency component.
*/
public static final int AL_CHANNELS = 0x2003;
int AL_CHANNELS = 0x2003;
/**
* Sound buffers: frequency, in units of Hertz [Hz].
@ -272,7 +270,7 @@ public interface AL10 {
* sample frequency marks the maximum significant
* frequency component.
*/
public static final int AL_SIZE = 0x2004;
int AL_SIZE = 0x2004;
/**
* Sound buffers: frequency, in units of Hertz [Hz].
@ -280,43 +278,43 @@ public interface AL10 {
* sample frequency marks the maximum significant
* frequency component.
*/
public static final int AL_DATA = 0x2005;
int AL_DATA = 0x2005;
/**
* Buffer state.
*
* Not supported for public use (yet).
*/
public static final int AL_UNUSED = 0x2010;
int AL_UNUSED = 0x2010;
/**
* Buffer state.
*
* Not supported for public use (yet).
*/
public static final int AL_PENDING = 0x2011;
int AL_PENDING = 0x2011;
/**
* Buffer state.
*
* Not supported for public use (yet).
*/
public static final int AL_PROCESSED = 0x2012;
int AL_PROCESSED = 0x2012;
/** Errors: No Error. */
public static final int AL_NO_ERROR = AL_FALSE;
int AL_NO_ERROR = AL_FALSE;
/** Illegal name passed as an argument to an AL call. */
public static final int AL_INVALID_NAME = 0xA001;
int AL_INVALID_NAME = 0xA001;
/** Illegal enum passed as an argument to an AL call. */
public static final int AL_INVALID_ENUM = 0xA002;
int AL_INVALID_ENUM = 0xA002;
/**
* Illegal value passed as an argument to an AL call.
* Applies to parameter values, but not to enumerations.
*/
public static final int AL_INVALID_VALUE = 0xA003;
int AL_INVALID_VALUE = 0xA003;
/**
* A function was called at inappropriate time,
@ -324,40 +322,40 @@ public interface AL10 {
* This can be an incompatible ALenum, object ID,
* and/or function.
*/
public static final int AL_INVALID_OPERATION = 0xA004;
int AL_INVALID_OPERATION = 0xA004;
/**
* A function could not be completed,
* because there is not enough memory available.
*/
public static final int AL_OUT_OF_MEMORY = 0xA005;
int AL_OUT_OF_MEMORY = 0xA005;
/** Context strings: Vendor */
public static final int AL_VENDOR = 0xB001;
int AL_VENDOR = 0xB001;
/** Context strings: Version */
public static final int AL_VERSION = 0xB002;
int AL_VERSION = 0xB002;
/** Context strings: Renderer */
public static final int AL_RENDERER = 0xB003;
int AL_RENDERER = 0xB003;
/** Context strings: Extensions */
public static final int AL_EXTENSIONS = 0xB004;
int AL_EXTENSIONS = 0xB004;
/** Doppler scale. Default 1.0 */
public static final int AL_DOPPLER_FACTOR = 0xC000;
int AL_DOPPLER_FACTOR = 0xC000;
/** Doppler velocity. Default 1.0 */
public static final int AL_DOPPLER_VELOCITY = 0xC001;
int AL_DOPPLER_VELOCITY = 0xC001;
/** Distance model. Default INVERSE_DISTANCE_CLAMPED */
public static final int AL_DISTANCE_MODEL = 0xD000;
int AL_DISTANCE_MODEL = 0xD000;
/** Distance model */
public static final int AL_INVERSE_DISTANCE = 0xD001;
int AL_INVERSE_DISTANCE = 0xD001;
/** Distance model */
public static final int AL_INVERSE_DISTANCE_CLAMPED = 0xD002;
int AL_INVERSE_DISTANCE_CLAMPED = 0xD002;
/**
* The application can temporarily disable certain AL capabilities on a per Context
@ -367,7 +365,7 @@ public interface AL10 {
* @param capability name of a capability to enable
*/
@ALvoid
public void alEnable(int capability);
void alEnable(int capability);
/**
* The application can temporarily disable certain AL capabilities on a per Context
@ -377,7 +375,7 @@ public interface AL10 {
* @param capability name of a capability to disable
*/
@ALvoid
public void alDisable(@ALenum int capability);
void alDisable(@ALenum int capability);
/**
* The application can also query whether a given capability is currently enabled or
@ -393,7 +391,7 @@ public interface AL10 {
* @param capability name of a capability to check
* @return true if named feature is enabled
*/
public boolean alIsEnabled(@ALenum int capability);
boolean alIsEnabled(@ALenum int capability);
/**
* Hinting for implementation
@ -403,11 +401,11 @@ public interface AL10 {
* @param mode Mode to hint
*/
// @ALvoid
// public void alHint(@ALenum int target, @ALenum int mode);
// void alHint(@ALenum int target, @ALenum int mode);
/**
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
* AL_DISTANCE_MODEL.
* <p>
@ -418,11 +416,11 @@ public interface AL10 {
*
* @return boolean state described by pname will be returned.
*/
public boolean alGetBoolean(@ALenum int pname);
boolean alGetBoolean(@ALenum int pname);
/**
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
* AL_DISTANCE_MODEL.
* <p>
@ -433,11 +431,11 @@ public interface AL10 {
*
* @return int state described by pname will be returned.
*/
public int alGetInteger(@ALenum int pname);
int alGetInteger(@ALenum int pname);
/**
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
* AL_DISTANCE_MODEL.
* <p>
@ -448,11 +446,11 @@ public interface AL10 {
*
* @return float state described by pname will be returned.
*/
public float alGetFloat(@ALenum int pname);
float alGetFloat(@ALenum int pname);
/**
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
* AL_DISTANCE_MODEL.
* <p>
@ -466,11 +464,11 @@ public interface AL10 {
*/
@StripPostfix("data")
@ALvoid
public void alGetIntegerv(@ALenum int pname, @Check("1") IntBuffer data);
void alGetIntegerv(@ALenum int pname, @Check("1") IntBuffer data);
/**
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Like OpenGL, AL uses a simplified interface for querying global state.
*
* Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
* AL_DISTANCE_MODEL.
* <p>
@ -484,7 +482,7 @@ public interface AL10 {
*/
@StripPostfix("data")
@ALvoid
public void alGetFloatv(@ALenum int pname, @Check("1") FloatBuffer data);
void alGetFloatv(@ALenum int pname, @Check("1") FloatBuffer data);
/**
* The application can retrieve state information global to the current AL Context.
@ -497,7 +495,7 @@ public interface AL10 {
* @return OpenAL String property
*/
@NoErrorCheck
public String alGetString(@ALenum int pname);
String alGetString(@ALenum int pname);
/**
* The AL detects only a subset of those conditions that could be considered errors.
@ -577,7 +575,7 @@ public interface AL10 {
* @return current error state
*/
@NoErrorCheck
public @ALenum int alGetError();
@ALenum int alGetError();
/**
* To verify that a given extension is available for the current context and the device it
@ -585,12 +583,12 @@ public interface AL10 {
* <p>
* A <code>null</code> name argument returns AL_FALSE, as do invalid and unsupported string
* tokens. A <code>null</code> deviceHandle will result in an INVALID_DEVICE error.
* </p>
* </p>
*
* @param fname String describing the desired extension
* @return true if extension is available, false if not
*/
public boolean alIsExtensionPresent(String fname);
boolean alIsExtensionPresent(String fname);
/**
* <p>
@ -610,7 +608,7 @@ public interface AL10 {
* @param ename String describing an OpenAL enum
* @return Actual int for the described enumeration name
*/
public @ALenum int alGetEnumValue(String ename);
@ALenum int alGetEnumValue(String ename);
/**
* Listener attributes are changed using the Listener group of commands.
@ -619,7 +617,7 @@ public interface AL10 {
* @param value value to set the attribute to
*/
@ALvoid
public void alListeneri(@ALenum int pname, int value);
void alListeneri(@ALenum int pname, int value);
/**
* Listener attributes are changed using the Listener group of commands.
@ -628,8 +626,8 @@ public interface AL10 {
* @param value floating point value to set the attribute to
*/
@ALvoid
public void alListenerf(@ALenum int pname, float value);
void alListenerf(@ALenum int pname, float value);
/**
* Listener attributes are changed using the Listener group of commands.
*
@ -638,8 +636,8 @@ public interface AL10 {
*/
@StripPostfix("value")
@ALvoid
public void alListenerfv(@ALenum int pname, @Check("1") FloatBuffer value);
void alListenerfv(@ALenum int pname, @Check("1") FloatBuffer value);
/**
* Listener attributes are changed using the Listener group of commands.
*
@ -649,8 +647,7 @@ public interface AL10 {
* @param v3 float value 3
*/
@ALvoid
public void alListener3f(@ALenum int pname, float v1, float v2, float v3);
void alListener3f(@ALenum int pname, float v1, float v2, float v3);
/**
* Listener state is maintained inside the AL implementation and can be queried in
@ -659,7 +656,7 @@ public interface AL10 {
* @param pname name of the attribute to be retrieved
* @return int
*/
public int alGetListeneri(@ALenum int pname);
int alGetListeneri(@ALenum int pname);
/**
* Listener state is maintained inside the AL implementation and can be queried in
@ -668,7 +665,7 @@ public interface AL10 {
* @param pname name of the attribute to be retrieved
* @return float
*/
public float alGetListenerf(@ALenum int pname);
float alGetListenerf(@ALenum int pname);
/**
* Listener state is maintained inside the AL implementation and can be queried in
@ -680,7 +677,7 @@ public interface AL10 {
// TODO: What's the real minimum number of elements?
@StripPostfix("floatdata")
@ALvoid
public void alGetListenerfv(@ALenum int pname, @Check("1") FloatBuffer floatdata);
void alGetListenerfv(@ALenum int pname, @Check("1") FloatBuffer floatdata);
/**
* The application requests a number of Sources using GenSources.
@ -688,15 +685,15 @@ public interface AL10 {
* @param sources array holding sources
*/
@ALvoid
public void alGenSources(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
void alGenSources(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
/**
* The application requests deletion of a number of Sources by DeleteSources.
*
* @param source Source array to delete from
* @param sources Source array to delete from
*/
@ALvoid
public void alDeleteSources(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
void alDeleteSources(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
/**
* The application can verify whether a source name is valid using the IsSource query.
@ -704,7 +701,7 @@ public interface AL10 {
* @param id id of source to be testes for validity
* @return true if id is valid, false if not
*/
public boolean alIsSource(@ALuint int id);
boolean alIsSource(@ALuint int id);
/**
* Specifies the position and other properties as taken into account during
@ -715,7 +712,7 @@ public interface AL10 {
* @param value value of property
*/
@ALvoid
public void alSourcei(@ALuint int source, @ALenum int pname, int value);
void alSourcei(@ALuint int source, @ALenum int pname, int value);
/**
* Specifies the position and other properties as taken into account during
@ -726,8 +723,8 @@ public interface AL10 {
* @param value value of property
*/
@ALvoid
public void alSourcef(@ALuint int source, @ALenum int pname, float value);
void alSourcef(@ALuint int source, @ALenum int pname, float value);
/**
* Specifies the position and other properties as taken into account during
* sound processing.
@ -739,8 +736,8 @@ public interface AL10 {
// TODO: What's the correct minimum value?
@StripPostfix("value")
@ALvoid
public void alSourcefv(@ALuint int source, @ALenum int pname, @Check("1") FloatBuffer value);
void alSourcefv(@ALuint int source, @ALenum int pname, @Check("1") FloatBuffer value);
/**
* Specifies the position and other properties as taken into account during
* sound processing.
@ -752,13 +749,13 @@ public interface AL10 {
* @param v3 value 3 of property
*/
@ALvoid
public void alSource3f(
void alSource3f(
@ALuint int source,
@ALenum int pname,
float v1,
float v2,
float v3);
/**
* Source state is maintained inside the AL implementation, and the current attributes
@ -770,7 +767,7 @@ public interface AL10 {
* @return int
*/
@ALvoid
public void alGetSourcei(@ALuint int source, @ALenum int pname, @Result int value);
void alGetSourcei(@ALuint int source, @ALenum int pname, @Result int value);
/**
* Source state is maintained inside the AL implementation, and the current attributes
@ -782,7 +779,7 @@ public interface AL10 {
* @return float
*/
@ALvoid
public void alGetSourcef(@ALuint int source, @ALenum int pname, @Result float value);
void alGetSourcef(@ALuint int source, @ALenum int pname, @Result float value);
/**
* Source state is maintained inside the AL implementation, and the current attributes
@ -796,7 +793,7 @@ public interface AL10 {
// TODO: What's the correct minimum value?
@StripPostfix("floatdata")
@ALvoid
public void alGetSourcefv(@ALuint int source, @ALenum int pname, @Check("1") FloatBuffer floatdata);
void alGetSourcefv(@ALuint int source, @ALenum int pname, @Check("1") FloatBuffer floatdata);
/**
* Play() applied to an AL_INITIAL Source will promote the Source to AL_PLAYING, thus
@ -812,7 +809,7 @@ public interface AL10 {
*/
@StripPostfix("sources")
@ALvoid
public void alSourcePlayv(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
void alSourcePlayv(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
/**
* Pause() applied to an AL_INITIAL Source is a legal NOP. Pause() applied to a
@ -824,7 +821,7 @@ public interface AL10 {
*/
@StripPostfix("sources")
@ALvoid
public void alSourcePausev(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
void alSourcePausev(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
/**
* Stop() applied to an AL_INITIAL Source is a legal NOP. Stop() applied to a AL_PLAYING
@ -837,7 +834,7 @@ public interface AL10 {
*/
@StripPostfix("sources")
@ALvoid
public void alSourceStopv(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
void alSourceStopv(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
/**
* Rewind() applied to an AL_INITIAL Source is a legal NOP. Rewind() applied to a
@ -852,7 +849,7 @@ public interface AL10 {
*/
@StripPostfix("sources")
@ALvoid
public void alSourceRewindv(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
void alSourceRewindv(@AutoSize("sources") @ALsizei int n, @ALuint IntBuffer sources);
/**
* Play() applied to an AL_INITIAL Source will promote the Source to AL_PLAYING, thus
@ -867,7 +864,7 @@ public interface AL10 {
* @param source Source to play
*/
@ALvoid
public void alSourcePlay(@ALuint int source);
void alSourcePlay(@ALuint int source);
/**
* Pause() applied to an AL_INITIAL Source is a legal NOP. Pause() applied to a
@ -878,7 +875,7 @@ public interface AL10 {
* @param source Source to pause
*/
@ALvoid
public void alSourcePause(@ALuint int source);
void alSourcePause(@ALuint int source);
/**
* Stop() applied to an AL_INITIAL Source is a legal NOP. Stop() applied to a AL_PLAYING
@ -890,7 +887,7 @@ public interface AL10 {
* @param source Source to stop
*/
@ALvoid
public void alSourceStop(@ALuint int source);
void alSourceStop(@ALuint int source);
/**
* Rewind() applied to an AL_INITIAL Source is a legal NOP. Rewind() applied to a
@ -904,7 +901,7 @@ public interface AL10 {
* @param source Source to rewind
*/
@ALvoid
public void alSourceRewind(@ALuint int source);
void alSourceRewind(@ALuint int source);
/**
* The application requests a number of Buffers using GenBuffers.
@ -912,7 +909,7 @@ public interface AL10 {
* @param buffers holding buffers
*/
@ALvoid
public void alGenBuffers(@AutoSize("buffers") @ALsizei int n, @ALuint IntBuffer buffers);
void alGenBuffers(@AutoSize("buffers") @ALsizei int n, @ALuint IntBuffer buffers);
/**
* <p>
@ -931,7 +928,7 @@ public interface AL10 {
* @param buffers Buffer to delete from
*/
@ALvoid
public void alDeleteBuffers(@AutoSize("buffers") @ALsizei int n, @ALuint IntBuffer buffers);
void alDeleteBuffers(@AutoSize("buffers") @ALsizei int n, @ALuint IntBuffer buffers);
/**
* The application can verify whether a buffer Name is valid using the IsBuffer query.
@ -939,7 +936,7 @@ public interface AL10 {
* @param buffer buffer to be tested for validity
* @return true if supplied buffer is valid, false if not
*/
public boolean alIsBuffer(@ALuint int buffer);
boolean alIsBuffer(@ALuint int buffer);
/**
* <p>
@ -965,11 +962,11 @@ public interface AL10 {
*
* @param buffer Buffer to fill
* @param format format sound data is in
* @param data location of data
* @param data location of data
* @param freq frequency of data
*/
@ALvoid
public void alBufferData(
void alBufferData(
@ALuint int buffer,
@ALenum int format,
@ALbyte
@ -989,7 +986,7 @@ public interface AL10 {
* @param pname name of property to retrieve
*/
@ALvoid
public void alGetBufferi(@ALuint int buffer, @ALenum int pname, @Result int value);
void alGetBufferi(@ALuint int buffer, @ALenum int pname, @Result int value);
/**
* Buffer state is maintained inside the AL implementation and can be queried in full.<br>
@ -1001,7 +998,7 @@ public interface AL10 {
* @return float
*/
@ALvoid
public void alGetBufferf(@ALuint int buffer, @ALenum int pname, @Result float value);
void alGetBufferf(@ALuint int buffer, @ALenum int pname, @Result float value);
/**
* <p>
@ -1019,7 +1016,7 @@ public interface AL10 {
* @param buffers buffers to be queued
*/
@ALvoid
public void alSourceQueueBuffers(@ALuint int source, @AutoSize("buffers") @ALsizei int n, @ALuint IntBuffer buffers);
void alSourceQueueBuffers(@ALuint int source, @AutoSize("buffers") @ALsizei int n, @ALuint IntBuffer buffers);
/**
* <p>
@ -1041,7 +1038,7 @@ public interface AL10 {
* @param buffers buffers to be unqueued
*/
@ALvoid
public void alSourceUnqueueBuffers(@ALuint int source, @AutoSize("buffers") @ALsizei int n, @ALuint IntBuffer buffers);
void alSourceUnqueueBuffers(@ALuint int source, @AutoSize("buffers") @ALsizei int n, @ALuint IntBuffer buffers);
/**
* <p>
@ -1058,7 +1055,7 @@ public interface AL10 {
* distance and other attenuation might ultimately limit the overall AL_GAIN to a value
* below 1.0.
* </p>
* <p>
* <p>
* AL currently supports three modes of operation with respect to distance
* attenuation. It supports two distance-dependent attenuation models, one which is
* similar to the IASIG I3DL2 (and DS3D) model. The application choses one of these
@ -1067,22 +1064,22 @@ public interface AL10 {
* </p>
* <p>
* Legal arguments are AL_NONE, AL_INVERSE_DISTANCE, and
* AL_INVERSE_DISTANCE_CLAMPED.
* AL_INVERSE_DISTANCE_CLAMPED.
* <br>
* <br>
* AL_NONE bypasses all distance attenuation
* calculation for all Sources. The implementation is expected to optimize this
* situation.
* situation.
* <br>
* <br>
* AL_INVERSE_DISTANCE_CLAMPED is the DS3D model, with
* AL_REFERENCE_DISTANCE indicating both the reference distance and the distance
* below which gain will be clamped.
* below which gain will be clamped.
* <br>
* <br>
* AL_INVERSE_DISTANCE is equivalent to the DS3D
* model with the exception that AL_REFERENCE_DISTANCE does not imply any
* clamping.
* clamping.
* <br>
* <br>
* The AL implementation is still free to apply any range clamping as
@ -1093,7 +1090,7 @@ public interface AL10 {
* @param value distance model to be set
*/
@ALvoid
public void alDistanceModel(@ALenum int value);
void alDistanceModel(@ALenum int value);
/**
* The Doppler Effect depends on the velocities of Source and Listener relative to the
@ -1109,7 +1106,7 @@ public interface AL10 {
* of the medium (air, water) moving with respect to listener and source are ignored.
* AL_DOPPLER_VELOCITY is the propagation speed relative to which the Source
* velocities are interpreted.
*
*
* <p>
* <pre>
* VD: AL_DOPPLER_VELOCITY
@ -1118,9 +1115,9 @@ public interface AL10 {
* vs: Source verlocity (scalar, projected on source-listener vector)
* f: Frequency in sample
* f': effective Doppler shifted frequency
*
*
* f' = DF * f * (VD-vl)/(VD+vs)
*
*
* vl<0, vs>0 : source and listener approaching each other
* vl>0, vs<0 : source and listener moving away from each other
* </pre>
@ -1148,7 +1145,7 @@ public interface AL10 {
* @param value Doppler scale value to set
*/
@ALvoid
public void alDopplerFactor(float value);
void alDopplerFactor(float value);
/**
* The Doppler Effect depends on the velocities of Source and Listener relative to the
@ -1164,7 +1161,7 @@ public interface AL10 {
* of the medium (air, water) moving with respect to listener and source are ignored.
* AL_DOPPLER_VELOCITY is the propagation speed relative to which the Source
* velocities are interpreted.
*
*
* <p>
* <pre>
* VD: AL_DOPPLER_VELOCITY
@ -1173,9 +1170,9 @@ public interface AL10 {
* vs: Source verlocity (scalar, projected on source-listener vector)
* f: Frequency in sample
* f': effective Doppler shifted frequency
*
*
* f' = DF * f * (VD-vl)/(VD+vs)
*
*
* vl<0, vs>0 : source and listener approaching each other
* vl>0, vs<0 : source and listener moving away from each other
* </pre>
@ -1203,5 +1200,5 @@ public interface AL10 {
* @param value Doppler velocity value to set
*/
@ALvoid
public void alDopplerVelocity(float value);
void alDopplerVelocity(float value);
}

View File

@ -31,8 +31,6 @@
*/
package org.lwjgl.opengl;
import org.lwjgl.BufferChecks;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
import java.nio.*;
@ -42,49 +40,49 @@ public interface ARB_buffer_object {
/*
* Accepted by the <usage> parameter of BufferDataARB:
*/
public static final int GL_STREAM_DRAW_ARB = 0x88E0;
public static final int GL_STREAM_READ_ARB = 0x88E1;
public static final int GL_STREAM_COPY_ARB = 0x88E2;
public static final int GL_STATIC_DRAW_ARB = 0x88E4;
public static final int GL_STATIC_READ_ARB = 0x88E5;
public static final int GL_STATIC_COPY_ARB = 0x88E6;
public static final int GL_DYNAMIC_DRAW_ARB = 0x88E8;
public static final int GL_DYNAMIC_READ_ARB = 0x88E9;
public static final int GL_DYNAMIC_COPY_ARB = 0x88EA;
int GL_STREAM_DRAW_ARB = 0x88E0;
int GL_STREAM_READ_ARB = 0x88E1;
int GL_STREAM_COPY_ARB = 0x88E2;
int GL_STATIC_DRAW_ARB = 0x88E4;
int GL_STATIC_READ_ARB = 0x88E5;
int GL_STATIC_COPY_ARB = 0x88E6;
int GL_DYNAMIC_DRAW_ARB = 0x88E8;
int GL_DYNAMIC_READ_ARB = 0x88E9;
int GL_DYNAMIC_COPY_ARB = 0x88EA;
/*
* Accepted by the <access> parameter of MapBufferARB:
*/
public static final int GL_READ_ONLY_ARB = 0x88B8;
public static final int GL_WRITE_ONLY_ARB = 0x88B9;
public static final int GL_READ_WRITE_ARB = 0x88BA;
int GL_READ_ONLY_ARB = 0x88B8;
int GL_WRITE_ONLY_ARB = 0x88B9;
int GL_READ_WRITE_ARB = 0x88BA;
/*
* Accepted by the <pname> parameter of GetBufferParameterivARB:
*/
public static final int GL_BUFFER_SIZE_ARB = 0x8764;
public static final int GL_BUFFER_USAGE_ARB = 0x8765;
public static final int GL_BUFFER_ACCESS_ARB = 0x88BB;
public static final int GL_BUFFER_MAPPED_ARB = 0x88BC;
public static final int GL_BUFFER_MAP_POINTER_ARB = 0x88BD;
int GL_BUFFER_SIZE_ARB = 0x8764;
int GL_BUFFER_USAGE_ARB = 0x8765;
int GL_BUFFER_ACCESS_ARB = 0x88BB;
int GL_BUFFER_MAPPED_ARB = 0x88BC;
int GL_BUFFER_MAP_POINTER_ARB = 0x88BD;
@Code( " BufferObjectTracker.bindBuffer(target, buffer);")
public void glBindBufferARB(@GLenum int target, @GLuint int buffer);
void glBindBufferARB(@GLenum int target, @GLuint int buffer);
@Code( " BufferObjectTracker.deleteBuffers(buffers);")
public void glDeleteBuffersARB(@AutoSize("buffers") @GLsizei int n, @Const @GLuint IntBuffer buffers);
public void glGenBuffersARB(@AutoSize("buffers") int n, @GLuint IntBuffer buffers);
public boolean glIsBufferARB(@GLuint int buffer);
void glDeleteBuffersARB(@AutoSize("buffers") @GLsizei int n, @Const @GLuint IntBuffer buffers);
void glGenBuffersARB(@AutoSize("buffers") int n, @GLuint IntBuffer buffers);
boolean glIsBufferARB(@GLuint int buffer);
@GenerateAutos
public void glBufferDataARB(@GLenum int target, @AutoSize("data") @GLsizeiptrARB int size,
void glBufferDataARB(@GLenum int target, @AutoSize("data") @GLsizeiptrARB int size,
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer data, @GLenum int usage);
public 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
@Const
@GLbyte
@ -93,7 +91,7 @@ public interface ARB_buffer_object {
@GLfloat
Buffer data);
public 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
@GLbyte
@GLshort
@ -115,13 +113,13 @@ public interface ARB_buffer_object {
* @return A ByteBuffer representing the mapped buffer memory.
*/
@CachedResult
public @GLvoid ByteBuffer glMapBufferARB(@GLenum int target, @GLenum int access);
@GLvoid ByteBuffer glMapBufferARB(@GLenum int target, @GLenum int access);
public boolean glUnmapBufferARB(@GLenum int target);
boolean glUnmapBufferARB(@GLenum int target);
@StripPostfix("params")
public void glGetBufferParameterivARB(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
void glGetBufferParameterivARB(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("pointer")
public void glGetBufferPointervARB(@GLenum int target, @GLenum int pname, @Result @GLvoid ByteBuffer pointer);
void glGetBufferPointervARB(@GLenum int target, @GLenum int pname, @Result @GLvoid ByteBuffer pointer);
}

View File

@ -32,27 +32,26 @@
package org.lwjgl.opengl;
import org.lwjgl.generator.*;
import org.lwjgl.LWJGLException;
public interface ARB_color_buffer_float {
/*
* Accepted by the <pname> parameters of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int RGBA_FLOAT_MODE_ARB = 0x8820;
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 CLAMP_VERTEX_COLOR_ARB = 0x891A;
public static final int CLAMP_FRAGMENT_COLOR_ARB = 0x891B;
public static final int CLAMP_READ_COLOR_ARB = 0x891C;
int GL_CLAMP_VERTEX_COLOR_ARB = 0x891A;
int GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B;
int GL_CLAMP_READ_COLOR_ARB = 0x891C;
/*
* Accepted by the <clamp> parameter of ClampColorARB.
*/
public static final int FIXED_ONLY_ARB = 0x891D;
int GL_FIXED_ONLY_ARB = 0x891D;
/*
* Accepted as a value in the <piAttribIList> and <pfAttribFList>
@ -60,18 +59,18 @@ public interface ARB_color_buffer_float {
* <piValues> parameter array of wglGetPixelFormatAttribivARB, and the
* <pfValues> parameter array of wglGetPixelFormatAttribfvARB:
*/
static final int WGL_TYPE_RGBA_FLOAT_ARB = 0x21A0;
int WGL_TYPE_RGBA_FLOAT_ARB = 0x21A0;
/*
* Accepted as values of the <render_type> arguments in the
* glXCreateNewContext and glXCreateContext functions
*/
static final int GLX_RGBA_FLOAT_TYPE = 0x20B9;
int GLX_RGBA_FLOAT_TYPE = 0x20B9;
/*
* Accepted as a bit set in the GLX_RENDER_TYPE variable
*/
static final int GLX_RGBA_FLOAT_BIT = 0x00000004;
int GLX_RGBA_FLOAT_BIT = 0x00000004;
public void glClampColorARB(@GLenum int target, @GLenum int clamp);
void glClampColorARB(@GLenum int target, @GLenum int clamp);
}

View File

@ -36,19 +36,19 @@ public interface ARB_depth_texture {
* Accepted by the <internalFormat> parameter of TexImage1D, TexImage2D,
* CopyTexImage1D and CopyTexImage2D:
*/
public static final int GL_DEPTH_COMPONENT16_ARB = 0x81A5;
public static final int GL_DEPTH_COMPONENT24_ARB = 0x81A6;
public static final int GL_DEPTH_COMPONENT32_ARB = 0x81A7;
int GL_DEPTH_COMPONENT16_ARB = 0x81A5;
int GL_DEPTH_COMPONENT24_ARB = 0x81A6;
int GL_DEPTH_COMPONENT32_ARB = 0x81A7;
/*
* Accepted by the <pname> parameter of GetTexLevelParameterfv and
* GetTexLevelParameteriv:
*/
public static final int GL_TEXTURE_DEPTH_SIZE_ARB = 0x884A;
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;
int GL_DEPTH_TEXTURE_MODE_ARB = 0x884B;
}

View File

@ -31,8 +31,6 @@
*/
package org.lwjgl.opengl;
import org.lwjgl.BufferChecks;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
import java.nio.IntBuffer;
@ -42,23 +40,23 @@ public interface ARB_draw_buffers {
* Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
* and GetDoublev:
*/
public static final int GL_MAX_DRAW_BUFFERS_ARB = 0x8824;
public static final int GL_DRAW_BUFFER0_ARB = 0x8825;
public static final int GL_DRAW_BUFFER1_ARB = 0x8826;
public static final int GL_DRAW_BUFFER2_ARB = 0x8827;
public static final int GL_DRAW_BUFFER3_ARB = 0x8828;
public static final int GL_DRAW_BUFFER4_ARB = 0x8829;
public static final int GL_DRAW_BUFFER5_ARB = 0x882A;
public static final int GL_DRAW_BUFFER6_ARB = 0x882B;
public static final int GL_DRAW_BUFFER7_ARB = 0x882C;
public static final int GL_DRAW_BUFFER8_ARB = 0x882D;
public static final int GL_DRAW_BUFFER9_ARB = 0x882E;
public static final int GL_DRAW_BUFFER10_ARB = 0x882F;
public static final int GL_DRAW_BUFFER11_ARB = 0x8830;
public static final int GL_DRAW_BUFFER12_ARB = 0x8831;
public static final int GL_DRAW_BUFFER13_ARB = 0x8832;
public static final int GL_DRAW_BUFFER14_ARB = 0x8833;
public static final int GL_DRAW_BUFFER15_ARB = 0x8834;
int GL_MAX_DRAW_BUFFERS_ARB = 0x8824;
int GL_DRAW_BUFFER0_ARB = 0x8825;
int GL_DRAW_BUFFER1_ARB = 0x8826;
int GL_DRAW_BUFFER2_ARB = 0x8827;
int GL_DRAW_BUFFER3_ARB = 0x8828;
int GL_DRAW_BUFFER4_ARB = 0x8829;
int GL_DRAW_BUFFER5_ARB = 0x882A;
int GL_DRAW_BUFFER6_ARB = 0x882B;
int GL_DRAW_BUFFER7_ARB = 0x882C;
int GL_DRAW_BUFFER8_ARB = 0x882D;
int GL_DRAW_BUFFER9_ARB = 0x882E;
int GL_DRAW_BUFFER10_ARB = 0x882F;
int GL_DRAW_BUFFER11_ARB = 0x8830;
int GL_DRAW_BUFFER12_ARB = 0x8831;
int GL_DRAW_BUFFER13_ARB = 0x8832;
int GL_DRAW_BUFFER14_ARB = 0x8833;
int GL_DRAW_BUFFER15_ARB = 0x8834;
public void glDrawBuffersARB(@AutoSize("buffers") @GLsizei int size, @Const @GLenum IntBuffer buffers);
void glDrawBuffersARB(@AutoSize("buffers") @GLsizei int size, @Const @GLenum IntBuffer buffers);
}

View File

@ -40,29 +40,29 @@ public interface ARB_fragment_program extends ARB_program {
* GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
* GetProgramivARB and GetProgramStringARB.
*/
public static final int GL_FRAGMENT_PROGRAM_ARB = 0x8804;
int GL_FRAGMENT_PROGRAM_ARB = 0x8804;
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
public static final int GL_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805;
public static final int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806;
public static final int GL_PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807;
public static final int GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808;
public static final int GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809;
public static final int GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A;
public static final int GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B;
public static final int GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C;
public static final int GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D;
public static final int GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E;
public static final int GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F;
public static final int GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810;
int GL_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805;
int GL_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806;
int GL_PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807;
int GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808;
int GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809;
int GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A;
int GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B;
int GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C;
int GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D;
int GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E;
int GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F;
int GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev:
*/
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
}

View File

@ -36,19 +36,19 @@ public interface ARB_fragment_shader {
* 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;
int GL_FRAGMENT_SHADER_ARB = 0x8B30;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49;
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49;
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
/*
* Accepted by the <target> parameter of Hint and the <pname> parameter of
* GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/
public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B;
int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B;
}

View File

@ -40,5 +40,5 @@ public interface ARB_half_float_pixel {
* SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable,
* and GetColorTable:
*/
public static final int HALF_FLOAT_ARB = 0x140B;
int HALF_FLOAT_ARB = 0x140B;
}

View File

@ -32,14 +32,9 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.BufferChecks;
import org.lwjgl.BufferUtils;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
/**
@ -53,91 +48,91 @@ import org.lwjgl.generator.*;
@Extension(postfix="")
public interface ARB_imaging {
public static final int GL_CONSTANT_COLOR = 0x8001;
public static final int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
public static final int GL_CONSTANT_ALPHA = 0x8003;
public static final int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
public static final int GL_BLEND_COLOR = 0x8005;
public static final int GL_FUNC_ADD = 0x8006;
public static final int GL_MIN = 0x8007;
public static final int GL_MAX = 0x8008;
public static final int GL_BLEND_EQUATION = 0x8009;
public static final int GL_FUNC_SUBTRACT = 0x800A;
public static final int GL_FUNC_REVERSE_SUBTRACT = 0x800B;
public static final int GL_COLOR_MATRIX = 0x80B1;
public static final int GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2;
public static final int GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3;
public static final int GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4;
public static final int GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5;
public static final int GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6;
public static final int GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7;
public static final int GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8;
public static final int GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9;
public static final int GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA;
public static final int GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB;
public static final int GL_COLOR_TABLE = 0x80D0;
public static final int GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1;
public static final int GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2;
public static final int GL_PROXY_COLOR_TABLE = 0x80D3;
public static final int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4;
public static final int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5;
public static final int GL_COLOR_TABLE_SCALE = 0x80D6;
public static final int GL_COLOR_TABLE_BIAS = 0x80D7;
public static final int GL_COLOR_TABLE_FORMAT = 0x80D8;
public static final int GL_COLOR_TABLE_WIDTH = 0x80D9;
public static final int GL_COLOR_TABLE_RED_SIZE = 0x80DA;
public static final int GL_COLOR_TABLE_GREEN_SIZE = 0x80DB;
public static final int GL_COLOR_TABLE_BLUE_SIZE = 0x80DC;
public static final int GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD;
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE;
public static final int GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF;
public static final int GL_CONVOLUTION_1D = 0x8010;
public static final int GL_CONVOLUTION_2D = 0x8011;
public static final int GL_SEPARABLE_2D = 0x8012;
public static final int GL_CONVOLUTION_BORDER_MODE = 0x8013;
public static final int GL_CONVOLUTION_FILTER_SCALE = 0x8014;
public static final int GL_CONVOLUTION_FILTER_BIAS = 0x8015;
public static final int GL_REDUCE = 0x8016;
public static final int GL_CONVOLUTION_FORMAT = 0x8017;
public static final int GL_CONVOLUTION_WIDTH = 0x8018;
public static final int GL_CONVOLUTION_HEIGHT = 0x8019;
public static final int GL_MAX_CONVOLUTION_WIDTH = 0x801A;
public static final int GL_MAX_CONVOLUTION_HEIGHT = 0x801B;
public static final int GL_POST_CONVOLUTION_RED_SCALE = 0x801C;
public static final int GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D;
public static final int GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E;
public static final int GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F;
public static final int GL_POST_CONVOLUTION_RED_BIAS = 0x8020;
public static final int GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021;
public static final int GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022;
public static final int GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023;
public static final int GL_IGNORE_BORDER = 0x8150;
public static final int GL_CONSTANT_BORDER = 0x8151;
public static final int GL_REPLICATE_BORDER = 0x8153;
public static final int GL_CONVOLUTION_BORDER_COLOR = 0x8154;
public static final int GL_HISTOGRAM = 0x8024;
public static final int GL_PROXY_HISTOGRAM = 0x8025;
public static final int GL_HISTOGRAM_WIDTH = 0x8026;
public static final int GL_HISTOGRAM_FORMAT = 0x8027;
public static final int GL_HISTOGRAM_RED_SIZE = 0x8028;
public static final int GL_HISTOGRAM_GREEN_SIZE = 0x8029;
public static final int GL_HISTOGRAM_BLUE_SIZE = 0x802A;
public static final int GL_HISTOGRAM_ALPHA_SIZE = 0x802B;
public static final int GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C;
public static final int GL_HISTOGRAM_SINK = 0x802D;
public static final int GL_MINMAX = 0x802E;
public static final int GL_MINMAX_FORMAT = 0x802F;
public static final int GL_MINMAX_SINK = 0x8030;
int GL_CONSTANT_COLOR = 0x8001;
int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
int GL_CONSTANT_ALPHA = 0x8003;
int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
int GL_BLEND_COLOR = 0x8005;
int GL_FUNC_ADD = 0x8006;
int GL_MIN = 0x8007;
int GL_MAX = 0x8008;
int GL_BLEND_EQUATION = 0x8009;
int GL_FUNC_SUBTRACT = 0x800A;
int GL_FUNC_REVERSE_SUBTRACT = 0x800B;
int GL_COLOR_MATRIX = 0x80B1;
int GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2;
int GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3;
int GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4;
int GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5;
int GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6;
int GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7;
int GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8;
int GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9;
int GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA;
int GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB;
int GL_COLOR_TABLE = 0x80D0;
int GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1;
int GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2;
int GL_PROXY_COLOR_TABLE = 0x80D3;
int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4;
int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5;
int GL_COLOR_TABLE_SCALE = 0x80D6;
int GL_COLOR_TABLE_BIAS = 0x80D7;
int GL_COLOR_TABLE_FORMAT = 0x80D8;
int GL_COLOR_TABLE_WIDTH = 0x80D9;
int GL_COLOR_TABLE_RED_SIZE = 0x80DA;
int GL_COLOR_TABLE_GREEN_SIZE = 0x80DB;
int GL_COLOR_TABLE_BLUE_SIZE = 0x80DC;
int GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD;
int GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE;
int GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF;
int GL_CONVOLUTION_1D = 0x8010;
int GL_CONVOLUTION_2D = 0x8011;
int GL_SEPARABLE_2D = 0x8012;
int GL_CONVOLUTION_BORDER_MODE = 0x8013;
int GL_CONVOLUTION_FILTER_SCALE = 0x8014;
int GL_CONVOLUTION_FILTER_BIAS = 0x8015;
int GL_REDUCE = 0x8016;
int GL_CONVOLUTION_FORMAT = 0x8017;
int GL_CONVOLUTION_WIDTH = 0x8018;
int GL_CONVOLUTION_HEIGHT = 0x8019;
int GL_MAX_CONVOLUTION_WIDTH = 0x801A;
int GL_MAX_CONVOLUTION_HEIGHT = 0x801B;
int GL_POST_CONVOLUTION_RED_SCALE = 0x801C;
int GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D;
int GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E;
int GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F;
int GL_POST_CONVOLUTION_RED_BIAS = 0x8020;
int GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021;
int GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022;
int GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023;
int GL_IGNORE_BORDER = 0x8150;
int GL_CONSTANT_BORDER = 0x8151;
int GL_REPLICATE_BORDER = 0x8153;
int GL_CONVOLUTION_BORDER_COLOR = 0x8154;
int GL_HISTOGRAM = 0x8024;
int GL_PROXY_HISTOGRAM = 0x8025;
int GL_HISTOGRAM_WIDTH = 0x8026;
int GL_HISTOGRAM_FORMAT = 0x8027;
int GL_HISTOGRAM_RED_SIZE = 0x8028;
int GL_HISTOGRAM_GREEN_SIZE = 0x8029;
int GL_HISTOGRAM_BLUE_SIZE = 0x802A;
int GL_HISTOGRAM_ALPHA_SIZE = 0x802B;
int GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C;
int GL_HISTOGRAM_SINK = 0x802D;
int GL_MINMAX = 0x802E;
int GL_MINMAX_FORMAT = 0x802F;
int GL_MINMAX_SINK = 0x8030;
public 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)
@Check("256")
@Const
@GLbyte
@GLfloat
Buffer data);
public 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)
@Check("256")
@Const
@ -146,35 +141,35 @@ public interface ARB_imaging {
Buffer data);
@StripPostfix("params")
public void glColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
void glColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
public void glColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
void glColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
public void glCopyColorSubTable(@GLenum int target, @GLsizei int start, int x, int y, @GLsizei int width);
void glCopyColorSubTable(@GLenum int target, @GLsizei int start, int x, int y, @GLsizei int width);
public 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);
public void glGetColorTable(@GLenum int target, @GLenum int format, @GLenum int type,
void glGetColorTable(@GLenum int target, @GLenum int format, @GLenum int type,
@Check("256")
@GLbyte
@GLfloat
Buffer data);
@StripPostfix("params")
public 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")
public void glGetColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
void glGetColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
public void glBlendEquation(@GLenum int mode);
void glBlendEquation(@GLenum int mode);
public 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);
public void glHistogram(@GLenum int target, @GLsizei int width, @GLenum int internalformat, boolean sink);
void glHistogram(@GLenum int target, @GLsizei int width, @GLenum int internalformat, boolean sink);
public void glResetHistogram(@GLenum int target);
void glResetHistogram(@GLenum int target);
public 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)
@Check("256")
@GLbyte
@ -184,15 +179,15 @@ public interface ARB_imaging {
Buffer values);
@StripPostfix("params")
public 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")
public void glGetHistogramParameteriv(@GLenum int target, @GLenum int pname, @Check("256") IntBuffer params);
void glGetHistogramParameteriv(@GLenum int target, @GLenum int pname, @Check("256") IntBuffer params);
public void glMinmax(@GLenum int target, @GLenum int internalformat, boolean sink);
void glMinmax(@GLenum int target, @GLenum int internalformat, boolean sink);
public void glResetMinmax(@GLenum int target);
void glResetMinmax(@GLenum int target);
public 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)
@Check("4")
@GLbyte
@ -200,13 +195,13 @@ public interface ARB_imaging {
@GLint
@GLfloat
Buffer values);
@StripPostfix("params")
public void glGetMinmaxParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params")
public void glGetMinmaxParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
public void glConvolutionFilter1D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLenum int format, @GLenum int type,
@StripPostfix("params")
void glGetMinmaxParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params);
@StripPostfix("params")
void glGetMinmaxParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
void glConvolutionFilter1D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLenum int format, @GLenum int type,
@BufferObject(BufferKind.UnpackPBO)
@Check("GLBufferChecks.calculateImageStorage(image, format, type, width, 1, 1)")
@GLbyte
@ -215,7 +210,7 @@ public interface ARB_imaging {
@GLfloat
Buffer image);
public 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)
@Check("GLBufferChecks.calculateImageStorage(image, format, type, width, height, 1)")
@GLbyte
@ -223,22 +218,22 @@ public interface ARB_imaging {
@GLint
Buffer image);
public void glConvolutionParameterf(@GLenum int target, @GLenum int pname, float params);
@StripPostfix("params")
public void glConvolutionParameterfv(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
public void glConvolutionParameteri(@GLenum int target, @GLenum int pname, int params);
@StripPostfix("params")
public void glConvolutionParameteriv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
void glConvolutionParameterf(@GLenum int target, @GLenum int pname, float params);
public void glCopyConvolutionFilter1D(@GLenum int target, @GLenum int internalformat, int x, int y, @GLsizei int width);
@StripPostfix("params")
void glConvolutionParameterfv(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params);
public void glCopyConvolutionFilter2D(@GLenum int target, @GLenum int internalformat, int x, int y, @GLsizei int width, @GLsizei int height);
void glConvolutionParameteri(@GLenum int target, @GLenum int pname, int params);
@StripPostfix("params")
void glConvolutionParameteriv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params);
void glCopyConvolutionFilter1D(@GLenum int target, @GLenum int internalformat, int x, int y, @GLsizei int width);
void glCopyConvolutionFilter2D(@GLenum int target, @GLenum int internalformat, int x, int y, @GLsizei int width, @GLsizei int height);
// TODO: check buffer size valid
public 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)
@Check
@GLbyte
@ -248,12 +243,12 @@ public interface ARB_imaging {
Buffer image);
@StripPostfix("params")
public 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")
public 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
public 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)
@Check
@Const
@ -272,7 +267,7 @@ public interface ARB_imaging {
Buffer column);
// TODO: check buffer size valid
public 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)
@Check
@GLbyte

View File

@ -36,25 +36,23 @@ import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.BufferChecks;
import org.lwjgl.generator.*;
public interface ARB_matrix_palette {
public static final int GL_MATRIX_PALETTE_ARB = 0x8840;
public static final int GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841;
public static final int GL_MAX_PALETTE_MATRICES_ARB = 0x8842;
public static final int GL_CURRENT_PALETTE_MATRIX_ARB = 0x8843;
public static final int GL_MATRIX_INDEX_ARRAY_ARB = 0x8844;
public static final int GL_CURRENT_MATRIX_INDEX_ARB = 0x8845;
public static final int GL_MATRIX_INDEX_ARRAY_SIZE_ARB = 0x8846;
public static final int GL_MATRIX_INDEX_ARRAY_TYPE_ARB = 0x8847;
public static final int GL_MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848;
public static final int GL_MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849;
int GL_MATRIX_PALETTE_ARB = 0x8840;
int GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841;
int GL_MAX_PALETTE_MATRICES_ARB = 0x8842;
int GL_CURRENT_PALETTE_MATRIX_ARB = 0x8843;
int GL_MATRIX_INDEX_ARRAY_ARB = 0x8844;
int GL_CURRENT_MATRIX_INDEX_ARB = 0x8845;
int GL_MATRIX_INDEX_ARRAY_SIZE_ARB = 0x8846;
int GL_MATRIX_INDEX_ARRAY_TYPE_ARB = 0x8847;
int GL_MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848;
int GL_MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849;
public void glCurrentPaletteMatrixARB(int index);
void glCurrentPaletteMatrixARB(int index);
public void glMatrixIndexPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
void glMatrixIndexPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
@BufferObject(BufferKind.ArrayVBO)
@Check
@GLubyte
@ -63,9 +61,9 @@ public interface ARB_matrix_palette {
Buffer pPointer);
@StripPostfix("pIndices")
public void glMatrixIndexubvARB(@AutoSize("pIndices") int size, @GLubyte ByteBuffer pIndices);
void glMatrixIndexubvARB(@AutoSize("pIndices") int size, @GLubyte ByteBuffer pIndices);
@StripPostfix("pIndices")
public void glMatrixIndexusvARB(@AutoSize("pIndices") int size, @GLushort ShortBuffer pIndices);
void glMatrixIndexusvARB(@AutoSize("pIndices") int size, @GLushort ShortBuffer pIndices);
@StripPostfix("pIndices")
public void glMatrixIndexuivARB(@AutoSize("pIndices") int size, @GLuint IntBuffer pIndices);
void glMatrixIndexuivARB(@AutoSize("pIndices") int size, @GLuint IntBuffer pIndices);
}

View File

@ -31,19 +31,18 @@
*/
package org.lwjgl.opengl;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_multisample {
public static final int GL_MULTISAMPLE_ARB = 0x809D;
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E;
public static final int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F;
public static final int GL_SAMPLE_COVERAGE_ARB = 0x80A0;
public static final int GL_SAMPLE_BUFFERS_ARB = 0x80A8;
public static final int GL_SAMPLES_ARB = 0x80A9;
public static final int GL_SAMPLE_COVERAGE_VALUE_ARB = 0x80AA;
public static final int GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB;
public static final int GL_MULTISAMPLE_BIT_ARB = 0x20000000;
int GL_MULTISAMPLE_ARB = 0x809D;
int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E;
int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F;
int GL_SAMPLE_COVERAGE_ARB = 0x80A0;
int GL_SAMPLE_BUFFERS_ARB = 0x80A8;
int GL_SAMPLES_ARB = 0x80A9;
int GL_SAMPLE_COVERAGE_VALUE_ARB = 0x80AA;
int GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB;
int GL_MULTISAMPLE_BIT_ARB = 0x20000000;
public void glSampleCoverageARB(@GLclampf float value, boolean invert);
void glSampleCoverageARB(@GLclampf float value, boolean invert);
}

View File

@ -31,71 +31,70 @@
*/
package org.lwjgl.opengl;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_multitexture {
public static final int GL_TEXTURE0_ARB = 0x84C0;
public static final int GL_TEXTURE1_ARB = 0x84C1;
public static final int GL_TEXTURE2_ARB = 0x84C2;
public static final int GL_TEXTURE3_ARB = 0x84C3;
public static final int GL_TEXTURE4_ARB = 0x84C4;
public static final int GL_TEXTURE5_ARB = 0x84C5;
public static final int GL_TEXTURE6_ARB = 0x84C6;
public static final int GL_TEXTURE7_ARB = 0x84C7;
public static final int GL_TEXTURE8_ARB = 0x84C8;
public static final int GL_TEXTURE9_ARB = 0x84C9;
public static final int GL_TEXTURE10_ARB = 0x84CA;
public static final int GL_TEXTURE11_ARB = 0x84CB;
public static final int GL_TEXTURE12_ARB = 0x84CC;
public static final int GL_TEXTURE13_ARB = 0x84CD;
public static final int GL_TEXTURE14_ARB = 0x84CE;
public static final int GL_TEXTURE15_ARB = 0x84CF;
public static final int GL_TEXTURE16_ARB = 0x84D0;
public static final int GL_TEXTURE17_ARB = 0x84D1;
public static final int GL_TEXTURE18_ARB = 0x84D2;
public static final int GL_TEXTURE19_ARB = 0x84D3;
public static final int GL_TEXTURE20_ARB = 0x84D4;
public static final int GL_TEXTURE21_ARB = 0x84D5;
public static final int GL_TEXTURE22_ARB = 0x84D6;
public static final int GL_TEXTURE23_ARB = 0x84D7;
public static final int GL_TEXTURE24_ARB = 0x84D8;
public static final int GL_TEXTURE25_ARB = 0x84D9;
public static final int GL_TEXTURE26_ARB = 0x84DA;
public static final int GL_TEXTURE27_ARB = 0x84DB;
public static final int GL_TEXTURE28_ARB = 0x84DC;
public static final int GL_TEXTURE29_ARB = 0x84DD;
public static final int GL_TEXTURE30_ARB = 0x84DE;
public static final int GL_TEXTURE31_ARB = 0x84DF;
public static final int GL_ACTIVE_TEXTURE_ARB = 0x84E0;
public static final int GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1;
public static final int GL_MAX_TEXTURE_UNITS_ARB = 0x84E2;
int GL_TEXTURE0_ARB = 0x84C0;
int GL_TEXTURE1_ARB = 0x84C1;
int GL_TEXTURE2_ARB = 0x84C2;
int GL_TEXTURE3_ARB = 0x84C3;
int GL_TEXTURE4_ARB = 0x84C4;
int GL_TEXTURE5_ARB = 0x84C5;
int GL_TEXTURE6_ARB = 0x84C6;
int GL_TEXTURE7_ARB = 0x84C7;
int GL_TEXTURE8_ARB = 0x84C8;
int GL_TEXTURE9_ARB = 0x84C9;
int GL_TEXTURE10_ARB = 0x84CA;
int GL_TEXTURE11_ARB = 0x84CB;
int GL_TEXTURE12_ARB = 0x84CC;
int GL_TEXTURE13_ARB = 0x84CD;
int GL_TEXTURE14_ARB = 0x84CE;
int GL_TEXTURE15_ARB = 0x84CF;
int GL_TEXTURE16_ARB = 0x84D0;
int GL_TEXTURE17_ARB = 0x84D1;
int GL_TEXTURE18_ARB = 0x84D2;
int GL_TEXTURE19_ARB = 0x84D3;
int GL_TEXTURE20_ARB = 0x84D4;
int GL_TEXTURE21_ARB = 0x84D5;
int GL_TEXTURE22_ARB = 0x84D6;
int GL_TEXTURE23_ARB = 0x84D7;
int GL_TEXTURE24_ARB = 0x84D8;
int GL_TEXTURE25_ARB = 0x84D9;
int GL_TEXTURE26_ARB = 0x84DA;
int GL_TEXTURE27_ARB = 0x84DB;
int GL_TEXTURE28_ARB = 0x84DC;
int GL_TEXTURE29_ARB = 0x84DD;
int GL_TEXTURE30_ARB = 0x84DE;
int GL_TEXTURE31_ARB = 0x84DF;
int GL_ACTIVE_TEXTURE_ARB = 0x84E0;
int GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1;
int GL_MAX_TEXTURE_UNITS_ARB = 0x84E2;
public void glClientActiveTextureARB(@GLenum int texture);
void glClientActiveTextureARB(@GLenum int texture);
public void glActiveTextureARB(@GLenum int texture);
void glActiveTextureARB(@GLenum int texture);
public void glMultiTexCoord1fARB(@GLenum int target, float s);
void glMultiTexCoord1fARB(@GLenum int target, float s);
public void glMultiTexCoord1iARB(@GLenum int target, int s);
void glMultiTexCoord1iARB(@GLenum int target, int s);
public void glMultiTexCoord1sARB(@GLenum int target, short s);
void glMultiTexCoord1sARB(@GLenum int target, short s);
public void glMultiTexCoord2fARB(@GLenum int target, float s, float t);
void glMultiTexCoord2fARB(@GLenum int target, float s, float t);
public void glMultiTexCoord2iARB(@GLenum int target, int s, int t);
void glMultiTexCoord2iARB(@GLenum int target, int s, int t);
public void glMultiTexCoord2sARB(@GLenum int target, short s, short t);
void glMultiTexCoord2sARB(@GLenum int target, short s, short t);
public void glMultiTexCoord3fARB(@GLenum int target, float s, float t, float r);
void glMultiTexCoord3fARB(@GLenum int target, float s, float t, float r);
public void glMultiTexCoord3iARB(@GLenum int target, int s, int t, int r);
void glMultiTexCoord3iARB(@GLenum int target, int s, int t, int r);
public void glMultiTexCoord3sARB(@GLenum int target, short s, short t, short r);
void glMultiTexCoord3sARB(@GLenum int target, short s, short t, short r);
public void glMultiTexCoord4fARB(@GLenum int target, float s, float t, float r, float q);
void glMultiTexCoord4fARB(@GLenum int target, float s, float t, float r, float q);
public void glMultiTexCoord4iARB(@GLenum int target, int s, int t, int r, int q);
void glMultiTexCoord4iARB(@GLenum int target, int s, int t, int r, int q);
public void glMultiTexCoord4sARB(@GLenum int target, short s, short t, short r, short q);
void glMultiTexCoord4sARB(@GLenum int target, short s, short t, short r, short q);
}

View File

@ -33,7 +33,6 @@ package org.lwjgl.opengl;
import java.nio.IntBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_occlusion_query {
@ -41,37 +40,37 @@ public interface ARB_occlusion_query {
* Accepted by the <target> parameter of BeginQueryARB, EndQueryARB,
* and GetQueryivARB:
*/
public static final int GL_SAMPLES_PASSED_ARB = 0x8914;
int GL_SAMPLES_PASSED_ARB = 0x8914;
/*
* Accepted by the <pname> parameter of GetQueryivARB:
*/
public static final int GL_QUERY_COUNTER_BITS_ARB = 0x8864;
public static final int GL_CURRENT_QUERY_ARB = 0x8865;
int GL_QUERY_COUNTER_BITS_ARB = 0x8864;
int GL_CURRENT_QUERY_ARB = 0x8865;
/*
* Accepted by the <pname> parameter of GetQueryObjectivARB and
* GetQueryObjectuivARB:
*/
public static final int GL_QUERY_RESULT_ARB = 0x8866;
public static final int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867;
int GL_QUERY_RESULT_ARB = 0x8866;
int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867;
public void glGenQueriesARB(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
void glGenQueriesARB(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
public void glDeleteQueriesARB(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
void glDeleteQueriesARB(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
public boolean glIsQueryARB(@GLuint int id);
boolean glIsQueryARB(@GLuint int id);
public void glBeginQueryARB(@GLenum int target, @GLuint int id);
void glBeginQueryARB(@GLenum int target, @GLuint int id);
public void glEndQueryARB(@GLenum int target);
void glEndQueryARB(@GLenum int target);
@StripPostfix("params")
public void glGetQueryivARB(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
void glGetQueryivARB(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
public void glGetQueryObjectivARB(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params);
void glGetQueryObjectivARB(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
public void glGetQueryObjectuivARB(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params);
void glGetQueryObjectuivARB(@GLuint int id, @GLenum int pname, @Check("4") IntBuffer params);
}

View File

@ -37,13 +37,13 @@ public interface ARB_pixel_buffer_object extends ARB_buffer_object {
* BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
* GetBufferParameteriv, and GetBufferPointerv:
*/
public static final int GL_PIXEL_PACK_BUFFER_ARB = 0x88EB;
public static final int GL_PIXEL_UNPACK_BUFFER_ARB = 0x88EC;
int GL_PIXEL_PACK_BUFFER_ARB = 0x88EB;
int GL_PIXEL_UNPACK_BUFFER_ARB = 0x88EC;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED;
public static final int PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF;
int PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED;
int PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF;
}

View File

@ -33,17 +33,16 @@ package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_point_parameters {
public static final int GL_POINT_SIZE_MIN_ARB = 0x8126;
public static final int GL_POINT_SIZE_MAX_ARB = 0x8127;
public static final int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128;
public static final int GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129;
int GL_POINT_SIZE_MIN_ARB = 0x8126;
int GL_POINT_SIZE_MAX_ARB = 0x8127;
int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128;
int GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129;
public void glPointParameterfARB(@GLenum int pname, float param);
void glPointParameterfARB(@GLenum int pname, float param);
@StripPostfix("pfParams")
public void glPointParameterfvARB(@GLenum int pname, @Check("4") FloatBuffer pfParams);
void glPointParameterfvARB(@GLenum int pname, @Check("4") FloatBuffer pfParams);
}

View File

@ -31,8 +31,6 @@
*/
package org.lwjgl.opengl;
import org.lwjgl.generator.*;
public interface ARB_point_sprite {
/*
* Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
@ -40,12 +38,12 @@ public interface ARB_point_sprite {
* GetDoublev, and by the <target> parameter of TexEnvi, TexEnviv,
* TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
*/
public static final int GL_POINT_SPRITE_ARB = 0x8861;
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;
int GL_COORD_REPLACE_ARB = 0x8862;
}

View File

@ -32,13 +32,9 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.BufferChecks;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
@Extension(postfix="ARB", isFinal=false)
@ -46,118 +42,118 @@ public interface ARB_program {
/*
* Accepted by the <format> parameter of ProgramStringARB:
*/
public static final int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875;
int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875;
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
public static final int GL_PROGRAM_LENGTH_ARB = 0x8627;
public static final int GL_PROGRAM_FORMAT_ARB = 0x8876;
public static final int GL_PROGRAM_BINDING_ARB = 0x8677;
public static final int GL_PROGRAM_INSTRUCTIONS_ARB = 0x88A0;
public static final int GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1;
public static final int GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2;
public static final int GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3;
public static final int GL_PROGRAM_TEMPORARIES_ARB = 0x88A4;
public static final int GL_MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5;
public static final int GL_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6;
public static final int GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7;
public static final int GL_PROGRAM_PARAMETERS_ARB = 0x88A8;
public static final int GL_MAX_PROGRAM_PARAMETERS_ARB = 0x88A9;
public static final int GL_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA;
public static final int GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB;
public static final int GL_PROGRAM_ATTRIBS_ARB = 0x88AC;
public static final int GL_MAX_PROGRAM_ATTRIBS_ARB = 0x88AD;
public static final int GL_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE;
public static final int GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF;
public static final int GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4;
public static final int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5;
public static final int GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6;
int GL_PROGRAM_LENGTH_ARB = 0x8627;
int GL_PROGRAM_FORMAT_ARB = 0x8876;
int GL_PROGRAM_BINDING_ARB = 0x8677;
int GL_PROGRAM_INSTRUCTIONS_ARB = 0x88A0;
int GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1;
int GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2;
int GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3;
int GL_PROGRAM_TEMPORARIES_ARB = 0x88A4;
int GL_MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5;
int GL_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6;
int GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7;
int GL_PROGRAM_PARAMETERS_ARB = 0x88A8;
int GL_MAX_PROGRAM_PARAMETERS_ARB = 0x88A9;
int GL_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA;
int GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB;
int GL_PROGRAM_ATTRIBS_ARB = 0x88AC;
int GL_MAX_PROGRAM_ATTRIBS_ARB = 0x88AD;
int GL_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE;
int GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF;
int GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4;
int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5;
int GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6;
/*
* Accepted by the <pname> parameter of GetProgramStringARB:
*/
public static final int GL_PROGRAM_STRING_ARB = 0x8628;
int GL_PROGRAM_STRING_ARB = 0x8628;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_PROGRAM_ERROR_POSITION_ARB = 0x864B;
public static final int GL_CURRENT_MATRIX_ARB = 0x8641;
public static final int GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7;
public static final int GL_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640;
public static final int GL_MAX_PROGRAM_MATRICES_ARB = 0x862F;
public static final int GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E;
int GL_PROGRAM_ERROR_POSITION_ARB = 0x864B;
int GL_CURRENT_MATRIX_ARB = 0x8641;
int GL_TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7;
int GL_CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640;
int GL_MAX_PROGRAM_MATRICES_ARB = 0x862F;
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;
int GL_PROGRAM_ERROR_STRING_ARB = 0x8874;
/*
* Accepted by the <mode> parameter of MatrixMode:
*/
public static final int GL_MATRIX0_ARB = 0x88C0;
public static final int GL_MATRIX1_ARB = 0x88C1;
public static final int GL_MATRIX2_ARB = 0x88C2;
public static final int GL_MATRIX3_ARB = 0x88C3;
public static final int GL_MATRIX4_ARB = 0x88C4;
public static final int GL_MATRIX5_ARB = 0x88C5;
public static final int GL_MATRIX6_ARB = 0x88C6;
public static final int GL_MATRIX7_ARB = 0x88C7;
public static final int GL_MATRIX8_ARB = 0x88C8;
public static final int GL_MATRIX9_ARB = 0x88C9;
public static final int GL_MATRIX10_ARB = 0x88CA;
public static final int GL_MATRIX11_ARB = 0x88CB;
public static final int GL_MATRIX12_ARB = 0x88CC;
public static final int GL_MATRIX13_ARB = 0x88CD;
public static final int GL_MATRIX14_ARB = 0x88CE;
public static final int GL_MATRIX15_ARB = 0x88CF;
public static final int GL_MATRIX16_ARB = 0x88D0;
public static final int GL_MATRIX17_ARB = 0x88D1;
public static final int GL_MATRIX18_ARB = 0x88D2;
public static final int GL_MATRIX19_ARB = 0x88D3;
public static final int GL_MATRIX20_ARB = 0x88D4;
public static final int GL_MATRIX21_ARB = 0x88D5;
public static final int GL_MATRIX22_ARB = 0x88D6;
public static final int GL_MATRIX23_ARB = 0x88D7;
public static final int GL_MATRIX24_ARB = 0x88D8;
public static final int GL_MATRIX25_ARB = 0x88D9;
public static final int GL_MATRIX26_ARB = 0x88DA;
public static final int GL_MATRIX27_ARB = 0x88DB;
public static final int GL_MATRIX28_ARB = 0x88DC;
public static final int GL_MATRIX29_ARB = 0x88DD;
public static final int GL_MATRIX30_ARB = 0x88DE;
public static final int GL_MATRIX31_ARB = 0x88DF;
int GL_MATRIX0_ARB = 0x88C0;
int GL_MATRIX1_ARB = 0x88C1;
int GL_MATRIX2_ARB = 0x88C2;
int GL_MATRIX3_ARB = 0x88C3;
int GL_MATRIX4_ARB = 0x88C4;
int GL_MATRIX5_ARB = 0x88C5;
int GL_MATRIX6_ARB = 0x88C6;
int GL_MATRIX7_ARB = 0x88C7;
int GL_MATRIX8_ARB = 0x88C8;
int GL_MATRIX9_ARB = 0x88C9;
int GL_MATRIX10_ARB = 0x88CA;
int GL_MATRIX11_ARB = 0x88CB;
int GL_MATRIX12_ARB = 0x88CC;
int GL_MATRIX13_ARB = 0x88CD;
int GL_MATRIX14_ARB = 0x88CE;
int GL_MATRIX15_ARB = 0x88CF;
int GL_MATRIX16_ARB = 0x88D0;
int GL_MATRIX17_ARB = 0x88D1;
int GL_MATRIX18_ARB = 0x88D2;
int GL_MATRIX19_ARB = 0x88D3;
int GL_MATRIX20_ARB = 0x88D4;
int GL_MATRIX21_ARB = 0x88D5;
int GL_MATRIX22_ARB = 0x88D6;
int GL_MATRIX23_ARB = 0x88D7;
int GL_MATRIX24_ARB = 0x88D8;
int GL_MATRIX25_ARB = 0x88D9;
int GL_MATRIX26_ARB = 0x88DA;
int GL_MATRIX27_ARB = 0x88DB;
int GL_MATRIX28_ARB = 0x88DC;
int GL_MATRIX29_ARB = 0x88DD;
int GL_MATRIX30_ARB = 0x88DE;
int GL_MATRIX31_ARB = 0x88DF;
public void glProgramStringARB(@GLenum int target, @GLenum int format, @AutoSize("string") @GLsizei int length, @Const @GLbyte Buffer string);
void glProgramStringARB(@GLenum int target, @GLenum int format, @AutoSize("string") @GLsizei int length, @Const @GLbyte Buffer string);
public void glBindProgramARB(@GLenum int target, @GLuint int program);
void glBindProgramARB(@GLenum int target, @GLuint int program);
public void glDeleteProgramsARB(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs);
public void glGenProgramsARB(@AutoSize("programs") @GLsizei int n, @GLuint IntBuffer programs);
void glDeleteProgramsARB(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs);
void glGenProgramsARB(@AutoSize("programs") @GLsizei int n, @GLuint IntBuffer programs);
public 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);
@StripPostfix("params")
public 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);
public void glProgramLocalParameter4fARB(@GLenum int target, @GLuint int index, float x, float y, float z, float w);
void glProgramLocalParameter4fARB(@GLenum int target, @GLuint int index, float x, float y, float z, float w);
@StripPostfix("params")
public 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")
public 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")
public 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")
public void glGetProgramivARB(@GLenum int target, @GLenum int parameterName, @Check("4") IntBuffer params);
void glGetProgramivARB(@GLenum int target, @GLenum int parameterName, @Check("4") IntBuffer params);
public void glGetProgramStringARB(@GLenum int target, @GLenum int parameterName, @Check @GLbyte Buffer paramString);
void glGetProgramStringARB(@GLenum int target, @GLenum int parameterName, @Check @GLbyte Buffer paramString);
public boolean glIsProgramARB(@GLuint int program);
boolean glIsProgramARB(@GLuint int program);
}

View File

@ -31,74 +31,72 @@
*/
package org.lwjgl.opengl;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_shader_objects {
/*
* Accepted by the <pname> argument of GetHandleARB:
*/
public static final int GL_PROGRAM_OBJECT_ARB = 0x8B40;
int GL_PROGRAM_OBJECT_ARB = 0x8B40;
/*
* Accepted by the <pname> parameter of GetObjectParameter{fi}vARB:
*/
public static final int GL_OBJECT_TYPE_ARB = 0x8B4E;
public static final int GL_OBJECT_SUBTYPE_ARB = 0x8B4F;
public static final int GL_OBJECT_DELETE_STATUS_ARB = 0x8B80;
public static final int GL_OBJECT_COMPILE_STATUS_ARB = 0x8B81;
public static final int GL_OBJECT_LINK_STATUS_ARB = 0x8B82;
public static final int GL_OBJECT_VALIDATE_STATUS_ARB = 0x8B83;
public static final int GL_OBJECT_INFO_LOG_LENGTH_ARB = 0x8B84;
public static final int GL_OBJECT_ATTACHED_OBJECTS_ARB = 0x8B85;
public static final int GL_OBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86;
public static final int GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87;
public static final int GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88;
int GL_OBJECT_TYPE_ARB = 0x8B4E;
int GL_OBJECT_SUBTYPE_ARB = 0x8B4F;
int GL_OBJECT_DELETE_STATUS_ARB = 0x8B80;
int GL_OBJECT_COMPILE_STATUS_ARB = 0x8B81;
int GL_OBJECT_LINK_STATUS_ARB = 0x8B82;
int GL_OBJECT_VALIDATE_STATUS_ARB = 0x8B83;
int GL_OBJECT_INFO_LOG_LENGTH_ARB = 0x8B84;
int GL_OBJECT_ATTACHED_OBJECTS_ARB = 0x8B85;
int GL_OBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86;
int GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87;
int GL_OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88;
/*
* Returned by the <params> parameter of GetObjectParameter{fi}vARB:
*/
public static final int GL_SHADER_OBJECT_ARB = 0x8B48;
int GL_SHADER_OBJECT_ARB = 0x8B48;
/*
* Returned by the <type> parameter of GetActiveUniformARB:
*/
public static final int GL_FLOAT = 0x1406;
public static final int GL_FLOAT_VEC2_ARB = 0x8B50;
public static final int GL_FLOAT_VEC3_ARB = 0x8B51;
public static final int GL_FLOAT_VEC4_ARB = 0x8B52;
public static final int GL_INT = 0x1404;
public static final int GL_INT_VEC2_ARB = 0x8B53;
public static final int GL_INT_VEC3_ARB = 0x8B54;
public static final int GL_INT_VEC4_ARB = 0x8B55;
public static final int GL_BOOL_ARB = 0x8B56;
public static final int GL_BOOL_VEC2_ARB = 0x8B57;
public static final int GL_BOOL_VEC3_ARB = 0x8B58;
public static final int GL_BOOL_VEC4_ARB = 0x8B59;
public static final int GL_FLOAT_MAT2_ARB = 0x8B5A;
public static final int GL_FLOAT_MAT3_ARB = 0x8B5B;
public static final int GL_FLOAT_MAT4_ARB = 0x8B5C;
public static final int GL_SAMPLER_1D_ARB = 0x8B5D;
public static final int GL_SAMPLER_2D_ARB = 0x8B5E;
public static final int GL_SAMPLER_3D_ARB = 0x8B5F;
public static final int GL_SAMPLER_CUBE_ARB = 0x8B60;
public static final int GL_SAMPLER_1D_SHADOW_ARB = 0x8B61;
public static final int GL_SAMPLER_2D_SHADOW_ARB = 0x8B62;
public static final int GL_SAMPLER_2D_RECT_ARB = 0x8B63;
public static final int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64;
int GL_FLOAT = 0x1406;
int GL_FLOAT_VEC2_ARB = 0x8B50;
int GL_FLOAT_VEC3_ARB = 0x8B51;
int GL_FLOAT_VEC4_ARB = 0x8B52;
int GL_INT = 0x1404;
int GL_INT_VEC2_ARB = 0x8B53;
int GL_INT_VEC3_ARB = 0x8B54;
int GL_INT_VEC4_ARB = 0x8B55;
int GL_BOOL_ARB = 0x8B56;
int GL_BOOL_VEC2_ARB = 0x8B57;
int GL_BOOL_VEC3_ARB = 0x8B58;
int GL_BOOL_VEC4_ARB = 0x8B59;
int GL_FLOAT_MAT2_ARB = 0x8B5A;
int GL_FLOAT_MAT3_ARB = 0x8B5B;
int GL_FLOAT_MAT4_ARB = 0x8B5C;
int GL_SAMPLER_1D_ARB = 0x8B5D;
int GL_SAMPLER_2D_ARB = 0x8B5E;
int GL_SAMPLER_3D_ARB = 0x8B5F;
int GL_SAMPLER_CUBE_ARB = 0x8B60;
int GL_SAMPLER_1D_SHADOW_ARB = 0x8B61;
int GL_SAMPLER_2D_SHADOW_ARB = 0x8B62;
int GL_SAMPLER_2D_RECT_ARB = 0x8B63;
int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64;
public void glDeleteObjectARB(@GLhandleARB int obj);
void glDeleteObjectARB(@GLhandleARB int obj);
public @GLhandleARB int glGetHandleARB(@GLenum int pname);
@GLhandleARB int glGetHandleARB(@GLenum int pname);
public void glDetachObjectARB(@GLhandleARB int containerObj, @GLhandleARB int attachedObj);
void glDetachObjectARB(@GLhandleARB int containerObj, @GLhandleARB int attachedObj);
public @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.
@ -108,7 +106,7 @@ public interface ARB_shader_objects {
* @param shaderObj
* @param string
*/
public void glShaderSourceARB(@GLhandleARB int shader, @Constant("1") @GLsizei int count,
void glShaderSourceARB(@GLhandleARB int shader, @Constant("1") @GLsizei int count,
@Indirect
@Check
@Const
@ -120,71 +118,71 @@ public interface ARB_shader_objects {
@GLint
int length);
public void glCompileShaderARB(@GLhandleARB int shaderObj);
void glCompileShaderARB(@GLhandleARB int shaderObj);
public @GLhandleARB int glCreateProgramObjectARB();
@GLhandleARB int glCreateProgramObjectARB();
public void glAttachObjectARB(@GLhandleARB int containerObj, @GLhandleARB int obj);
void glAttachObjectARB(@GLhandleARB int containerObj, @GLhandleARB int obj);
public void glLinkProgramARB(@GLhandleARB int programObj);
void glLinkProgramARB(@GLhandleARB int programObj);
public void glUseProgramObjectARB(@GLhandleARB int programObj);
void glUseProgramObjectARB(@GLhandleARB int programObj);
public void glValidateProgramARB(@GLhandleARB int programObj);
void glValidateProgramARB(@GLhandleARB int programObj);
public void glUniform1fARB(int location, float v0);
void glUniform1fARB(int location, float v0);
public void glUniform2fARB(int location, float v0, float v1);
void glUniform2fARB(int location, float v0, float v1);
public void glUniform3fARB(int location, float v0, float v1, float v2);
void glUniform3fARB(int location, float v0, float v1, float v2);
public void glUniform4fARB(int location, float v0, float v1, float v2, float v3);
void glUniform4fARB(int location, float v0, float v1, float v2, float v3);
public void glUniform1iARB(int location, int v0);
void glUniform1iARB(int location, int v0);
public void glUniform2iARB(int location, int v0, int v1);
void glUniform2iARB(int location, int v0, int v1);
public void glUniform3iARB(int location, int v0, int v1, int v2);
void glUniform3iARB(int location, int v0, int v1, int v2);
public void glUniform4iARB(int location, int v0, int v1, int v2, int v3);
void glUniform4iARB(int location, int v0, int v1, int v2, int v3);
@StripPostfix("values")
public void glUniform1fvARB(int location, @AutoSize("values") @GLsizei int count, FloatBuffer values);
void glUniform1fvARB(int location, @AutoSize("values") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform2fvARB(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, FloatBuffer values);
void glUniform2fvARB(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform3fvARB(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, FloatBuffer values);
void glUniform3fvARB(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform4fvARB(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, FloatBuffer values);
void glUniform4fvARB(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform1ivARB(int location, @AutoSize(value="values") @GLsizei int count, IntBuffer values);
void glUniform1ivARB(int location, @AutoSize(value="values") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
public void glUniform2ivARB(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, IntBuffer values);
void glUniform2ivARB(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
public void glUniform3ivARB(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, IntBuffer values);
void glUniform3ivARB(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
public void glUniform4ivARB(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, IntBuffer values);
void glUniform4ivARB(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, IntBuffer values);
@StripPostfix("matrices")
public 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")
public 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")
public 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")
public void glGetObjectParameterfvARB(@GLhandleARB int obj, @GLenum int pname, @Check FloatBuffer params);
void glGetObjectParameterfvARB(@GLhandleARB int obj, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params")
public void glGetObjectParameterivARB(@GLhandleARB int obj, @GLenum int pname, @Check IntBuffer params);
void glGetObjectParameterivARB(@GLhandleARB int obj, @GLenum int pname, @Check IntBuffer params);
public void glGetInfoLogARB(@GLhandleARB int obj, @AutoSize("infoLog") @GLsizei int maxLength,
@Check(value="1", canBeNull=true)
@GLsizei IntBuffer length,
@GLcharARB
ByteBuffer infoLog);
void glGetInfoLogARB(@GLhandleARB int obj, @AutoSize("infoLog") @GLsizei int maxLength,
@Check(value="1", canBeNull=true)
@GLsizei IntBuffer length,
@GLcharARB
ByteBuffer infoLog);
public 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)
@GLsizei
IntBuffer count,
@ -199,9 +197,9 @@ public interface ARB_shader_objects {
*
* @return
*/
public int glGetUniformLocationARB(@GLhandleARB int programObj, @NullTerminated @Const @GLcharARB ByteBuffer name);
int glGetUniformLocationARB(@GLhandleARB int programObj, @NullTerminated @Const @GLcharARB ByteBuffer name);
public 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)
@GLsizei
IntBuffer length,
@ -214,11 +212,11 @@ public interface ARB_shader_objects {
ByteBuffer name);
@StripPostfix("params")
public void glGetUniformfvARB(@GLhandleARB int programObj, int location, @Check FloatBuffer params);
void glGetUniformfvARB(@GLhandleARB int programObj, int location, @Check FloatBuffer params);
@StripPostfix("params")
public void glGetUniformivARB(@GLhandleARB int programObj, int location, @Check IntBuffer params);
void glGetUniformivARB(@GLhandleARB int programObj, int location, @Check IntBuffer params);
public 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)
@GLsizei
IntBuffer length,

View File

@ -35,5 +35,5 @@ public interface ARB_shading_language_100 {
/**
* Accepted by the <name> parameter of GetString:
*/
public static final int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C;
int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C;
}

View File

@ -32,7 +32,7 @@
package org.lwjgl.opengl;
public interface ARB_shadow {
public static final int GL_TEXTURE_COMPARE_MODE_ARB = 0x884C;
public static final int GL_TEXTURE_COMPARE_FUNC_ARB = 0x884D;
public static final int GL_COMPARE_R_TO_TEXTURE_ARB = 0x884E;
int GL_TEXTURE_COMPARE_MODE_ARB = 0x884C;
int GL_TEXTURE_COMPARE_FUNC_ARB = 0x884D;
int GL_COMPARE_R_TO_TEXTURE_ARB = 0x884E;
}

View File

@ -32,5 +32,5 @@
package org.lwjgl.opengl;
public interface ARB_shadow_ambient {
public static final int GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF;
int GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF;
}

View File

@ -32,5 +32,5 @@
package org.lwjgl.opengl;
public interface ARB_texture_border_clamp {
public static final int GL_CLAMP_TO_BORDER_ARB = 0x812D;
int GL_CLAMP_TO_BORDER_ARB = 0x812D;
}

View File

@ -32,94 +32,88 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.BufferChecks;
import org.lwjgl.generator.*;
public interface ARB_texture_compression {
public static final int GL_COMPRESSED_ALPHA_ARB = 0x84E9;
public static final int GL_COMPRESSED_LUMINANCE_ARB = 0x84EA;
public static final int GL_COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB;
public static final int GL_COMPRESSED_INTENSITY_ARB = 0x84EC;
public static final int GL_COMPRESSED_RGB_ARB = 0x84ED;
public static final int GL_COMPRESSED_RGBA_ARB = 0x84EE;
public static final int GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF;
public static final int GL_TEXTURE_IMAGE_SIZE_ARB = 0x86A0;
public static final int GL_TEXTURE_COMPRESSED_ARB = 0x86A1;
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2;
public static final int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3;
int GL_COMPRESSED_ALPHA_ARB = 0x84E9;
int GL_COMPRESSED_LUMINANCE_ARB = 0x84EA;
int GL_COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB;
int GL_COMPRESSED_INTENSITY_ARB = 0x84EC;
int GL_COMPRESSED_RGB_ARB = 0x84ED;
int GL_COMPRESSED_RGBA_ARB = 0x84EE;
int GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF;
int GL_TEXTURE_IMAGE_SIZE_ARB = 0x86A0;
int GL_TEXTURE_COMPRESSED_ARB = 0x86A1;
int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2;
int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3;
public void glCompressedTexImage1DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
void glCompressedTexImage1DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
public void glCompressedTexImage2DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
void glCompressedTexImage2DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
public void glCompressedTexImage3DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
void glCompressedTexImage3DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
public void glCompressedTexSubImage1DARB(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
public void glCompressedTexSubImage2DARB(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
public void glCompressedTexSubImage3DARB(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
void glCompressedTexSubImage1DARB(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
public void glGetCompressedTexImageARB(@GLenum int target, int lod,
@BufferObject(BufferKind.PackPBO)
@Check
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pImg);
void glCompressedTexSubImage2DARB(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
void glCompressedTexSubImage3DARB(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pData);
void glGetCompressedTexImageARB(@GLenum int target, int lod,
@BufferObject(BufferKind.PackPBO)
@Check
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer pImg);
}

View File

@ -32,16 +32,16 @@
package org.lwjgl.opengl;
public interface ARB_texture_cube_map {
public static final int GL_NORMAL_MAP_ARB = 0x8511;
public static final int GL_REFLECTION_MAP_ARB = 0x8512;
public static final int GL_TEXTURE_CUBE_MAP_ARB = 0x8513;
public static final int GL_TEXTURE_BINDING_CUBE_MAP_ARB = 0x8514;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x8515;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x8516;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x8517;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x8518;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x8519;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x851A;
public static final int GL_PROXY_TEXTURE_CUBE_MAP_ARB = 0x851B;
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 0x851C;
int GL_NORMAL_MAP_ARB = 0x8511;
int GL_REFLECTION_MAP_ARB = 0x8512;
int GL_TEXTURE_CUBE_MAP_ARB = 0x8513;
int GL_TEXTURE_BINDING_CUBE_MAP_ARB = 0x8514;
int GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x8515;
int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x8516;
int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x8517;
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x8518;
int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x8519;
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x851A;
int GL_PROXY_TEXTURE_CUBE_MAP_ARB = 0x851B;
int GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 0x851C;
}

View File

@ -32,25 +32,25 @@
package org.lwjgl.opengl;
public interface ARB_texture_env_combine {
public static final int GL_COMBINE_ARB = 0x8570;
public static final int GL_COMBINE_RGB_ARB = 0x8571;
public static final int GL_COMBINE_ALPHA_ARB = 0x8572;
public static final int GL_RGB_SCALE_ARB = 0x8573;
public static final int GL_ADD_SIGNED_ARB = 0x8574;
public static final int GL_INTERPOLATE_ARB = 0x8575;
public static final int GL_CONSTANT_ARB = 0x8576;
public static final int GL_PRIMARY_COLOR_ARB = 0x8577;
public static final int GL_PREVIOUS_ARB = 0x8578;
public static final int GL_SOURCE0_RGB_ARB = 0x8580;
public static final int GL_SOURCE1_RGB_ARB = 0x8581;
public static final int GL_SOURCE2_RGB_ARB = 0x8582;
public static final int GL_SOURCE0_ALPHA_ARB = 0x8588;
public static final int GL_SOURCE1_ALPHA_ARB = 0x8589;
public static final int GL_SOURCE2_ALPHA_ARB = 0x858A;
public static final int GL_OPERAND0_RGB_ARB = 0x8590;
public static final int GL_OPERAND1_RGB_ARB = 0x8591;
public static final int GL_OPERAND2_RGB_ARB = 0x8592;
public static final int GL_OPERAND0_ALPHA_ARB = 0x8598;
public static final int GL_OPERAND1_ALPHA_ARB = 0x8599;
public static final int GL_OPERAND2_ALPHA_ARB = 0x859A;
int GL_COMBINE_ARB = 0x8570;
int GL_COMBINE_RGB_ARB = 0x8571;
int GL_COMBINE_ALPHA_ARB = 0x8572;
int GL_RGB_SCALE_ARB = 0x8573;
int GL_ADD_SIGNED_ARB = 0x8574;
int GL_INTERPOLATE_ARB = 0x8575;
int GL_CONSTANT_ARB = 0x8576;
int GL_PRIMARY_COLOR_ARB = 0x8577;
int GL_PREVIOUS_ARB = 0x8578;
int GL_SOURCE0_RGB_ARB = 0x8580;
int GL_SOURCE1_RGB_ARB = 0x8581;
int GL_SOURCE2_RGB_ARB = 0x8582;
int GL_SOURCE0_ALPHA_ARB = 0x8588;
int GL_SOURCE1_ALPHA_ARB = 0x8589;
int GL_SOURCE2_ALPHA_ARB = 0x858A;
int GL_OPERAND0_RGB_ARB = 0x8590;
int GL_OPERAND1_RGB_ARB = 0x8591;
int GL_OPERAND2_RGB_ARB = 0x8592;
int GL_OPERAND0_ALPHA_ARB = 0x8598;
int GL_OPERAND1_ALPHA_ARB = 0x8599;
int GL_OPERAND2_ALPHA_ARB = 0x859A;
}

View File

@ -32,6 +32,6 @@
package org.lwjgl.opengl;
public interface ARB_texture_env_dot3 {
public static final int GL_DOT3_RGB_ARB = 0x86AE;
public static final int GL_DOT3_RGBA_ARB = 0x86AF;
int GL_DOT3_RGB_ARB = 0x86AE;
int GL_DOT3_RGBA_ARB = 0x86AF;
}

View File

@ -35,33 +35,33 @@ public interface ARB_texture_float {
/*
* Accepted by the <value> parameter of GetTexLevelParameter:
*/
public static final int TEXTURE_RED_TYPE_ARB = 0x8C10;
public static final int TEXTURE_GREEN_TYPE_ARB = 0x8C11;
public static final int TEXTURE_BLUE_TYPE_ARB = 0x8C12;
public static final int TEXTURE_ALPHA_TYPE_ARB = 0x8C13;
public static final int TEXTURE_LUMINANCE_TYPE_ARB = 0x8C14;
public static final int TEXTURE_INTENSITY_TYPE_ARB = 0x8C15;
public static final int TEXTURE_DEPTH_TYPE_ARB = 0x8C16;
int TEXTURE_RED_TYPE_ARB = 0x8C10;
int TEXTURE_GREEN_TYPE_ARB = 0x8C11;
int TEXTURE_BLUE_TYPE_ARB = 0x8C12;
int TEXTURE_ALPHA_TYPE_ARB = 0x8C13;
int TEXTURE_LUMINANCE_TYPE_ARB = 0x8C14;
int TEXTURE_INTENSITY_TYPE_ARB = 0x8C15;
int TEXTURE_DEPTH_TYPE_ARB = 0x8C16;
/*
* Returned by the <params> parameter of GetTexLevelParameter:
*/
public static final int UNSIGNED_NORMALIZED_ARB = 0x8C17;
int UNSIGNED_NORMALIZED_ARB = 0x8C17;
/*
* Accepted by the <internalFormat> parameter of TexImage1D,
* TexImage2D, and TexImage3D:
*/
public static final int RGBA32F_ARB = 0x8814;
public static final int RGB32F_ARB = 0x8815;
public static final int ALPHA32F_ARB = 0x8816;
public static final int INTENSITY32F_ARB = 0x8817;
public static final int LUMINANCE32F_ARB = 0x8818;
public static final int LUMINANCE_ALPHA32F_ARB = 0x8819;
public static final int RGBA16F_ARB = 0x881A;
public static final int RGB16F_ARB = 0x881B;
public static final int ALPHA16F_ARB = 0x881C;
public static final int INTENSITY16F_ARB = 0x881D;
public static final int LUMINANCE16F_ARB = 0x881E;
public static final int LUMINANCE_ALPHA16F_ARB = 0x881F;
int RGBA32F_ARB = 0x8814;
int RGB32F_ARB = 0x8815;
int ALPHA32F_ARB = 0x8816;
int INTENSITY32F_ARB = 0x8817;
int LUMINANCE32F_ARB = 0x8818;
int LUMINANCE_ALPHA32F_ARB = 0x8819;
int RGBA16F_ARB = 0x881A;
int RGB16F_ARB = 0x881B;
int ALPHA16F_ARB = 0x881C;
int INTENSITY16F_ARB = 0x881D;
int LUMINANCE16F_ARB = 0x881E;
int LUMINANCE_ALPHA16F_ARB = 0x881F;
}

View File

@ -32,5 +32,5 @@
package org.lwjgl.opengl;
public interface ARB_texture_mirrored_repeat {
public static final int GL_MIRRORED_REPEAT_ARB = 0x8370;
int GL_MIRRORED_REPEAT_ARB = 0x8370;
}

View File

@ -43,23 +43,23 @@ public interface ARB_texture_rectangle {
* GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D,
* CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:
*/
public static final int GL_TEXTURE_RECTANGLE_ARB = 0x84F5;
int GL_TEXTURE_RECTANGLE_ARB = 0x84F5;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv and GetDoublev:
*/
public static final int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6;
int GL_TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6;
/*
* Accepted by the <target> parameter of GetTexLevelParameteriv,
* GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:
*/
public static final int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7;
int GL_PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetDoublev,
* GetIntegerv and GetFloatv:
*/
public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8;
int GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8;
}

View File

@ -33,17 +33,16 @@ package org.lwjgl.opengl;
import java.nio.FloatBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_transpose_matrix {
public static final int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3;
public static final int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4;
public static final int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5;
public static final int GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6;
int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3;
int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4;
int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5;
int GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6;
@StripPostfix("pfMtx")
public void glLoadTransposeMatrixfARB(@Check("16") FloatBuffer pfMtx);
void glLoadTransposeMatrixfARB(@Check("16") FloatBuffer pfMtx);
@StripPostfix("pfMtx")
public void glMultTransposeMatrixfARB(@Check("16") FloatBuffer pfMtx);
void glMultTransposeMatrixfARB(@Check("16") FloatBuffer pfMtx);
}

View File

@ -37,70 +37,69 @@ import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_vertex_blend {
public static final int GL_MAX_VERTEX_UNITS_ARB = 0x86A4;
public static final int GL_ACTIVE_VERTEX_UNITS_ARB = 0x86A5;
public static final int GL_WEIGHT_SUM_UNITY_ARB = 0x86A6;
public static final int GL_VERTEX_BLEND_ARB = 0x86A7;
public static final int GL_CURRENT_WEIGHT_ARB = 0x86A8;
public static final int GL_WEIGHT_ARRAY_TYPE_ARB = 0x86A9;
public static final int GL_WEIGHT_ARRAY_STRIDE_ARB = 0x86AA;
public static final int GL_WEIGHT_ARRAY_SIZE_ARB = 0x86AB;
public static final int GL_WEIGHT_ARRAY_POINTER_ARB = 0x86AC;
public static final int GL_WEIGHT_ARRAY_ARB = 0x86AD;
public static final int GL_MODELVIEW0_ARB = 0x1700;
public static final int GL_MODELVIEW1_ARB = 0x850a;
public static final int GL_MODELVIEW2_ARB = 0x8722;
public static final int GL_MODELVIEW3_ARB = 0x8723;
public static final int GL_MODELVIEW4_ARB = 0x8724;
public static final int GL_MODELVIEW5_ARB = 0x8725;
public static final int GL_MODELVIEW6_ARB = 0x8726;
public static final int GL_MODELVIEW7_ARB = 0x8727;
public static final int GL_MODELVIEW8_ARB = 0x8728;
public static final int GL_MODELVIEW9_ARB = 0x8729;
public static final int GL_MODELVIEW10_ARB = 0x872A;
public static final int GL_MODELVIEW11_ARB = 0x872B;
public static final int GL_MODELVIEW12_ARB = 0x872C;
public static final int GL_MODELVIEW13_ARB = 0x872D;
public static final int GL_MODELVIEW14_ARB = 0x872E;
public static final int GL_MODELVIEW15_ARB = 0x872F;
public static final int GL_MODELVIEW16_ARB = 0x8730;
public static final int GL_MODELVIEW17_ARB = 0x8731;
public static final int GL_MODELVIEW18_ARB = 0x8732;
public static final int GL_MODELVIEW19_ARB = 0x8733;
public static final int GL_MODELVIEW20_ARB = 0x8734;
public static final int GL_MODELVIEW21_ARB = 0x8735;
public static final int GL_MODELVIEW22_ARB = 0x8736;
public static final int GL_MODELVIEW23_ARB = 0x8737;
public static final int GL_MODELVIEW24_ARB = 0x8738;
public static final int GL_MODELVIEW25_ARB = 0x8739;
public static final int GL_MODELVIEW26_ARB = 0x873A;
public static final int GL_MODELVIEW27_ARB = 0x873B;
public static final int GL_MODELVIEW28_ARB = 0x873C;
public static final int GL_MODELVIEW29_ARB = 0x873D;
public static final int GL_MODELVIEW30_ARB = 0x873E;
public static final int GL_MODELVIEW31_ARB = 0x873F;
int GL_MAX_VERTEX_UNITS_ARB = 0x86A4;
int GL_ACTIVE_VERTEX_UNITS_ARB = 0x86A5;
int GL_WEIGHT_SUM_UNITY_ARB = 0x86A6;
int GL_VERTEX_BLEND_ARB = 0x86A7;
int GL_CURRENT_WEIGHT_ARB = 0x86A8;
int GL_WEIGHT_ARRAY_TYPE_ARB = 0x86A9;
int GL_WEIGHT_ARRAY_STRIDE_ARB = 0x86AA;
int GL_WEIGHT_ARRAY_SIZE_ARB = 0x86AB;
int GL_WEIGHT_ARRAY_POINTER_ARB = 0x86AC;
int GL_WEIGHT_ARRAY_ARB = 0x86AD;
int GL_MODELVIEW0_ARB = 0x1700;
int GL_MODELVIEW1_ARB = 0x850a;
int GL_MODELVIEW2_ARB = 0x8722;
int GL_MODELVIEW3_ARB = 0x8723;
int GL_MODELVIEW4_ARB = 0x8724;
int GL_MODELVIEW5_ARB = 0x8725;
int GL_MODELVIEW6_ARB = 0x8726;
int GL_MODELVIEW7_ARB = 0x8727;
int GL_MODELVIEW8_ARB = 0x8728;
int GL_MODELVIEW9_ARB = 0x8729;
int GL_MODELVIEW10_ARB = 0x872A;
int GL_MODELVIEW11_ARB = 0x872B;
int GL_MODELVIEW12_ARB = 0x872C;
int GL_MODELVIEW13_ARB = 0x872D;
int GL_MODELVIEW14_ARB = 0x872E;
int GL_MODELVIEW15_ARB = 0x872F;
int GL_MODELVIEW16_ARB = 0x8730;
int GL_MODELVIEW17_ARB = 0x8731;
int GL_MODELVIEW18_ARB = 0x8732;
int GL_MODELVIEW19_ARB = 0x8733;
int GL_MODELVIEW20_ARB = 0x8734;
int GL_MODELVIEW21_ARB = 0x8735;
int GL_MODELVIEW22_ARB = 0x8736;
int GL_MODELVIEW23_ARB = 0x8737;
int GL_MODELVIEW24_ARB = 0x8738;
int GL_MODELVIEW25_ARB = 0x8739;
int GL_MODELVIEW26_ARB = 0x873A;
int GL_MODELVIEW27_ARB = 0x873B;
int GL_MODELVIEW28_ARB = 0x873C;
int GL_MODELVIEW29_ARB = 0x873D;
int GL_MODELVIEW30_ARB = 0x873E;
int GL_MODELVIEW31_ARB = 0x873F;
@StripPostfix("pWeights")
public void glWeightbvARB(@AutoSize("pWeights") int size, ByteBuffer pWeights);
void glWeightbvARB(@AutoSize("pWeights") int size, ByteBuffer pWeights);
@StripPostfix("pWeights")
public void glWeightsvARB(@AutoSize("pWeights") int size, ShortBuffer pWeights);
void glWeightsvARB(@AutoSize("pWeights") int size, ShortBuffer pWeights);
@StripPostfix("pWeights")
public void glWeightivARB(@AutoSize("pWeights") int size, IntBuffer pWeights);
void glWeightivARB(@AutoSize("pWeights") int size, IntBuffer pWeights);
@StripPostfix("pWeights")
public void glWeightfvARB(@AutoSize("pWeights") int size, FloatBuffer pWeights);
void glWeightfvARB(@AutoSize("pWeights") int size, FloatBuffer pWeights);
@StripPostfix("pWeights")
public void glWeightubvARB(@AutoSize("pWeights") int size, @GLubyte ByteBuffer pWeights);
void glWeightubvARB(@AutoSize("pWeights") int size, @GLubyte ByteBuffer pWeights);
@StripPostfix("pWeights")
public void glWeightusvARB(@AutoSize("pWeights") int size, @GLushort ShortBuffer pWeights);
void glWeightusvARB(@AutoSize("pWeights") int size, @GLushort ShortBuffer pWeights);
@StripPostfix("pWeights")
public void glWeightuivARB(@AutoSize("pWeights") int size, @GLuint IntBuffer pWeights);
void glWeightuivARB(@AutoSize("pWeights") int size, @GLuint IntBuffer pWeights);
public void glWeightPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
void glWeightPointerARB(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@ -113,5 +112,5 @@ public interface ARB_vertex_blend {
@GLfloat
Buffer pPointer);
public void glVertexBlendARB(int count);
void glVertexBlendARB(int count);
}

View File

@ -38,27 +38,27 @@ public interface ARB_vertex_buffer_object extends ARB_buffer_object {
* GetBufferSubDataARB, GetBufferParameterivARB, and
* GetBufferPointervARB:
*/
public static final int GL_ARRAY_BUFFER_ARB = 0x8892;
public static final int GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893;
int GL_ARRAY_BUFFER_ARB = 0x8892;
int GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_ARRAY_BUFFER_BINDING_ARB = 0x8894;
public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895;
public static final int GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896;
public static final int GL_NORMAL_ARRAY_BUFFER_BINDING_ARB = 0x8897;
public static final int GL_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x8898;
public static final int GL_INDEX_ARRAY_BUFFER_BINDING_ARB = 0x8899;
public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB = 0x889A;
public static final int GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB = 0x889B;
public static final int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x889C;
public static final int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889D;
public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889E;
int GL_ARRAY_BUFFER_BINDING_ARB = 0x8894;
int GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895;
int GL_VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896;
int GL_NORMAL_ARRAY_BUFFER_BINDING_ARB = 0x8897;
int GL_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x8898;
int GL_INDEX_ARRAY_BUFFER_BINDING_ARB = 0x8899;
int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB = 0x889A;
int GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB = 0x889B;
int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x889C;
int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889D;
int GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889E;
/*
* Accepted by the <pname> parameter of GetVertexAttribivARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F;
int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F;
}

View File

@ -35,9 +35,7 @@ import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_vertex_program extends ARB_program {
@ -49,65 +47,65 @@ public interface ARB_vertex_program extends ARB_program {
* GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB,
* GetProgramivARB, and GetProgramStringARB.
*/
public static final int GL_VERTEX_PROGRAM_ARB = 0x8620;
int GL_VERTEX_PROGRAM_ARB = 0x8620;
/*
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and by
* the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
*/
public static final int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
public static final int GL_COLOR_SUM_ARB = 0x8458;
int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
int GL_COLOR_SUM_ARB = 0x8458;
/*
* Accepted by the <pname> parameter of GetVertexAttrib[dfi]vARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625;
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A;
public static final int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626;
int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624;
int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625;
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626;
/*
* Accepted by the <pname> parameter of GetVertexAttribPointervARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
public static final int GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0;
public static final int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1;
public static final int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2;
public static final int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3;
int GL_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0;
int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1;
int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2;
int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
public void glVertexAttrib1sARB(@GLuint int index, short x);
void glVertexAttrib1sARB(@GLuint int index, short x);
public void glVertexAttrib1fARB(@GLuint int index, float x);
void glVertexAttrib1fARB(@GLuint int index, float x);
public void glVertexAttrib2sARB(@GLuint int index, short x, short y);
void glVertexAttrib2sARB(@GLuint int index, short x, short y);
public void glVertexAttrib2fARB(@GLuint int index, float x, float y);
void glVertexAttrib2fARB(@GLuint int index, float x, float y);
public void glVertexAttrib3sARB(@GLuint int index, short x, short y, short z);
void glVertexAttrib3sARB(@GLuint int index, short x, short y, short z);
public void glVertexAttrib3fARB(@GLuint int index, float x, float y, float z);
void glVertexAttrib3fARB(@GLuint int index, float x, float y, float z);
public 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);
public void glVertexAttrib4fARB(@GLuint int index, float x, float y, float z, float w);
void glVertexAttrib4fARB(@GLuint int index, float x, float y, float z, float w);
public 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);
public 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,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@ -120,15 +118,15 @@ public interface ARB_vertex_program extends ARB_program {
@GLfloat
Buffer buffer);
public void glEnableVertexAttribArrayARB(@GLuint int index);
void glEnableVertexAttribArrayARB(@GLuint int index);
public void glDisableVertexAttribArrayARB(@GLuint int index);
void glDisableVertexAttribArrayARB(@GLuint int index);
@StripPostfix("params")
public void glGetVertexAttribfvARB(@GLuint int index, @GLenum int pname, @Check FloatBuffer params);
void glGetVertexAttribfvARB(@GLuint int index, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params")
public void glGetVertexAttribivARB(@GLuint int index, @GLenum int pname, @Check IntBuffer params);
void glGetVertexAttribivARB(@GLuint int index, @GLenum int pname, @Check IntBuffer params);
@StripPostfix("result")
public void glGetVertexAttribPointervARB(@GLuint int index, @GLenum int pname, @Result @GLvoid ByteBuffer result);
void glGetVertexAttribPointervARB(@GLuint int index, @GLenum int pname, @Result @GLvoid ByteBuffer result);
}

View File

@ -34,7 +34,6 @@ package org.lwjgl.opengl;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import org.lwjgl.LWJGLException;
import org.lwjgl.generator.*;
public interface ARB_vertex_shader {
@ -42,64 +41,64 @@ public interface ARB_vertex_shader {
* Accepted by the <shaderType> argument of CreateShaderObjectARB and
* returned by the <params> parameter of GetObjectParameter{if}vARB:
*/
public static final int GL_VERTEX_SHADER_ARB = 0x8B31;
int GL_VERTEX_SHADER_ARB = 0x8B31;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A;
public static final int GL_MAX_VARYING_FLOATS_ARB = 0x8B4B;
public static final int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C;
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D;
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A;
int GL_MAX_VARYING_FLOATS_ARB = 0x8B4B;
int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C;
int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D;
int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
/*
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and
* by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
*/
public static final int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
int GL_VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643;
/*
* Accepted by the <pname> parameter GetObjectParameter{if}vARB:
*/
public static final int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89;
public static final int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A;
int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89;
int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A;
/*
* Accepted by the <pname> parameter of GetVertexAttrib{dfi}vARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625;
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A;
public static final int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626;
int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624;
int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625;
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB_ARB = 0x8626;
/*
* Accepted by the <pname> parameter of GetVertexAttribPointervARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645;
/*
* Returned by the <type> parameter of GetActiveAttribARB:
*/
public static final int GL_FLOAT = 0x1406;
public static final int GL_FLOAT_VEC2_ARB = 0x8B50;
public static final int GL_FLOAT_VEC3_ARB = 0x8B51;
public static final int GL_FLOAT_VEC4_ARB = 0x8B52;
public static final int GL_FLOAT_MAT2_ARB = 0x8B5A;
public static final int GL_FLOAT_MAT3_ARB = 0x8B5B;
public static final int GL_FLOAT_MAT4_ARB = 0x8B5C;
int GL_FLOAT = 0x1406;
int GL_FLOAT_VEC2_ARB = 0x8B50;
int GL_FLOAT_VEC3_ARB = 0x8B51;
int GL_FLOAT_VEC4_ARB = 0x8B52;
int GL_FLOAT_MAT2_ARB = 0x8B5A;
int GL_FLOAT_MAT3_ARB = 0x8B5B;
int GL_FLOAT_MAT4_ARB = 0x8B5C;
public void glBindAttribLocationARB(@GLhandleARB int programObj, @GLuint int index, @NullTerminated @Const @GLcharARB ByteBuffer name);
void glBindAttribLocationARB(@GLhandleARB int programObj, @GLuint int index, @NullTerminated @Const @GLcharARB ByteBuffer name);
// ---------------------------
public void glGetActiveAttribARB(@GLhandleARB int programObj, @GLuint int index,
void glGetActiveAttribARB(@GLhandleARB int programObj, @GLuint int index,
@AutoSize("name")
@GLsizei
int maxLength,
@ -114,5 +113,5 @@ public interface ARB_vertex_shader {
@GLcharARB
ByteBuffer name);
public int glGetAttribLocationARB(@GLhandleARB int programObj, @NullTerminated @Const @GLcharARB ByteBuffer name);
int glGetAttribLocationARB(@GLhandleARB int programObj, @NullTerminated @Const @GLcharARB ByteBuffer name);
}

View File

@ -31,19 +31,17 @@
*/
package org.lwjgl.opengl;
import org.lwjgl.LWJGLException;
public interface ARB_window_pos {
public void glWindowPos2fARB(float x, float y);
void glWindowPos2fARB(float x, float y);
public void glWindowPos2iARB(int x, int y);
void glWindowPos2iARB(int x, int y);
public void glWindowPos2sARB(short x, short y);
void glWindowPos2sARB(short x, short y);
public void glWindowPos3fARB(float x, float y, float z);
void glWindowPos3fARB(float x, float y, float z);
public void glWindowPos3iARB(int x, int y, int z);
void glWindowPos3iARB(int x, int y, int z);
public void glWindowPos3sARB(short x, short y, short z);
void glWindowPos3sARB(short x, short y, short z);
}

View File

@ -1,31 +1,31 @@
/*
/*
* Copyright (c) 2002-2004 LWJGL Project
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of 'LWJGL' nor the names of
* its contributors may be used to endorse or promote products derived
* * Neither the name of 'LWJGL' nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@ -40,23 +40,23 @@ public interface ATI_draw_buffers {
* Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
* and GetDoublev:
*/
public static final int GL_MAX_DRAW_BUFFERS_ATI = 0x8824;
public static final int GL_DRAW_BUFFER0_ATI = 0x8825;
public static final int GL_DRAW_BUFFER1_ATI = 0x8826;
public static final int GL_DRAW_BUFFER2_ATI = 0x8827;
public static final int GL_DRAW_BUFFER3_ATI = 0x8828;
public static final int GL_DRAW_BUFFER4_ATI = 0x8829;
public static final int GL_DRAW_BUFFER5_ATI = 0x882A;
public static final int GL_DRAW_BUFFER6_ATI = 0x882B;
public static final int GL_DRAW_BUFFER7_ATI = 0x882C;
public static final int GL_DRAW_BUFFER8_ATI = 0x882D;
public static final int GL_DRAW_BUFFER9_ATI = 0x882E;
public static final int GL_DRAW_BUFFER10_ATI = 0x882F;
public static final int GL_DRAW_BUFFER11_ATI = 0x8830;
public static final int GL_DRAW_BUFFER12_ATI = 0x8831;
public static final int GL_DRAW_BUFFER13_ATI = 0x8832;
public static final int GL_DRAW_BUFFER14_ATI = 0x8833;
public static final int GL_DRAW_BUFFER15_ATI = 0x8834;
int GL_MAX_DRAW_BUFFERS_ATI = 0x8824;
int GL_DRAW_BUFFER0_ATI = 0x8825;
int GL_DRAW_BUFFER1_ATI = 0x8826;
int GL_DRAW_BUFFER2_ATI = 0x8827;
int GL_DRAW_BUFFER3_ATI = 0x8828;
int GL_DRAW_BUFFER4_ATI = 0x8829;
int GL_DRAW_BUFFER5_ATI = 0x882A;
int GL_DRAW_BUFFER6_ATI = 0x882B;
int GL_DRAW_BUFFER7_ATI = 0x882C;
int GL_DRAW_BUFFER8_ATI = 0x882D;
int GL_DRAW_BUFFER9_ATI = 0x882E;
int GL_DRAW_BUFFER10_ATI = 0x882F;
int GL_DRAW_BUFFER11_ATI = 0x8830;
int GL_DRAW_BUFFER12_ATI = 0x8831;
int GL_DRAW_BUFFER13_ATI = 0x8832;
int GL_DRAW_BUFFER14_ATI = 0x8833;
int GL_DRAW_BUFFER15_ATI = 0x8834;
public void glDrawBuffersATI(@AutoSize("buffers") @GLsizei int size, @Const @GLenum IntBuffer buffers);
void glDrawBuffersATI(@AutoSize("buffers") @GLsizei int size, @Const @GLenum IntBuffer buffers);
}

View File

@ -32,18 +32,15 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.generator.*;
public interface ATI_element_array {
public static final int GL_ELEMENT_ARRAY_ATI = 0x8768;
public static final int GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769;
public static final int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
int GL_ELEMENT_ARRAY_ATI = 0x8768;
int GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769;
int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
public void glElementPointerATI(@AutoType("pPointer") @GLenum int type,
void glElementPointerATI(@AutoType("pPointer") @GLenum int type,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@ -52,7 +49,7 @@ public interface ATI_element_array {
@GLuint
Buffer pPointer);
public void glDrawElementArrayATI(@GLenum int mode, @GLsizei int count);
void glDrawElementArrayATI(@GLenum int mode, @GLsizei int count);
public void glDrawRangeElementArrayATI(@GLenum int mode, @GLuint int start, @GLuint int end, @GLsizei int count);
void glDrawRangeElementArrayATI(@GLenum int mode, @GLuint int start, @GLuint int end, @GLsizei int count);
}

View File

@ -37,22 +37,22 @@ import java.nio.IntBuffer;
import org.lwjgl.generator.*;
public interface ATI_envmap_bumpmap {
public static final int GL_BUMP_ROT_MATRIX_ATI = 0x8775;
public static final int GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776;
public static final int GL_BUMP_NUM_TEX_UNITS_ATI = 0x8777;
public static final int GL_BUMP_TEX_UNITS_ATI = 0x8778;
public static final int GL_DUDV_ATI = 0x8779;
public static final int GL_DU8DV8_ATI = 0x877A;
public static final int GL_BUMP_ENVMAP_ATI = 0x877B;
public static final int GL_BUMP_TARGET_ATI = 0x877C;
int GL_BUMP_ROT_MATRIX_ATI = 0x8775;
int GL_BUMP_ROT_MATRIX_SIZE_ATI = 0x8776;
int GL_BUMP_NUM_TEX_UNITS_ATI = 0x8777;
int GL_BUMP_TEX_UNITS_ATI = 0x8778;
int GL_DUDV_ATI = 0x8779;
int GL_DU8DV8_ATI = 0x877A;
int GL_BUMP_ENVMAP_ATI = 0x877B;
int GL_BUMP_TARGET_ATI = 0x877C;
@StripPostfix("param")
public void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param);
void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param);
@StripPostfix("param")
public void glTexBumpParameterivATI(@GLenum int pname, @Check("4") IntBuffer param);
void glTexBumpParameterivATI(@GLenum int pname, @Check("4") IntBuffer param);
@StripPostfix("param")
public void glGetTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param);
void glGetTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param);
@StripPostfix("param")
public void glGetTexBumpParameterivATI(@GLenum int pname, @Check("4") IntBuffer param);
void glGetTexBumpParameterivATI(@GLenum int pname, @Check("4") IntBuffer param);
}

View File

@ -41,137 +41,137 @@ import java.nio.FloatBuffer;
import org.lwjgl.generator.*;
public interface ATI_fragment_shader {
public static final int GL_FRAGMENT_SHADER_ATI = 0x8920;
public static final int GL_REG_0_ATI = 0x8921;
public static final int GL_REG_1_ATI = 0x8922;
public static final int GL_REG_2_ATI = 0x8923;
public static final int GL_REG_3_ATI = 0x8924;
public static final int GL_REG_4_ATI = 0x8925;
public static final int GL_REG_5_ATI = 0x8926;
public static final int GL_REG_6_ATI = 0x8927;
public static final int GL_REG_7_ATI = 0x8928;
public static final int GL_REG_8_ATI = 0x8929;
public static final int GL_REG_9_ATI = 0x892A;
public static final int GL_REG_10_ATI = 0x892B;
public static final int GL_REG_11_ATI = 0x892C;
public static final int GL_REG_12_ATI = 0x892D;
public static final int GL_REG_13_ATI = 0x892E;
public static final int GL_REG_14_ATI = 0x892F;
public static final int GL_REG_15_ATI = 0x8930;
public static final int GL_REG_16_ATI = 0x8931;
public static final int GL_REG_17_ATI = 0x8932;
public static final int GL_REG_18_ATI = 0x8933;
public static final int GL_REG_19_ATI = 0x8934;
public static final int GL_REG_20_ATI = 0x8935;
public static final int GL_REG_21_ATI = 0x8936;
public static final int GL_REG_22_ATI = 0x8937;
public static final int GL_REG_23_ATI = 0x8938;
public static final int GL_REG_24_ATI = 0x8939;
public static final int GL_REG_25_ATI = 0x893A;
public static final int GL_REG_26_ATI = 0x893B;
public static final int GL_REG_27_ATI = 0x893C;
public static final int GL_REG_28_ATI = 0x893D;
public static final int GL_REG_29_ATI = 0x893E;
public static final int GL_REG_30_ATI = 0x893F;
public static final int GL_REG_31_ATI = 0x8940;
public static final int GL_CON_0_ATI = 0x8941;
public static final int GL_CON_1_ATI = 0x8942;
public static final int GL_CON_2_ATI = 0x8943;
public static final int GL_CON_3_ATI = 0x8944;
public static final int GL_CON_4_ATI = 0x8945;
public static final int GL_CON_5_ATI = 0x8946;
public static final int GL_CON_6_ATI = 0x8947;
public static final int GL_CON_7_ATI = 0x8948;
public static final int GL_CON_8_ATI = 0x8949;
public static final int GL_CON_9_ATI = 0x894A;
public static final int GL_CON_10_ATI = 0x894B;
public static final int GL_CON_11_ATI = 0x894C;
public static final int GL_CON_12_ATI = 0x894D;
public static final int GL_CON_13_ATI = 0x894E;
public static final int GL_CON_14_ATI = 0x894F;
public static final int GL_CON_15_ATI = 0x8950;
public static final int GL_CON_16_ATI = 0x8951;
public static final int GL_CON_17_ATI = 0x8952;
public static final int GL_CON_18_ATI = 0x8953;
public static final int GL_CON_19_ATI = 0x8954;
public static final int GL_CON_20_ATI = 0x8955;
public static final int GL_CON_21_ATI = 0x8956;
public static final int GL_CON_22_ATI = 0x8957;
public static final int GL_CON_23_ATI = 0x8958;
public static final int GL_CON_24_ATI = 0x8959;
public static final int GL_CON_25_ATI = 0x895A;
public static final int GL_CON_26_ATI = 0x895B;
public static final int GL_CON_27_ATI = 0x895C;
public static final int GL_CON_28_ATI = 0x895D;
public static final int GL_CON_29_ATI = 0x895E;
public static final int GL_CON_30_ATI = 0x895F;
public static final int GL_CON_31_ATI = 0x8960;
public static final int GL_MOV_ATI = 0x8961;
public static final int GL_ADD_ATI = 0x8963;
public static final int GL_MUL_ATI = 0x8964;
public static final int GL_SUB_ATI = 0x8965;
public static final int GL_DOT3_ATI = 0x8966;
public static final int GL_DOT4_ATI = 0x8967;
public static final int GL_MAD_ATI = 0x8968;
public static final int GL_LERP_ATI = 0x8969;
public static final int GL_CND_ATI = 0x896A;
public static final int GL_CND0_ATI = 0x896B;
public static final int GL_DOT2_ADD_ATI = 0x896C;
public static final int GL_SECONDARY_INTERPOLATOR_ATI = 0x896D;
public static final int GL_NUM_FRAGMENT_REGISTERS_ATI = 0x896E;
public static final int GL_NUM_FRAGMENT_CONSTANTS_ATI = 0x896F;
public static final int GL_NUM_PASSES_ATI = 0x8970;
public static final int GL_NUM_INSTRUCTIONS_PER_PASS_ATI = 0x8971;
public static final int GL_NUM_INSTRUCTIONS_TOTAL_ATI = 0x8972;
public static final int GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI = 0x8973;
public static final int GL_NUM_LOOPBACK_COMPONENTS_ATI = 0x8974;
public static final int GL_COLOR_ALPHA_PAIRING_ATI = 0x8975;
public static final int GL_SWIZZLE_STR_ATI = 0x8976;
public static final int GL_SWIZZLE_STQ_ATI = 0x8977;
public static final int GL_SWIZZLE_STR_DR_ATI = 0x8978;
public static final int GL_SWIZZLE_STQ_DQ_ATI = 0x8979;
public static final int GL_SWIZZLE_STRQ_ATI = 0x897A;
public static final int GL_SWIZZLE_STRQ_DQ_ATI = 0x897B;
public static final int GL_RED_BIT_ATI = 0x00000001;
public static final int GL_GREEN_BIT_ATI = 0x00000002;
public static final int GL_BLUE_BIT_ATI = 0x00000004;
public static final int GL_X2_BIT_ATI = 0x00000001;
public static final int GL_X4_BIT_ATI = 0x00000002;
public static final int GL_X8_BIT_ATI = 0x00000004;
public static final int GL_HALF_BIT_ATI = 0x00000008;
public static final int GL_QUARTER_BIT_ATI = 0x00000010;
public static final int GL_EIGHTH_BIT_ATI = 0x00000020;
public static final int GL_SATURATE_BIT_ATI = 0x00000040;
public static final int GL_COMP_BIT_ATI = 0x00000002;
public static final int GL_NEGATE_BIT_ATI = 0x00000004;
public static final int GL_BIAS_BIT_ATI = 0x00000008;
int GL_FRAGMENT_SHADER_ATI = 0x8920;
int GL_REG_0_ATI = 0x8921;
int GL_REG_1_ATI = 0x8922;
int GL_REG_2_ATI = 0x8923;
int GL_REG_3_ATI = 0x8924;
int GL_REG_4_ATI = 0x8925;
int GL_REG_5_ATI = 0x8926;
int GL_REG_6_ATI = 0x8927;
int GL_REG_7_ATI = 0x8928;
int GL_REG_8_ATI = 0x8929;
int GL_REG_9_ATI = 0x892A;
int GL_REG_10_ATI = 0x892B;
int GL_REG_11_ATI = 0x892C;
int GL_REG_12_ATI = 0x892D;
int GL_REG_13_ATI = 0x892E;
int GL_REG_14_ATI = 0x892F;
int GL_REG_15_ATI = 0x8930;
int GL_REG_16_ATI = 0x8931;
int GL_REG_17_ATI = 0x8932;
int GL_REG_18_ATI = 0x8933;
int GL_REG_19_ATI = 0x8934;
int GL_REG_20_ATI = 0x8935;
int GL_REG_21_ATI = 0x8936;
int GL_REG_22_ATI = 0x8937;
int GL_REG_23_ATI = 0x8938;
int GL_REG_24_ATI = 0x8939;
int GL_REG_25_ATI = 0x893A;
int GL_REG_26_ATI = 0x893B;
int GL_REG_27_ATI = 0x893C;
int GL_REG_28_ATI = 0x893D;
int GL_REG_29_ATI = 0x893E;
int GL_REG_30_ATI = 0x893F;
int GL_REG_31_ATI = 0x8940;
int GL_CON_0_ATI = 0x8941;
int GL_CON_1_ATI = 0x8942;
int GL_CON_2_ATI = 0x8943;
int GL_CON_3_ATI = 0x8944;
int GL_CON_4_ATI = 0x8945;
int GL_CON_5_ATI = 0x8946;
int GL_CON_6_ATI = 0x8947;
int GL_CON_7_ATI = 0x8948;
int GL_CON_8_ATI = 0x8949;
int GL_CON_9_ATI = 0x894A;
int GL_CON_10_ATI = 0x894B;
int GL_CON_11_ATI = 0x894C;
int GL_CON_12_ATI = 0x894D;
int GL_CON_13_ATI = 0x894E;
int GL_CON_14_ATI = 0x894F;
int GL_CON_15_ATI = 0x8950;
int GL_CON_16_ATI = 0x8951;
int GL_CON_17_ATI = 0x8952;
int GL_CON_18_ATI = 0x8953;
int GL_CON_19_ATI = 0x8954;
int GL_CON_20_ATI = 0x8955;
int GL_CON_21_ATI = 0x8956;
int GL_CON_22_ATI = 0x8957;
int GL_CON_23_ATI = 0x8958;
int GL_CON_24_ATI = 0x8959;
int GL_CON_25_ATI = 0x895A;
int GL_CON_26_ATI = 0x895B;
int GL_CON_27_ATI = 0x895C;
int GL_CON_28_ATI = 0x895D;
int GL_CON_29_ATI = 0x895E;
int GL_CON_30_ATI = 0x895F;
int GL_CON_31_ATI = 0x8960;
int GL_MOV_ATI = 0x8961;
int GL_ADD_ATI = 0x8963;
int GL_MUL_ATI = 0x8964;
int GL_SUB_ATI = 0x8965;
int GL_DOT3_ATI = 0x8966;
int GL_DOT4_ATI = 0x8967;
int GL_MAD_ATI = 0x8968;
int GL_LERP_ATI = 0x8969;
int GL_CND_ATI = 0x896A;
int GL_CND0_ATI = 0x896B;
int GL_DOT2_ADD_ATI = 0x896C;
int GL_SECONDARY_INTERPOLATOR_ATI = 0x896D;
int GL_NUM_FRAGMENT_REGISTERS_ATI = 0x896E;
int GL_NUM_FRAGMENT_CONSTANTS_ATI = 0x896F;
int GL_NUM_PASSES_ATI = 0x8970;
int GL_NUM_INSTRUCTIONS_PER_PASS_ATI = 0x8971;
int GL_NUM_INSTRUCTIONS_TOTAL_ATI = 0x8972;
int GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI = 0x8973;
int GL_NUM_LOOPBACK_COMPONENTS_ATI = 0x8974;
int GL_COLOR_ALPHA_PAIRING_ATI = 0x8975;
int GL_SWIZZLE_STR_ATI = 0x8976;
int GL_SWIZZLE_STQ_ATI = 0x8977;
int GL_SWIZZLE_STR_DR_ATI = 0x8978;
int GL_SWIZZLE_STQ_DQ_ATI = 0x8979;
int GL_SWIZZLE_STRQ_ATI = 0x897A;
int GL_SWIZZLE_STRQ_DQ_ATI = 0x897B;
int GL_RED_BIT_ATI = 0x00000001;
int GL_GREEN_BIT_ATI = 0x00000002;
int GL_BLUE_BIT_ATI = 0x00000004;
int GL_X2_BIT_ATI = 0x00000001;
int GL_X4_BIT_ATI = 0x00000002;
int GL_X8_BIT_ATI = 0x00000004;
int GL_HALF_BIT_ATI = 0x00000008;
int GL_QUARTER_BIT_ATI = 0x00000010;
int GL_EIGHTH_BIT_ATI = 0x00000020;
int GL_SATURATE_BIT_ATI = 0x00000040;
int GL_COMP_BIT_ATI = 0x00000002;
int GL_NEGATE_BIT_ATI = 0x00000004;
int GL_BIAS_BIT_ATI = 0x00000008;
public @GLuint int glGenFragmentShadersATI(@GLuint int range);
@GLuint int glGenFragmentShadersATI(@GLuint int range);
public void glBindFragmentShaderATI(@GLuint int id);
void glBindFragmentShaderATI(@GLuint int id);
public void glDeleteFragmentShaderATI(@GLuint int id);
void glDeleteFragmentShaderATI(@GLuint int id);
public void glBeginFragmentShaderATI();
void glBeginFragmentShaderATI();
public void glEndFragmentShaderATI();
void glEndFragmentShaderATI();
public void glPassTexCoordATI(@GLuint int dst, @GLuint int coord, @GLenum int swizzle);
void glPassTexCoordATI(@GLuint int dst, @GLuint int coord, @GLenum int swizzle);
public void glSampleMapATI(@GLuint int dst, @GLuint int interp, @GLenum int swizzle);
void glSampleMapATI(@GLuint int dst, @GLuint int interp, @GLenum int swizzle);
public void glColorFragmentOp1ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMask, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod);
void glColorFragmentOp1ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMask, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod);
public void glColorFragmentOp2ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMask, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod, @GLuint int arg2, @GLuint int arg2Rep, @GLuint int arg2Mod);
void glColorFragmentOp2ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMask, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod, @GLuint int arg2, @GLuint int arg2Rep, @GLuint int arg2Mod);
public void glColorFragmentOp3ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMask, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod, @GLuint int arg2, @GLuint int arg2Rep, @GLuint int arg2Mod, @GLuint int arg3, @GLuint int arg3Rep, @GLuint int arg3Mod);
void glColorFragmentOp3ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMask, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod, @GLuint int arg2, @GLuint int arg2Rep, @GLuint int arg2Mod, @GLuint int arg3, @GLuint int arg3Rep, @GLuint int arg3Mod);
public void glAlphaFragmentOp1ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod);
void glAlphaFragmentOp1ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod);
public void glAlphaFragmentOp2ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod, @GLuint int arg2, @GLuint int arg2Rep, @GLuint int arg2Mod);
void glAlphaFragmentOp2ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod, @GLuint int arg2, @GLuint int arg2Rep, @GLuint int arg2Mod);
public void glAlphaFragmentOp3ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod, @GLuint int arg2, @GLuint int arg2Rep, @GLuint int arg2Mod, @GLuint int arg3, @GLuint int arg3Rep, @GLuint int arg3Mod);
void glAlphaFragmentOp3ATI(@GLenum int op, @GLuint int dst, @GLuint int dstMod, @GLuint int arg1, @GLuint int arg1Rep, @GLuint int arg1Mod, @GLuint int arg2, @GLuint int arg2Rep, @GLuint int arg2Mod, @GLuint int arg3, @GLuint int arg3Rep, @GLuint int arg3Mod);
// TODO:is the @Check correct?
public void glSetFragmentShaderConstantATI(@GLuint int dst, @Check("4") @Const FloatBuffer pfValue);
void glSetFragmentShaderConstantATI(@GLuint int dst, @Check("4") @Const FloatBuffer pfValue);
}

View File

@ -1,31 +1,31 @@
/*
/*
* Copyright (c) 2002-2004 LWJGL Project
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of 'LWJGL' nor the names of
* its contributors may be used to endorse or promote products derived
* * Neither the name of 'LWJGL' nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@ -50,8 +50,8 @@ public interface ATI_map_object_buffer {
* @return A ByteBuffer representing the mapped object buffer memory.
*/
@CachedResult
public @GLvoid ByteBuffer glMapObjectBufferATI(@GLuint int buffer);
@GLvoid ByteBuffer glMapObjectBufferATI(@GLuint int buffer);
public void glUnmapObjectBufferATI(@GLuint int buffer);
void glUnmapObjectBufferATI(@GLuint int buffer);
}

View File

@ -34,17 +34,17 @@ package org.lwjgl.opengl;
import org.lwjgl.generator.*;
public interface ATI_pn_triangles {
public static final int GL_PN_TRIANGLES_ATI = 0x87F0;
public static final int GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1;
public static final int GL_PN_TRIANGLES_POINT_MODE_ATI = 0x87F2;
public static final int GL_PN_TRIANGLES_NORMAL_MODE_ATI = 0x87F3;
public static final int GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F4;
public static final int GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI = 0x87F5;
public static final int GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI = 0x87F6;
public static final int GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7;
public static final int GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8;
int GL_PN_TRIANGLES_ATI = 0x87F0;
int GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1;
int GL_PN_TRIANGLES_POINT_MODE_ATI = 0x87F2;
int GL_PN_TRIANGLES_NORMAL_MODE_ATI = 0x87F3;
int GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F4;
int GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI = 0x87F5;
int GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI = 0x87F6;
int GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7;
int GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8;
public void glPNTrianglesfATI(@GLenum int pname, float param);
void glPNTrianglesfATI(@GLenum int pname, float param);
public void glPNTrianglesiATI(@GLenum int pname, int param);
void glPNTrianglesiATI(@GLenum int pname, int param);
}

View File

@ -34,12 +34,12 @@ package org.lwjgl.opengl;
import org.lwjgl.generator.*;
public interface ATI_separate_stencil {
public static final int GL_STENCIL_BACK_FUNC_ATI = 0x8800;
public static final int GL_STENCIL_BACK_FAIL_ATI = 0x8801;
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802;
public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803;
int GL_STENCIL_BACK_FUNC_ATI = 0x8800;
int GL_STENCIL_BACK_FAIL_ATI = 0x8801;
int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802;
int GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803;
public void glStencilOpSeparateATI(@GLenum int face, @GLenum int sfail, @GLenum int dpfail, @GLenum int dppass);
void glStencilOpSeparateATI(@GLenum int face, @GLenum int sfail, @GLenum int dpfail, @GLenum int dppass);
public void glStencilFuncSeparateATI(@GLenum int frontfunc, @GLenum int backfunc, int ref, @GLuint int mask);
void glStencilFuncSeparateATI(@GLenum int frontfunc, @GLenum int backfunc, int ref, @GLuint int mask);
}

View File

@ -35,5 +35,5 @@ import org.lwjgl.generator.*;
@Extension(postfix="ATI", className="ATITextureCompression3DC")
public interface ATI_texture_compression_3dc {
public static final int GL_COMPRESSED_RGB_3DC_ATI = 0x8837;
int GL_COMPRESSED_RGB_3DC_ATI = 0x8837;
}

View File

@ -36,16 +36,16 @@ public interface ATI_texture_float {
* Accepted by the <internalFormat> parameter of TexImage1D,
* TexImage2D, and TexImage3D:
*/
public static final int GL_RGBA_FLOAT32_ATI = 0x8814;
public static final int GL_RGB_FLOAT32_ATI = 0x8815;
public static final int GL_ALPHA_FLOAT32_ATI = 0x8816;
public static final int GL_INTENSITY_FLOAT32_ATI = 0x8817;
public static final int GL_LUMINANCE_FLOAT32_ATI = 0x8818;
public static final int GL_LUMINANCE_ALPHA_FLOAT32_ATI = 0x8819;
public static final int GL_RGBA_FLOAT16_ATI = 0x881A;
public static final int GL_RGB_FLOAT16_ATI = 0x881B;
public static final int GL_ALPHA_FLOAT16_ATI = 0x881C;
public static final int GL_INTENSITY_FLOAT16_ATI = 0x881D;
public static final int GL_LUMINANCE_FLOAT16_ATI = 0x881E;
public static final int GL_LUMINANCE_ALPHA_FLOAT16_ATI = 0x881F;
int GL_RGBA_FLOAT32_ATI = 0x8814;
int GL_RGB_FLOAT32_ATI = 0x8815;
int GL_ALPHA_FLOAT32_ATI = 0x8816;
int GL_INTENSITY_FLOAT32_ATI = 0x8817;
int GL_LUMINANCE_FLOAT32_ATI = 0x8818;
int GL_LUMINANCE_ALPHA_FLOAT32_ATI = 0x8819;
int GL_RGBA_FLOAT16_ATI = 0x881A;
int GL_RGB_FLOAT16_ATI = 0x881B;
int GL_ALPHA_FLOAT16_ATI = 0x881C;
int GL_INTENSITY_FLOAT16_ATI = 0x881D;
int GL_LUMINANCE_FLOAT16_ATI = 0x881E;
int GL_LUMINANCE_ALPHA_FLOAT16_ATI = 0x881F;
}

View File

@ -32,6 +32,6 @@
package org.lwjgl.opengl;
public interface ATI_texture_mirror_once {
public static final int GL_MIRROR_CLAMP_ATI = 0x8742;
public static final int GL_MIRROR_CLAMP_TO_EDGE_ATI = 0x8743;
int GL_MIRROR_CLAMP_ATI = 0x8742;
int GL_MIRROR_CLAMP_TO_EDGE_ATI = 0x8743;
}

View File

@ -32,25 +32,23 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.generator.*;
public interface ATI_vertex_array_object {
public static final int GL_STATIC_ATI = 0x8760;
public static final int GL_DYNAMIC_ATI = 0x8761;
public static final int GL_PRESERVE_ATI = 0x8762;
public static final int GL_DISCARD_ATI = 0x8763;
public static final int GL_OBJECT_BUFFER_SIZE_ATI = 0x8764;
public static final int GL_OBJECT_BUFFER_USAGE_ATI = 0x8765;
public static final int GL_ARRAY_OBJECT_BUFFER_ATI = 0x8766;
public static final int GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767;
int GL_STATIC_ATI = 0x8760;
int GL_DYNAMIC_ATI = 0x8761;
int GL_PRESERVE_ATI = 0x8762;
int GL_DISCARD_ATI = 0x8763;
int GL_OBJECT_BUFFER_SIZE_ATI = 0x8764;
int GL_OBJECT_BUFFER_USAGE_ATI = 0x8765;
int GL_ARRAY_OBJECT_BUFFER_ATI = 0x8766;
int GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767;
@GenerateAutos
public @GLuint int glNewObjectBufferATI(@AutoSize("pPointer") @GLsizei int size,
@GLuint int glNewObjectBufferATI(@AutoSize("pPointer") @GLsizei int size,
@Const
@GLbyte
@GLshort
@ -58,9 +56,9 @@ public interface ATI_vertex_array_object {
@GLfloat
Buffer pPointer, @GLenum int usage);
public boolean glIsObjectBufferATI(@GLuint int buffer);
boolean glIsObjectBufferATI(@GLuint int buffer);
public 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
@GLbyte
@GLshort
@ -69,23 +67,23 @@ public interface ATI_vertex_array_object {
Buffer pPointer, @GLenum int preserve);
@StripPostfix("params")
public void glGetObjectBufferfvATI(@GLuint int buffer, @GLenum int pname, @Check FloatBuffer params);
void glGetObjectBufferfvATI(@GLuint int buffer, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params")
public void glGetObjectBufferivATI(@GLuint int buffer, @GLenum int pname, @Check IntBuffer params);
void glGetObjectBufferivATI(@GLuint int buffer, @GLenum int pname, @Check IntBuffer params);
public void glFreeObjectBufferATI(@GLuint int buffer);
void glFreeObjectBufferATI(@GLuint int buffer);
public void glArrayObjectATI(@GLenum int array, int size, @GLenum int type, @GLsizei int stride, @GLuint int buffer, @GLuint int offset);
void glArrayObjectATI(@GLenum int array, int size, @GLenum int type, @GLsizei int stride, @GLuint int buffer, @GLuint int offset);
@StripPostfix("params")
public 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")
public void glGetArrayObjectivATI(@GLenum int array, @GLenum int pname, @Check("4") IntBuffer params);
void glGetArrayObjectivATI(@GLenum int array, @GLenum int pname, @Check("4") IntBuffer params);
public void glVariantArrayObjectATI(@GLuint int id, @GLenum int type, @GLsizei int stride, @GLuint int buffer, @GLuint int offset);
void glVariantArrayObjectATI(@GLuint int id, @GLenum int type, @GLsizei int stride, @GLuint int buffer, @GLuint int offset);
@StripPostfix("params")
public 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")
public 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

@ -37,10 +37,10 @@ import java.nio.IntBuffer;
import org.lwjgl.generator.*;
public interface ATI_vertex_attrib_array_object {
public 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")
public 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")
public 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

@ -34,46 +34,46 @@ package org.lwjgl.opengl;
import org.lwjgl.generator.*;
public interface ATI_vertex_streams {
public static final int GL_MAX_VERTEX_STREAMS_ATI = 0x876B;
public static final int GL_VERTEX_SOURCE_ATI = 0x876C;
public static final int GL_VERTEX_STREAM0_ATI = 0x876D;
public static final int GL_VERTEX_STREAM1_ATI = 0x876E;
public static final int GL_VERTEX_STREAM2_ATI = 0x876F;
public static final int GL_VERTEX_STREAM3_ATI = 0x8770;
public static final int GL_VERTEX_STREAM4_ATI = 0x8771;
public static final int GL_VERTEX_STREAM5_ATI = 0x8772;
public static final int GL_VERTEX_STREAM6_ATI = 0x8773;
public static final int GL_VERTEX_STREAM7_ATI = 0x8774;
int GL_MAX_VERTEX_STREAMS_ATI = 0x876B;
int GL_VERTEX_SOURCE_ATI = 0x876C;
int GL_VERTEX_STREAM0_ATI = 0x876D;
int GL_VERTEX_STREAM1_ATI = 0x876E;
int GL_VERTEX_STREAM2_ATI = 0x876F;
int GL_VERTEX_STREAM3_ATI = 0x8770;
int GL_VERTEX_STREAM4_ATI = 0x8771;
int GL_VERTEX_STREAM5_ATI = 0x8772;
int GL_VERTEX_STREAM6_ATI = 0x8773;
int GL_VERTEX_STREAM7_ATI = 0x8774;
public void glVertexStream2fATI(@GLenum int stream, float x, float y);
void glVertexStream2fATI(@GLenum int stream, float x, float y);
public void glVertexStream2iATI(@GLenum int stream, int x, int y);
void glVertexStream2iATI(@GLenum int stream, int x, int y);
public void glVertexStream2sATI(@GLenum int stream, short x, short y);
void glVertexStream2sATI(@GLenum int stream, short x, short y);
public void glVertexStream3fATI(@GLenum int stream, float x, float y, float z);
void glVertexStream3fATI(@GLenum int stream, float x, float y, float z);
public void glVertexStream3iATI(@GLenum int stream, int x, int y, int z);
void glVertexStream3iATI(@GLenum int stream, int x, int y, int z);
public void glVertexStream3sATI(@GLenum int stream, short x, short y, short z);
void glVertexStream3sATI(@GLenum int stream, short x, short y, short z);
public void glVertexStream4fATI(@GLenum int stream, float x, float y, float z, float w);
void glVertexStream4fATI(@GLenum int stream, float x, float y, float z, float w);
public void glVertexStream4iATI(@GLenum int stream, int x, int y, int z, int w);
void glVertexStream4iATI(@GLenum int stream, int x, int y, int z, int w);
public void glVertexStream4sATI(@GLenum int stream, short x, short y, short z, short w);
void glVertexStream4sATI(@GLenum int stream, short x, short y, short z, short w);
public void glNormalStream3bATI(@GLenum int stream, byte x, byte y, byte z);
void glNormalStream3bATI(@GLenum int stream, byte x, byte y, byte z);
public void glNormalStream3fATI(@GLenum int stream, float x, float y, float z);
void glNormalStream3fATI(@GLenum int stream, float x, float y, float z);
public void glNormalStream3iATI(@GLenum int stream, int x, int y, int z);
void glNormalStream3iATI(@GLenum int stream, int x, int y, int z);
public void glNormalStream3sATI(@GLenum int stream, short x, short y, short z);
void glNormalStream3sATI(@GLenum int stream, short x, short y, short z);
public void glClientActiveVertexStreamATI(@GLenum int stream);
void glClientActiveVertexStreamATI(@GLenum int stream);
public void glVertexBlendEnvfATI(@GLenum int pname, float param);
void glVertexBlendEnvfATI(@GLenum int pname, float param);
public void glVertexBlendEnviATI(@GLenum int pname, int param);
void glVertexBlendEnviATI(@GLenum int pname, int param);
}

View File

@ -32,5 +32,5 @@
package org.lwjgl.opengl;
public interface EXT_abgr {
public static final int GL_ABGR_EXT = 0x8000;
int GL_ABGR_EXT = 0x8000;
}

View File

@ -37,6 +37,6 @@ package org.lwjgl.opengl;
* @author cas
*/
public interface EXT_bgra {
public static final int GL_BGR_EXT = 0x80E0;
public static final int GL_BGRA_EXT = 0x80E1;
int GL_BGR_EXT = 0x80E0;
int GL_BGRA_EXT = 0x80E1;
}

View File

@ -38,8 +38,8 @@ public interface EXT_blend_equation_separate {
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
public static final int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D;
int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D;
public void glBlendEquationSeparateEXT(@GLenum int modeRGB, @GLenum int modeAlpha);
void glBlendEquationSeparateEXT(@GLenum int modeRGB, @GLenum int modeAlpha);
}

View File

@ -34,10 +34,10 @@ package org.lwjgl.opengl;
import org.lwjgl.generator.*;
public interface EXT_blend_func_separate {
public static final int GL_BLEND_DST_RGB_EXT = 0x80C8;
public static final int GL_BLEND_SRC_RGB_EXT = 0x80C9;
public static final int GL_BLEND_DST_ALPHA_EXT = 0x80CA;
public static final int GL_BLEND_SRC_ALPHA_EXT = 0x80CB;
int GL_BLEND_DST_RGB_EXT = 0x80C8;
int GL_BLEND_SRC_RGB_EXT = 0x80C9;
int GL_BLEND_DST_ALPHA_EXT = 0x80CA;
int GL_BLEND_SRC_ALPHA_EXT = 0x80CB;
public void glBlendFuncSeparateEXT(@GLenum int sfactorRGB, @GLenum int dfactorRGB, @GLenum int sfactorAlpha, @GLenum int dfactorAlpha);
void glBlendFuncSeparateEXT(@GLenum int sfactorRGB, @GLenum int dfactorRGB, @GLenum int sfactorAlpha, @GLenum int dfactorAlpha);
}

View File

@ -37,6 +37,6 @@ package org.lwjgl.opengl;
* @author cas
*/
public interface EXT_blend_subtract {
public static final int GL_FUNC_SUBTRACT_EXT = 0x800A;
public static final int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B;
int GL_FUNC_SUBTRACT_EXT = 0x800A;
int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B;
}

View File

@ -38,6 +38,6 @@ public interface EXT_cg_shader {
* can pass GL_CG_FRAGMENT_SHADER_EXT to glCreateShaderARB instead of GL_FRAGMENT_SHADER_ARB to create a fragment shader object
* that will parse and compile its shader source with the Cg front-end rather than the GLSL front-end.
*/
public static final int GL_CG_VERTEX_SHADER_EXT = 0x890E;
public static final int GL_CG_FRAGMENT_SHADER_EXT = 0x890F;
int GL_CG_VERTEX_SHADER_EXT = 0x890E;
int GL_CG_FRAGMENT_SHADER_EXT = 0x890F;
}

View File

@ -34,10 +34,10 @@ package org.lwjgl.opengl;
import org.lwjgl.generator.*;
public interface EXT_compiled_vertex_array {
public static final int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8;
public static final int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9;
int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8;
int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9;
public void glLockArraysEXT(int first, @GLsizei int count);
void glLockArraysEXT(int first, @GLsizei int count);
public void glUnlockArraysEXT();
void glUnlockArraysEXT();
}

View File

@ -39,13 +39,13 @@ public interface EXT_depth_bounds_test {
and by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
public static final int DEPTH_BOUNDS_TEST_EXT = 0x8890;
int GL_DEPTH_BOUNDS_TEST_EXT = 0x8890;
/*
Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
public static final int DEPTH_BOUNDS_EXT = 0x8891;
int GL_DEPTH_BOUNDS_EXT = 0x8891;
public void glDepthBoundsEXT(@GLclampd double zmin, @GLclampd double zmax);
void glDepthBoundsEXT(@GLclampd double zmin, @GLclampd double zmax);
}

View File

@ -32,17 +32,14 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.generator.*;
public interface EXT_draw_range_elements {
public static final int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8;
public static final int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9;
int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8;
int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9;
public 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)
@Const
@GLubyte

View File

@ -32,23 +32,22 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.FloatBuffer;
import org.lwjgl.generator.*;
public interface EXT_fog_coord {
public static final int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450;
public static final int GL_FOG_COORDINATE_EXT = 0x8451;
public static final int GL_FRAGMENT_DEPTH_EXT = 0x8452;
public static final int GL_CURRENT_FOG_COORDINATE_EXT = 0x8453;
public static final int GL_FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454;
public static final int GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455;
public static final int GL_FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456;
public static final int GL_FOG_COORDINATE_ARRAY_EXT = 0x8457;
int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450;
int GL_FOG_COORDINATE_EXT = 0x8451;
int GL_FRAGMENT_DEPTH_EXT = 0x8452;
int GL_CURRENT_FOG_COORDINATE_EXT = 0x8453;
int GL_FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454;
int GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455;
int GL_FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456;
int GL_FOG_COORDINATE_ARRAY_EXT = 0x8457;
public void glFogCoordfEXT(float coord);
void glFogCoordfEXT(float coord);
public void glFogCoordPointerEXT(@AutoType("data") @GLenum int type, @GLsizei int stride,
void glFogCoordPointerEXT(@AutoType("data") @GLenum int type, @GLsizei int stride,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const

View File

@ -41,124 +41,124 @@ public interface EXT_framebuffer_object {
* CheckFramebufferStatusEXT, FramebufferTexture{1D|2D|3D}EXT, and
* FramebufferRenderbufferEXT:
*/
public static final int GL_FRAMEBUFFER_EXT = 0x8D40;
int GL_FRAMEBUFFER_EXT = 0x8D40;
/*
* Accepted by the &lt;target&gt; parameter of BindRenderbufferEXT,
* RenderbufferStorageEXT, and GetRenderbufferParameterivEXT, and
* returned by GetFramebufferAttachmentParameterivEXT:
*/
public static final int GL_RENDERBUFFER_EXT = 0x8D41;
int GL_RENDERBUFFER_EXT = 0x8D41;
/*
* Accepted by the &lt;internalformat&gt; parameter of
* RenderbufferStorageEXT:
*/
public static final int GL_STENCIL_INDEX_EXT = 0x8D45;
public static final int GL_STENCIL_INDEX1_EXT = 0x8D46;
public static final int GL_STENCIL_INDEX4_EXT = 0x8D47;
public static final int GL_STENCIL_INDEX8_EXT = 0x8D48;
public static final int GL_STENCIL_INDEX16_EXT = 0x8D49;
int GL_STENCIL_INDEX_EXT = 0x8D45;
int GL_STENCIL_INDEX1_EXT = 0x8D46;
int GL_STENCIL_INDEX4_EXT = 0x8D47;
int GL_STENCIL_INDEX8_EXT = 0x8D48;
int GL_STENCIL_INDEX16_EXT = 0x8D49;
/*
* Accepted by the &lt;pname&gt; parameter of GetRenderbufferParameterivEXT:
*/
public static final int GL_RENDERBUFFER_WIDTH_EXT = 0x8D42;
public static final int GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43;
public static final int GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44;
int GL_RENDERBUFFER_WIDTH_EXT = 0x8D42;
int GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43;
int GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44;
/*
* Accepted by the &lt;pname&gt; parameter of
* GetFramebufferAttachmentParameterivEXT:
*/
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0;
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = 0x8CD1;
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = 0x8CD2;
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3;
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4;
int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0;
int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = 0x8CD1;
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = 0x8CD2;
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3;
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4;
/*
* Accepted by the &lt;attachment&gt; parameter of
* FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and
* GetFramebufferAttachmentParameterivEXT
*/
public static final int GL_COLOR_ATTACHMENT0_EXT = 0x8CE0;
public static final int GL_COLOR_ATTACHMENT1_EXT = 0x8CE1;
public static final int GL_COLOR_ATTACHMENT2_EXT = 0x8CE2;
public static final int GL_COLOR_ATTACHMENT3_EXT = 0x8CE3;
public static final int GL_COLOR_ATTACHMENT4_EXT = 0x8CE4;
public static final int GL_COLOR_ATTACHMENT5_EXT = 0x8CE5;
public static final int GL_COLOR_ATTACHMENT6_EXT = 0x8CE6;
public static final int GL_COLOR_ATTACHMENT7_EXT = 0x8CE7;
public static final int GL_COLOR_ATTACHMENT8_EXT = 0x8CE8;
public static final int GL_COLOR_ATTACHMENT9_EXT = 0x8CE9;
public static final int GL_COLOR_ATTACHMENT10_EXT = 0x8CEA;
public static final int GL_COLOR_ATTACHMENT11_EXT = 0x8CEB;
public static final int GL_COLOR_ATTACHMENT12_EXT = 0x8CEC;
public static final int GL_COLOR_ATTACHMENT13_EXT = 0x8CED;
public static final int GL_COLOR_ATTACHMENT14_EXT = 0x8CEE;
public static final int GL_COLOR_ATTACHMENT15_EXT = 0x8CEF;
public static final int GL_DEPTH_ATTACHMENT_EXT = 0x8D00;
public static final int GL_STENCIL_ATTACHMENT_EXT = 0x8D20;
int GL_COLOR_ATTACHMENT0_EXT = 0x8CE0;
int GL_COLOR_ATTACHMENT1_EXT = 0x8CE1;
int GL_COLOR_ATTACHMENT2_EXT = 0x8CE2;
int GL_COLOR_ATTACHMENT3_EXT = 0x8CE3;
int GL_COLOR_ATTACHMENT4_EXT = 0x8CE4;
int GL_COLOR_ATTACHMENT5_EXT = 0x8CE5;
int GL_COLOR_ATTACHMENT6_EXT = 0x8CE6;
int GL_COLOR_ATTACHMENT7_EXT = 0x8CE7;
int GL_COLOR_ATTACHMENT8_EXT = 0x8CE8;
int GL_COLOR_ATTACHMENT9_EXT = 0x8CE9;
int GL_COLOR_ATTACHMENT10_EXT = 0x8CEA;
int GL_COLOR_ATTACHMENT11_EXT = 0x8CEB;
int GL_COLOR_ATTACHMENT12_EXT = 0x8CEC;
int GL_COLOR_ATTACHMENT13_EXT = 0x8CED;
int GL_COLOR_ATTACHMENT14_EXT = 0x8CEE;
int GL_COLOR_ATTACHMENT15_EXT = 0x8CEF;
int GL_DEPTH_ATTACHMENT_EXT = 0x8D00;
int GL_STENCIL_ATTACHMENT_EXT = 0x8D20;
/**
* Returned by CheckFramebufferStatusEXT():
*/
public static final int GL_FRAMEBUFFER_COMPLETE_EXT = 0x8CD5;
public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = 0x8CD6;
public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = 0x8CD7;
public static final int GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT = 0x8CD8;
public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = 0x8CD9;
public static final int GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = 0x8CDA;
public static final int GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB;
public static final int GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC;
public static final int GL_FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD;
public static final int GL_FRAMEBUFFER_STATUS_ERROR_EXT = 0x8CDE;
int GL_FRAMEBUFFER_COMPLETE_EXT = 0x8CD5;
int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = 0x8CD6;
int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = 0x8CD7;
int GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT = 0x8CD8;
int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = 0x8CD9;
int GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = 0x8CDA;
int GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB;
int GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC;
int GL_FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD;
int GL_FRAMEBUFFER_STATUS_ERROR_EXT = 0x8CDE;
/**
* Accepted by GetIntegerv():
*/
public static final int GL_FRAMEBUFFER_BINDING_EXT = 0x8CA6;
public static final int GL_RENDERBUFFER_BINDING_EXT = 0x8CA7;
public static final int GL_MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF;
public static final int GL_MAX_RENDERBUFFER_SIZE_EXT = 0x84E8;
int GL_FRAMEBUFFER_BINDING_EXT = 0x8CA6;
int GL_RENDERBUFFER_BINDING_EXT = 0x8CA7;
int GL_MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF;
int GL_MAX_RENDERBUFFER_SIZE_EXT = 0x84E8;
/**
* Returned by GetError():
*/
public static final int GL_INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506;
int GL_INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506;
public boolean glIsRenderbufferEXT(@GLuint int renderbuffer);
boolean glIsRenderbufferEXT(@GLuint int renderbuffer);
public void glBindRenderbufferEXT(@GLenum int target, @GLuint int renderbuffer);
void glBindRenderbufferEXT(@GLenum int target, @GLuint int renderbuffer);
public void glDeleteRenderbuffersEXT(@AutoSize("renderbuffers") int n, @Const @GLuint IntBuffer renderbuffers);
public void glGenRenderbuffersEXT(@AutoSize("renderbuffers") int n, @GLuint IntBuffer renderbuffers);
void glDeleteRenderbuffersEXT(@AutoSize("renderbuffers") int n, @Const @GLuint IntBuffer renderbuffers);
void glGenRenderbuffersEXT(@AutoSize("renderbuffers") int n, @GLuint IntBuffer renderbuffers);
public 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);
@StripPostfix("params")
public void glGetRenderbufferParameterivEXT(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
void glGetRenderbufferParameterivEXT(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
public boolean glIsFramebufferEXT(@GLuint int framebuffer);
boolean glIsFramebufferEXT(@GLuint int framebuffer);
public void glBindFramebufferEXT(@GLenum int target, @GLuint int framebuffer);
void glBindFramebufferEXT(@GLenum int target, @GLuint int framebuffer);
public void glDeleteFramebuffersEXT(@AutoSize("framebuffers") int n, @Const @GLuint IntBuffer framebuffers);
public void glGenFramebuffersEXT(@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);
public @GLenum int glCheckFramebufferStatusEXT(@GLenum int target);
@GLenum int glCheckFramebufferStatusEXT(@GLenum int target);
public 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);
public void glFramebufferTexture2DEXT(@GLenum int target, @GLenum int attachment, @GLenum int textarget, @GLuint int texture, int level);
void glFramebufferTexture2DEXT(@GLenum int target, @GLenum int attachment, @GLenum int textarget, @GLuint int texture, int level);
public void glFramebufferTexture3DEXT(@GLenum int target, @GLenum int attachment, @GLenum int textarget, @GLuint int texture, int level, int zoffset);
void glFramebufferTexture3DEXT(@GLenum int target, @GLenum int attachment, @GLenum int textarget, @GLuint int texture, int level, int zoffset);
public void glFramebufferRenderbufferEXT(@GLenum int target, @GLenum int attachment, @GLenum int renderbuffertarget, @GLuint int renderbuffer);
void glFramebufferRenderbufferEXT(@GLenum int target, @GLenum int attachment, @GLenum int renderbuffertarget, @GLuint int renderbuffer);
@StripPostfix("params")
public void glGetFramebufferAttachmentParameterivEXT(@GLenum int target, @GLenum int attachment, @GLenum int pname, @Check("4") IntBuffer params);
void glGetFramebufferAttachmentParameterivEXT(@GLenum int target, @GLenum int attachment, @GLenum int pname, @Check("4") IntBuffer params);
public void glGenerateMipmapEXT(@GLenum int target);
void glGenerateMipmapEXT(@GLenum int target);
}

View File

@ -39,5 +39,5 @@ public interface EXT_multi_draw_arrays {
@Code( " if (piFirst.remaining() != piCount.remaining()) {\n" +
" throw new IllegalArgumentException(\"piFirst.remaining() != piCount.remaining()\");\n" +
" }")
public 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

@ -32,9 +32,9 @@
package org.lwjgl.opengl;
public interface EXT_packed_pixels {
public static final int GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032;
public static final int GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033;
public static final int GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034;
public static final int GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035;
public static final int GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036;
int GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032;
int GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033;
int GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034;
int GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035;
int GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036;
}

View File

@ -40,32 +40,32 @@ public interface EXT_paletted_texture {
* Accepted by the internalformat parameter of TexImage1D, TexImage2D and
* TexImage3DEXT:
*/
public static final int GL_COLOR_INDEX1_EXT = 0x80E2;
public static final int GL_COLOR_INDEX2_EXT = 0x80E3;
public static final int GL_COLOR_INDEX4_EXT = 0x80E4;
public static final int GL_COLOR_INDEX8_EXT = 0x80E5;
public static final int GL_COLOR_INDEX12_EXT = 0x80E6;
public static final int GL_COLOR_INDEX16_EXT = 0x80E7;
int GL_COLOR_INDEX1_EXT = 0x80E2;
int GL_COLOR_INDEX2_EXT = 0x80E3;
int GL_COLOR_INDEX4_EXT = 0x80E4;
int GL_COLOR_INDEX8_EXT = 0x80E5;
int GL_COLOR_INDEX12_EXT = 0x80E6;
int GL_COLOR_INDEX16_EXT = 0x80E7;
/*
* Accepted by the pname parameter of GetColorTableParameterivEXT and
* GetColorTableParameterfvEXT:
*/
public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80D8;
public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80D9;
public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA;
public static final int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB;
public static final int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC;
public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD;
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
int GL_COLOR_TABLE_FORMAT_EXT = 0x80D8;
int GL_COLOR_TABLE_WIDTH_EXT = 0x80D9;
int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA;
int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB;
int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC;
int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD;
int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
/*
* Accepted by the value parameter of GetTexLevelParameter{if}v:
*/
public static final int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED;
int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED;
public 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("GLBufferChecks.calculateImageStorage(data, format, type, width, 1, 1)")
@Const
@GLbyte
@ -74,7 +74,7 @@ public interface EXT_paletted_texture {
@GLfloat
Buffer data);
public 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("GLBufferChecks.calculateImageStorage(data, format, type, count, 1, 1)")
@Const
@GLbyte
@ -83,7 +83,7 @@ public interface EXT_paletted_texture {
@GLfloat
Buffer data);
public void glGetColorTableEXT(@GLenum int target, @GLenum int format, @GLenum int type,
void glGetColorTableEXT(@GLenum int target, @GLenum int format, @GLenum int type,
@Check
@GLbyte
@GLshort
@ -92,7 +92,7 @@ public interface EXT_paletted_texture {
Buffer data);
@StripPostfix("params")
public 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")
public 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

@ -37,13 +37,13 @@ public interface EXT_pixel_buffer_object extends ARB_buffer_object {
* BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
* GetBufferParameteriv, and GetBufferPointerv:
*/
public static final int GL_PIXEL_PACK_BUFFER_EXT = 0x88EB;
public static final int GL_PIXEL_UNPACK_BUFFER_EXT = 0x88EC;
int GL_PIXEL_PACK_BUFFER_EXT = 0x88EB;
int GL_PIXEL_UNPACK_BUFFER_EXT = 0x88EC;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED;
public static final int PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF;
int PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED;
int PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF;
}

View File

@ -36,13 +36,13 @@ import java.nio.FloatBuffer;
import org.lwjgl.generator.*;
public interface EXT_point_parameters {
public static final int GL_POINT_SIZE_MIN_EXT = 0x8126;
public static final int GL_POINT_SIZE_MAX_EXT = 0x8127;
public static final int GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128;
public static final int GL_DISTANCE_ATTENUATION_EXT = 0x8129;
int GL_POINT_SIZE_MIN_EXT = 0x8126;
int GL_POINT_SIZE_MAX_EXT = 0x8127;
int GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128;
int GL_DISTANCE_ATTENUATION_EXT = 0x8129;
public void glPointParameterfEXT(@GLenum int pname, float param);
void glPointParameterfEXT(@GLenum int pname, float param);
@StripPostfix("pfParams")
public void glPointParameterfvEXT(@GLenum int pname, @Check("4") @Const FloatBuffer pfParams);
void glPointParameterfvEXT(@GLenum int pname, @Check("4") @Const FloatBuffer pfParams);
}

View File

@ -32,5 +32,5 @@
package org.lwjgl.opengl;
public interface EXT_rescale_normal {
public static final int GL_RESCALE_NORMAL_EXT = 0x803A;
int GL_RESCALE_NORMAL_EXT = 0x803A;
}

View File

@ -32,27 +32,25 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import org.lwjgl.generator.*;
public interface EXT_secondary_color {
public static final int GL_COLOR_SUM_EXT = 0x8458;
public static final int GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459;
public static final int GL_SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A;
public static final int GL_SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B;
public static final int GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C;
public static final int GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D;
public static final int GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E;
int GL_COLOR_SUM_EXT = 0x8458;
int GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459;
int GL_SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A;
int GL_SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B;
int GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C;
int GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D;
int GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E;
public void glSecondaryColor3bEXT(byte red, byte green, byte blue);
void glSecondaryColor3bEXT(byte red, byte green, byte blue);
public void glSecondaryColor3fEXT(float red, float green, float blue);
void glSecondaryColor3fEXT(float red, float green, float blue);
public void glSecondaryColor3ubEXT(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
void glSecondaryColor3ubEXT(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
public void glSecondaryColorPointerEXT(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
void glSecondaryColorPointerEXT(int size, @AutoType("pPointer") @GLenum int type, @GLsizei int stride,
@BufferObject(BufferKind.ArrayVBO)
@Check
@GLbyte

View File

@ -32,7 +32,7 @@
package org.lwjgl.opengl;
public interface EXT_separate_specular_color {
public static final int GL_SINGLE_COLOR_EXT = 0x81F9;
public static final int GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA;
public static final int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8;
int GL_SINGLE_COLOR_EXT = 0x81F9;
int GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA;
int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8;
}

View File

@ -32,5 +32,5 @@
package org.lwjgl.opengl;
public interface EXT_shared_texture_palette {
public static final int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB;
int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB;
}

View File

@ -34,8 +34,8 @@ package org.lwjgl.opengl;
import org.lwjgl.generator.*;
public interface EXT_stencil_two_side {
public static final int GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910;
public static final int GL_ACTIVE_STENCIL_FACE_EXT = 0x8911;
int GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910;
int GL_ACTIVE_STENCIL_FACE_EXT = 0x8911;
public void glActiveStencilFaceEXT(@GLenum int face);
void glActiveStencilFaceEXT(@GLenum int face);
}

View File

@ -32,6 +32,6 @@
package org.lwjgl.opengl;
public interface EXT_stencil_wrap {
public static final int GL_INCR_WRAP_EXT = 0x8507;
public static final int GL_DECR_WRAP_EXT = 0x8508;
int GL_INCR_WRAP_EXT = 0x8507;
int GL_DECR_WRAP_EXT = 0x8508;
}

View File

@ -35,8 +35,8 @@ import org.lwjgl.generator.*;
@Extension(postfix="EXT", className="EXTTextureCompressionS3TC")
public interface EXT_texture_compression_s3tc {
public static final int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
int GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
}

View File

@ -33,25 +33,25 @@ 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 static final int GL_COMBINE_EXT = 0x8570;
public static final int GL_COMBINE_RGB_EXT = 0x8571;
public static final int GL_COMBINE_ALPHA_EXT = 0x8572;
public static final int GL_SOURCE0_RGB_EXT = 0x8580;
public static final int GL_SOURCE1_RGB_EXT = 0x8581;
public static final int GL_SOURCE2_RGB_EXT = 0x8582;
public static final int GL_SOURCE0_ALPHA_EXT = 0x8588;
public static final int GL_SOURCE1_ALPHA_EXT = 0x8589;
public static final int GL_SOURCE2_ALPHA_EXT = 0x858A;
public static final int GL_OPERAND0_RGB_EXT = 0x8590;
public static final int GL_OPERAND1_RGB_EXT = 0x8591;
public static final int GL_OPERAND2_RGB_EXT = 0x8592;
public static final int GL_OPERAND0_ALPHA_EXT = 0x8598;
public static final int GL_OPERAND1_ALPHA_EXT = 0x8599;
public static final int GL_OPERAND2_ALPHA_EXT = 0x859A;
public static final int GL_RGB_SCALE_EXT = 0x8573;
public static final int GL_ADD_SIGNED_EXT = 0x8574;
public static final int GL_INTERPOLATE_EXT = 0x8575;
public static final int GL_CONSTANT_EXT = 0x8576;
public static final int GL_PRIMARY_COLOR_EXT = 0x8577;
public static final int GL_PREVIOUS_EXT = 0x8578;
int GL_COMBINE_EXT = 0x8570;
int GL_COMBINE_RGB_EXT = 0x8571;
int GL_COMBINE_ALPHA_EXT = 0x8572;
int GL_SOURCE0_RGB_EXT = 0x8580;
int GL_SOURCE1_RGB_EXT = 0x8581;
int GL_SOURCE2_RGB_EXT = 0x8582;
int GL_SOURCE0_ALPHA_EXT = 0x8588;
int GL_SOURCE1_ALPHA_EXT = 0x8589;
int GL_SOURCE2_ALPHA_EXT = 0x858A;
int GL_OPERAND0_RGB_EXT = 0x8590;
int GL_OPERAND1_RGB_EXT = 0x8591;
int GL_OPERAND2_RGB_EXT = 0x8592;
int GL_OPERAND0_ALPHA_EXT = 0x8598;
int GL_OPERAND1_ALPHA_EXT = 0x8599;
int GL_OPERAND2_ALPHA_EXT = 0x859A;
int GL_RGB_SCALE_EXT = 0x8573;
int GL_ADD_SIGNED_EXT = 0x8574;
int GL_INTERPOLATE_EXT = 0x8575;
int GL_CONSTANT_EXT = 0x8576;
int GL_PRIMARY_COLOR_EXT = 0x8577;
int GL_PREVIOUS_EXT = 0x8578;
}

View File

@ -32,6 +32,6 @@
package org.lwjgl.opengl;
public interface EXT_texture_env_dot3 {
public static final int GL_DOT3_RGB_EXT = 0x8740;
public static final int GL_DOT3_RGBA_EXT = 0x8741;
int GL_DOT3_RGB_EXT = 0x8740;
int GL_DOT3_RGBA_EXT = 0x8741;
}

View File

@ -32,6 +32,6 @@
package org.lwjgl.opengl;
public interface EXT_texture_filter_anisotropic {
public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
}

View File

@ -35,7 +35,7 @@ import org.lwjgl.generator.*;
@Extension(postfix="EXT", className="EXTTextureLODBias")
public interface EXT_texture_lod_bias {
public static final int GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500;
public static final int GL_TEXTURE_LOD_BIAS_EXT = 0x8501;
public static final int GL_MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD;
int GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500;
int GL_TEXTURE_LOD_BIAS_EXT = 0x8501;
int GL_MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD;
}

View File

@ -38,7 +38,7 @@ public interface EXT_texture_mirror_clamp {
* when their <pname> parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T,
* or TEXTURE_WRAP_R:
*/
public static final int GL_MIRROR_CLAMP_EXT = 0x8742;
public static final int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
public static final int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;
int GL_MIRROR_CLAMP_EXT = 0x8742;
int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;
}

View File

@ -32,8 +32,8 @@
package org.lwjgl.opengl;
public interface EXT_texture_rectangle {
public static final int GL_TEXTURE_RECTANGLE_EXT = 0x84F5;
public static final int GL_TEXTURE_BINDING_RECTANGLE_EXT = 0x84F6;
public static final int GL_PROXY_TEXTURE_RECTANGLE_EXT = 0x84F7;
public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT = 0x84F8;
int GL_TEXTURE_RECTANGLE_EXT = 0x84F5;
int GL_TEXTURE_BINDING_RECTANGLE_EXT = 0x84F6;
int GL_PROXY_TEXTURE_RECTANGLE_EXT = 0x84F7;
int GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT = 0x84F8;
}

View File

@ -40,144 +40,144 @@ import java.nio.ShortBuffer;
import org.lwjgl.generator.*;
public interface EXT_vertex_shader {
public static final int GL_VERTEX_SHADER_EXT = 0x8780;
public static final int GL_VERTEX_SHADER_BINDING_EXT = 0x8781;
public static final int GL_OP_INDEX_EXT = 0x8782;
public static final int GL_OP_NEGATE_EXT = 0x8783;
public static final int GL_OP_DOT3_EXT = 0x8784;
public static final int GL_OP_DOT4_EXT = 0x8785;
public static final int GL_OP_MUL_EXT = 0x8786;
public static final int GL_OP_ADD_EXT = 0x8787;
public static final int GL_OP_MADD_EXT = 0x8788;
public static final int GL_OP_FRAC_EXT = 0x8789;
public static final int GL_OP_MAX_EXT = 0x878A;
public static final int GL_OP_MIN_EXT = 0x878B;
public static final int GL_OP_SET_GE_EXT = 0x878C;
public static final int GL_OP_SET_LT_EXT = 0x878D;
public static final int GL_OP_CLAMP_EXT = 0x878E;
public static final int GL_OP_FLOOR_EXT = 0x878F;
public static final int GL_OP_ROUND_EXT = 0x8790;
public static final int GL_OP_EXP_BASE_2_EXT = 0x8791;
public static final int GL_OP_LOG_BASE_2_EXT = 0x8792;
public static final int GL_OP_POWER_EXT = 0x8793;
public static final int GL_OP_RECIP_EXT = 0x8794;
public static final int GL_OP_RECIP_SQRT_EXT = 0x8795;
public static final int GL_OP_SUB_EXT = 0x8796;
public static final int GL_OP_CROSS_PRODUCT_EXT = 0x8797;
public static final int GL_OP_MULTIPLY_MATRIX_EXT = 0x8798;
public static final int GL_OP_MOV_EXT = 0x8799;
public static final int GL_OUTPUT_VERTEX_EXT = 0x879A;
public static final int GL_OUTPUT_COLOR0_EXT = 0x879B;
public static final int GL_OUTPUT_COLOR1_EXT = 0x879C;
public static final int GL_OUTPUT_TEXTURE_COORD0_EXT = 0x879D;
public static final int GL_OUTPUT_TEXTURE_COORD1_EXT = 0x879E;
public static final int GL_OUTPUT_TEXTURE_COORD2_EXT = 0x879F;
public static final int GL_OUTPUT_TEXTURE_COORD3_EXT = 0x87A0;
public static final int GL_OUTPUT_TEXTURE_COORD4_EXT = 0x87A1;
public static final int GL_OUTPUT_TEXTURE_COORD5_EXT = 0x87A2;
public static final int GL_OUTPUT_TEXTURE_COORD6_EXT = 0x87A3;
public static final int GL_OUTPUT_TEXTURE_COORD7_EXT = 0x87A4;
public static final int GL_OUTPUT_TEXTURE_COORD8_EXT = 0x87A5;
public static final int GL_OUTPUT_TEXTURE_COORD9_EXT = 0x87A6;
public static final int GL_OUTPUT_TEXTURE_COORD10_EXT = 0x87A7;
public static final int GL_OUTPUT_TEXTURE_COORD11_EXT = 0x87A8;
public static final int GL_OUTPUT_TEXTURE_COORD12_EXT = 0x87A9;
public static final int GL_OUTPUT_TEXTURE_COORD13_EXT = 0x87AA;
public static final int GL_OUTPUT_TEXTURE_COORD14_EXT = 0x87AB;
public static final int GL_OUTPUT_TEXTURE_COORD15_EXT = 0x87AC;
public static final int GL_OUTPUT_TEXTURE_COORD16_EXT = 0x87AD;
public static final int GL_OUTPUT_TEXTURE_COORD17_EXT = 0x87AE;
public static final int GL_OUTPUT_TEXTURE_COORD18_EXT = 0x87AF;
public static final int GL_OUTPUT_TEXTURE_COORD19_EXT = 0x87B0;
public static final int GL_OUTPUT_TEXTURE_COORD20_EXT = 0x87B1;
public static final int GL_OUTPUT_TEXTURE_COORD21_EXT = 0x87B2;
public static final int GL_OUTPUT_TEXTURE_COORD22_EXT = 0x87B3;
public static final int GL_OUTPUT_TEXTURE_COORD23_EXT = 0x87B4;
public static final int GL_OUTPUT_TEXTURE_COORD24_EXT = 0x87B5;
public static final int GL_OUTPUT_TEXTURE_COORD25_EXT = 0x87B6;
public static final int GL_OUTPUT_TEXTURE_COORD26_EXT = 0x87B7;
public static final int GL_OUTPUT_TEXTURE_COORD27_EXT = 0x87B8;
public static final int GL_OUTPUT_TEXTURE_COORD28_EXT = 0x87B9;
public static final int GL_OUTPUT_TEXTURE_COORD29_EXT = 0x87BA;
public static final int GL_OUTPUT_TEXTURE_COORD30_EXT = 0x87BB;
public static final int GL_OUTPUT_TEXTURE_COORD31_EXT = 0x87BC;
public static final int GL_OUTPUT_FOG_EXT = 0x87BD;
public static final int GL_SCALAR_EXT = 0x87BE;
public static final int GL_VECTOR_EXT = 0x87BF;
public static final int GL_MATRIX_EXT = 0x87C0;
public static final int GL_VARIANT_EXT = 0x87C1;
public static final int GL_INVARIANT_EXT = 0x87C2;
public static final int GL_LOCAL_CONSTANT_EXT = 0x87C3;
public static final int GL_LOCAL_EXT = 0x87C4;
public static final int GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87C5;
public static final int GL_MAX_VERTEX_SHADER_VARIANTS_EXT = 0x87C6;
public static final int GL_MAX_VERTEX_SHADER_INVARIANTS_EXT = 0x87C7;
public static final int GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87C8;
public static final int GL_MAX_VERTEX_SHADER_LOCALS_EXT = 0x87C9;
public static final int GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CA;
public static final int GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT = 0x87CB;
public static final int GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT = 0x87CC;
public static final int GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87CD;
public static final int GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT = 0x87CE;
public static final int GL_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CF;
public static final int GL_VERTEX_SHADER_VARIANTS_EXT = 0x87D0;
public static final int GL_VERTEX_SHADER_INVARIANTS_EXT = 0x87D1;
public static final int GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87D2;
public static final int GL_VERTEX_SHADER_LOCALS_EXT = 0x87D3;
public static final int GL_VERTEX_SHADER_OPTIMIZED_EXT = 0x87D4;
public static final int GL_X_EXT = 0x87D5;
public static final int GL_Y_EXT = 0x87D6;
public static final int GL_Z_EXT = 0x87D7;
public static final int GL_W_EXT = 0x87D8;
public static final int GL_NEGATIVE_X_EXT = 0x87D9;
public static final int GL_NEGATIVE_Y_EXT = 0x87DA;
public static final int GL_NEGATIVE_Z_EXT = 0x87DB;
public static final int GL_NEGATIVE_W_EXT = 0x87DC;
public static final int GL_ZERO_EXT = 0x87DD;
public static final int GL_ONE_EXT = 0x87DE;
public static final int GL_NEGATIVE_ONE_EXT = 0x87DF;
public static final int GL_NORMALIZED_RANGE_EXT = 0x87E0;
public static final int GL_FULL_RANGE_EXT = 0x87E1;
public static final int GL_CURRENT_VERTEX_EXT = 0x87E2;
public static final int GL_MVP_MATRIX_EXT = 0x87E3;
public static final int GL_VARIANT_VALUE_EXT = 0x87E4;
public static final int GL_VARIANT_DATATYPE_EXT = 0x87E5;
public static final int GL_VARIANT_ARRAY_STRIDE_EXT = 0x87E6;
public static final int GL_VARIANT_ARRAY_TYPE_EXT = 0x87E7;
public static final int GL_VARIANT_ARRAY_EXT = 0x87E8;
public static final int GL_VARIANT_ARRAY_POINTER_EXT = 0x87E9;
public static final int GL_INVARIANT_VALUE_EXT = 0x87EA;
public static final int GL_INVARIANT_DATATYPE_EXT = 0x87EB;
public static final int GL_LOCAL_CONSTANT_VALUE_EXT = 0x87EC;
public static final int GL_LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED;
int GL_VERTEX_SHADER_EXT = 0x8780;
int GL_VERTEX_SHADER_BINDING_EXT = 0x8781;
int GL_OP_INDEX_EXT = 0x8782;
int GL_OP_NEGATE_EXT = 0x8783;
int GL_OP_DOT3_EXT = 0x8784;
int GL_OP_DOT4_EXT = 0x8785;
int GL_OP_MUL_EXT = 0x8786;
int GL_OP_ADD_EXT = 0x8787;
int GL_OP_MADD_EXT = 0x8788;
int GL_OP_FRAC_EXT = 0x8789;
int GL_OP_MAX_EXT = 0x878A;
int GL_OP_MIN_EXT = 0x878B;
int GL_OP_SET_GE_EXT = 0x878C;
int GL_OP_SET_LT_EXT = 0x878D;
int GL_OP_CLAMP_EXT = 0x878E;
int GL_OP_FLOOR_EXT = 0x878F;
int GL_OP_ROUND_EXT = 0x8790;
int GL_OP_EXP_BASE_2_EXT = 0x8791;
int GL_OP_LOG_BASE_2_EXT = 0x8792;
int GL_OP_POWER_EXT = 0x8793;
int GL_OP_RECIP_EXT = 0x8794;
int GL_OP_RECIP_SQRT_EXT = 0x8795;
int GL_OP_SUB_EXT = 0x8796;
int GL_OP_CROSS_PRODUCT_EXT = 0x8797;
int GL_OP_MULTIPLY_MATRIX_EXT = 0x8798;
int GL_OP_MOV_EXT = 0x8799;
int GL_OUTPUT_VERTEX_EXT = 0x879A;
int GL_OUTPUT_COLOR0_EXT = 0x879B;
int GL_OUTPUT_COLOR1_EXT = 0x879C;
int GL_OUTPUT_TEXTURE_COORD0_EXT = 0x879D;
int GL_OUTPUT_TEXTURE_COORD1_EXT = 0x879E;
int GL_OUTPUT_TEXTURE_COORD2_EXT = 0x879F;
int GL_OUTPUT_TEXTURE_COORD3_EXT = 0x87A0;
int GL_OUTPUT_TEXTURE_COORD4_EXT = 0x87A1;
int GL_OUTPUT_TEXTURE_COORD5_EXT = 0x87A2;
int GL_OUTPUT_TEXTURE_COORD6_EXT = 0x87A3;
int GL_OUTPUT_TEXTURE_COORD7_EXT = 0x87A4;
int GL_OUTPUT_TEXTURE_COORD8_EXT = 0x87A5;
int GL_OUTPUT_TEXTURE_COORD9_EXT = 0x87A6;
int GL_OUTPUT_TEXTURE_COORD10_EXT = 0x87A7;
int GL_OUTPUT_TEXTURE_COORD11_EXT = 0x87A8;
int GL_OUTPUT_TEXTURE_COORD12_EXT = 0x87A9;
int GL_OUTPUT_TEXTURE_COORD13_EXT = 0x87AA;
int GL_OUTPUT_TEXTURE_COORD14_EXT = 0x87AB;
int GL_OUTPUT_TEXTURE_COORD15_EXT = 0x87AC;
int GL_OUTPUT_TEXTURE_COORD16_EXT = 0x87AD;
int GL_OUTPUT_TEXTURE_COORD17_EXT = 0x87AE;
int GL_OUTPUT_TEXTURE_COORD18_EXT = 0x87AF;
int GL_OUTPUT_TEXTURE_COORD19_EXT = 0x87B0;
int GL_OUTPUT_TEXTURE_COORD20_EXT = 0x87B1;
int GL_OUTPUT_TEXTURE_COORD21_EXT = 0x87B2;
int GL_OUTPUT_TEXTURE_COORD22_EXT = 0x87B3;
int GL_OUTPUT_TEXTURE_COORD23_EXT = 0x87B4;
int GL_OUTPUT_TEXTURE_COORD24_EXT = 0x87B5;
int GL_OUTPUT_TEXTURE_COORD25_EXT = 0x87B6;
int GL_OUTPUT_TEXTURE_COORD26_EXT = 0x87B7;
int GL_OUTPUT_TEXTURE_COORD27_EXT = 0x87B8;
int GL_OUTPUT_TEXTURE_COORD28_EXT = 0x87B9;
int GL_OUTPUT_TEXTURE_COORD29_EXT = 0x87BA;
int GL_OUTPUT_TEXTURE_COORD30_EXT = 0x87BB;
int GL_OUTPUT_TEXTURE_COORD31_EXT = 0x87BC;
int GL_OUTPUT_FOG_EXT = 0x87BD;
int GL_SCALAR_EXT = 0x87BE;
int GL_VECTOR_EXT = 0x87BF;
int GL_MATRIX_EXT = 0x87C0;
int GL_VARIANT_EXT = 0x87C1;
int GL_INVARIANT_EXT = 0x87C2;
int GL_LOCAL_CONSTANT_EXT = 0x87C3;
int GL_LOCAL_EXT = 0x87C4;
int GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87C5;
int GL_MAX_VERTEX_SHADER_VARIANTS_EXT = 0x87C6;
int GL_MAX_VERTEX_SHADER_INVARIANTS_EXT = 0x87C7;
int GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87C8;
int GL_MAX_VERTEX_SHADER_LOCALS_EXT = 0x87C9;
int GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CA;
int GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT = 0x87CB;
int GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT = 0x87CC;
int GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87CD;
int GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT = 0x87CE;
int GL_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CF;
int GL_VERTEX_SHADER_VARIANTS_EXT = 0x87D0;
int GL_VERTEX_SHADER_INVARIANTS_EXT = 0x87D1;
int GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87D2;
int GL_VERTEX_SHADER_LOCALS_EXT = 0x87D3;
int GL_VERTEX_SHADER_OPTIMIZED_EXT = 0x87D4;
int GL_X_EXT = 0x87D5;
int GL_Y_EXT = 0x87D6;
int GL_Z_EXT = 0x87D7;
int GL_W_EXT = 0x87D8;
int GL_NEGATIVE_X_EXT = 0x87D9;
int GL_NEGATIVE_Y_EXT = 0x87DA;
int GL_NEGATIVE_Z_EXT = 0x87DB;
int GL_NEGATIVE_W_EXT = 0x87DC;
int GL_ZERO_EXT = 0x87DD;
int GL_ONE_EXT = 0x87DE;
int GL_NEGATIVE_ONE_EXT = 0x87DF;
int GL_NORMALIZED_RANGE_EXT = 0x87E0;
int GL_FULL_RANGE_EXT = 0x87E1;
int GL_CURRENT_VERTEX_EXT = 0x87E2;
int GL_MVP_MATRIX_EXT = 0x87E3;
int GL_VARIANT_VALUE_EXT = 0x87E4;
int GL_VARIANT_DATATYPE_EXT = 0x87E5;
int GL_VARIANT_ARRAY_STRIDE_EXT = 0x87E6;
int GL_VARIANT_ARRAY_TYPE_EXT = 0x87E7;
int GL_VARIANT_ARRAY_EXT = 0x87E8;
int GL_VARIANT_ARRAY_POINTER_EXT = 0x87E9;
int GL_INVARIANT_VALUE_EXT = 0x87EA;
int GL_INVARIANT_DATATYPE_EXT = 0x87EB;
int GL_LOCAL_CONSTANT_VALUE_EXT = 0x87EC;
int GL_LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED;
public void glBeginVertexShaderEXT();
void glBeginVertexShaderEXT();
public void glEndVertexShaderEXT();
void glEndVertexShaderEXT();
public void glBindVertexShaderEXT(@GLuint int id);
void glBindVertexShaderEXT(@GLuint int id);
public @GLuint int glGenVertexShadersEXT(@GLuint int range);
@GLuint int glGenVertexShadersEXT(@GLuint int range);
public void glDeleteVertexShaderEXT(@GLuint int id);
void glDeleteVertexShaderEXT(@GLuint int id);
public void glShaderOp1EXT(@GLenum int op, @GLuint int res, @GLuint int arg1);
void glShaderOp1EXT(@GLenum int op, @GLuint int res, @GLuint int arg1);
public void glShaderOp2EXT(@GLenum int op, @GLuint int res, @GLuint int arg1, @GLuint int arg2);
void glShaderOp2EXT(@GLenum int op, @GLuint int res, @GLuint int arg1, @GLuint int arg2);
public void glShaderOp3EXT(@GLenum int op, @GLuint int res, @GLuint int arg1, @GLuint int arg2, @GLuint int arg3);
void glShaderOp3EXT(@GLenum int op, @GLuint int res, @GLuint int arg1, @GLuint int arg2, @GLuint int arg3);
public void glSwizzleEXT(@GLuint int res, @GLuint int in, @GLenum int outX, @GLenum int outY, @GLenum int outZ, @GLenum int outW);
void glSwizzleEXT(@GLuint int res, @GLuint int in, @GLenum int outX, @GLenum int outY, @GLenum int outZ, @GLenum int outW);
public void glWriteMaskEXT(@GLuint int res, @GLuint int in, @GLenum int outX, @GLenum int outY, @GLenum int outZ, @GLenum int outW);
void glWriteMaskEXT(@GLuint int res, @GLuint int in, @GLenum int outX, @GLenum int outY, @GLenum int outZ, @GLenum int outW);
public void glInsertComponentEXT(@GLuint int res, @GLuint int src, @GLuint int num);
void glInsertComponentEXT(@GLuint int res, @GLuint int src, @GLuint int num);
public void glExtractComponentEXT(@GLuint int res, @GLuint int src, @GLuint int num);
void glExtractComponentEXT(@GLuint int res, @GLuint int src, @GLuint int num);
public @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);
public void glSetInvariantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
void glSetInvariantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
@Check("4")
@GLbyte
@GLubyte
@ -188,7 +188,7 @@ public interface EXT_vertex_shader {
@GLfloat
Buffer pAddr);
public void glSetLocalConstantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
void glSetLocalConstantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type,
@Check("4")
@GLbyte
@GLubyte
@ -200,22 +200,22 @@ public interface EXT_vertex_shader {
Buffer pAddr);
@StripPostfix("pAddr")
public void glVariantbvEXT(@GLuint int id, @Check("4") ByteBuffer pAddr);
void glVariantbvEXT(@GLuint int id, @Check("4") ByteBuffer pAddr);
@StripPostfix("pAddr")
public void glVariantsvEXT(@GLuint int id, @Check("4") ShortBuffer pAddr);
void glVariantsvEXT(@GLuint int id, @Check("4") ShortBuffer pAddr);
@StripPostfix("pAddr")
public void glVariantivEXT(@GLuint int id, @Check("4") IntBuffer pAddr);
void glVariantivEXT(@GLuint int id, @Check("4") IntBuffer pAddr);
@StripPostfix("pAddr")
public void glVariantfvEXT(@GLuint int id, @Check("4") FloatBuffer pAddr);
void glVariantfvEXT(@GLuint int id, @Check("4") FloatBuffer pAddr);
@StripPostfix("pAddr")
public void glVariantubvEXT(@GLuint int id, @Check("4") @GLubyte ByteBuffer pAddr);
void glVariantubvEXT(@GLuint int id, @Check("4") @GLubyte ByteBuffer pAddr);
@StripPostfix("pAddr")
public void glVariantusvEXT(@GLuint int id, @Check("4") @GLushort ShortBuffer pAddr);
void glVariantusvEXT(@GLuint int id, @Check("4") @GLushort ShortBuffer pAddr);
@StripPostfix("pAddr")
public void glVariantuivEXT(@GLuint int id, @Check("4") @GLuint IntBuffer pAddr);
void glVariantuivEXT(@GLuint int id, @Check("4") @GLuint IntBuffer pAddr);
public 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,
@BufferObject(BufferKind.ArrayVBO)
@Check
@GLbyte
@ -227,42 +227,42 @@ public interface EXT_vertex_shader {
@GLfloat
Buffer pAddr);
public void glEnableVariantClientStateEXT(@GLuint int id);
void glEnableVariantClientStateEXT(@GLuint int id);
public void glDisableVariantClientStateEXT(@GLuint int id);
void glDisableVariantClientStateEXT(@GLuint int id);
public @GLuint int glBindLightParameterEXT(@GLenum int light, @GLenum int value);
@GLuint int glBindLightParameterEXT(@GLenum int light, @GLenum int value);
public @GLuint int glBindMaterialParameterEXT(@GLenum int face, @GLenum int value);
@GLuint int glBindMaterialParameterEXT(@GLenum int face, @GLenum int value);
public @GLuint int glBindTexGenParameterEXT(@GLenum int unit, @GLenum int coord, @GLenum int value);
@GLuint int glBindTexGenParameterEXT(@GLenum int unit, @GLenum int coord, @GLenum int value);
public @GLuint int glBindTextureUnitParameterEXT(@GLenum int unit, @GLenum int value);
@GLuint int glBindTextureUnitParameterEXT(@GLenum int unit, @GLenum int value);
public @GLuint int glBindParameterEXT(@GLenum int value);
@GLuint int glBindParameterEXT(@GLenum int value);
public boolean glIsVariantEnabledEXT(@GLuint int id, @GLenum int cap);
boolean glIsVariantEnabledEXT(@GLuint int id, @GLenum int cap);
@StripPostfix("pbData")
public 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")
public 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")
public 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")
public 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")
public 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")
public 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")
public 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")
public 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")
public 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")
public 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

@ -32,28 +32,27 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.FloatBuffer;
import org.lwjgl.generator.*;
public interface EXT_vertex_weighting {
public static final int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3;
public static final int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502;
public static final int GL_MODELVIEW0_MATRIX_EXT = 0x0BA6;
public static final int GL_MODELVIEW1_MATRIX_EXT = 0x8506;
public static final int GL_VERTEX_WEIGHTING_EXT = 0x8509;
public static final int GL_MODELVIEW0_EXT = 0x1700;
public static final int GL_MODELVIEW1_EXT = 0x850A;
public static final int GL_CURRENT_VERTEX_WEIGHT_EXT = 0x850B;
public static final int GL_VERTEX_WEIGHT_ARRAY_EXT = 0x850C;
public static final int GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D;
public static final int GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E;
public static final int GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F;
public static final int GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510;
int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3;
int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502;
int GL_MODELVIEW0_MATRIX_EXT = 0x0BA6;
int GL_MODELVIEW1_MATRIX_EXT = 0x8506;
int GL_VERTEX_WEIGHTING_EXT = 0x8509;
int GL_MODELVIEW0_EXT = 0x1700;
int GL_MODELVIEW1_EXT = 0x850A;
int GL_CURRENT_VERTEX_WEIGHT_EXT = 0x850B;
int GL_VERTEX_WEIGHT_ARRAY_EXT = 0x850C;
int GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D;
int GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E;
int GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F;
int GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510;
public void glVertexWeightfEXT(float weight);
void glVertexWeightfEXT(float weight);
public 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,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const

File diff suppressed because it is too large Load Diff

View File

@ -32,16 +32,9 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.generator.*;
import org.lwjgl.BufferChecks;
import org.lwjgl.LWJGLException;
/**
* $Id$
* <p/>
@ -53,47 +46,47 @@ import org.lwjgl.LWJGLException;
public interface GL12 {
/* Error codes */
public static final int GL_TABLE_TOO_LARGE = 0x8031;
int GL_TABLE_TOO_LARGE = 0x8031;
/* Enums */
public static final int GL_PACK_SKIP_IMAGES = 0x806B;
public static final int GL_PACK_IMAGE_HEIGHT = 0x806C;
public static final int GL_UNPACK_SKIP_IMAGES = 0x806D;
public static final int GL_UNPACK_IMAGE_HEIGHT = 0x806E;
public static final int GL_TEXTURE_3D = 0x806F;
public static final int GL_PROXY_TEXTURE_3D = 0x8070;
public static final int GL_TEXTURE_DEPTH = 0x8071;
public static final int GL_TEXTURE_WRAP_R = 0x8072;
public static final int GL_MAX_3D_TEXTURE_SIZE = 0x8073;
public static final int GL_BGR = 0x80E0;
public static final int GL_BGRA = 0x80E1;
public static final int GL_UNSIGNED_BYTE_3_3_2 = 0x8032;
public static final int GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362;
public static final int GL_UNSIGNED_SHORT_5_6_5 = 0x8363;
public static final int GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364;
public static final int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033;
public static final int GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365;
public static final int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034;
public static final int GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366;
public static final int GL_UNSIGNED_INT_8_8_8_8 = 0x8035;
public static final int GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367;
public static final int GL_UNSIGNED_INT_10_10_10_2 = 0x8036;
public static final int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368;
public static final int GL_RESCALE_NORMAL = 0x803A;
public static final int GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8;
public static final int GL_SINGLE_COLOR = 0x81F9;
public static final int GL_SEPARATE_SPECULAR_COLOR = 0x81FA;
public static final int GL_CLAMP_TO_EDGE = 0x812F;
public static final int GL_TEXTURE_MIN_LOD = 0x813A;
public static final int GL_TEXTURE_MAX_LOD = 0x813B;
public static final int GL_TEXTURE_BASE_LEVEL = 0x813C;
public static final int GL_TEXTURE_MAX_LEVEL = 0x813D;
public static final int GL_MAX_ELEMENTS_VERTICES = 0x80E8;
public static final int GL_MAX_ELEMENTS_INDICES = 0x80E9;
public static final int GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
public static final int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
int GL_PACK_SKIP_IMAGES = 0x806B;
int GL_PACK_IMAGE_HEIGHT = 0x806C;
int GL_UNPACK_SKIP_IMAGES = 0x806D;
int GL_UNPACK_IMAGE_HEIGHT = 0x806E;
int GL_TEXTURE_3D = 0x806F;
int GL_PROXY_TEXTURE_3D = 0x8070;
int GL_TEXTURE_DEPTH = 0x8071;
int GL_TEXTURE_WRAP_R = 0x8072;
int GL_MAX_3D_TEXTURE_SIZE = 0x8073;
int GL_BGR = 0x80E0;
int GL_BGRA = 0x80E1;
int GL_UNSIGNED_BYTE_3_3_2 = 0x8032;
int GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362;
int GL_UNSIGNED_SHORT_5_6_5 = 0x8363;
int GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364;
int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033;
int GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365;
int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034;
int GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366;
int GL_UNSIGNED_INT_8_8_8_8 = 0x8035;
int GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367;
int GL_UNSIGNED_INT_10_10_10_2 = 0x8036;
int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368;
int GL_RESCALE_NORMAL = 0x803A;
int GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8;
int GL_SINGLE_COLOR = 0x81F9;
int GL_SEPARATE_SPECULAR_COLOR = 0x81FA;
int GL_CLAMP_TO_EDGE = 0x812F;
int GL_TEXTURE_MIN_LOD = 0x813A;
int GL_TEXTURE_MAX_LOD = 0x813B;
int GL_TEXTURE_BASE_LEVEL = 0x813C;
int GL_TEXTURE_MAX_LEVEL = 0x813D;
int GL_MAX_ELEMENTS_VERTICES = 0x80E8;
int GL_MAX_ELEMENTS_INDICES = 0x80E9;
int GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
public 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")
@GLenum
int type,
@ -103,8 +96,8 @@ public interface GL12 {
@GLushort
@GLuint
Buffer indices);
public 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)
@Check(value="GLBufferChecks.calculateTexImage3DStorage(pixels, format, type, width, height, depth, border)", canBeNull=true)
@Const
@ -114,7 +107,7 @@ public interface GL12 {
@GLfloat
Buffer pixels);
public 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)
@Check("GLBufferChecks.calculateImageStorage(pixels, format, type, width, height, depth)")
@Const
@ -123,6 +116,6 @@ public interface GL12 {
@GLint
@GLfloat
Buffer pixels);
public 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

@ -32,14 +32,9 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.generator.*;
import org.lwjgl.LWJGLException;
import org.lwjgl.BufferChecks;
/**
* $Id$
@ -50,112 +45,112 @@ import org.lwjgl.BufferChecks;
* @version $Revision$
*/
public interface GL13 {
public static final int GL_TEXTURE0 = 0x84C0;
public static final int GL_TEXTURE1 = 0x84C1;
public static final int GL_TEXTURE2 = 0x84C2;
public static final int GL_TEXTURE3 = 0x84C3;
public static final int GL_TEXTURE4 = 0x84C4;
public static final int GL_TEXTURE5 = 0x84C5;
public static final int GL_TEXTURE6 = 0x84C6;
public static final int GL_TEXTURE7 = 0x84C7;
public static final int GL_TEXTURE8 = 0x84C8;
public static final int GL_TEXTURE9 = 0x84C9;
public static final int GL_TEXTURE10 = 0x84CA;
public static final int GL_TEXTURE11 = 0x84CB;
public static final int GL_TEXTURE12 = 0x84CC;
public static final int GL_TEXTURE13 = 0x84CD;
public static final int GL_TEXTURE14 = 0x84CE;
public static final int GL_TEXTURE15 = 0x84CF;
public static final int GL_TEXTURE16 = 0x84D0;
public static final int GL_TEXTURE17 = 0x84D1;
public static final int GL_TEXTURE18 = 0x84D2;
public static final int GL_TEXTURE19 = 0x84D3;
public static final int GL_TEXTURE20 = 0x84D4;
public static final int GL_TEXTURE21 = 0x84D5;
public static final int GL_TEXTURE22 = 0x84D6;
public static final int GL_TEXTURE23 = 0x84D7;
public static final int GL_TEXTURE24 = 0x84D8;
public static final int GL_TEXTURE25 = 0x84D9;
public static final int GL_TEXTURE26 = 0x84DA;
public static final int GL_TEXTURE27 = 0x84DB;
public static final int GL_TEXTURE28 = 0x84DC;
public static final int GL_TEXTURE29 = 0x84DD;
public static final int GL_TEXTURE30 = 0x84DE;
public static final int GL_TEXTURE31 = 0x84DF;
public static final int GL_ACTIVE_TEXTURE = 0x84E0;
public static final int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1;
public static final int GL_MAX_TEXTURE_UNITS = 0x84E2;
int GL_TEXTURE0 = 0x84C0;
int GL_TEXTURE1 = 0x84C1;
int GL_TEXTURE2 = 0x84C2;
int GL_TEXTURE3 = 0x84C3;
int GL_TEXTURE4 = 0x84C4;
int GL_TEXTURE5 = 0x84C5;
int GL_TEXTURE6 = 0x84C6;
int GL_TEXTURE7 = 0x84C7;
int GL_TEXTURE8 = 0x84C8;
int GL_TEXTURE9 = 0x84C9;
int GL_TEXTURE10 = 0x84CA;
int GL_TEXTURE11 = 0x84CB;
int GL_TEXTURE12 = 0x84CC;
int GL_TEXTURE13 = 0x84CD;
int GL_TEXTURE14 = 0x84CE;
int GL_TEXTURE15 = 0x84CF;
int GL_TEXTURE16 = 0x84D0;
int GL_TEXTURE17 = 0x84D1;
int GL_TEXTURE18 = 0x84D2;
int GL_TEXTURE19 = 0x84D3;
int GL_TEXTURE20 = 0x84D4;
int GL_TEXTURE21 = 0x84D5;
int GL_TEXTURE22 = 0x84D6;
int GL_TEXTURE23 = 0x84D7;
int GL_TEXTURE24 = 0x84D8;
int GL_TEXTURE25 = 0x84D9;
int GL_TEXTURE26 = 0x84DA;
int GL_TEXTURE27 = 0x84DB;
int GL_TEXTURE28 = 0x84DC;
int GL_TEXTURE29 = 0x84DD;
int GL_TEXTURE30 = 0x84DE;
int GL_TEXTURE31 = 0x84DF;
int GL_ACTIVE_TEXTURE = 0x84E0;
int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1;
int GL_MAX_TEXTURE_UNITS = 0x84E2;
public static final int GL_NORMAL_MAP = 0x8511;
public static final int GL_REFLECTION_MAP = 0x8512;
public static final int GL_TEXTURE_CUBE_MAP = 0x8513;
public static final int GL_TEXTURE_BINDING_CUBE_MAP = 0x8514;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
public static final int GL_PROXY_TEXTURE_CUBE_MAP = 0x851B;
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
int GL_NORMAL_MAP = 0x8511;
int GL_REFLECTION_MAP = 0x8512;
int GL_TEXTURE_CUBE_MAP = 0x8513;
int GL_TEXTURE_BINDING_CUBE_MAP = 0x8514;
int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
int GL_PROXY_TEXTURE_CUBE_MAP = 0x851B;
int GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
public static final int GL_COMPRESSED_ALPHA = 0x84E9;
public static final int GL_COMPRESSED_LUMINANCE = 0x84EA;
public static final int GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB;
public static final int GL_COMPRESSED_INTENSITY = 0x84EC;
public static final int GL_COMPRESSED_RGB = 0x84ED;
public static final int GL_COMPRESSED_RGBA = 0x84EE;
public static final int GL_TEXTURE_COMPRESSION_HINT = 0x84EF;
public static final int GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0;
public static final int GL_TEXTURE_COMPRESSED = 0x86A1;
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
public static final int GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3;
int GL_COMPRESSED_ALPHA = 0x84E9;
int GL_COMPRESSED_LUMINANCE = 0x84EA;
int GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB;
int GL_COMPRESSED_INTENSITY = 0x84EC;
int GL_COMPRESSED_RGB = 0x84ED;
int GL_COMPRESSED_RGBA = 0x84EE;
int GL_TEXTURE_COMPRESSION_HINT = 0x84EF;
int GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0;
int GL_TEXTURE_COMPRESSED = 0x86A1;
int GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
int GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3;
public static final int GL_MULTISAMPLE = 0x809D;
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
public static final int GL_SAMPLE_ALPHA_TO_ONE = 0x809F;
public static final int GL_SAMPLE_COVERAGE = 0x80A0;
public static final int GL_SAMPLE_BUFFERS = 0x80A8;
public static final int GL_SAMPLES = 0x80A9;
public static final int GL_SAMPLE_COVERAGE_VALUE = 0x80AA;
public static final int GL_SAMPLE_COVERAGE_INVERT = 0x80AB;
public static final int GL_MULTISAMPLE_BIT = 0x20000000;
int GL_MULTISAMPLE = 0x809D;
int GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
int GL_SAMPLE_ALPHA_TO_ONE = 0x809F;
int GL_SAMPLE_COVERAGE = 0x80A0;
int GL_SAMPLE_BUFFERS = 0x80A8;
int GL_SAMPLES = 0x80A9;
int GL_SAMPLE_COVERAGE_VALUE = 0x80AA;
int GL_SAMPLE_COVERAGE_INVERT = 0x80AB;
int GL_MULTISAMPLE_BIT = 0x20000000;
public static final int GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3;
public static final int GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4;
public static final int GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5;
public static final int GL_TRANSPOSE_COLOR_MATRIX = 0x84E6;
int GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3;
int GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4;
int GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5;
int GL_TRANSPOSE_COLOR_MATRIX = 0x84E6;
public static final int GL_COMBINE = 0x8570;
public static final int GL_COMBINE_RGB = 0x8571;
public static final int GL_COMBINE_ALPHA = 0x8572;
public static final int GL_SOURCE0_RGB = 0x8580;
public static final int GL_SOURCE1_RGB = 0x8581;
public static final int GL_SOURCE2_RGB = 0x8582;
public static final int GL_SOURCE0_ALPHA = 0x8588;
public static final int GL_SOURCE1_ALPHA = 0x8589;
public static final int GL_SOURCE2_ALPHA = 0x858A;
public static final int GL_OPERAND0_RGB = 0x8590;
public static final int GL_OPERAND1_RGB = 0x8591;
public static final int GL_OPERAND2_RGB = 0x8592;
public static final int GL_OPERAND0_ALPHA = 0x8598;
public static final int GL_OPERAND1_ALPHA = 0x8599;
public static final int GL_OPERAND2_ALPHA = 0x859A;
public static final int GL_RGB_SCALE = 0x8573;
public static final int GL_ADD_SIGNED = 0x8574;
public static final int GL_INTERPOLATE = 0x8575;
public static final int GL_SUBTRACT = 0x84E7;
public static final int GL_CONSTANT = 0x8576;
public static final int GL_PRIMARY_COLOR = 0x8577;
public static final int GL_PREVIOUS = 0x8578;
public static final int GL_DOT3_RGB = 0x86AE;
public static final int GL_DOT3_RGBA = 0x86AF;
public static final int GL_CLAMP_TO_BORDER = 0x812D;
int GL_COMBINE = 0x8570;
int GL_COMBINE_RGB = 0x8571;
int GL_COMBINE_ALPHA = 0x8572;
int GL_SOURCE0_RGB = 0x8580;
int GL_SOURCE1_RGB = 0x8581;
int GL_SOURCE2_RGB = 0x8582;
int GL_SOURCE0_ALPHA = 0x8588;
int GL_SOURCE1_ALPHA = 0x8589;
int GL_SOURCE2_ALPHA = 0x858A;
int GL_OPERAND0_RGB = 0x8590;
int GL_OPERAND1_RGB = 0x8591;
int GL_OPERAND2_RGB = 0x8592;
int GL_OPERAND0_ALPHA = 0x8598;
int GL_OPERAND1_ALPHA = 0x8599;
int GL_OPERAND2_ALPHA = 0x859A;
int GL_RGB_SCALE = 0x8573;
int GL_ADD_SIGNED = 0x8574;
int GL_INTERPOLATE = 0x8575;
int GL_SUBTRACT = 0x84E7;
int GL_CONSTANT = 0x8576;
int GL_PRIMARY_COLOR = 0x8577;
int GL_PREVIOUS = 0x8578;
int GL_DOT3_RGB = 0x86AE;
int GL_DOT3_RGBA = 0x86AF;
int GL_CLAMP_TO_BORDER = 0x812D;
public void glActiveTexture(@GLenum int texture);
void glActiveTexture(@GLenum int texture);
public void glClientActiveTexture(@GLenum int texture);
public void glCompressedTexImage1D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
void glClientActiveTexture(@GLenum int texture);
void glCompressedTexImage1D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@ -165,7 +160,7 @@ public interface GL13 {
@GLfloat
Buffer data);
public 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)
@Check
@Const
@ -175,17 +170,7 @@ public interface GL13 {
@GLfloat
Buffer data);
public void glCompressedTexImage3D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer data);
public void glCompressedTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @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)
@Check
@Const
@ -195,7 +180,7 @@ public interface GL13 {
@GLfloat
Buffer data);
public void glCompressedTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @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)
@Check
@Const
@ -205,7 +190,7 @@ public interface GL13 {
@GLfloat
Buffer data);
public 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 glCompressedTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@ -214,9 +199,19 @@ public interface GL13 {
@GLint
@GLfloat
Buffer data);
void glCompressedTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLsizei int imageSize,
@BufferObject(BufferKind.UnpackPBO)
@Check
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer data);
// TODO: check buffer size valid
public void glGetCompressedTexImage(@GLenum int target, int lod,
void glGetCompressedTexImage(@GLenum int target, int lod,
@BufferObject(BufferKind.PackPBO)
@Check
@GLbyte
@ -224,20 +219,20 @@ public interface GL13 {
@GLint
Buffer img);
public void glMultiTexCoord1f(@GLenum int target, float s);
void glMultiTexCoord1f(@GLenum int target, float s);
public void glMultiTexCoord2f(@GLenum int target, float s, float t);
void glMultiTexCoord2f(@GLenum int target, float s, float t);
public void glMultiTexCoord3f(@GLenum int target, float s, float t, float r);
void glMultiTexCoord3f(@GLenum int target, float s, float t, float r);
public 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);
@StripPostfix("m")
public void glLoadTransposeMatrixf(@Check("16") @Const FloatBuffer m);
void glLoadTransposeMatrixf(@Check("16") @Const FloatBuffer m);
@StripPostfix("m")
public void glMultTransposeMatrixf(@Check("16") @Const FloatBuffer m);
void glMultTransposeMatrixf(@Check("16") @Const FloatBuffer m);
public void glSampleCoverage(@GLclampf float value, boolean invert);
void glSampleCoverage(@GLclampf float value, boolean invert);
}

View File

@ -32,13 +32,10 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import org.lwjgl.generator.*;
import org.lwjgl.LWJGLException;
import org.lwjgl.BufferChecks;
/**
* $Id$
@ -49,53 +46,53 @@ import org.lwjgl.BufferChecks;
* @version $Revision$
*/
public interface GL14 {
public static final int GL_GENERATE_MIPMAP = 0x8191;
public static final int GL_GENERATE_MIPMAP_HINT = 0x8192;
public static final int GL_DEPTH_COMPONENT16 = 0x81A5;
public static final int GL_DEPTH_COMPONENT24 = 0x81A6;
public static final int GL_DEPTH_COMPONENT32 = 0x81A7;
public static final int GL_TEXTURE_DEPTH_SIZE = 0x884A;
public static final int GL_DEPTH_TEXTURE_MODE = 0x884B;
public static final int GL_TEXTURE_COMPARE_MODE = 0x884C;
public static final int GL_TEXTURE_COMPARE_FUNC = 0x884D;
public static final int GL_COMPARE_R_TO_TEXTURE = 0x884E;
public static final int GL_FOG_COORDINATE_SOURCE = 0x8450;
public static final int GL_FOG_COORDINATE = 0x8451;
public static final int GL_FRAGMENT_DEPTH = 0x8452;
public static final int GL_CURRENT_FOG_COORDINATE = 0x8453;
public static final int GL_FOG_COORDINATE_ARRAY_TYPE = 0x8454;
public static final int GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455;
public static final int GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456;
public static final int GL_FOG_COORDINATE_ARRAY = 0x8457;
public static final int GL_POINT_SIZE_MIN = 0x8126;
public static final int GL_POINT_SIZE_MAX = 0x8127;
public static final int GL_POINT_FADE_THRESHOLD_SIZE = 0x8128;
public static final int GL_POINT_DISTANCE_ATTENUATION = 0x8129;
public static final int GL_COLOR_SUM = 0x8458;
public static final int GL_CURRENT_SECONDARY_COLOR = 0x8459;
public static final int GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A;
public static final int GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B;
public static final int GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C;
public static final int GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D;
public static final int GL_SECONDARY_COLOR_ARRAY = 0x845E;
public static final int GL_BLEND_DST_RGB = 0x80C8;
public static final int GL_BLEND_SRC_RGB = 0x80C9;
public static final int GL_BLEND_DST_ALPHA = 0x80CA;
public static final int GL_BLEND_SRC_ALPHA = 0x80CB;
public static final int GL_INCR_WRAP = 0x8507;
public static final int GL_DECR_WRAP = 0x8508;
public static final int GL_TEXTURE_FILTER_CONTROL = 0x8500;
public static final int GL_TEXTURE_LOD_BIAS = 0x8501;
public static final int GL_MAX_TEXTURE_LOD_BIAS = 0x84FD;
public static final int GL_GL_MIRRORED_REPEAT = 0x8370;
int GL_GENERATE_MIPMAP = 0x8191;
int GL_GENERATE_MIPMAP_HINT = 0x8192;
int GL_DEPTH_COMPONENT16 = 0x81A5;
int GL_DEPTH_COMPONENT24 = 0x81A6;
int GL_DEPTH_COMPONENT32 = 0x81A7;
int GL_TEXTURE_DEPTH_SIZE = 0x884A;
int GL_DEPTH_TEXTURE_MODE = 0x884B;
int GL_TEXTURE_COMPARE_MODE = 0x884C;
int GL_TEXTURE_COMPARE_FUNC = 0x884D;
int GL_COMPARE_R_TO_TEXTURE = 0x884E;
int GL_FOG_COORDINATE_SOURCE = 0x8450;
int GL_FOG_COORDINATE = 0x8451;
int GL_FRAGMENT_DEPTH = 0x8452;
int GL_CURRENT_FOG_COORDINATE = 0x8453;
int GL_FOG_COORDINATE_ARRAY_TYPE = 0x8454;
int GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455;
int GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456;
int GL_FOG_COORDINATE_ARRAY = 0x8457;
int GL_POINT_SIZE_MIN = 0x8126;
int GL_POINT_SIZE_MAX = 0x8127;
int GL_POINT_FADE_THRESHOLD_SIZE = 0x8128;
int GL_POINT_DISTANCE_ATTENUATION = 0x8129;
int GL_COLOR_SUM = 0x8458;
int GL_CURRENT_SECONDARY_COLOR = 0x8459;
int GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A;
int GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B;
int GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C;
int GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D;
int GL_SECONDARY_COLOR_ARRAY = 0x845E;
int GL_BLEND_DST_RGB = 0x80C8;
int GL_BLEND_SRC_RGB = 0x80C9;
int GL_BLEND_DST_ALPHA = 0x80CA;
int GL_BLEND_SRC_ALPHA = 0x80CB;
int GL_INCR_WRAP = 0x8507;
int GL_DECR_WRAP = 0x8508;
int GL_TEXTURE_FILTER_CONTROL = 0x8500;
int GL_TEXTURE_LOD_BIAS = 0x8501;
int GL_MAX_TEXTURE_LOD_BIAS = 0x84FD;
int GL_GL_MIRRORED_REPEAT = 0x8370;
public void glBlendEquation(@GLenum int mode);
void glBlendEquation(@GLenum int mode);
public 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);
public void glFogCoordf(float coord);
void glFogCoordf(float coord);
public void glFogCoordPointer(@AutoType("data") @GLenum int type, @GLsizei int stride,
void glFogCoordPointer(@AutoType("data") @GLenum int type, @GLsizei int stride,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@ -105,22 +102,22 @@ public interface GL14 {
@Code( " if (piFirst.remaining() != piCount.remaining()) {\n" +
" throw new IllegalArgumentException(\"piFirst.remaining() != piCount.remaining()\");\n" +
" }")
public 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);
//public static native void glMultiDrawElements(int mode, int piCount, int type, int pIndices, int primcount);
//void glMultiDrawElements(int mode, int piCount, int type, int pIndices, int primcount);
public void glPointParameteri(@GLenum int pname, int param);
public void glPointParameterf(@GLenum int pname, float param);
void glPointParameteri(@GLenum int pname, int param);
void glPointParameterf(@GLenum int pname, float param);
@StripPostfix("params")
public void glPointParameteriv(@GLenum int pname, @Check("4") IntBuffer params);
void glPointParameteriv(@GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
public void glPointParameterfv(@GLenum int pname, @Check("4") FloatBuffer params);
void glPointParameterfv(@GLenum int pname, @Check("4") FloatBuffer params);
public void glSecondaryColor3b(byte red, byte green, byte blue);
public void glSecondaryColor3f(float red, float green, float blue);
public void glSecondaryColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
void glSecondaryColor3b(byte red, byte green, byte blue);
void glSecondaryColor3f(float red, float green, float blue);
void glSecondaryColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue);
public 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)
@Check
@Const
@ -129,10 +126,10 @@ public interface GL14 {
@GLfloat
Buffer data);
public void glBlendFuncSeparate(@GLenum int sfactorRGB, @GLenum int dfactorRGB, @GLenum int sfactorAlpha, @GLenum int dfactorAlpha);
public void glWindowPos2f(float x, float y);
public void glWindowPos2i(int x, int y);
public void glWindowPos3f(float x, float y, float z);
public void glWindowPos3i(int x, int y, int z);
void glBlendFuncSeparate(@GLenum int sfactorRGB, @GLenum int dfactorRGB, @GLenum int sfactorAlpha, @GLenum int dfactorAlpha);
void glWindowPos2f(float x, float y);
void glWindowPos2i(int x, int y);
void glWindowPos3f(float x, float y, float z);
void glWindowPos3i(int x, int y, int z);
}

View File

@ -32,8 +32,6 @@
package org.lwjgl.opengl;
import org.lwjgl.generator.*;
import org.lwjgl.BufferChecks;
import org.lwjgl.LWJGLException;
import java.nio.*;
@ -42,55 +40,55 @@ public interface GL15 {
// ---------------------- ARB_vertex_buffer_object ----------------------
// ----------------------------------------------------------------------
public static final int GL_ARRAY_BUFFER = 0x8892;
public static final int GL_ELEMENT_ARRAY_BUFFER = 0x8893;
public static final int GL_ARRAY_BUFFER_BINDING = 0x8894;
public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
public static final int GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896;
public static final int GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897;
public static final int GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898;
public static final int GL_INDEX_ARRAY_BUFFER_BINDING = 0x8899;
public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A;
public static final int GL_EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B;
public static final int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C;
public static final int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING = 0x889D;
public static final int GL_WEIGHT_ARRAY_BUFFER_BINDING = 0x889E;
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
public static final int GL_STREAM_DRAW = 0x88E0;
public static final int GL_STREAM_READ = 0x88E1;
public static final int GL_STREAM_COPY = 0x88E2;
public static final int GL_STATIC_DRAW = 0x88E4;
public static final int GL_STATIC_READ = 0x88E5;
public static final int GL_STATIC_COPY = 0x88E6;
public static final int GL_DYNAMIC_DRAW = 0x88E8;
public static final int GL_DYNAMIC_READ = 0x88E9;
public static final int GL_DYNAMIC_COPY = 0x88EA;
public static final int GL_READ_ONLY = 0x88B8;
public static final int GL_WRITE_ONLY = 0x88B9;
public static final int GL_READ_WRITE = 0x88BA;
public static final int GL_BUFFER_SIZE = 0x8764;
public static final int GL_BUFFER_USAGE = 0x8765;
public static final int GL_BUFFER_ACCESS = 0x88BB;
public static final int GL_BUFFER_MAPPED = 0x88BC;
public static final int GL_BUFFER_MAP_POINTER = 0x88BD;
int GL_ARRAY_BUFFER = 0x8892;
int GL_ELEMENT_ARRAY_BUFFER = 0x8893;
int GL_ARRAY_BUFFER_BINDING = 0x8894;
int GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
int GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896;
int GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897;
int GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898;
int GL_INDEX_ARRAY_BUFFER_BINDING = 0x8899;
int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A;
int GL_EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B;
int GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C;
int GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING = 0x889D;
int GL_WEIGHT_ARRAY_BUFFER_BINDING = 0x889E;
int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
int GL_STREAM_DRAW = 0x88E0;
int GL_STREAM_READ = 0x88E1;
int GL_STREAM_COPY = 0x88E2;
int GL_STATIC_DRAW = 0x88E4;
int GL_STATIC_READ = 0x88E5;
int GL_STATIC_COPY = 0x88E6;
int GL_DYNAMIC_DRAW = 0x88E8;
int GL_DYNAMIC_READ = 0x88E9;
int GL_DYNAMIC_COPY = 0x88EA;
int GL_READ_ONLY = 0x88B8;
int GL_WRITE_ONLY = 0x88B9;
int GL_READ_WRITE = 0x88BA;
int GL_BUFFER_SIZE = 0x8764;
int GL_BUFFER_USAGE = 0x8765;
int GL_BUFFER_ACCESS = 0x88BB;
int GL_BUFFER_MAPPED = 0x88BC;
int GL_BUFFER_MAP_POINTER = 0x88BD;
@Code( " BufferObjectTracker.bindBuffer(target, buffer);")
public void glBindBuffer(@GLenum int target, @GLuint int buffer);
void glBindBuffer(@GLenum int target, @GLuint int buffer);
@Code( " BufferObjectTracker.deleteBuffers(buffers);")
public 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);
boolean glIsBuffer(@GLuint int buffer);
public void glGenBuffers(@AutoSize("buffers") @GLsizei int n, @GLuint IntBuffer buffers);
public boolean glIsBuffer(@GLuint int buffer);
@GenerateAutos
public void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr int size,
void glBufferData(@GLenum int target, @AutoSize("data") @GLsizeiptr int size,
@Const
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer data, @GLenum int usage);
public 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
@Const
@GLbyte
@ -98,8 +96,8 @@ public interface GL15 {
@GLint
@GLfloat
Buffer data);
public 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
@GLbyte
@GLshort
@ -123,15 +121,15 @@ public interface GL15 {
* @return A ByteBuffer representing the mapped buffer memory.
*/
@CachedResult
public @GLvoid ByteBuffer glMapBuffer(@GLenum int target, @GLenum int access);
@GLvoid ByteBuffer glMapBuffer(@GLenum int target, @GLenum int access);
public boolean glUnmapBuffer(@GLenum int target);
boolean glUnmapBuffer(@GLenum int target);
@StripPostfix("params")
public void glGetBufferParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
void glGetBufferParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("pointer")
public void glGetBufferPointerv(@GLenum int target, @GLenum int pname, @Result @GLvoid ByteBuffer pointer);
void glGetBufferPointerv(@GLenum int target, @GLenum int pname, @Result @GLvoid ByteBuffer pointer);
// -----------------------------------------------------------------
// ---------------------- ARB_occlusion_query ----------------------
@ -141,34 +139,34 @@ public interface GL15 {
* Accepted by the <target> parameter of BeginQuery, EndQuery,
* and GetQueryiv:
*/
public static final int GL_SAMPLES_PASSED = 0x8914;
int GL_SAMPLES_PASSED = 0x8914;
/*
Accepted by the <pname> parameter of GetQueryiv:
*/
public static final int GL_QUERY_COUNTER_BITS = 0x8864;
public static final int GL_CURRENT_QUERY = 0x8865;
int GL_QUERY_COUNTER_BITS = 0x8864;
int GL_CURRENT_QUERY = 0x8865;
/*
Accepted by the <pname> parameter of GetQueryObjectiv and
GetQueryObjectuiv:
*/
public static final int GL_QUERY_RESULT = 0x8866;
public static final int GL_QUERY_RESULT_AVAILABLE = 0x8867;
int GL_QUERY_RESULT = 0x8866;
int GL_QUERY_RESULT_AVAILABLE = 0x8867;
public void glGenQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
public void glDeleteQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
public boolean glIsQuery(@GLuint int id);
void glGenQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
void glDeleteQueries(@AutoSize("ids") @GLsizei int n, @GLuint IntBuffer ids);
boolean glIsQuery(@GLuint int id);
public void glBeginQuery(@GLenum int target, @GLuint int id);
public void glEndQuery(@GLenum int target);
void glBeginQuery(@GLenum int target, @GLuint int id);
void glEndQuery(@GLenum int target);
@StripPostfix("params")
public void glGetQueryiv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
void glGetQueryiv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("params")
public void glGetQueryObjectiv(@GLenum int id, @GLenum int pname, @Check("4") @GLint IntBuffer params);
void glGetQueryObjectiv(@GLenum int id, @GLenum int pname, @Check("4") @GLint IntBuffer params);
@StripPostfix("params")
public void glGetQueryObjectuiv(@GLenum int id, @GLenum int pname, @Check("4") @GLuint IntBuffer params);
void glGetQueryObjectuiv(@GLenum int id, @GLenum int pname, @Check("4") @GLuint IntBuffer params);
}

View File

@ -32,8 +32,6 @@
package org.lwjgl.opengl;
import org.lwjgl.generator.*;
import org.lwjgl.BufferChecks;
import org.lwjgl.LWJGLException;
import java.nio.*;
@ -45,7 +43,7 @@ public interface GL20 {
/*
* Accepted by the <name> parameter of GetString:
*/
public static final int GL_SHADING_LANGUAGE_VERSION = 0x8B8C;
int GL_SHADING_LANGUAGE_VERSION = 0x8B8C;
// ------------------------------------------------------------------
// ----------------------[ ARB_shader_objects ]----------------------
@ -54,51 +52,51 @@ public interface GL20 {
/*
* Accepted by the <pname> argument of GetInteger:
*/
public static final int GL_CURRENT_PROGRAM = 0x8B8D;
int GL_CURRENT_PROGRAM = 0x8B8D;
/*
* Accepted by the <pname> parameter of GetObjectParameter{fi}vARB:
*/
public static final int GL_SHADER_TYPE = 0x8B4F;
public static final int GL_DELETE_STATUS = 0x8B80;
public static final int GL_COMPILE_STATUS = 0x8B81;
public static final int GL_LINK_STATUS = 0x8B82;
public static final int GL_VALIDATE_STATUS = 0x8B83;
public static final int GL_INFO_LOG_LENGTH = 0x8B84;
public static final int GL_ATTACHED_SHADERS = 0x8B85;
public static final int GL_ACTIVE_UNIFORMS = 0x8B86;
public static final int GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87;
public static final int GL_ACTIVE_ATTRIBUTES = 0x8B89;
public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A;
public static final int GL_SHADER_SOURCE_LENGTH = 0x8B88;
int GL_SHADER_TYPE = 0x8B4F;
int GL_DELETE_STATUS = 0x8B80;
int GL_COMPILE_STATUS = 0x8B81;
int GL_LINK_STATUS = 0x8B82;
int GL_VALIDATE_STATUS = 0x8B83;
int GL_INFO_LOG_LENGTH = 0x8B84;
int GL_ATTACHED_SHADERS = 0x8B85;
int GL_ACTIVE_UNIFORMS = 0x8B86;
int GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87;
int GL_ACTIVE_ATTRIBUTES = 0x8B89;
int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A;
int GL_SHADER_SOURCE_LENGTH = 0x8B88;
/*
* Returned by the <params> parameter of GetObjectParameter{fi}vARB:
*/
public static final int GL_SHADER_OBJECT = 0x8B48;
int GL_SHADER_OBJECT = 0x8B48;
/*
* Returned by the <type> parameter of GetActiveUniformARB:
*/
public static final int GL_FLOAT_VEC2 = 0x8B50;
public static final int GL_FLOAT_VEC3 = 0x8B51;
public static final int GL_FLOAT_VEC4 = 0x8B52;
public static final int GL_INT_VEC2 = 0x8B53;
public static final int GL_INT_VEC3 = 0x8B54;
public static final int GL_INT_VEC4 = 0x8B55;
public static final int GL_BOOL = 0x8B56;
public static final int GL_BOOL_VEC2 = 0x8B57;
public static final int GL_BOOL_VEC3 = 0x8B58;
public static final int GL_BOOL_VEC4 = 0x8B59;
public static final int GL_FLOAT_MAT2 = 0x8B5A;
public static final int GL_FLOAT_MAT3 = 0x8B5B;
public static final int GL_FLOAT_MAT4 = 0x8B5C;
public static final int GL_SAMPLER_1D = 0x8B5D;
public static final int GL_SAMPLER_2D = 0x8B5E;
public static final int GL_SAMPLER_3D = 0x8B5F;
public static final int GL_SAMPLER_CUBE = 0x8B60;
public static final int GL_SAMPLER_1D_SHADOW = 0x8B61;
public static final int GL_SAMPLER_2D_SHADOW = 0x8B62;
int GL_FLOAT_VEC2 = 0x8B50;
int GL_FLOAT_VEC3 = 0x8B51;
int GL_FLOAT_VEC4 = 0x8B52;
int GL_INT_VEC2 = 0x8B53;
int GL_INT_VEC3 = 0x8B54;
int GL_INT_VEC4 = 0x8B55;
int GL_BOOL = 0x8B56;
int GL_BOOL_VEC2 = 0x8B57;
int GL_BOOL_VEC3 = 0x8B58;
int GL_BOOL_VEC4 = 0x8B59;
int GL_FLOAT_MAT2 = 0x8B5A;
int GL_FLOAT_MAT3 = 0x8B5B;
int GL_FLOAT_MAT4 = 0x8B5C;
int GL_SAMPLER_1D = 0x8B5D;
int GL_SAMPLER_2D = 0x8B5E;
int GL_SAMPLER_3D = 0x8B5F;
int GL_SAMPLER_CUBE = 0x8B60;
int GL_SAMPLER_1D_SHADOW = 0x8B61;
int GL_SAMPLER_2D_SHADOW = 0x8B62;
/**
* The ARB_shader_objects extension allows multiple, optionally null-terminated, source strings to define a shader program.
@ -108,7 +106,7 @@ public interface GL20 {
* @param shader
* @param string
*/
public void glShaderSource(@GLuint int shader, @Constant("1") @GLsizei int count,
void glShaderSource(@GLuint int shader, @Constant("1") @GLsizei int count,
@Indirect
@Check
@Const
@ -120,105 +118,105 @@ public interface GL20 {
@GLint
int length);
public int glCreateShader(@GLuint int type);
int glCreateShader(@GLuint int type);
public boolean glIsShader(@GLuint int shader);
boolean glIsShader(@GLuint int shader);
public void glCompileShader(@GLuint int shader);
void glCompileShader(@GLuint int shader);
public void glDeleteShader(@GLuint int shader);
void glDeleteShader(@GLuint int shader);
public int glCreateProgram();
int glCreateProgram();
public boolean glIsProgram(int program);
boolean glIsProgram(int program);
public void glAttachShader(@GLuint int program, @GLuint int shader);
void glAttachShader(@GLuint int program, @GLuint int shader);
public void glDetachShader(@GLuint int program, @GLuint int shader);
void glDetachShader(@GLuint int program, @GLuint int shader);
public void glLinkProgram(@GLuint int program);
void glLinkProgram(@GLuint int program);
public void glUseProgram(@GLuint int program);
void glUseProgram(@GLuint int program);
public void glValidateProgram(@GLuint int program);
void glValidateProgram(@GLuint int program);
public void glDeleteProgram(@GLuint int program);
void glDeleteProgram(@GLuint int program);
public void glUniform1f(int location, float v0);
void glUniform1f(int location, float v0);
public void glUniform2f(int location, float v0, float v1);
void glUniform2f(int location, float v0, float v1);
public void glUniform3f(int location, float v0, float v1, float v2);
void glUniform3f(int location, float v0, float v1, float v2);
public void glUniform4f(int location, float v0, float v1, float v2, float v3);
void glUniform4f(int location, float v0, float v1, float v2, float v3);
public void glUniform1i(int location, int v0);
void glUniform1i(int location, int v0);
public void glUniform2i(int location, int v0, int v1);
void glUniform2i(int location, int v0, int v1);
public void glUniform3i(int location, int v0, int v1, int v2);
void glUniform3i(int location, int v0, int v1, int v2);
public void glUniform4i(int location, int v0, int v1, int v2, int v3);
@StripPostfix("values")
public void glUniform1fv(int location, @AutoSize("values") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform2fv(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform3fv(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform4fv(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, FloatBuffer values);
void glUniform4i(int location, int v0, int v1, int v2, int v3);
@StripPostfix("values")
public void glUniform1iv(int location, @AutoSize("values") @GLsizei int count, IntBuffer values);
void glUniform1fv(int location, @AutoSize("values") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform2iv(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, IntBuffer values);
void glUniform2fv(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform3iv(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, IntBuffer values);
void glUniform3fv(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
public void glUniform4iv(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, IntBuffer values);
void glUniform4fv(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, FloatBuffer values);
@StripPostfix("values")
void glUniform1iv(int location, @AutoSize("values") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
void glUniform2iv(int location, @AutoSize(value="values", expression=" >> 1") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
void glUniform3iv(int location, @AutoSize(value="values", expression=" / 3") @GLsizei int count, IntBuffer values);
@StripPostfix("values")
void glUniform4iv(int location, @AutoSize(value="values", expression=" >> 2") @GLsizei int count, IntBuffer values);
@StripPostfix("matrices")
public 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);
@StripPostfix("matrices")
public 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);
@StripPostfix("matrices")
public 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);
@StripPostfix("params")
public void glGetShaderfv(@GLuint int shader, @GLenum int pname, @Check FloatBuffer params);
void glGetShaderfv(@GLuint int shader, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params")
public void glGetShaderiv(@GLuint int shader, @GLenum int pname, @Check IntBuffer params);
@StripPostfix("params")
public void glGetProgramfv(@GLuint int program, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params")
public void glGetProgramiv(@GLuint int program, @GLenum int pname, @Check IntBuffer params);
void glGetShaderiv(@GLuint int shader, @GLenum int pname, @Check IntBuffer params);
public void glGetShaderInfoLog(@GLuint int shader, @AutoSize("infoLog") @GLsizei int maxLength,
@StripPostfix("params")
void glGetProgramfv(@GLuint int program, @GLenum int pname, @Check FloatBuffer params);
@StripPostfix("params")
void glGetProgramiv(@GLuint int program, @GLenum int pname, @Check IntBuffer params);
void glGetShaderInfoLog(@GLuint int shader, @AutoSize("infoLog") @GLsizei int maxLength,
@GLsizei
@Check(value="1", canBeNull=true)
IntBuffer length,
@GLchar
ByteBuffer infoLog);
public void glGetProgramInfoLog(@GLuint int program, @AutoSize("infoLog") @GLsizei int maxLength,
void glGetProgramInfoLog(@GLuint int program, @AutoSize("infoLog") @GLsizei int maxLength,
@GLsizei
@Check(value="1", canBeNull=true)
IntBuffer length,
@GLchar
ByteBuffer infoLog);
public void glGetAttachedShaders(@GLuint int program, @AutoSize("shaders") @GLsizei int maxCount,
void glGetAttachedShaders(@GLuint int program, @AutoSize("shaders") @GLsizei int maxCount,
@GLsizei
@Check(value="1", canBeNull=true)
IntBuffer count,
@GLuint
IntBuffer shaders);
/**
* Returns the location of the uniform with the specified name. The ByteBuffer should contain the uniform name as a
* <b>null-terminated</b> string.
@ -228,9 +226,9 @@ public interface GL20 {
*
* @return
*/
public int glGetUniformLocation(@GLuint int program, @NullTerminated @Check("1") @Const @GLchar ByteBuffer name);
int glGetUniformLocation(@GLuint int program, @NullTerminated @Check("1") @Const @GLchar ByteBuffer name);
public 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)
@GLsizei
IntBuffer length,
@ -244,11 +242,11 @@ public interface GL20 {
ByteBuffer name);
@StripPostfix("params")
public void glGetUniformfv(@GLuint int program, int location, @Check FloatBuffer params);
void glGetUniformfv(@GLuint int program, int location, @Check FloatBuffer params);
@StripPostfix("params")
public void glGetUniformiv(@GLuint int program, int location, @Check IntBuffer params);
public void glGetShaderSource(@GLuint int shader, @AutoSize("source") @GLsizei int maxLength,
void glGetUniformiv(@GLuint int program, int location, @Check IntBuffer params);
void glGetShaderSource(@GLuint int shader, @AutoSize("source") @GLsizei int maxLength,
@Check(value="1", canBeNull=true)
@GLsizei
IntBuffer length,
@ -259,25 +257,25 @@ public interface GL20 {
// ----------------------[ ARB_vertex_program ]----------------------
// ------------------------------------------------------------------
public void glVertexAttrib1s(@GLuint int index, short x);
void glVertexAttrib1s(@GLuint int index, short x);
public void glVertexAttrib1f(@GLuint int index, float x);
void glVertexAttrib1f(@GLuint int index, float x);
public void glVertexAttrib2s(@GLuint int index, short x, short y);
void glVertexAttrib2s(@GLuint int index, short x, short y);
public void glVertexAttrib2f(@GLuint int index, float x, float y);
void glVertexAttrib2f(@GLuint int index, float x, float y);
public void glVertexAttrib3s(@GLuint int index, short x, short y, short z);
void glVertexAttrib3s(@GLuint int index, short x, short y, short z);
public void glVertexAttrib3f(@GLuint int index, float x, float y, float z);
void glVertexAttrib3f(@GLuint int index, float x, float y, float z);
public 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);
public 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);
public 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);
public 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,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@ -290,16 +288,16 @@ public interface GL20 {
@GLfloat
Buffer buffer);
public void glEnableVertexAttribArray(@GLuint int index);
public void glDisableVertexAttribArray(@GLuint int index);
void glEnableVertexAttribArray(@GLuint int index);
void glDisableVertexAttribArray(@GLuint int index);
@StripPostfix("params")
public 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")
public void glGetVertexAttribiv(@GLuint int index, @GLenum int pname, @Check("4") IntBuffer params);
void glGetVertexAttribiv(@GLuint int index, @GLenum int pname, @Check("4") IntBuffer params);
@StripPostfix("pointer")
public void glGetVertexAttribPointerv(@GLuint int index, @GLenum int pname, @Result @GLvoid ByteBuffer pointer);
void glGetVertexAttribPointerv(@GLuint int index, @GLenum int pname, @Result @GLvoid ByteBuffer pointer);
// -----------------------------------------------------------------
// ----------------------[ ARB_vertex_shader ]----------------------
@ -309,46 +307,46 @@ public interface GL20 {
* Accepted by the <shaderType> argument of CreateShader and
* returned by the <params> parameter of GetShader{if}v:
*/
public static final int GL_VERTEX_SHADER = 0x8B31;
int GL_VERTEX_SHADER = 0x8B31;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A;
public static final int GL_MAX_VARYING_FLOATS = 0x8B4B;
public static final int GL_MAX_VERTEX_ATTRIBS = 0x8869;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS = 0x8872;
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
public static final int GL_MAX_TEXTURE_COORDS = 0x8871;
int GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A;
int GL_MAX_VARYING_FLOATS = 0x8B4B;
int GL_MAX_VERTEX_ATTRIBS = 0x8869;
int GL_MAX_TEXTURE_IMAGE_UNITS = 0x8872;
int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
int GL_MAX_TEXTURE_COORDS = 0x8871;
/*
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, and
* by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
*/
public static final int GL_VERTEX_PROGRAM_POINT_SIZE = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643;
int GL_VERTEX_PROGRAM_POINT_SIZE = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE = 0x8643;
/*
* Accepted by the <pname> parameter of GetVertexAttrib{dfi}vARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
public static final int GL_CURRENT_VERTEX_ATTRIB = 0x8626;
int GL_VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
int GL_VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
int GL_VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
int GL_VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
int GL_CURRENT_VERTEX_ATTRIB = 0x8626;
/*
* Accepted by the <pname> parameter of GetVertexAttribPointervARB:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
int GL_VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
public void glBindAttribLocation(@GLuint int program, @GLuint int index, @NullTerminated @Const @GLchar ByteBuffer name);
public void glGetActiveAttrib(@GLuint int program, @GLuint int index, @AutoSize("name") @GLsizei int maxLength,
void glBindAttribLocation(@GLuint int program, @GLuint int index, @NullTerminated @Const @GLchar ByteBuffer name);
void glGetActiveAttrib(@GLuint int program, @GLuint int index, @AutoSize("name") @GLsizei int maxLength,
@Check(value="1", canBeNull=true)
@GLsizei
IntBuffer length,
@ -361,7 +359,7 @@ public interface GL20 {
@GLchar
ByteBuffer name);
public int glGetAttribLocation(@GLuint int program, @NullTerminated @Const @GLchar ByteBuffer name);
int glGetAttribLocation(@GLuint int program, @NullTerminated @Const @GLchar ByteBuffer name);
// -------------------------------------------------------------------
// ----------------------[ ARB_fragment_shader ]----------------------
@ -371,19 +369,19 @@ public interface GL20 {
* Accepted by the <shaderType> argument of CreateShader and
* returned by the <params> parameter of GetShader{fi}vARB:
*/
public static final int GL_FRAGMENT_SHADER = 0x8B30;
int GL_FRAGMENT_SHADER = 0x8B30;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49;
int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49;
/*
* Accepted by the <target> parameter of Hint and the <pname> parameter of
* GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/
public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B;
int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B;
// ----------------------------------------------------------------
// ----------------------[ ARB_draw_buffers ]----------------------
@ -393,25 +391,25 @@ public interface GL20 {
* Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
* and GetDoublev:
*/
public static final int GL_MAX_DRAW_BUFFERS = 0x8824;
public static final int GL_DRAW_BUFFER0 = 0x8825;
public static final int GL_DRAW_BUFFER1 = 0x8826;
public static final int GL_DRAW_BUFFER2 = 0x8827;
public static final int GL_DRAW_BUFFER3 = 0x8828;
public static final int GL_DRAW_BUFFER4 = 0x8829;
public static final int GL_DRAW_BUFFER5 = 0x882A;
public static final int GL_DRAW_BUFFER6 = 0x882B;
public static final int GL_DRAW_BUFFER7 = 0x882C;
public static final int GL_DRAW_BUFFER8 = 0x882D;
public static final int GL_DRAW_BUFFER9 = 0x882E;
public static final int GL_DRAW_BUFFER10 = 0x882F;
public static final int GL_DRAW_BUFFER11 = 0x8830;
public static final int GL_DRAW_BUFFER12 = 0x8831;
public static final int GL_DRAW_BUFFER13 = 0x8832;
public static final int GL_DRAW_BUFFER14 = 0x8833;
public static final int GL_DRAW_BUFFER15 = 0x8834;
int GL_MAX_DRAW_BUFFERS = 0x8824;
int GL_DRAW_BUFFER0 = 0x8825;
int GL_DRAW_BUFFER1 = 0x8826;
int GL_DRAW_BUFFER2 = 0x8827;
int GL_DRAW_BUFFER3 = 0x8828;
int GL_DRAW_BUFFER4 = 0x8829;
int GL_DRAW_BUFFER5 = 0x882A;
int GL_DRAW_BUFFER6 = 0x882B;
int GL_DRAW_BUFFER7 = 0x882C;
int GL_DRAW_BUFFER8 = 0x882D;
int GL_DRAW_BUFFER9 = 0x882E;
int GL_DRAW_BUFFER10 = 0x882F;
int GL_DRAW_BUFFER11 = 0x8830;
int GL_DRAW_BUFFER12 = 0x8831;
int GL_DRAW_BUFFER13 = 0x8832;
int GL_DRAW_BUFFER14 = 0x8833;
int GL_DRAW_BUFFER15 = 0x8834;
public void glDrawBuffers(@AutoSize("buffers") @GLsizei int size, @Const @GLenum IntBuffer buffers);
void glDrawBuffers(@AutoSize("buffers") @GLsizei int size, @Const @GLenum IntBuffer buffers);
// ----------------------------------------------------------------
// ----------------------[ ARB_point_sprite ]----------------------
@ -423,51 +421,51 @@ public interface GL20 {
* GetDoublev, and by the <target> parameter of TexEnvi, TexEnviv,
* TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv:
*/
public static final int GL_POINT_SPRITE = 0x8861;
int GL_POINT_SPRITE = 0x8861;
/*
* When the <target> parameter of TexEnvf, TexEnvfv, TexEnvi, TexEnviv,
* GetTexEnvfv, or GetTexEnviv is POINT_SPRITE, then the value of
* <pname> may be:
*/
public static final int GL_COORD_REPLACE = 0x8862;
int GL_COORD_REPLACE = 0x8862;
/*
* Accepted by the <pname> parameter of PointParameter{if}vARB, and the
* <pname> of Get:
*/
public static final int GL_POINT_SPRITE_COORD_ORIGIN = 0x8CA0;
int GL_POINT_SPRITE_COORD_ORIGIN = 0x8CA0;
/*
* Accepted by the <param> parameter of PointParameter{if}vARB:
*/
public static final int GL_LOWER_LEFT = 0x8CA1;
public static final int GL_UPPER_LEFT = 0x8CA2;
int GL_LOWER_LEFT = 0x8CA1;
int GL_UPPER_LEFT = 0x8CA2;
// -----------------------------------------------------------------
// ----------------------[ Two-Sided Stencil ]----------------------
// -----------------------------------------------------------------
public static final int GL_STENCIL_BACK_FUNC = 0x8800;
public static final int GL_STENCIL_BACK_FAIL = 0x8801;
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
public static final int GL_STENCIL_BACK_REF = 0x8CA3;
public static final int GL_STENCIL_BACK_VALUE_MASK = 0x8CA4;
public static final int GL_STENCIL_BACK_WRITEMASK = 0x8CA5;
int GL_STENCIL_BACK_FUNC = 0x8800;
int GL_STENCIL_BACK_FAIL = 0x8801;
int GL_STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
int GL_STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
int GL_STENCIL_BACK_REF = 0x8CA3;
int GL_STENCIL_BACK_VALUE_MASK = 0x8CA4;
int GL_STENCIL_BACK_WRITEMASK = 0x8CA5;
public void glStencilOpSeparate(@GLenum int face, @GLenum int sfail, @GLenum int dpfail, @GLenum int dppass);
void glStencilOpSeparate(@GLenum int face, @GLenum int sfail, @GLenum int dpfail, @GLenum int dppass);
public void glStencilFuncSeparate(@GLenum int face, @GLenum int func, int ref, @GLuint int mask);
void glStencilFuncSeparate(@GLenum int face, @GLenum int func, int ref, @GLuint int mask);
public void glStencilMaskSeparate(@GLenum int face, @GLuint int mask);
void glStencilMaskSeparate(@GLenum int face, @GLuint int mask);
// -------------------------------------------------------------
// ----------------------[ EXT_blend_equation_separate ]----------------------
// -------------------------------------------------------------
public static final int GL_BLEND_EQUATION_RGB = 0x8009;
public static final int GL_BLEND_EQUATION_ALPHA = 0x883D;
int GL_BLEND_EQUATION_RGB = 0x8009;
int GL_BLEND_EQUATION_ALPHA = 0x883D;
public void glBlendEquationSeparate(@GLenum int modeRGB, @GLenum int modeAlpha);
void glBlendEquationSeparate(@GLenum int modeRGB, @GLenum int modeAlpha);
}

View File

@ -32,6 +32,6 @@
package org.lwjgl.opengl;
public interface NV_copy_depth_to_color {
public static final int GL_DEPTH_STENCIL_TO_RGBA_NV = 0x886E;
public static final int GL_DEPTH_STENCIL_TO_BGRA_NV = 0x886F;
int GL_DEPTH_STENCIL_TO_RGBA_NV = 0x886E;
int GL_DEPTH_STENCIL_TO_BGRA_NV = 0x886F;
}

View File

@ -32,5 +32,5 @@
package org.lwjgl.opengl;
public interface NV_depth_clamp {
public static final int GL_DEPTH_CLAMP_NV = 0x864F;
int GL_DEPTH_CLAMP_NV = 0x864F;
}

View File

@ -38,53 +38,53 @@ import java.nio.IntBuffer;
import org.lwjgl.generator.*;
public interface NV_evaluators {
public static final int GL_EVAL_2D_NV = 0x86C0;
public static final int GL_EVAL_TRIANGULAR_2D_NV = 0x86C1;
public static final int GL_MAP_TESSELLATION_NV = 0x86C2;
public static final int GL_MAP_ATTRIB_U_ORDER_NV = 0x86C3;
public static final int GL_MAP_ATTRIB_V_ORDER_NV = 0x86C4;
public static final int GL_EVAL_FRACTIONAL_TESSELLATION_NV = 0x86C5;
public static final int GL_EVAL_VERTEX_ATTRIB0_NV = 0x86C6;
public static final int GL_EVAL_VERTEX_ATTRIB1_NV = 0x86C7;
public static final int GL_EVAL_VERTEX_ATTRIB2_NV = 0x86C8;
public static final int GL_EVAL_VERTEX_ATTRIB3_NV = 0x86C9;
public static final int GL_EVAL_VERTEX_ATTRIB4_NV = 0x86CA;
public static final int GL_EVAL_VERTEX_ATTRIB5_NV = 0x86CB;
public static final int GL_EVAL_VERTEX_ATTRIB6_NV = 0x86CC;
public static final int GL_EVAL_VERTEX_ATTRIB7_NV = 0x86CD;
public static final int GL_EVAL_VERTEX_ATTRIB8_NV = 0x86CE;
public static final int GL_EVAL_VERTEX_ATTRIB9_NV = 0x86CF;
public static final int GL_EVAL_VERTEX_ATTRIB10_NV = 0x86D0;
public static final int GL_EVAL_VERTEX_ATTRIB11_NV = 0x86D1;
public static final int GL_EVAL_VERTEX_ATTRIB12_NV = 0x86D2;
public static final int GL_EVAL_VERTEX_ATTRIB13_NV = 0x86D3;
public static final int GL_EVAL_VERTEX_ATTRIB14_NV = 0x86D4;
public static final int GL_EVAL_VERTEX_ATTRIB15_NV = 0x86D5;
public static final int GL_MAX_MAP_TESSELLATION_NV = 0x86D6;
public static final int GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7;
int GL_EVAL_2D_NV = 0x86C0;
int GL_EVAL_TRIANGULAR_2D_NV = 0x86C1;
int GL_MAP_TESSELLATION_NV = 0x86C2;
int GL_MAP_ATTRIB_U_ORDER_NV = 0x86C3;
int GL_MAP_ATTRIB_V_ORDER_NV = 0x86C4;
int GL_EVAL_FRACTIONAL_TESSELLATION_NV = 0x86C5;
int GL_EVAL_VERTEX_ATTRIB0_NV = 0x86C6;
int GL_EVAL_VERTEX_ATTRIB1_NV = 0x86C7;
int GL_EVAL_VERTEX_ATTRIB2_NV = 0x86C8;
int GL_EVAL_VERTEX_ATTRIB3_NV = 0x86C9;
int GL_EVAL_VERTEX_ATTRIB4_NV = 0x86CA;
int GL_EVAL_VERTEX_ATTRIB5_NV = 0x86CB;
int GL_EVAL_VERTEX_ATTRIB6_NV = 0x86CC;
int GL_EVAL_VERTEX_ATTRIB7_NV = 0x86CD;
int GL_EVAL_VERTEX_ATTRIB8_NV = 0x86CE;
int GL_EVAL_VERTEX_ATTRIB9_NV = 0x86CF;
int GL_EVAL_VERTEX_ATTRIB10_NV = 0x86D0;
int GL_EVAL_VERTEX_ATTRIB11_NV = 0x86D1;
int GL_EVAL_VERTEX_ATTRIB12_NV = 0x86D2;
int GL_EVAL_VERTEX_ATTRIB13_NV = 0x86D3;
int GL_EVAL_VERTEX_ATTRIB14_NV = 0x86D4;
int GL_EVAL_VERTEX_ATTRIB15_NV = 0x86D5;
int GL_MAX_MAP_TESSELLATION_NV = 0x86D6;
int GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7;
public 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
@Const
@GLfloat
Buffer pPoints);
public 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")
public 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")
public 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")
public 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")
public 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")
public 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")
public 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);
public void glEvalMapsNV(@GLenum int target, @GLenum int mode);
void glEvalMapsNV(@GLenum int target, @GLenum int mode);
}

View File

@ -36,20 +36,20 @@ import java.nio.IntBuffer;
import org.lwjgl.generator.*;
public interface NV_fence {
public static final int GL_ALL_COMPLETED_NV = 0x84F2;
public static final int GL_FENCE_STATUS_NV = 0x84F3;
public static final int GL_FENCE_CONDITION_NV = 0x84F4;
int GL_ALL_COMPLETED_NV = 0x84F2;
int GL_FENCE_STATUS_NV = 0x84F3;
int GL_FENCE_CONDITION_NV = 0x84F4;
public void glGenFencesNV(@AutoSize("piFences") @GLsizei int n, @GLuint IntBuffer piFences);
public void glDeleteFencesNV(@AutoSize("piFences") @GLsizei int n, @Const @GLuint IntBuffer piFences);
void glGenFencesNV(@AutoSize("piFences") @GLsizei int n, @GLuint IntBuffer piFences);
void glDeleteFencesNV(@AutoSize("piFences") @GLsizei int n, @Const @GLuint IntBuffer piFences);
public void glSetFenceNV(@GLuint int fence, @GLenum int condition);
void glSetFenceNV(@GLuint int fence, @GLenum int condition);
public boolean glTestFenceNV(@GLuint int fence);
boolean glTestFenceNV(@GLuint int fence);
public void glFinishFenceNV(@GLuint int fence);
void glFinishFenceNV(@GLuint int fence);
public boolean glIsFenceNV(@GLuint int fence);
boolean glIsFenceNV(@GLuint int fence);
public void glGetFenceivNV(@GLuint int fence, @GLenum int pname, @Check("4") IntBuffer piParams);
void glGetFenceivNV(@GLuint int fence, @GLenum int pname, @Check("4") IntBuffer piParams);
}

View File

@ -36,50 +36,50 @@ public interface NV_float_buffer {
* Accepted by the <internalformat> parameter of TexImage2D and
* CopyTexImage2D:
*/
public static final int GL_FLOAT_R_NV = 0x8880;
public static final int GL_FLOAT_RG_NV = 0x8881;
public static final int GL_FLOAT_RGB_NV = 0x8882;
public static final int GL_FLOAT_RGBA_NV = 0x8883;
public static final int GL_FLOAT_R16_NV = 0x8884;
public static final int GL_FLOAT_R32_NV = 0x8885;
public static final int GL_FLOAT_RG16_NV = 0x8886;
public static final int GL_FLOAT_RG32_NV = 0x8887;
public static final int GL_FLOAT_RGB16_NV = 0x8888;
public static final int GL_FLOAT_RGB32_NV = 0x8889;
public static final int GL_FLOAT_RGBA16_NV = 0x888A;
public static final int GL_FLOAT_RGBA32_NV = 0x888B;
int GL_FLOAT_R_NV = 0x8880;
int GL_FLOAT_RG_NV = 0x8881;
int GL_FLOAT_RGB_NV = 0x8882;
int GL_FLOAT_RGBA_NV = 0x8883;
int GL_FLOAT_R16_NV = 0x8884;
int GL_FLOAT_R32_NV = 0x8885;
int GL_FLOAT_RG16_NV = 0x8886;
int GL_FLOAT_RG32_NV = 0x8887;
int GL_FLOAT_RGB16_NV = 0x8888;
int GL_FLOAT_RGB32_NV = 0x8889;
int GL_FLOAT_RGBA16_NV = 0x888A;
int GL_FLOAT_RGBA32_NV = 0x888B;
/*
* Accepted by the <pname> parameter of GetTexLevelParameterfv and
* GetTexLevelParameteriv:
*/
public static final int GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888C;
int GL_TEXTURE_FLOAT_COMPONENTS_NV = 0x888C;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev:
*/
public static final int GL_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D;
public static final int GL_FLOAT_RGBA_MODE_NV = 0x888E;
int GL_FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D;
int GL_FLOAT_RGBA_MODE_NV = 0x888E;
/*
* Accepted in the <piAttributes> array of wglGetPixelFormatAttribivARB and
* wglGetPixelFormatAttribfvARB and in the <piAttribIList> and
* <pfAttribFList> arrays of wglChoosePixelFormatARB:
*/
public static final int GL_WGL_FLOAT_COMPONENTS_NV = 0x20B0;
public static final int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
public static final int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2;
public static final int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3;
public static final int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4;
int GL_WGL_FLOAT_COMPONENTS_NV = 0x20B0;
int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2;
int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3;
int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4;
/*
* Accepted in the <piAttribIList> array of wglCreatePbufferARB and returned
* in the <value> parameter of wglQueryPbufferARB when <iAttribute> is
* WGL_TEXTURE_FORMAT_ARB:
*/
public static final int GL_WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
public static final int GL_WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
public static final int GL_WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
public static final int GL_WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
int GL_WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
int GL_WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
int GL_WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
int GL_WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
}

View File

@ -25,14 +25,14 @@
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.lwjgl.opengl;
public interface NV_fog_distance {
public static final int GL_FOG_DISTANCE_MODE_NV = 0x855A;
public static final int GL_EYE_RADIAL_NV = 0x855B;
public static final int GL_EYE_PLANE_ABSOLUTE_NV = 0x855C;
int GL_FOG_DISTANCE_MODE_NV = 0x855A;
int GL_EYE_RADIAL_NV = 0x855B;
int GL_EYE_PLANE_ABSOLUTE_NV = 0x855C;
}

View File

@ -45,20 +45,20 @@ public interface NV_fragment_program extends NV_program {
* ProgramLocalParameter4fARB, ProgramLocalParameter4fvARB,
* GetProgramLocalParameterdvARB, and GetProgramLocalParameterfvARB:
*/
public static final int GL_FRAGMENT_PROGRAM_NV = 0x8870;
int GL_FRAGMENT_PROGRAM_NV = 0x8870;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev:
*/
public static final int GL_MAX_TEXTURE_COORDS_NV = 0x8871;
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872;
public static final int GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873;
public static final int GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = 0x8868;
int GL_MAX_TEXTURE_COORDS_NV = 0x8871;
int GL_MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872;
int GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873;
int GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = 0x8868;
public void glProgramNamedParameter4fNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, float x, float y, float z, float w);
void glProgramNamedParameter4fNV(@GLuint int id, @AutoSize("name") @GLsizei int length, @Const @GLubyte ByteBuffer name, float x, float y, float z, float w);
@StripPostfix("params")
public 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);
}

View File

@ -35,9 +35,9 @@ public interface NV_fragment_program2 {
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
public static final int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
public static final int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6;
public static final int GL_MAX_PROGRAM_LOOP_DEPTH_NV = 0x88F7;
public static final int GL_MAX_PROGRAM_LOOP_COUNT_NV = 0x88F8;
int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6;
int GL_MAX_PROGRAM_LOOP_DEPTH_NV = 0x88F7;
int GL_MAX_PROGRAM_LOOP_COUNT_NV = 0x88F8;
}

View File

@ -43,54 +43,54 @@ public interface NV_half_float {
* DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D,
* TexSubImage2D, TexSubImage3D, and GetTexImage:
*/
public static final int GL_HALF_FLOAT_NV = 0x140B;
int GL_HALF_FLOAT_NV = 0x140B;
public void glVertex2hNV(@GLhalf short x, @GLhalf short y);
void glVertex2hNV(@GLhalf short x, @GLhalf short y);
public void glVertex3hNV(@GLhalf short x, @GLhalf short y, @GLhalf short z);
void glVertex3hNV(@GLhalf short x, @GLhalf short y, @GLhalf short z);
public void glVertex4hNV(@GLhalf short x, @GLhalf short y, @GLhalf short z, @GLhalf short w);
void glVertex4hNV(@GLhalf short x, @GLhalf short y, @GLhalf short z, @GLhalf short w);
public void glNormal3hNV(@GLhalf short nx, @GLhalf short ny, @GLhalf short nz);
void glNormal3hNV(@GLhalf short nx, @GLhalf short ny, @GLhalf short nz);
public void glColor3hNV(@GLhalf short red, @GLhalf short green, @GLhalf short blue);
void glColor3hNV(@GLhalf short red, @GLhalf short green, @GLhalf short blue);
public void glColor4hNV(@GLhalf short red, @GLhalf short green, @GLhalf short blue, @GLhalf short alpha);
void glColor4hNV(@GLhalf short red, @GLhalf short green, @GLhalf short blue, @GLhalf short alpha);
public void glTexCoord1hNV(@GLhalf short s);
void glTexCoord1hNV(@GLhalf short s);
public void glTexCoord2hNV(@GLhalf short s, @GLhalf short t);
void glTexCoord2hNV(@GLhalf short s, @GLhalf short t);
public void glTexCoord3hNV(@GLhalf short s, @GLhalf short t, @GLhalf short r);
void glTexCoord3hNV(@GLhalf short s, @GLhalf short t, @GLhalf short r);
public void glTexCoord4hNV(@GLhalf short s, @GLhalf short t, @GLhalf short r, @GLhalf short q);
void glTexCoord4hNV(@GLhalf short s, @GLhalf short t, @GLhalf short r, @GLhalf short q);
public void glMultiTexCoord1hNV(@GLenum int target, @GLhalf short s);
void glMultiTexCoord1hNV(@GLenum int target, @GLhalf short s);
public void glMultiTexCoord2hNV(@GLenum int target, @GLhalf short s, @GLhalf short t);
void glMultiTexCoord2hNV(@GLenum int target, @GLhalf short s, @GLhalf short t);
public void glMultiTexCoord3hNV(@GLenum int target, @GLhalf short s, @GLhalf short t, @GLhalf short r);
void glMultiTexCoord3hNV(@GLenum int target, @GLhalf short s, @GLhalf short t, @GLhalf short r);
public void glMultiTexCoord4hNV(@GLenum int target, @GLhalf short s, @GLhalf short t, @GLhalf short r, @GLhalf short q);
void glMultiTexCoord4hNV(@GLenum int target, @GLhalf short s, @GLhalf short t, @GLhalf short r, @GLhalf short q);
public void glFogCoordhNV(@GLhalf short fog);
void glFogCoordhNV(@GLhalf short fog);
public void glSecondaryColor3hNV(@GLhalf short red, @GLhalf short green, @GLhalf short blue);
void glSecondaryColor3hNV(@GLhalf short red, @GLhalf short green, @GLhalf short blue);
public void glVertexAttrib1hNV(@GLuint int index, @GLhalf short x);
void glVertexAttrib1hNV(@GLuint int index, @GLhalf short x);
public void glVertexAttrib2hNV(@GLuint int index, @GLhalf short x, @GLhalf short y);
void glVertexAttrib2hNV(@GLuint int index, @GLhalf short x, @GLhalf short y);
public void glVertexAttrib3hNV(@GLuint int index, @GLhalf short x, @GLhalf short y, @GLhalf short z);
void glVertexAttrib3hNV(@GLuint int index, @GLhalf short x, @GLhalf short y, @GLhalf short z);
public void glVertexAttrib4hNV(@GLuint int index, @GLhalf short x, @GLhalf short y, @GLhalf short z, @GLhalf short w);
void glVertexAttrib4hNV(@GLuint int index, @GLhalf short x, @GLhalf short y, @GLhalf short z, @GLhalf short w);
@StripPostfix("attribs")
public 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")
public 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")
public 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")
public 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,6 +32,6 @@
package org.lwjgl.opengl;
public interface NV_light_max_exponent {
public static final int GL_MAX_SHININESS_NV = 0x8504;
public static final int GL_MAX_SPOT_EXPONENT_NV = 0x8505;
int GL_MAX_SHININESS_NV = 0x8504;
int GL_MAX_SPOT_EXPONENT_NV = 0x8505;
}

View File

@ -36,5 +36,5 @@ public interface NV_multisample_filter_hint {
* Accepted by the <target> parameter of Hint and by the <pname>
* parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
*/
public static final int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
int GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534;
}

View File

@ -36,25 +36,25 @@ import java.nio.IntBuffer;
import org.lwjgl.generator.*;
public interface NV_occlusion_query {
public static final int GL_OCCLUSION_TEST_HP = 0x8165;
public static final int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
int GL_OCCLUSION_TEST_HP = 0x8165;
int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
/* HP_occlusion_test */
public static final int GL_PIXEL_COUNTER_BITS_NV = 0x8864;
public static final int GL_CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865;
public static final int GL_PIXEL_COUNT_NV = 0x8866;
public static final int GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867;
int GL_PIXEL_COUNTER_BITS_NV = 0x8864;
int GL_CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865;
int GL_PIXEL_COUNT_NV = 0x8866;
int GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867;
public void glGenOcclusionQueriesNV(@AutoSize("piIDs") @GLsizei int n, @GLuint IntBuffer piIDs);
public void glDeleteOcclusionQueriesNV(@AutoSize("piIDs") @GLsizei int n, @Const @GLuint IntBuffer piIDs);
void glGenOcclusionQueriesNV(@AutoSize("piIDs") @GLsizei int n, @GLuint IntBuffer piIDs);
void glDeleteOcclusionQueriesNV(@AutoSize("piIDs") @GLsizei int n, @Const @GLuint IntBuffer piIDs);
public boolean glIsOcclusionQueryNV(@GLuint int id);
boolean glIsOcclusionQueryNV(@GLuint int id);
public void glBeginOcclusionQueryNV(@GLuint int id);
void glBeginOcclusionQueryNV(@GLuint int id);
public void glEndOcclusionQueryNV();
void glEndOcclusionQueryNV();
@StripPostfix("params")
public 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")
public 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

@ -32,6 +32,6 @@
package org.lwjgl.opengl;
public interface NV_packed_depth_stencil {
public static final int GL_DEPTH_STENCIL_NV = 0x84F9;
public static final int GL_UNSIGNED_INT_24_8_NV = 0x84FA;
int GL_DEPTH_STENCIL_NV = 0x84F9;
int GL_UNSIGNED_INT_24_8_NV = 0x84FA;
}

View File

@ -32,10 +32,6 @@
package org.lwjgl.opengl;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import org.lwjgl.generator.*;
@ -45,28 +41,28 @@ public interface NV_pixel_data_range {
* FlushPixelDataRangeNV, and by the <cap> parameter of
* EnableClientState, DisableClientState, and IsEnabled:
*/
public static final int GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878;
public static final int GL_READ_PIXEL_DATA_RANGE_NV = 0x8879;
int GL_WRITE_PIXEL_DATA_RANGE_NV = 0x8878;
int GL_READ_PIXEL_DATA_RANGE_NV = 0x8879;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A;
public static final int GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B;
int GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A;
int GL_READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B;
/*
* Accepted by the <pname> parameter of GetPointerv:
*/
public static final int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C;
public static final int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D;
int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C;
int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D;
public void glPixelDataRangeNV(@GLenum int target, @AutoSize("data") @GLsizei int length,
void glPixelDataRangeNV(@GLenum int target, @AutoSize("data") @GLsizei int length,
@GLbyte
@GLshort
@GLint
@GLfloat
Buffer data);
public void glFlushPixelDataRangeNV(@GLenum int target);
void glFlushPixelDataRangeNV(@GLenum int target);
}

View File

@ -36,12 +36,12 @@ import java.nio.IntBuffer;
import org.lwjgl.generator.*;
public interface NV_point_sprite {
public static final int GL_POINT_SPRITE_NV = 0x8861;
public static final int GL_COORD_REPLACE_NV = 0x8862;
public static final int GL_POINT_SPRITE_R_MODE_NV = 0x8863;
int GL_POINT_SPRITE_NV = 0x8861;
int GL_COORD_REPLACE_NV = 0x8862;
int GL_POINT_SPRITE_R_MODE_NV = 0x8863;
public void glPointParameteriNV(@GLenum int pname, int param);
void glPointParameteriNV(@GLenum int pname, int param);
@StripPostfix("params")
public void glPointParameterivNV(@GLenum int pname, @Check("4") @Const IntBuffer params);
void glPointParameterivNV(@GLenum int pname, @Check("4") @Const IntBuffer params);
}

View File

@ -40,15 +40,15 @@ public interface NV_primitive_restart {
* the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
*/
public static final int GL_PRIMITIVE_RESTART_NV = 0x8558;
int GL_PRIMITIVE_RESTART_NV = 0x8558;
/*
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
public void glPrimitiveRestartNV();
void glPrimitiveRestartNV();
public void glPrimitiveRestartIndexNV(@GLuint int index);
void glPrimitiveRestartIndexNV(@GLuint int index);
}

View File

@ -42,43 +42,43 @@ public interface NV_program {
/*
Accepted by the <pname> parameter of GetProgramivNV:
*/
public static final int GL_PROGRAM_TARGET_NV = 0x8646;
public static final int GL_PROGRAM_LENGTH_NV = 0x8627;
public static final int GL_PROGRAM_RESIDENT_NV = 0x8647;
int GL_PROGRAM_TARGET_NV = 0x8646;
int GL_PROGRAM_LENGTH_NV = 0x8627;
int GL_PROGRAM_RESIDENT_NV = 0x8647;
/*
Accepted by the <pname> parameter of GetProgramStringNV:
*/
public static final int GL_PROGRAM_STRING_NV = 0x8628;
int GL_PROGRAM_STRING_NV = 0x8628;
/*
Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
public static final int GL_PROGRAM_ERROR_POSITION_NV = 0x864B;
int GL_PROGRAM_ERROR_POSITION_NV = 0x864B;
/*
Accepted by the <name> parameter of GetString:
*/
public static final int GL_PROGRAM_ERROR_STRING_NV = 0x8874;
int GL_PROGRAM_ERROR_STRING_NV = 0x8874;
public void glLoadProgramNV(@GLenum int target, @GLuint int programID, @AutoSize("string") @GLsizei int length, @Const @GLubyte Buffer string);
void glLoadProgramNV(@GLenum int target, @GLuint int programID, @AutoSize("string") @GLsizei int length, @Const @GLubyte Buffer string);
public void glBindProgramNV(@GLenum int target, @GLuint int programID);
void glBindProgramNV(@GLenum int target, @GLuint int programID);
public void glDeleteProgramsNV(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs);
public void glGenProgramsNV(@AutoSize("programs") @GLsizei int n, @GLuint IntBuffer programs);
void glDeleteProgramsNV(@AutoSize("programs") @GLsizei int n, @Const @GLuint IntBuffer programs);
void glGenProgramsNV(@AutoSize("programs") @GLsizei int n, @GLuint IntBuffer programs);
@StripPostfix("params")
public void glGetProgramivNV(@GLuint int programID, @GLenum int parameterName, @Check @GLint IntBuffer params);
void glGetProgramivNV(@GLuint int programID, @GLenum int parameterName, @Check @GLint IntBuffer params);
public void glGetProgramStringNV(@GLuint int programID, @GLenum int parameterName, @Check @GLubyte Buffer paramString);
void glGetProgramStringNV(@GLuint int programID, @GLenum int parameterName, @Check @GLubyte Buffer paramString);
public boolean glIsProgramNV(@GLuint int programID);
boolean glIsProgramNV(@GLuint int programID);
@Code( " if (programIDs.remaining() != programResidences.remaining())\n" +
" throw new IllegalArgumentException(\"programIDs.remaining() != programResidences.remaining()\");")
public boolean glAreProgramsResidentNV(@AutoSize("programIDs") @GLsizei int n,
boolean glAreProgramsResidentNV(@AutoSize("programIDs") @GLsizei int n,
@Const
@GLuint
IntBuffer programIDs,
@ -86,6 +86,6 @@ public interface NV_program {
@GLboolean
ByteBuffer programResidences);
public void glRequestResidentProgramsNV(@AutoSize("programIDs") @GLsizei int n, @GLuint IntBuffer programIDs);
void glRequestResidentProgramsNV(@AutoSize("programIDs") @GLsizei int n, @GLuint IntBuffer programIDs);
}

View File

@ -37,86 +37,86 @@ import java.nio.IntBuffer;
import org.lwjgl.generator.*;
public interface NV_register_combiners {
public static final int GL_REGISTER_COMBINERS_NV = 0x8522;
public static final int GL_COMBINER0_NV = 0x8550;
public static final int GL_COMBINER1_NV = 0x8551;
public static final int GL_COMBINER2_NV = 0x8552;
public static final int GL_COMBINER3_NV = 0x8553;
public static final int GL_COMBINER4_NV = 0x8554;
public static final int GL_COMBINER5_NV = 0x8555;
public static final int GL_COMBINER6_NV = 0x8556;
public static final int GL_COMBINER7_NV = 0x8557;
public static final int GL_VARIABLE_A_NV = 0x8523;
public static final int GL_VARIABLE_B_NV = 0x8524;
public static final int GL_VARIABLE_C_NV = 0x8525;
public static final int GL_VARIABLE_D_NV = 0x8526;
public static final int GL_VARIABLE_E_NV = 0x8527;
public static final int GL_VARIABLE_F_NV = 0x8528;
public static final int GL_VARIABLE_G_NV = 0x8529;
public static final int GL_CONSTANT_COLOR0_NV = 0x852A;
public static final int GL_CONSTANT_COLOR1_NV = 0x852B;
public static final int GL_PRIMARY_COLOR_NV = 0x852C;
public static final int GL_SECONDARY_COLOR_NV = 0x852D;
public static final int GL_SPARE0_NV = 0x852E;
public static final int GL_SPARE1_NV = 0x852F;
public static final int GL_UNSIGNED_IDENTITY_NV = 0x8536;
public static final int GL_UNSIGNED_INVERT_NV = 0x8537;
public static final int GL_EXPAND_NORMAL_NV = 0x8538;
public static final int GL_EXPAND_NEGATE_NV = 0x8539;
public static final int GL_HALF_BIAS_NORMAL_NV = 0x853A;
public static final int GL_HALF_BIAS_NEGATE_NV = 0x853B;
public static final int GL_SIGNED_IDENTITY_NV = 0x853C;
public static final int GL_SIGNED_NEGATE_NV = 0x853D;
public static final int GL_E_TIMES_F_NV = 0x8531;
public static final int GL_SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532;
public static final int GL_SCALE_BY_TWO_NV = 0x853E;
public static final int GL_SCALE_BY_FOUR_NV = 0x853F;
public static final int GL_SCALE_BY_ONE_HALF_NV = 0x8540;
public static final int GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541;
public static final int GL_DISCARD_NV = 0x8530;
public static final int GL_COMBINER_INPUT_NV = 0x8542;
public static final int GL_COMBINER_MAPPING_NV = 0x8543;
public static final int GL_COMBINER_COMPONENT_USAGE_NV = 0x8544;
public static final int GL_COMBINER_AB_DOT_PRODUCT_NV = 0x8545;
public static final int GL_COMBINER_CD_DOT_PRODUCT_NV = 0x8546;
public static final int GL_COMBINER_MUX_SUM_NV = 0x8547;
public static final int GL_COMBINER_SCALE_NV = 0x8548;
public static final int GL_COMBINER_BIAS_NV = 0x8549;
public static final int GL_COMBINER_AB_OUTPUT_NV = 0x854A;
public static final int GL_COMBINER_CD_OUTPUT_NV = 0x854B;
public static final int GL_COMBINER_SUM_OUTPUT_NV = 0x854C;
public static final int GL_NUM_GENERAL_COMBINERS_NV = 0x854E;
public static final int GL_COLOR_SUM_CLAMP_NV = 0x854F;
public static final int GL_MAX_GENERAL_COMBINERS_NV = 0x854D;
int GL_REGISTER_COMBINERS_NV = 0x8522;
int GL_COMBINER0_NV = 0x8550;
int GL_COMBINER1_NV = 0x8551;
int GL_COMBINER2_NV = 0x8552;
int GL_COMBINER3_NV = 0x8553;
int GL_COMBINER4_NV = 0x8554;
int GL_COMBINER5_NV = 0x8555;
int GL_COMBINER6_NV = 0x8556;
int GL_COMBINER7_NV = 0x8557;
int GL_VARIABLE_A_NV = 0x8523;
int GL_VARIABLE_B_NV = 0x8524;
int GL_VARIABLE_C_NV = 0x8525;
int GL_VARIABLE_D_NV = 0x8526;
int GL_VARIABLE_E_NV = 0x8527;
int GL_VARIABLE_F_NV = 0x8528;
int GL_VARIABLE_G_NV = 0x8529;
int GL_CONSTANT_COLOR0_NV = 0x852A;
int GL_CONSTANT_COLOR1_NV = 0x852B;
int GL_PRIMARY_COLOR_NV = 0x852C;
int GL_SECONDARY_COLOR_NV = 0x852D;
int GL_SPARE0_NV = 0x852E;
int GL_SPARE1_NV = 0x852F;
int GL_UNSIGNED_IDENTITY_NV = 0x8536;
int GL_UNSIGNED_INVERT_NV = 0x8537;
int GL_EXPAND_NORMAL_NV = 0x8538;
int GL_EXPAND_NEGATE_NV = 0x8539;
int GL_HALF_BIAS_NORMAL_NV = 0x853A;
int GL_HALF_BIAS_NEGATE_NV = 0x853B;
int GL_SIGNED_IDENTITY_NV = 0x853C;
int GL_SIGNED_NEGATE_NV = 0x853D;
int GL_E_TIMES_F_NV = 0x8531;
int GL_SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532;
int GL_SCALE_BY_TWO_NV = 0x853E;
int GL_SCALE_BY_FOUR_NV = 0x853F;
int GL_SCALE_BY_ONE_HALF_NV = 0x8540;
int GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541;
int GL_DISCARD_NV = 0x8530;
int GL_COMBINER_INPUT_NV = 0x8542;
int GL_COMBINER_MAPPING_NV = 0x8543;
int GL_COMBINER_COMPONENT_USAGE_NV = 0x8544;
int GL_COMBINER_AB_DOT_PRODUCT_NV = 0x8545;
int GL_COMBINER_CD_DOT_PRODUCT_NV = 0x8546;
int GL_COMBINER_MUX_SUM_NV = 0x8547;
int GL_COMBINER_SCALE_NV = 0x8548;
int GL_COMBINER_BIAS_NV = 0x8549;
int GL_COMBINER_AB_OUTPUT_NV = 0x854A;
int GL_COMBINER_CD_OUTPUT_NV = 0x854B;
int GL_COMBINER_SUM_OUTPUT_NV = 0x854C;
int GL_NUM_GENERAL_COMBINERS_NV = 0x854E;
int GL_COLOR_SUM_CLAMP_NV = 0x854F;
int GL_MAX_GENERAL_COMBINERS_NV = 0x854D;
public void glCombinerParameterfNV(@GLenum int pname, float param);
void glCombinerParameterfNV(@GLenum int pname, float param);
@StripPostfix("params")
public void glCombinerParameterfvNV(@GLenum int pname, @Check("4") @Const FloatBuffer params);
void glCombinerParameterfvNV(@GLenum int pname, @Check("4") @Const FloatBuffer params);
public void glCombinerParameteriNV(@GLenum int pname, int param);
void glCombinerParameteriNV(@GLenum int pname, int param);
@StripPostfix("params")
public void glCombinerParameterivNV(@GLenum int pname, @Check("4") @Const IntBuffer params);
void glCombinerParameterivNV(@GLenum int pname, @Check("4") @Const IntBuffer params);
public void glCombinerInputNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int input, @GLenum int mapping, @GLenum int componentUsage);
void glCombinerInputNV(@GLenum int stage, @GLenum int portion, @GLenum int variable, @GLenum int input, @GLenum int mapping, @GLenum int componentUsage);
public void glCombinerOutputNV(@GLenum int stage, @GLenum int portion, @GLenum int abOutput, @GLenum int cdOutput, @GLenum int sumOutput, @GLenum int scale, @GLenum int bias, boolean abDotProduct, boolean cdDotProduct, boolean muxSum);
void glCombinerOutputNV(@GLenum int stage, @GLenum int portion, @GLenum int abOutput, @GLenum int cdOutput, @GLenum int sumOutput, @GLenum int scale, @GLenum int bias, boolean abDotProduct, boolean cdDotProduct, boolean muxSum);
public void glFinalCombinerInputNV(@GLenum int variable, @GLenum int input, @GLenum int mapping, @GLenum int componentUsage);
void glFinalCombinerInputNV(@GLenum int variable, @GLenum int input, @GLenum int mapping, @GLenum int componentUsage);
@StripPostfix("params")
public 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")
public 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")
public 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")
public 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")
public 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")
public 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

@ -36,11 +36,11 @@ import java.nio.FloatBuffer;
import org.lwjgl.generator.*;
public interface NV_register_combiners2 {
public static final int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
@StripPostfix("params")
public void glCombinerStageParameterfvNV(@GLenum int stage, @GLenum int pname, @Const @Check("4") FloatBuffer params);
void glCombinerStageParameterfvNV(@GLenum int stage, @GLenum int pname, @Const @Check("4") FloatBuffer params);
@StripPostfix("params")
public void glGetCombinerStageParameterfvNV(@GLenum int stage, @GLenum int pname, @Check("4") FloatBuffer params);
void glGetCombinerStageParameterfvNV(@GLenum int stage, @GLenum int pname, @Check("4") FloatBuffer params);
}

View File

@ -32,6 +32,6 @@
package org.lwjgl.opengl;
public interface NV_texgen_reflection {
public static final int GL_NORMAL_MAP_NV = 0x8511;
public static final int GL_REFLECTION_MAP_NV = 0x8512;
int GL_NORMAL_MAP_NV = 0x8511;
int GL_REFLECTION_MAP_NV = 0x8512;
}

View File

@ -40,8 +40,8 @@ public interface NV_texture_compression_vtc {
* CompressedTexImage3DARB and the <format> parameter of
* CompressedTexSubImage2DARB:
*/
public static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
public static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
public static final int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
public static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
int GL_COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
}

View File

@ -32,9 +32,9 @@
package org.lwjgl.opengl;
public interface NV_texture_env_combine4 {
public static final int GL_COMBINE4_NV = 0x8503;
public static final int GL_SOURCE3_RGB_NV = 0x8583;
public static final int GL_SOURCE3_ALPHA_NV = 0x858B;
public static final int GL_OPERAND3_RGB_NV = 0x8593;
public static final int GL_OPERAND3_ALPHA_NV = 0x859B;
int GL_COMBINE4_NV = 0x8503;
int GL_SOURCE3_RGB_NV = 0x8583;
int GL_SOURCE3_ALPHA_NV = 0x858B;
int GL_OPERAND3_RGB_NV = 0x8593;
int GL_OPERAND3_ALPHA_NV = 0x859B;
}

View File

@ -37,5 +37,5 @@ public interface NV_texture_expand_normal {
* TexParameteriv, TexParameterf, TexParameterfv, GetTexParameteri,
* and GetTexParameteriv:
*/
public static final int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F;
int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F;
}

View File

@ -32,8 +32,8 @@
package org.lwjgl.opengl;
public interface NV_texture_rectangle {
public static final int GL_TEXTURE_RECTANGLE_NV = 0x84F5;
public static final int GL_TEXTURE_BINDING_RECTANGLE_NV = 0x84F6;
public static final int GL_PROXY_TEXTURE_RECTANGLE_NV = 0x84F7;
public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = 0x84F8;
int GL_TEXTURE_RECTANGLE_NV = 0x84F5;
int GL_TEXTURE_BINDING_RECTANGLE_NV = 0x84F6;
int GL_PROXY_TEXTURE_RECTANGLE_NV = 0x84F7;
int GL_MAX_RECTANGLE_TEXTURE_SIZE_NV = 0x84F8;
}

View File

@ -32,74 +32,74 @@
package org.lwjgl.opengl;
public interface NV_texture_shader {
public static final int GL_TEXTURE_SHADER_NV = 0x86DE;
public static final int GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = 0x86D9;
public static final int GL_SHADER_OPERATION_NV = 0x86DF;
public static final int GL_CULL_MODES_NV = 0x86E0;
public static final int GL_OFFSET_TEXTURE_MATRIX_NV = 0x86E1;
public static final int GL_OFFSET_TEXTURE_SCALE_NV = 0x86E2;
public static final int GL_OFFSET_TEXTURE_BIAS_NV = 0x86E3;
public static final int GL_PREVIOUS_TEXTURE_INPUT_NV = 0x86E4;
public static final int GL_CONST_EYE_NV = 0x86E5;
public static final int GL_SHADER_CONSISTENT_NV = 0x86DD;
public static final int GL_PASS_THROUGH_NV = 0x86E6;
public static final int GL_CULL_FRAGMENT_NV = 0x86E7;
public static final int GL_OFFSET_TEXTURE_2D_NV = 0x86E8;
public static final int GL_OFFSET_TEXTURE_RECTANGLE_NV = 0x864C;
public static final int GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV = 0x864D;
public static final int GL_DEPENDENT_AR_TEXTURE_2D_NV = 0x86E9;
public static final int GL_DEPENDENT_GB_TEXTURE_2D_NV = 0x86EA;
public static final int GL_DOT_PRODUCT_NV = 0x86EC;
public static final int GL_DOT_PRODUCT_DEPTH_REPLACE_NV = 0x86ED;
public static final int GL_DOT_PRODUCT_TEXTURE_2D_NV = 0x86EE;
public static final int GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV = 0x864E;
public static final int GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = 0x86F0;
public static final int GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = 0x86F1;
public static final int GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV = 0x86F2;
public static final int GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = 0x86F3;
public static final int GL_HILO_NV = 0x86F4;
public static final int GL_DSDT_NV = 0x86F5;
public static final int GL_DSDT_MAG_NV = 0x86F6;
public static final int GL_DSDT_MAG_VIB_NV = 0x86F7;
public static final int GL_UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA;
public static final int GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB;
public static final int GL_SIGNED_RGBA_NV = 0x86FB;
public static final int GL_SIGNED_RGBA8_NV = 0x86FC;
public static final int GL_SIGNED_RGB_NV = 0x86FE;
public static final int GL_SIGNED_RGB8_NV = 0x86FF;
public static final int GL_SIGNED_LUMINANCE_NV = 0x8701;
public static final int GL_SIGNED_LUMINANCE8_NV = 0x8702;
public static final int GL_SIGNED_LUMINANCE_ALPHA_NV = 0x8703;
public static final int GL_SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704;
public static final int GL_SIGNED_ALPHA_NV = 0x8705;
public static final int GL_SIGNED_ALPHA8_NV = 0x8706;
public static final int GL_SIGNED_INTENSITY_NV = 0x8707;
public static final int GL_SIGNED_INTENSITY8_NV = 0x8708;
public static final int GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C;
public static final int GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D;
public static final int GL_HILO16_NV = 0x86F8;
public static final int GL_SIGNED_HILO_NV = 0x86F9;
public static final int GL_SIGNED_HILO16_NV = 0x86FA;
public static final int GL_DSDT8_NV = 0x8709;
public static final int GL_DSDT8_MAG8_NV = 0x870A;
public static final int GL_DSDT_MAG_INTENSITY_NV = 0x86DC;
public static final int GL_DSDT8_MAG8_INTENSITY8_NV = 0x870B;
public static final int GL_HI_SCALE_NV = 0x870E;
public static final int GL_LO_SCALE_NV = 0x870F;
public static final int GL_DS_SCALE_NV = 0x8710;
public static final int GL_DT_SCALE_NV = 0x8711;
public static final int GL_MAGNITUDE_SCALE_NV = 0x8712;
public static final int GL_VIBRANCE_SCALE_NV = 0x8713;
public static final int GL_HI_BIAS_NV = 0x8714;
public static final int GL_LO_BIAS_NV = 0x8715;
public static final int GL_DS_BIAS_NV = 0x8716;
public static final int GL_DT_BIAS_NV = 0x8717;
public static final int GL_MAGNITUDE_BIAS_NV = 0x8718;
public static final int GL_VIBRANCE_BIAS_NV = 0x8719;
public static final int GL_TEXTURE_BORDER_VALUES_NV = 0x871A;
public static final int GL_TEXTURE_HI_SIZE_NV = 0x871B;
public static final int GL_TEXTURE_LO_SIZE_NV = 0x871C;
public static final int GL_TEXTURE_DS_SIZE_NV = 0x871D;
public static final int GL_TEXTURE_DT_SIZE_NV = 0x871E;
public static final int GL_TEXTURE_MAG_SIZE_NV = 0x871F;
int GL_TEXTURE_SHADER_NV = 0x86DE;
int GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = 0x86D9;
int GL_SHADER_OPERATION_NV = 0x86DF;
int GL_CULL_MODES_NV = 0x86E0;
int GL_OFFSET_TEXTURE_MATRIX_NV = 0x86E1;
int GL_OFFSET_TEXTURE_SCALE_NV = 0x86E2;
int GL_OFFSET_TEXTURE_BIAS_NV = 0x86E3;
int GL_PREVIOUS_TEXTURE_INPUT_NV = 0x86E4;
int GL_CONST_EYE_NV = 0x86E5;
int GL_SHADER_CONSISTENT_NV = 0x86DD;
int GL_PASS_THROUGH_NV = 0x86E6;
int GL_CULL_FRAGMENT_NV = 0x86E7;
int GL_OFFSET_TEXTURE_2D_NV = 0x86E8;
int GL_OFFSET_TEXTURE_RECTANGLE_NV = 0x864C;
int GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV = 0x864D;
int GL_DEPENDENT_AR_TEXTURE_2D_NV = 0x86E9;
int GL_DEPENDENT_GB_TEXTURE_2D_NV = 0x86EA;
int GL_DOT_PRODUCT_NV = 0x86EC;
int GL_DOT_PRODUCT_DEPTH_REPLACE_NV = 0x86ED;
int GL_DOT_PRODUCT_TEXTURE_2D_NV = 0x86EE;
int GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV = 0x864E;
int GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = 0x86F0;
int GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = 0x86F1;
int GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV = 0x86F2;
int GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = 0x86F3;
int GL_HILO_NV = 0x86F4;
int GL_DSDT_NV = 0x86F5;
int GL_DSDT_MAG_NV = 0x86F6;
int GL_DSDT_MAG_VIB_NV = 0x86F7;
int GL_UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA;
int GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB;
int GL_SIGNED_RGBA_NV = 0x86FB;
int GL_SIGNED_RGBA8_NV = 0x86FC;
int GL_SIGNED_RGB_NV = 0x86FE;
int GL_SIGNED_RGB8_NV = 0x86FF;
int GL_SIGNED_LUMINANCE_NV = 0x8701;
int GL_SIGNED_LUMINANCE8_NV = 0x8702;
int GL_SIGNED_LUMINANCE_ALPHA_NV = 0x8703;
int GL_SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704;
int GL_SIGNED_ALPHA_NV = 0x8705;
int GL_SIGNED_ALPHA8_NV = 0x8706;
int GL_SIGNED_INTENSITY_NV = 0x8707;
int GL_SIGNED_INTENSITY8_NV = 0x8708;
int GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C;
int GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D;
int GL_HILO16_NV = 0x86F8;
int GL_SIGNED_HILO_NV = 0x86F9;
int GL_SIGNED_HILO16_NV = 0x86FA;
int GL_DSDT8_NV = 0x8709;
int GL_DSDT8_MAG8_NV = 0x870A;
int GL_DSDT_MAG_INTENSITY_NV = 0x86DC;
int GL_DSDT8_MAG8_INTENSITY8_NV = 0x870B;
int GL_HI_SCALE_NV = 0x870E;
int GL_LO_SCALE_NV = 0x870F;
int GL_DS_SCALE_NV = 0x8710;
int GL_DT_SCALE_NV = 0x8711;
int GL_MAGNITUDE_SCALE_NV = 0x8712;
int GL_VIBRANCE_SCALE_NV = 0x8713;
int GL_HI_BIAS_NV = 0x8714;
int GL_LO_BIAS_NV = 0x8715;
int GL_DS_BIAS_NV = 0x8716;
int GL_DT_BIAS_NV = 0x8717;
int GL_MAGNITUDE_BIAS_NV = 0x8718;
int GL_VIBRANCE_BIAS_NV = 0x8719;
int GL_TEXTURE_BORDER_VALUES_NV = 0x871A;
int GL_TEXTURE_HI_SIZE_NV = 0x871B;
int GL_TEXTURE_LO_SIZE_NV = 0x871C;
int GL_TEXTURE_DS_SIZE_NV = 0x871D;
int GL_TEXTURE_DT_SIZE_NV = 0x871E;
int GL_TEXTURE_MAG_SIZE_NV = 0x871F;
}

View File

@ -32,32 +32,32 @@
package org.lwjgl.opengl;
public interface NV_texture_shader2 {
public static final int GL_DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF;
public static final int GL_HILO_NV = 0x86F4;
public static final int GL_DSDT_NV = 0x86F5;
public static final int GL_DSDT_MAG_NV = 0x86F6;
public static final int GL_DSDT_MAG_VIB_NV = 0x86F7;
public static final int GL_UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA;
public static final int GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB;
public static final int GL_SIGNED_RGBA_NV = 0x86FB;
public static final int GL_SIGNED_RGBA8_NV = 0x86FC;
public static final int GL_SIGNED_RGB_NV = 0x86FE;
public static final int GL_SIGNED_RGB8_NV = 0x86FF;
public static final int GL_SIGNED_LUMINANCE_NV = 0x8701;
public static final int GL_SIGNED_LUMINANCE8_NV = 0x8702;
public static final int GL_SIGNED_LUMINANCE_ALPHA_NV = 0x8703;
public static final int GL_SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704;
public static final int GL_SIGNED_ALPHA_NV = 0x8705;
public static final int GL_SIGNED_ALPHA8_NV = 0x8706;
public static final int GL_SIGNED_INTENSITY_NV = 0x8707;
public static final int GL_SIGNED_INTENSITY8_NV = 0x8708;
public static final int GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C;
public static final int GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D;
public static final int GL_HILO16_NV = 0x86F8;
public static final int GL_SIGNED_HILO_NV = 0x86F9;
public static final int GL_SIGNED_HILO16_NV = 0x86FA;
public static final int GL_DSDT8_NV = 0x8709;
public static final int GL_DSDT8_MAG8_NV = 0x870A;
public static final int GL_DSDT_MAG_INTENSITY_NV = 0x86DC;
public static final int GL_DSDT8_MAG8_INTENSITY8_NV = 0x870B;
int GL_DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF;
int GL_HILO_NV = 0x86F4;
int GL_DSDT_NV = 0x86F5;
int GL_DSDT_MAG_NV = 0x86F6;
int GL_DSDT_MAG_VIB_NV = 0x86F7;
int GL_UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA;
int GL_UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB;
int GL_SIGNED_RGBA_NV = 0x86FB;
int GL_SIGNED_RGBA8_NV = 0x86FC;
int GL_SIGNED_RGB_NV = 0x86FE;
int GL_SIGNED_RGB8_NV = 0x86FF;
int GL_SIGNED_LUMINANCE_NV = 0x8701;
int GL_SIGNED_LUMINANCE8_NV = 0x8702;
int GL_SIGNED_LUMINANCE_ALPHA_NV = 0x8703;
int GL_SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704;
int GL_SIGNED_ALPHA_NV = 0x8705;
int GL_SIGNED_ALPHA8_NV = 0x8706;
int GL_SIGNED_INTENSITY_NV = 0x8707;
int GL_SIGNED_INTENSITY8_NV = 0x8708;
int GL_SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C;
int GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D;
int GL_HILO16_NV = 0x86F8;
int GL_SIGNED_HILO_NV = 0x86F9;
int GL_SIGNED_HILO16_NV = 0x86FA;
int GL_DSDT8_NV = 0x8709;
int GL_DSDT8_MAG8_NV = 0x870A;
int GL_DSDT_MAG_INTENSITY_NV = 0x86DC;
int GL_DSDT8_MAG8_INTENSITY8_NV = 0x870B;
}

View File

@ -32,21 +32,21 @@
package org.lwjgl.opengl;
public interface NV_texture_shader3 {
public static final int GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850;
public static final int GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = 0x8851;
public static final int GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852;
public static final int GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV = 0x8853;
public static final int GL_OFFSET_HILO_TEXTURE_2D_NV = 0x8854;
public static final int GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV = 0x8855;
public static final int GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV = 0x8856;
public static final int GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8857;
public static final int GL_DEPENDENT_HILO_TEXTURE_2D_NV = 0x8858;
public static final int GL_DEPENDENT_RGB_TEXTURE_3D_NV = 0x8859;
public static final int GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV = 0x885A;
public static final int GL_DOT_PRODUCT_PASS_THROUGH_NV = 0x885B;
public static final int GL_DOT_PRODUCT_TEXTURE_1D_NV = 0x885C;
public static final int GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV = 0x885D;
public static final int GL_HILO8_NV = 0x885E;
public static final int GL_SIGNED_HILO8_NV = 0x885F;
public static final int GL_FORCE_BLUE_TO_ONE_NV = 0x8860;
int GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850;
int GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = 0x8851;
int GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852;
int GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV = 0x8853;
int GL_OFFSET_HILO_TEXTURE_2D_NV = 0x8854;
int GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV = 0x8855;
int GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV = 0x8856;
int GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8857;
int GL_DEPENDENT_HILO_TEXTURE_2D_NV = 0x8858;
int GL_DEPENDENT_RGB_TEXTURE_3D_NV = 0x8859;
int GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV = 0x885A;
int GL_DOT_PRODUCT_PASS_THROUGH_NV = 0x885B;
int GL_DOT_PRODUCT_TEXTURE_1D_NV = 0x885C;
int GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV = 0x885D;
int GL_HILO8_NV = 0x885E;
int GL_SIGNED_HILO8_NV = 0x885F;
int GL_FORCE_BLUE_TO_ONE_NV = 0x8860;
}

View File

@ -37,13 +37,13 @@ import java.nio.ByteBuffer;
import org.lwjgl.generator.*;
public interface NV_vertex_array_range {
public static final int GL_VERTEX_ARRAY_RANGE_NV = 0x851D;
public static final int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E;
public static final int GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F;
public static final int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520;
public static final int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521;
int GL_VERTEX_ARRAY_RANGE_NV = 0x851D;
int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E;
int GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F;
int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520;
int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521;
public void glVertexArrayRangeNV(@AutoSize("pPointer") @GLsizei int size,
void glVertexArrayRangeNV(@AutoSize("pPointer") @GLsizei int size,
@Const
@GLbyte
@GLshort
@ -51,11 +51,11 @@ public interface NV_vertex_array_range {
@GLfloat
Buffer pPointer);
public void glFlushVertexArrayRangeNV();
void glFlushVertexArrayRangeNV();
@PlatformDependent({Platform.WGL, Platform.GLX})
public @GLvoid ByteBuffer glAllocateMemoryNV(int size, float readFrequency, float writeFrequency, float priority);
@GLvoid ByteBuffer glAllocateMemoryNV(int size, float readFrequency, float writeFrequency, float priority);
@PlatformDependent({Platform.WGL, Platform.GLX})
public void glFreeMemoryNV(@Check @GLbyte Buffer pointer);
void glFreeMemoryNV(@Check @GLbyte Buffer pointer);
}

View File

@ -32,5 +32,5 @@
package org.lwjgl.opengl;
public interface NV_vertex_array_range2 {
public static final int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533;
int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533;
}

View File

@ -48,82 +48,82 @@ public interface NV_vertex_program extends NV_program {
ExecuteProgramNV, GetProgramParameter[df]vNV, GetTrackMatrixivNV,
LoadProgramNV, ProgramParameter[s]4[df][v]NV, and TrackMatrixNV:
*/
public static final int GL_VERTEX_PROGRAM_NV = 0x8620;
int GL_VERTEX_PROGRAM_NV = 0x8620;
/*
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
and GetDoublev:
*/
public static final int GL_VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642;
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643;
int GL_VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642;
int GL_VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643;
/*
Accepted by the <target> parameter of ExecuteProgramNV and
LoadProgramNV:
*/
public static final int GL_VERTEX_STATE_PROGRAM_NV = 0x8621;
int GL_VERTEX_STATE_PROGRAM_NV = 0x8621;
/*
Accepted by the <pname> parameter of GetVertexAttrib[dfi]vNV:
*/
public static final int GL_ATTRIB_ARRAY_SIZE_NV = 0x8623;
public static final int GL_ATTRIB_ARRAY_STRIDE_NV = 0x8624;
public static final int GL_ATTRIB_ARRAY_TYPE_NV = 0x8625;
public static final int GL_CURRENT_ATTRIB_NV = 0x8626;
int GL_ATTRIB_ARRAY_SIZE_NV = 0x8623;
int GL_ATTRIB_ARRAY_STRIDE_NV = 0x8624;
int GL_ATTRIB_ARRAY_TYPE_NV = 0x8625;
int GL_CURRENT_ATTRIB_NV = 0x8626;
/*
Accepted by the <pname> parameter of GetProgramParameterfvNV
and GetProgramParameterdvNV:
*/
public static final int GL_PROGRAM_PARAMETER_NV = 0x8644;
int GL_PROGRAM_PARAMETER_NV = 0x8644;
/*
Accepted by the <pname> parameter of GetVertexAttribPointervNV:
*/
public static final int GL_ATTRIB_ARRAY_POINTER_NV = 0x8645;
int GL_ATTRIB_ARRAY_POINTER_NV = 0x8645;
/*
Accepted by the <pname> parameter of GetTrackMatrixivNV:
*/
public static final int GL_TRACK_MATRIX_NV = 0x8648;
public static final int GL_TRACK_MATRIX_TRANSFORM_NV = 0x8649;
int GL_TRACK_MATRIX_NV = 0x8648;
int GL_TRACK_MATRIX_TRANSFORM_NV = 0x8649;
/*
Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E;
public static final int GL_MAX_TRACK_MATRICES_NV = 0x862F;
public static final int GL_CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640;
public static final int GL_CURRENT_MATRIX_NV = 0x8641;
public static final int GL_VERTEX_PROGRAM_BINDING_NV = 0x864A;
int GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E;
int GL_MAX_TRACK_MATRICES_NV = 0x862F;
int GL_CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640;
int GL_CURRENT_MATRIX_NV = 0x8641;
int GL_VERTEX_PROGRAM_BINDING_NV = 0x864A;
/*
Accepted by the <matrix> parameter of TrackMatrixNV:
*/
public static final int GL_MODELVIEW_PROJECTION_NV = 0x8629;
int GL_MODELVIEW_PROJECTION_NV = 0x8629;
/*
Accepted by the <matrix> parameter of TrackMatrixNV and by the
<mode> parameter of MatrixMode:
*/
public static final int GL_MATRIX0_NV = 0x8630;
public static final int GL_MATRIX1_NV = 0x8631;
public static final int GL_MATRIX2_NV = 0x8632;
public static final int GL_MATRIX3_NV = 0x8633;
public static final int GL_MATRIX4_NV = 0x8634;
public static final int GL_MATRIX5_NV = 0x8635;
public static final int GL_MATRIX6_NV = 0x8636;
public static final int GL_MATRIX7_NV = 0x8637;
int GL_MATRIX0_NV = 0x8630;
int GL_MATRIX1_NV = 0x8631;
int GL_MATRIX2_NV = 0x8632;
int GL_MATRIX3_NV = 0x8633;
int GL_MATRIX4_NV = 0x8634;
int GL_MATRIX5_NV = 0x8635;
int GL_MATRIX6_NV = 0x8636;
int GL_MATRIX7_NV = 0x8637;
/*
Accepted by the <transform> parameter of TrackMatrixNV:
*/
public static final int GL_IDENTITY_NV = 0x862A;
public static final int GL_INVERSE_NV = 0x862B;
public static final int GL_TRANSPOSE_NV = 0x862C;
public static final int GL_INVERSE_TRANSPOSE_NV = 0x862D;
int GL_IDENTITY_NV = 0x862A;
int GL_INVERSE_NV = 0x862B;
int GL_TRANSPOSE_NV = 0x862C;
int GL_INVERSE_TRANSPOSE_NV = 0x862D;
/*
Accepted by the <array> parameter of EnableClientState and
@ -131,22 +131,22 @@ public interface NV_vertex_program extends NV_program {
the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev:
*/
public static final int GL_VERTEX_ATTRIB_ARRAY0_NV = 0x8650;
public static final int GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651;
public static final int GL_VERTEX_ATTRIB_ARRAY2_NV = 0x8652;
public static final int GL_VERTEX_ATTRIB_ARRAY3_NV = 0x8653;
public static final int GL_VERTEX_ATTRIB_ARRAY4_NV = 0x8654;
public static final int GL_VERTEX_ATTRIB_ARRAY5_NV = 0x8655;
public static final int GL_VERTEX_ATTRIB_ARRAY6_NV = 0x8656;
public static final int GL_VERTEX_ATTRIB_ARRAY7_NV = 0x8657;
public static final int GL_VERTEX_ATTRIB_ARRAY8_NV = 0x8658;
public static final int GL_VERTEX_ATTRIB_ARRAY9_NV = 0x8659;
public static final int GL_VERTEX_ATTRIB_ARRAY10_NV = 0x865A;
public static final int GL_VERTEX_ATTRIB_ARRAY11_NV = 0x865B;
public static final int GL_VERTEX_ATTRIB_ARRAY12_NV = 0x865C;
public static final int GL_VERTEX_ATTRIB_ARRAY13_NV = 0x865D;
public static final int GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865E;
public static final int GL_VERTEX_ATTRIB_ARRAY15_NV = 0x865F;
int GL_VERTEX_ATTRIB_ARRAY0_NV = 0x8650;
int GL_VERTEX_ATTRIB_ARRAY1_NV = 0x8651;
int GL_VERTEX_ATTRIB_ARRAY2_NV = 0x8652;
int GL_VERTEX_ATTRIB_ARRAY3_NV = 0x8653;
int GL_VERTEX_ATTRIB_ARRAY4_NV = 0x8654;
int GL_VERTEX_ATTRIB_ARRAY5_NV = 0x8655;
int GL_VERTEX_ATTRIB_ARRAY6_NV = 0x8656;
int GL_VERTEX_ATTRIB_ARRAY7_NV = 0x8657;
int GL_VERTEX_ATTRIB_ARRAY8_NV = 0x8658;
int GL_VERTEX_ATTRIB_ARRAY9_NV = 0x8659;
int GL_VERTEX_ATTRIB_ARRAY10_NV = 0x865A;
int GL_VERTEX_ATTRIB_ARRAY11_NV = 0x865B;
int GL_VERTEX_ATTRIB_ARRAY12_NV = 0x865C;
int GL_VERTEX_ATTRIB_ARRAY13_NV = 0x865D;
int GL_VERTEX_ATTRIB_ARRAY14_NV = 0x865E;
int GL_VERTEX_ATTRIB_ARRAY15_NV = 0x865F;
/*
Accepted by the <target> parameter of GetMapdv, GetMapfv, GetMapiv,
@ -154,22 +154,22 @@ public interface NV_vertex_program extends NV_program {
IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
public static final int GL_MAP1_VERTEX_ATTRIB0_4_NV = 0x8660;
public static final int GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661;
public static final int GL_MAP1_VERTEX_ATTRIB2_4_NV = 0x8662;
public static final int GL_MAP1_VERTEX_ATTRIB3_4_NV = 0x8663;
public static final int GL_MAP1_VERTEX_ATTRIB4_4_NV = 0x8664;
public static final int GL_MAP1_VERTEX_ATTRIB5_4_NV = 0x8665;
public static final int GL_MAP1_VERTEX_ATTRIB6_4_NV = 0x8666;
public static final int GL_MAP1_VERTEX_ATTRIB7_4_NV = 0x8667;
public static final int GL_MAP1_VERTEX_ATTRIB8_4_NV = 0x8668;
public static final int GL_MAP1_VERTEX_ATTRIB9_4_NV = 0x8669;
public static final int GL_MAP1_VERTEX_ATTRIB10_4_NV = 0x866A;
public static final int GL_MAP1_VERTEX_ATTRIB11_4_NV = 0x866B;
public static final int GL_MAP1_VERTEX_ATTRIB12_4_NV = 0x866C;
public static final int GL_MAP1_VERTEX_ATTRIB13_4_NV = 0x866D;
public static final int GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866E;
public static final int GL_MAP1_VERTEX_ATTRIB15_4_NV = 0x866F;
int GL_MAP1_VERTEX_ATTRIB0_4_NV = 0x8660;
int GL_MAP1_VERTEX_ATTRIB1_4_NV = 0x8661;
int GL_MAP1_VERTEX_ATTRIB2_4_NV = 0x8662;
int GL_MAP1_VERTEX_ATTRIB3_4_NV = 0x8663;
int GL_MAP1_VERTEX_ATTRIB4_4_NV = 0x8664;
int GL_MAP1_VERTEX_ATTRIB5_4_NV = 0x8665;
int GL_MAP1_VERTEX_ATTRIB6_4_NV = 0x8666;
int GL_MAP1_VERTEX_ATTRIB7_4_NV = 0x8667;
int GL_MAP1_VERTEX_ATTRIB8_4_NV = 0x8668;
int GL_MAP1_VERTEX_ATTRIB9_4_NV = 0x8669;
int GL_MAP1_VERTEX_ATTRIB10_4_NV = 0x866A;
int GL_MAP1_VERTEX_ATTRIB11_4_NV = 0x866B;
int GL_MAP1_VERTEX_ATTRIB12_4_NV = 0x866C;
int GL_MAP1_VERTEX_ATTRIB13_4_NV = 0x866D;
int GL_MAP1_VERTEX_ATTRIB14_4_NV = 0x866E;
int GL_MAP1_VERTEX_ATTRIB15_4_NV = 0x866F;
/*
Accepted by the <target> parameter of GetMapdv, GetMapfv, GetMapiv,
@ -177,49 +177,49 @@ public interface NV_vertex_program extends NV_program {
IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
*/
public static final int GL_MAP2_VERTEX_ATTRIB0_4_NV = 0x8670;
public static final int GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671;
public static final int GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672;
public static final int GL_MAP2_VERTEX_ATTRIB3_4_NV = 0x8673;
public static final int GL_MAP2_VERTEX_ATTRIB4_4_NV = 0x8674;
public static final int GL_MAP2_VERTEX_ATTRIB5_4_NV = 0x8675;
public static final int GL_MAP2_VERTEX_ATTRIB6_4_NV = 0x8676;
public static final int GL_MAP2_VERTEX_ATTRIB7_4_NV = 0x8677;
public static final int GL_MAP2_VERTEX_ATTRIB8_4_NV = 0x8678;
public static final int GL_MAP2_VERTEX_ATTRIB9_4_NV = 0x8679;
public static final int GL_MAP2_VERTEX_ATTRIB10_4_NV = 0x867A;
public static final int GL_MAP2_VERTEX_ATTRIB11_4_NV = 0x867B;
public static final int GL_MAP2_VERTEX_ATTRIB12_4_NV = 0x867C;
public static final int GL_MAP2_VERTEX_ATTRIB13_4_NV = 0x867D;
public static final int GL_MAP2_VERTEX_ATTRIB14_4_NV = 0x867E;
public static final int GL_MAP2_VERTEX_ATTRIB15_4_NV = 0x867F;
int GL_MAP2_VERTEX_ATTRIB0_4_NV = 0x8670;
int GL_MAP2_VERTEX_ATTRIB1_4_NV = 0x8671;
int GL_MAP2_VERTEX_ATTRIB2_4_NV = 0x8672;
int GL_MAP2_VERTEX_ATTRIB3_4_NV = 0x8673;
int GL_MAP2_VERTEX_ATTRIB4_4_NV = 0x8674;
int GL_MAP2_VERTEX_ATTRIB5_4_NV = 0x8675;
int GL_MAP2_VERTEX_ATTRIB6_4_NV = 0x8676;
int GL_MAP2_VERTEX_ATTRIB7_4_NV = 0x8677;
int GL_MAP2_VERTEX_ATTRIB8_4_NV = 0x8678;
int GL_MAP2_VERTEX_ATTRIB9_4_NV = 0x8679;
int GL_MAP2_VERTEX_ATTRIB10_4_NV = 0x867A;
int GL_MAP2_VERTEX_ATTRIB11_4_NV = 0x867B;
int GL_MAP2_VERTEX_ATTRIB12_4_NV = 0x867C;
int GL_MAP2_VERTEX_ATTRIB13_4_NV = 0x867D;
int GL_MAP2_VERTEX_ATTRIB14_4_NV = 0x867E;
int GL_MAP2_VERTEX_ATTRIB15_4_NV = 0x867F;
public void glExecuteProgramNV(@GLenum int target, @GLuint int id, @Check("4") @Const FloatBuffer params);
void glExecuteProgramNV(@GLenum int target, @GLuint int id, @Check("4") @Const FloatBuffer params);
@StripPostfix("params")
public void glGetProgramParameterfvNV(@GLenum int target, @GLuint int index, @GLenum int parameterName, @Check("4") FloatBuffer params);
void glGetProgramParameterfvNV(@GLenum int target, @GLuint int index, @GLenum int parameterName, @Check("4") FloatBuffer params);
@StripPostfix("params")
public void glGetTrackMatrixivNV(@GLenum int target, @GLuint int address, @GLenum int parameterName, @Check("4") IntBuffer params);
void glGetTrackMatrixivNV(@GLenum int target, @GLuint int address, @GLenum int parameterName, @Check("4") IntBuffer params);
@StripPostfix("params")
public 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")
public void glGetVertexAttribivNV(@GLuint int index, @GLenum int parameterName, @Check("4") IntBuffer params);
void glGetVertexAttribivNV(@GLuint int index, @GLenum int parameterName, @Check("4") IntBuffer params);
@StripPostfix("pointer")
public void glGetVertexAttribPointervNV(@GLuint int index, @GLenum int parameterName, @Result @GLvoid ByteBuffer pointer);
void glGetVertexAttribPointervNV(@GLuint int index, @GLenum int parameterName, @Result @GLvoid ByteBuffer pointer);
public 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);
@StripPostfix("params")
public 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
FloatBuffer params);
public 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);
public 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,
@BufferObject(BufferKind.ArrayVBO)
@Check
@Const
@ -232,41 +232,41 @@ public interface NV_vertex_program extends NV_program {
@GLfloat
Buffer buffer);
public void glVertexAttrib1sNV(@GLuint int index, short x);
void glVertexAttrib1sNV(@GLuint int index, short x);
public void glVertexAttrib1fNV(@GLuint int index, float x);
void glVertexAttrib1fNV(@GLuint int index, float x);
public void glVertexAttrib2sNV(@GLuint int index, short x, short y);
void glVertexAttrib2sNV(@GLuint int index, short x, short y);
public void glVertexAttrib2fNV(@GLuint int index, float x, float y);
void glVertexAttrib2fNV(@GLuint int index, float x, float y);
public void glVertexAttrib3sNV(@GLuint int index, short x, short y, short z);
void glVertexAttrib3sNV(@GLuint int index, short x, short y, short z);
public void glVertexAttrib3fNV(@GLuint int index, float x, float y, float z);
void glVertexAttrib3fNV(@GLuint int index, float x, float y, float z);
public 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);
public 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);
public 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")
public 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")
public 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")
public 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")
public void glVertexAttribs2fvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 1") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
public void glVertexAttribs3svNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
public void glVertexAttribs3fvNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const FloatBuffer v);
void glVertexAttribs2fvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 1") @GLsizei int n, @Const FloatBuffer v);
@StripPostfix("v")
public void glVertexAttribs4svNV(@GLuint int index, @AutoSize(value="v", expression=" >> 2") @GLsizei int n, @Const ShortBuffer v);
void glVertexAttribs3svNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const ShortBuffer v);
@StripPostfix("v")
public void glVertexAttribs4fvNV(@GLuint int index, @AutoSize(value="v", expression=" >> 2") @GLsizei int n, @Const FloatBuffer v);
void glVertexAttribs3fvNV(@GLuint int index, @AutoSize(value="v", expression=" / 3") @GLsizei int n, @Const FloatBuffer 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);
}

View File

@ -35,6 +35,6 @@ public interface NV_vertex_program2_option {
/*
* Accepted by the <pname> parameter of GetProgramivARB:
*/
public static final int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
}

View File

@ -36,5 +36,5 @@ public interface NV_vertex_program3 {
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C;
int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C;
}

View File

@ -32,4 +32,10 @@
package org.lwjgl.opengl;
public interface SUN_slice_accum {
/*
* Accepted by the <op> parameter of Accum,
*/
int GL_SLICE_ACCUM_SUN = 0x85CC;
}