Made all classes final
This commit is contained in:
parent
e2f13953d2
commit
4b1f4cc7d9
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBDepthTexture {
|
public final class ARBDepthTexture {
|
||||||
public static final int GL_DEPTH_COMPONENT16_ARB = 0x81A5;
|
public static final int GL_DEPTH_COMPONENT16_ARB = 0x81A5;
|
||||||
public static final int GL_DEPTH_COMPONENT24_ARB = 0x81A6;
|
public static final int GL_DEPTH_COMPONENT24_ARB = 0x81A6;
|
||||||
public static final int GL_DEPTH_COMPONENT32_ARB = 0x81A7;
|
public static final int GL_DEPTH_COMPONENT32_ARB = 0x81A7;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBFragmentProgram extends ARBProgram {
|
public final class ARBFragmentProgram extends ARBProgram {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBFragmentShader {
|
public final class ARBFragmentShader {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <shaderType> argument of CreateShaderObjectARB:
|
* Accepted by the <shaderType> argument of CreateShaderObjectARB:
|
||||||
|
|
|
@ -48,7 +48,7 @@ import java.nio.ShortBuffer;
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public abstract class ARBImaging {
|
public final class ARBImaging {
|
||||||
public static final int GL_CONSTANT_COLOR = 0x8001;
|
public static final int GL_CONSTANT_COLOR = 0x8001;
|
||||||
public static final int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
|
public static final int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
|
||||||
public static final int GL_CONSTANT_ALPHA = 0x8003;
|
public static final int GL_CONSTANT_ALPHA = 0x8003;
|
||||||
|
|
|
@ -45,7 +45,7 @@ import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class ARBMatrixPalette {
|
public final class ARBMatrixPalette {
|
||||||
public static final int GL_MATRIX_PALETTE_ARB = 0x8840;
|
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_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841;
|
||||||
public static final int GL_MAX_PALETTE_MATRICES_ARB = 0x8842;
|
public static final int GL_MAX_PALETTE_MATRICES_ARB = 0x8842;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBMultisample {
|
public final class ARBMultisample {
|
||||||
public static final int GL_MULTISAMPLE_ARB = 0x809D;
|
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_COVERAGE_ARB = 0x809E;
|
||||||
public static final int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F;
|
public static final int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBMultitexture {
|
public final class ARBMultitexture {
|
||||||
public static final int GL_TEXTURE0_ARB = 0x84C0;
|
public static final int GL_TEXTURE0_ARB = 0x84C0;
|
||||||
public static final int GL_TEXTURE1_ARB = 0x84C1;
|
public static final int GL_TEXTURE1_ARB = 0x84C1;
|
||||||
public static final int GL_TEXTURE2_ARB = 0x84C2;
|
public static final int GL_TEXTURE2_ARB = 0x84C2;
|
||||||
|
|
|
@ -40,7 +40,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class ARBOcclusionQuery {
|
public final class ARBOcclusionQuery {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <target> parameter of BeginQueryARB, EndQueryARB,
|
* Accepted by the <target> parameter of BeginQueryARB, EndQueryARB,
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
public class ARBPointParameters {
|
public final class ARBPointParameters {
|
||||||
public static final int GL_POINT_SIZE_MIN_ARB = 0x8126;
|
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_SIZE_MAX_ARB = 0x8127;
|
||||||
public static final int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128;
|
public static final int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128;
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBPointSprite {
|
public final class ARBPointSprite {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
|
* Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
|
||||||
|
|
|
@ -43,7 +43,7 @@ import java.nio.ByteBuffer;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class ARBShaderObjects {
|
public final class ARBShaderObjects {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <pname> argument of GetHandleARB:
|
* Accepted by the <pname> argument of GetHandleARB:
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBShadow
|
public final class ARBShadow
|
||||||
{
|
{
|
||||||
public static final int GL_TEXTURE_COMPARE_MODE_ARB = 0x884C;
|
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_TEXTURE_COMPARE_FUNC_ARB = 0x884D;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBShadowAmbient
|
public final class ARBShadowAmbient
|
||||||
{
|
{
|
||||||
public static final int GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF;
|
public static final int GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBTextureBorderClamp
|
public final class ARBTextureBorderClamp
|
||||||
{
|
{
|
||||||
public static final int GL_CLAMP_TO_BORDER_ARB = 0x812D;
|
public static final int GL_CLAMP_TO_BORDER_ARB = 0x812D;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
public class ARBTextureCompression
|
public final class ARBTextureCompression
|
||||||
{
|
{
|
||||||
public static final int GL_COMPRESSED_ALPHA_ARB = 0x84E9;
|
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_ARB = 0x84EA;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBTextureCubeMap {
|
public final class ARBTextureCubeMap {
|
||||||
public static final int GL_NORMAL_MAP_ARB = 0x8511;
|
public static final int GL_NORMAL_MAP_ARB = 0x8511;
|
||||||
public static final int GL_REFLECTION_MAP_ARB = 0x8512;
|
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_CUBE_MAP_ARB = 0x8513;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBTextureEnvCombine
|
public final class ARBTextureEnvCombine
|
||||||
{
|
{
|
||||||
public static final int GL_COMBINE_ARB = 0x8570;
|
public static final int GL_COMBINE_ARB = 0x8570;
|
||||||
public static final int GL_COMBINE_RGB_ARB = 0x8571;
|
public static final int GL_COMBINE_RGB_ARB = 0x8571;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBTextureEnvDot3
|
public final class ARBTextureEnvDot3
|
||||||
{
|
{
|
||||||
public static final int GL_DOT3_RGB_ARB = 0x86AE;
|
public static final int GL_DOT3_RGB_ARB = 0x86AE;
|
||||||
public static final int GL_DOT3_RGBA_ARB = 0x86AF;
|
public static final int GL_DOT3_RGBA_ARB = 0x86AF;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBTextureMirroredRepeat
|
public final class ARBTextureMirroredRepeat
|
||||||
{
|
{
|
||||||
public static final int GL_MIRRORED_REPEAT_ARB = 0x8370;
|
public static final int GL_MIRRORED_REPEAT_ARB = 0x8370;
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
public class ARBTransposeMatrix {
|
public final class ARBTransposeMatrix {
|
||||||
public static final int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3;
|
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_PROJECTION_MATRIX_ARB = 0x84E4;
|
||||||
public static final int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5;
|
public static final int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5;
|
||||||
|
|
|
@ -46,7 +46,7 @@ import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class ARBVertexBlend {
|
public final class ARBVertexBlend {
|
||||||
public static final int GL_MAX_VERTEX_UNITS_ARB = 0x86A4;
|
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_ACTIVE_VERTEX_UNITS_ARB = 0x86A5;
|
||||||
public static final int GL_WEIGHT_SUM_UNITY_ARB = 0x86A6;
|
public static final int GL_WEIGHT_SUM_UNITY_ARB = 0x86A6;
|
||||||
|
|
|
@ -48,7 +48,7 @@ import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class ARBVertexBufferObject {
|
public final class ARBVertexBufferObject {
|
||||||
public static final int GL_ARRAY_BUFFER_ARB = 0x8892;
|
public static final int GL_ARRAY_BUFFER_ARB = 0x8892;
|
||||||
public static final int GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893;
|
public static final int GL_ELEMENT_ARRAY_BUFFER_ARB = 0x8893;
|
||||||
public static final int GL_ARRAY_BUFFER_BINDING_ARB = 0x8894;
|
public static final int GL_ARRAY_BUFFER_BINDING_ARB = 0x8894;
|
||||||
|
|
|
@ -44,7 +44,7 @@ import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
public class ARBVertexProgram extends ARBProgram {
|
public final class ARBVertexProgram extends ARBProgram {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class ARBVertexShader {
|
public final class ARBVertexShader {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <shaderType> argument of CreateShaderObjectARB:
|
* Accepted by the <shaderType> argument of CreateShaderObjectARB:
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ARBWindowPos {
|
public final class ARBWindowPos {
|
||||||
public static native void glWindowPos2fARB(float x, float y);
|
public static native void glWindowPos2fARB(float x, float y);
|
||||||
|
|
||||||
public static native void glWindowPos2iARB(int x, int y);
|
public static native void glWindowPos2iARB(int x, int y);
|
||||||
|
|
|
@ -40,7 +40,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class ATIDrawBuffers {
|
public final class ATIDrawBuffers {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
|
* Accepted by the <pname> parameters of GetIntegerv, GetFloatv,
|
||||||
|
|
|
@ -45,7 +45,7 @@ import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class ATIElementArray {
|
public final class ATIElementArray {
|
||||||
public static final int GL_ELEMENT_ARRAY_ATI = 0x8768;
|
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_TYPE_ATI = 0x8769;
|
||||||
public static final int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
|
public static final int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
|
||||||
|
|
|
@ -42,7 +42,7 @@ package org.lwjgl.opengl;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class ATIEnvmapBumpmap {
|
public final class ATIEnvmapBumpmap {
|
||||||
public static final int GL_BUMP_ROT_MATRIX_ATI = 0x8775;
|
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_ROT_MATRIX_SIZE_ATI = 0x8776;
|
||||||
public static final int GL_BUMP_NUM_TEX_UNITS_ATI = 0x8777;
|
public static final int GL_BUMP_NUM_TEX_UNITS_ATI = 0x8777;
|
||||||
|
|
|
@ -45,7 +45,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
public class ATIFragmentShader {
|
public final class ATIFragmentShader {
|
||||||
public static final int GL_FRAGMENT_SHADER_ATI = 0x8920;
|
public static final int GL_FRAGMENT_SHADER_ATI = 0x8920;
|
||||||
public static final int GL_REG_0_ATI = 0x8921;
|
public static final int GL_REG_0_ATI = 0x8921;
|
||||||
public static final int GL_REG_1_ATI = 0x8922;
|
public static final int GL_REG_1_ATI = 0x8922;
|
||||||
|
|
|
@ -40,7 +40,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
public class ATIMapObjectBuffer {
|
public final class ATIMapObjectBuffer {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* glMapObjectBufferATI maps a gl object buffer to a ByteBuffer. The oldBuffer argument can be
|
* glMapObjectBufferATI maps a gl object buffer to a ByteBuffer. The oldBuffer argument can be
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ATIPnTriangles {
|
public final class ATIPnTriangles {
|
||||||
public static final int GL_PN_TRIANGLES_ATI = 0x87F0;
|
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_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_POINT_MODE_ATI = 0x87F2;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ATISeparateStencil {
|
public final class ATISeparateStencil {
|
||||||
public static final int GL_STENCIL_BACK_FUNC_ATI = 0x8800;
|
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_FAIL_ATI = 0x8801;
|
||||||
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802;
|
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802;
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ATITextureFloat {
|
public final class ATITextureFloat {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <internalFormat> parameter of TexImage1D,
|
* Accepted by the <internalFormat> parameter of TexImage1D,
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ATITextureMirrorOnce
|
public final class ATITextureMirrorOnce
|
||||||
{
|
{
|
||||||
public static final int GL_MIRROR_CLAMP_ATI = 0x8742;
|
public static final int GL_MIRROR_CLAMP_ATI = 0x8742;
|
||||||
public static final int GL_MIRROR_CLAMP_TO_EDGE_ATI = 0x8743;
|
public static final int GL_MIRROR_CLAMP_TO_EDGE_ATI = 0x8743;
|
||||||
|
|
|
@ -45,7 +45,7 @@ import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
public class ATIVertexArrayObject {
|
public final class ATIVertexArrayObject {
|
||||||
public static final int GL_STATIC_ATI = 0x8760;
|
public static final int GL_STATIC_ATI = 0x8760;
|
||||||
public static final int GL_DYNAMIC_ATI = 0x8761;
|
public static final int GL_DYNAMIC_ATI = 0x8761;
|
||||||
public static final int GL_PRESERVE_ATI = 0x8762;
|
public static final int GL_PRESERVE_ATI = 0x8762;
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class ATIVertexAttribArrayObject {
|
public final class ATIVertexAttribArrayObject {
|
||||||
|
|
||||||
public static native void glVertexAttribArrayObjectATI(int index, int size, int type,
|
public static native void glVertexAttribArrayObjectATI(int index, int size, int type,
|
||||||
boolean normalized, int stride, int buffer,
|
boolean normalized, int stride, int buffer,
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class ATIVertexStreams {
|
public final class ATIVertexStreams {
|
||||||
public static final int GL_MAX_VERTEX_STREAMS_ATI = 0x876B;
|
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_SOURCE_ATI = 0x876C;
|
||||||
public static final int GL_VERTEX_STREAM0_ATI = 0x876D;
|
public static final int GL_VERTEX_STREAM0_ATI = 0x876D;
|
||||||
|
|
|
@ -39,6 +39,6 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class EXTAbgr {
|
public final class EXTAbgr {
|
||||||
public static final int GL_ABGR_EXT = 0x8000;
|
public static final int GL_ABGR_EXT = 0x8000;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
*
|
*
|
||||||
* @author cas
|
* @author cas
|
||||||
*/
|
*/
|
||||||
public class EXTBgra {
|
public final class EXTBgra {
|
||||||
public static final int GL_BGR_EXT = 0x80E0;
|
public static final int GL_BGR_EXT = 0x80E0;
|
||||||
public static final int GL_BGRA_EXT = 0x80E1;
|
public static final int GL_BGRA_EXT = 0x80E1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ package org.lwjgl.opengl;
|
||||||
* Insert the type's description here.
|
* Insert the type's description here.
|
||||||
* Creation date: (29/06/2000 00:45:10)
|
* Creation date: (29/06/2000 00:45:10)
|
||||||
*/
|
*/
|
||||||
public class EXTBlendFuncSeparate {
|
public final class EXTBlendFuncSeparate {
|
||||||
public static final int GL_BLEND_DST_RGB_EXT = 0x80C8;
|
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_SRC_RGB_EXT = 0x80C9;
|
||||||
public static final int GL_BLEND_DST_ALPHA_EXT = 0x80CA;
|
public static final int GL_BLEND_DST_ALPHA_EXT = 0x80CA;
|
||||||
|
|
|
@ -36,7 +36,7 @@ package org.lwjgl.opengl;
|
||||||
* EXT_blend_subtract constants
|
* EXT_blend_subtract constants
|
||||||
* @author cas
|
* @author cas
|
||||||
*/
|
*/
|
||||||
public class EXTBlendSubtract {
|
public final class EXTBlendSubtract {
|
||||||
public static final int GL_FUNC_SUBTRACT_EXT = 0x800A;
|
public static final int GL_FUNC_SUBTRACT_EXT = 0x800A;
|
||||||
public static final int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B;
|
public static final int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class EXTCompiledVertexArray {
|
public final class EXTCompiledVertexArray {
|
||||||
public static final int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8;
|
public static final int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8;
|
||||||
public static final int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9;
|
public static final int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9;
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class EXTDrawRangeElements {
|
public final class EXTDrawRangeElements {
|
||||||
public static final int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8;
|
public static final int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8;
|
||||||
public static final int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9;
|
public static final int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9;
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ import java.nio.Buffer;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class EXTFogCoord {
|
public final class EXTFogCoord {
|
||||||
public static final int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450;
|
public static final int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450;
|
||||||
public static final int GL_FOG_COORDINATE_EXT = 0x8451;
|
public static final int GL_FOG_COORDINATE_EXT = 0x8451;
|
||||||
public static final int GL_FRAGMENT_DEPTH_EXT = 0x8452;
|
public static final int GL_FRAGMENT_DEPTH_EXT = 0x8452;
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class EXTMultiDrawArrays {
|
public final class EXTMultiDrawArrays {
|
||||||
public static void glMultiDrawArraysEXT(int mode, IntBuffer piFirst, IntBuffer piCount) {
|
public static void glMultiDrawArraysEXT(int mode, IntBuffer piFirst, IntBuffer piCount) {
|
||||||
if (piFirst.remaining() != piCount.remaining()) {
|
if (piFirst.remaining() != piCount.remaining()) {
|
||||||
throw new IllegalArgumentException("piFirst.remaining() != piCount.remaining()");
|
throw new IllegalArgumentException("piFirst.remaining() != piCount.remaining()");
|
||||||
|
|
|
@ -36,7 +36,7 @@ package org.lwjgl.opengl;
|
||||||
* Insert the type's description here.
|
* Insert the type's description here.
|
||||||
* Creation date: (07/11/99 19:16:17)
|
* Creation date: (07/11/99 19:16:17)
|
||||||
*/
|
*/
|
||||||
public class EXTPackedPixels {
|
public final class EXTPackedPixels {
|
||||||
public static final int GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032;
|
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_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_SHORT_5_5_5_1_EXT = 0x8034;
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
public class EXTPointParameters {
|
public final class EXTPointParameters {
|
||||||
public static final int GL_POINT_SIZE_MIN_EXT = 0x8126;
|
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_SIZE_MAX_EXT = 0x8127;
|
||||||
public static final int GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128;
|
public static final int GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128;
|
||||||
|
|
|
@ -37,6 +37,6 @@ package org.lwjgl.opengl;
|
||||||
* EXT_rescale_normal
|
* EXT_rescale_normal
|
||||||
* @author cas
|
* @author cas
|
||||||
*/
|
*/
|
||||||
public class EXTRescaleNormal {
|
public final class EXTRescaleNormal {
|
||||||
public static final int GL_RESCALE_NORMAL_EXT = 0x803A;
|
public static final int GL_RESCALE_NORMAL_EXT = 0x803A;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ import java.nio.ByteBuffer;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class EXTSecondaryColor {
|
public final class EXTSecondaryColor {
|
||||||
public static final int GL_COLOR_SUM_EXT = 0x8458;
|
public static final int GL_COLOR_SUM_EXT = 0x8458;
|
||||||
public static final int GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459;
|
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_SIZE_EXT = 0x845A;
|
||||||
|
|
|
@ -37,7 +37,7 @@ package org.lwjgl.opengl;
|
||||||
* EXT_separate_specular_color constants.
|
* EXT_separate_specular_color constants.
|
||||||
* @author cas
|
* @author cas
|
||||||
*/
|
*/
|
||||||
public class EXTSeparateSpecularColor {
|
public final class EXTSeparateSpecularColor {
|
||||||
public static final int GL_SINGLE_COLOR_EXT = 0x81F9;
|
public static final int GL_SINGLE_COLOR_EXT = 0x81F9;
|
||||||
public static final int GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA;
|
public static final int GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA;
|
||||||
public static final int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8;
|
public static final int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8;
|
||||||
|
|
|
@ -36,6 +36,6 @@ package org.lwjgl.opengl;
|
||||||
* Insert the type's description here.
|
* Insert the type's description here.
|
||||||
* Creation date: (07/11/99 19:15:54)
|
* Creation date: (07/11/99 19:15:54)
|
||||||
*/
|
*/
|
||||||
public class EXTSharedTexturePalette {
|
public final class EXTSharedTexturePalette {
|
||||||
public static final int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB;
|
public static final int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class EXTStencilTwoSide {
|
public final class EXTStencilTwoSide {
|
||||||
public static final int GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910;
|
public static final int GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910;
|
||||||
public static final int GL_ACTIVE_STENCIL_FACE_EXT = 0x8911;
|
public static final int GL_ACTIVE_STENCIL_FACE_EXT = 0x8911;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class EXTStencilWrap
|
public final class EXTStencilWrap
|
||||||
{
|
{
|
||||||
public static final int GL_INCR_WRAP_EXT = 0x8507;
|
public static final int GL_INCR_WRAP_EXT = 0x8507;
|
||||||
public static final int GL_DECR_WRAP_EXT = 0x8508;
|
public static final int GL_DECR_WRAP_EXT = 0x8508;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class EXTTextureCompressionS3TC
|
public final class EXTTextureCompressionS3TC
|
||||||
{
|
{
|
||||||
public static final int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
|
public static final int GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
|
||||||
public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
|
public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
|
||||||
|
|
|
@ -36,7 +36,7 @@ package org.lwjgl.opengl;
|
||||||
* Insert the type's description here.
|
* Insert the type's description here.
|
||||||
* Creation date: (22/02/00 01:26:05)
|
* Creation date: (22/02/00 01:26:05)
|
||||||
*/
|
*/
|
||||||
public class EXTTextureEnvCombine {
|
public final class EXTTextureEnvCombine {
|
||||||
public static final int GL_COMBINE_EXT = 0x8570;
|
public static final int GL_COMBINE_EXT = 0x8570;
|
||||||
public static final int GL_COMBINE_RGB_EXT = 0x8571;
|
public static final int GL_COMBINE_RGB_EXT = 0x8571;
|
||||||
public static final int GL_COMBINE_ALPHA_EXT = 0x8572;
|
public static final int GL_COMBINE_ALPHA_EXT = 0x8572;
|
||||||
|
|
|
@ -37,7 +37,7 @@ package org.lwjgl.opengl;
|
||||||
* EXT_texture_env_dot3 constants.
|
* EXT_texture_env_dot3 constants.
|
||||||
* @author cas
|
* @author cas
|
||||||
*/
|
*/
|
||||||
public class EXTTextureEnvDot3 {
|
public final class EXTTextureEnvDot3 {
|
||||||
public static final int GL_DOT3_RGB_EXT = 0x8740;
|
public static final int GL_DOT3_RGB_EXT = 0x8740;
|
||||||
public static final int GL_DOT3_RGBA_EXT = 0x8741;
|
public static final int GL_DOT3_RGBA_EXT = 0x8741;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class EXTTextureFilterAnisotropic
|
public final class EXTTextureFilterAnisotropic
|
||||||
{
|
{
|
||||||
public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
|
public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
|
||||||
public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
|
public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class EXTTextureLODBias
|
public final class EXTTextureLODBias
|
||||||
{
|
{
|
||||||
public static final int GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500;
|
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_TEXTURE_LOD_BIAS_EXT = 0x8501;
|
||||||
|
|
|
@ -46,7 +46,7 @@ import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class EXTVertexShader {
|
public final class EXTVertexShader {
|
||||||
public static final int GL_VERTEX_SHADER_EXT = 0x8780;
|
public static final int GL_VERTEX_SHADER_EXT = 0x8780;
|
||||||
public static final int GL_VERTEX_SHADER_BINDING_EXT = 0x8781;
|
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_INDEX_EXT = 0x8782;
|
||||||
|
|
|
@ -43,7 +43,7 @@ import java.nio.Buffer;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
|
|
||||||
public class EXTVertexWeighting {
|
public final class EXTVertexWeighting {
|
||||||
public static final int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3; /* alias to MODELVIEW_STACK_DEPTH */
|
public static final int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3; /* alias to MODELVIEW_STACK_DEPTH */
|
||||||
public static final int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502;
|
public static final int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502;
|
||||||
public static final int GL_MODELVIEW0_MATRIX_EXT = 0x0BA6; /* alias to MODELVIEW_MATRIX */
|
public static final int GL_MODELVIEW0_MATRIX_EXT = 0x0BA6; /* alias to MODELVIEW_MATRIX */
|
||||||
|
|
|
@ -50,7 +50,7 @@ import java.nio.ShortBuffer;
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public abstract class GL11 {
|
public final class GL11 {
|
||||||
|
|
||||||
/* AccumOp */
|
/* AccumOp */
|
||||||
public static final int GL_ACCUM = 0x0100;
|
public static final int GL_ACCUM = 0x0100;
|
||||||
|
|
|
@ -48,7 +48,7 @@ import java.nio.ShortBuffer;
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public abstract class GL12 extends GL11 {
|
public final class GL12 {
|
||||||
public static final int GL_PACK_SKIP_IMAGES = 0x806B;
|
public static final int GL_PACK_SKIP_IMAGES = 0x806B;
|
||||||
public static final int GL_PACK_IMAGE_HEIGHT = 0x806C;
|
public static final int GL_PACK_IMAGE_HEIGHT = 0x806C;
|
||||||
public static final int GL_UNPACK_SKIP_IMAGES = 0x806D;
|
public static final int GL_UNPACK_SKIP_IMAGES = 0x806D;
|
||||||
|
@ -88,15 +88,15 @@ public abstract class GL12 extends GL11 {
|
||||||
|
|
||||||
public static void glDrawRangeElements(int mode, int start, int end, ByteBuffer indices) {
|
public static void glDrawRangeElements(int mode, int start, int end, ByteBuffer indices) {
|
||||||
BufferChecks.ensureElementVBOdisabled();
|
BufferChecks.ensureElementVBOdisabled();
|
||||||
nglDrawRangeElements(mode, start, end, indices.remaining(), GL_UNSIGNED_BYTE, indices, indices.position());
|
nglDrawRangeElements(mode, start, end, indices.remaining(), GL11.GL_UNSIGNED_BYTE, indices, indices.position());
|
||||||
}
|
}
|
||||||
public static void glDrawRangeElements(int mode, int start, int end, ShortBuffer indices) {
|
public static void glDrawRangeElements(int mode, int start, int end, ShortBuffer indices) {
|
||||||
BufferChecks.ensureElementVBOdisabled();
|
BufferChecks.ensureElementVBOdisabled();
|
||||||
nglDrawRangeElements(mode, start, end, indices.remaining(), GL_UNSIGNED_SHORT, indices, indices.position() << 1);
|
nglDrawRangeElements(mode, start, end, indices.remaining(), GL11.GL_UNSIGNED_SHORT, indices, indices.position() << 1);
|
||||||
}
|
}
|
||||||
public static void glDrawRangeElements(int mode, int start, int end, IntBuffer indices) {
|
public static void glDrawRangeElements(int mode, int start, int end, IntBuffer indices) {
|
||||||
BufferChecks.ensureElementVBOdisabled();
|
BufferChecks.ensureElementVBOdisabled();
|
||||||
nglDrawRangeElements(mode, start, end, indices.remaining(), GL_UNSIGNED_INT, indices, indices.position() << 2);
|
nglDrawRangeElements(mode, start, end, indices.remaining(), GL11.GL_UNSIGNED_INT, indices, indices.position() << 2);
|
||||||
}
|
}
|
||||||
private static native void nglDrawRangeElements(int mode, int start, int end, int count, int type, Buffer indices, int indices_offset);
|
private static native void nglDrawRangeElements(int mode, int start, int end, int count, int type, Buffer indices, int indices_offset);
|
||||||
public static void glDrawRangeElements(int mode, int start, int end, int count, int type, int buffer_offset) {
|
public static void glDrawRangeElements(int mode, int start, int end, int count, int type, int buffer_offset) {
|
||||||
|
|
|
@ -46,7 +46,7 @@ import java.nio.ShortBuffer;
|
||||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
public abstract class GL13 extends GL12 {
|
public final class GL13 {
|
||||||
public static final int GL_TEXTURE0 = 0x84C0;
|
public static final int GL_TEXTURE0 = 0x84C0;
|
||||||
public static final int GL_TEXTURE1 = 0x84C1;
|
public static final int GL_TEXTURE1 = 0x84C1;
|
||||||
public static final int GL_TEXTURE2 = 0x84C2;
|
public static final int GL_TEXTURE2 = 0x84C2;
|
||||||
|
|
|
@ -45,7 +45,7 @@ import java.nio.IntBuffer;
|
||||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
public abstract class GL14 extends GL13 {
|
public final class GL14 {
|
||||||
public static final int GL_GENERATE_MIPMAP = 0x8191;
|
public static final int GL_GENERATE_MIPMAP = 0x8191;
|
||||||
public static final int GL_GENERATE_MIPMAP_HINT = 0x8192;
|
public static final int GL_GENERATE_MIPMAP_HINT = 0x8192;
|
||||||
public static final int GL_DEPTH_COMPONENT16 = 0x81A5;
|
public static final int GL_DEPTH_COMPONENT16 = 0x81A5;
|
||||||
|
@ -91,7 +91,7 @@ public abstract class GL14 extends GL13 {
|
||||||
public static native void glFogCoordf(float coord);
|
public static native void glFogCoordf(float coord);
|
||||||
public static void glFogCoordPointer(int stride, FloatBuffer data) {
|
public static void glFogCoordPointer(int stride, FloatBuffer data) {
|
||||||
BufferChecks.ensureArrayVBOdisabled();
|
BufferChecks.ensureArrayVBOdisabled();
|
||||||
nglFogCoordPointer(GL_FLOAT, stride, data, data.position() << 2);
|
nglFogCoordPointer(GL11.GL_FLOAT, stride, data, data.position() << 2);
|
||||||
}
|
}
|
||||||
private static native void nglFogCoordPointer(int type, int stride, Buffer data, int data_offset);
|
private static native void nglFogCoordPointer(int type, int stride, Buffer data, int data_offset);
|
||||||
public static void glFogCoordPointer(int type, int stride, int buffer_offset) {
|
public static void glFogCoordPointer(int type, int stride, int buffer_offset) {
|
||||||
|
@ -118,11 +118,11 @@ public abstract class GL14 extends GL13 {
|
||||||
public static native void glSecondaryColor3ub (byte red, byte green, byte blue);
|
public static native void glSecondaryColor3ub (byte red, byte green, byte blue);
|
||||||
public static void glSecondaryColorPointer(int size, boolean unsigned, int stride, ByteBuffer data) {
|
public static void glSecondaryColorPointer(int size, boolean unsigned, int stride, ByteBuffer data) {
|
||||||
BufferChecks.ensureArrayVBOdisabled();
|
BufferChecks.ensureArrayVBOdisabled();
|
||||||
nglSecondaryColorPointer(size, unsigned ? GL_UNSIGNED_BYTE : GL_BYTE, stride, data, data.position());
|
nglSecondaryColorPointer(size, unsigned ? GL11.GL_UNSIGNED_BYTE : GL11.GL_BYTE, stride, data, data.position());
|
||||||
}
|
}
|
||||||
public static void glSecondaryColorPointer(int size, int stride, FloatBuffer data) {
|
public static void glSecondaryColorPointer(int size, int stride, FloatBuffer data) {
|
||||||
BufferChecks.ensureArrayVBOdisabled();
|
BufferChecks.ensureArrayVBOdisabled();
|
||||||
nglSecondaryColorPointer(size, GL_FLOAT, stride, data, data.position() << 2);
|
nglSecondaryColorPointer(size, GL11.GL_FLOAT, stride, data, data.position() << 2);
|
||||||
}
|
}
|
||||||
private static native void nglSecondaryColorPointer (int size, int type, int stride, Buffer data, int data_offset);
|
private static native void nglSecondaryColorPointer (int size, int type, int stride, Buffer data, int data_offset);
|
||||||
public static void glSecondaryColorPointer(int size, int type, int stride, int buffer_offset) {
|
public static void glSecondaryColorPointer(int size, int type, int stride, int buffer_offset) {
|
||||||
|
|
|
@ -40,7 +40,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.*;
|
import java.nio.*;
|
||||||
|
|
||||||
public abstract class GL15 extends GL14 {
|
public final class GL15 {
|
||||||
|
|
||||||
// ----------------------------------------------------------------------
|
// ----------------------------------------------------------------------
|
||||||
// ---------------------- ARB_vertex_buffer_object ----------------------
|
// ---------------------- ARB_vertex_buffer_object ----------------------
|
||||||
|
|
|
@ -48,7 +48,7 @@ import org.lwjgl.Sys;
|
||||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
public abstract class GLCaps {
|
public final class GLCaps {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Available extensions
|
* Available extensions
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVCopyDepthToColor
|
public final class NVCopyDepthToColor
|
||||||
{
|
{
|
||||||
public static final int GL_DEPTH_STENCIL_TO_RGBA_NV = 0x886E;
|
public static final int GL_DEPTH_STENCIL_TO_RGBA_NV = 0x886E;
|
||||||
public static final int GL_DEPTH_STENCIL_TO_BGRA_NV = 0x886F;
|
public static final int GL_DEPTH_STENCIL_TO_BGRA_NV = 0x886F;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVDepthClamp
|
public final class NVDepthClamp
|
||||||
{
|
{
|
||||||
public static final int GL_DEPTH_CLAMP_NV = 0x864F;
|
public static final int GL_DEPTH_CLAMP_NV = 0x864F;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ import java.nio.Buffer;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class NVEvaluators {
|
public final class NVEvaluators {
|
||||||
public static final int GL_EVAL_2D_NV = 0x86C0;
|
public static final int GL_EVAL_2D_NV = 0x86C0;
|
||||||
public static final int GL_EVAL_TRIANGULAR_2D_NV = 0x86C1;
|
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_TESSELLATION_NV = 0x86C2;
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class NVFence {
|
public final class NVFence {
|
||||||
public static final int GL_ALL_COMPLETED_NV = 0x84F2;
|
public static final int GL_ALL_COMPLETED_NV = 0x84F2;
|
||||||
public static final int GL_FENCE_STATUS_NV = 0x84F3;
|
public static final int GL_FENCE_STATUS_NV = 0x84F3;
|
||||||
public static final int GL_FENCE_CONDITION_NV = 0x84F4;
|
public static final int GL_FENCE_CONDITION_NV = 0x84F4;
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVFloatBuffer {
|
public final class NVFloatBuffer {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <internalformat> parameter of TexImage2D and
|
* Accepted by the <internalformat> parameter of TexImage2D and
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVFogDistance
|
public final class NVFogDistance
|
||||||
{
|
{
|
||||||
public static final int GL_FOG_DISTANCE_MODE_NV = 0x855A;
|
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_RADIAL_NV = 0x855B;
|
||||||
|
|
|
@ -42,7 +42,7 @@ package org.lwjgl.opengl;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
public class NVFragmentProgram extends NVProgram {
|
public final class NVFragmentProgram extends NVProgram {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
||||||
|
|
|
@ -40,7 +40,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
public class NVHalfFloat {
|
public final class NVHalfFloat {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <type> argument of VertexPointer, NormalPointer,
|
* Accepted by the <type> argument of VertexPointer, NormalPointer,
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVLightMaxExponent {
|
public final class NVLightMaxExponent {
|
||||||
public static final int GL_MAX_SHININESS_NV = 0x8504;
|
public static final int GL_MAX_SHININESS_NV = 0x8504;
|
||||||
public static final int GL_MAX_SPOT_EXPONENT_NV = 0x8505;
|
public static final int GL_MAX_SPOT_EXPONENT_NV = 0x8505;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVMultisampleFilterHint {
|
public final class NVMultisampleFilterHint {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <target> parameter of Hint and by the <pname>
|
* Accepted by the <target> parameter of Hint and by the <pname>
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class NVOcclusionQuery {
|
public final class NVOcclusionQuery {
|
||||||
public static final int GL_OCCLUSION_TEST_HP = 0x8165;
|
public static final int GL_OCCLUSION_TEST_HP = 0x8165;
|
||||||
public static final int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
|
public static final int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
|
||||||
/* HP_occlusion_test */
|
/* HP_occlusion_test */
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVPackedDepthStencil
|
public final class NVPackedDepthStencil
|
||||||
{
|
{
|
||||||
public static final int GL_DEPTH_STENCIL_NV = 0x84F9;
|
public static final int GL_DEPTH_STENCIL_NV = 0x84F9;
|
||||||
public static final int GL_UNSIGNED_INT_24_8_NV = 0x84FA;
|
public static final int GL_UNSIGNED_INT_24_8_NV = 0x84FA;
|
||||||
|
|
|
@ -44,7 +44,7 @@ import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
import java.nio.ShortBuffer;
|
import java.nio.ShortBuffer;
|
||||||
|
|
||||||
public class NVPixelDataRange {
|
public final class NVPixelDataRange {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <target> parameter of PixelDataRangeNV and
|
* Accepted by the <target> parameter of PixelDataRangeNV and
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class NVPointSprite {
|
public final class NVPointSprite {
|
||||||
public static final int GL_POINT_SPRITE_NV = 0x8861;
|
public static final int GL_POINT_SPRITE_NV = 0x8861;
|
||||||
public static final int GL_COORD_REPLACE_NV = 0x8862;
|
public static final int GL_COORD_REPLACE_NV = 0x8862;
|
||||||
public static final int GL_POINT_SPRITE_R_MODE_NV = 0x8863;
|
public static final int GL_POINT_SPRITE_R_MODE_NV = 0x8863;
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVPrimitiveRestart {
|
public final class NVPrimitiveRestart {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <array> parameter of EnableClientState and
|
* Accepted by the <array> parameter of EnableClientState and
|
||||||
|
|
|
@ -42,7 +42,7 @@ package org.lwjgl.opengl;
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
import java.nio.IntBuffer;
|
import java.nio.IntBuffer;
|
||||||
|
|
||||||
public class NVRegisterCombiners {
|
public final class NVRegisterCombiners {
|
||||||
public static final int GL_REGISTER_COMBINERS_NV = 0x8522;
|
public static final int GL_REGISTER_COMBINERS_NV = 0x8522;
|
||||||
public static final int GL_COMBINER0_NV = 0x8550;
|
public static final int GL_COMBINER0_NV = 0x8550;
|
||||||
public static final int GL_COMBINER1_NV = 0x8551;
|
public static final int GL_COMBINER1_NV = 0x8551;
|
||||||
|
|
|
@ -41,7 +41,7 @@ package org.lwjgl.opengl;
|
||||||
|
|
||||||
import java.nio.FloatBuffer;
|
import java.nio.FloatBuffer;
|
||||||
|
|
||||||
public class NVRegisterCombiners2
|
public final class NVRegisterCombiners2
|
||||||
{
|
{
|
||||||
public static final int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
|
public static final int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVTexgenReflection
|
public final class NVTexgenReflection
|
||||||
{
|
{
|
||||||
public static final int GL_NORMAL_MAP_NV = 0x8511;
|
public static final int GL_NORMAL_MAP_NV = 0x8511;
|
||||||
public static final int GL_REFLECTION_MAP_NV = 0x8512;
|
public static final int GL_REFLECTION_MAP_NV = 0x8512;
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVTextureCompressionVTC {
|
public final class NVTextureCompressionVTC {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <internalformat> parameter of TexImage3D and
|
* Accepted by the <internalformat> parameter of TexImage3D and
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVTextureEnvCombine4
|
public final class NVTextureEnvCombine4
|
||||||
{
|
{
|
||||||
public static final int GL_COMBINE4_NV = 0x8503;
|
public static final int GL_COMBINE4_NV = 0x8503;
|
||||||
public static final int GL_SOURCE3_RGB_NV = 0x8583;
|
public static final int GL_SOURCE3_RGB_NV = 0x8583;
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVTextureExpandNormal {
|
public final class NVTextureExpandNormal {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Accepted by the <pname> parameters of TexParameteri,
|
* Accepted by the <pname> parameters of TexParameteri,
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVTextureRectangle
|
public final class NVTextureRectangle
|
||||||
{
|
{
|
||||||
public static final int GL_TEXTURE_RECTANGLE_NV = 0x84F5;
|
public static final int GL_TEXTURE_RECTANGLE_NV = 0x84F5;
|
||||||
public static final int GL_TEXTURE_BINDING_RECTANGLE_NV = 0x84F6;
|
public static final int GL_TEXTURE_BINDING_RECTANGLE_NV = 0x84F6;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVTextureShader
|
public final class NVTextureShader
|
||||||
{
|
{
|
||||||
public static final int GL_TEXTURE_SHADER_NV = 0x86DE;
|
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_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = 0x86D9;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVTextureShader2
|
public final class NVTextureShader2
|
||||||
{
|
{
|
||||||
public static final int GL_DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF;
|
public static final int GL_DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF;
|
||||||
public static final int GL_HILO_NV = 0x86F4;
|
public static final int GL_HILO_NV = 0x86F4;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVTextureShader3
|
public final class NVTextureShader3
|
||||||
{
|
{
|
||||||
public static final int GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850;
|
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_2D_SCALE_NV = 0x8851;
|
||||||
|
|
|
@ -42,7 +42,7 @@ package org.lwjgl.opengl;
|
||||||
import java.nio.Buffer;
|
import java.nio.Buffer;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
public class NVVertexArrayRange {
|
public final class NVVertexArrayRange {
|
||||||
public static final int GL_VERTEX_ARRAY_RANGE_NV = 0x851D;
|
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_LENGTH_NV = 0x851E;
|
||||||
public static final int GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F;
|
public static final int GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F;
|
||||||
|
|
|
@ -39,6 +39,6 @@
|
||||||
*/
|
*/
|
||||||
package org.lwjgl.opengl;
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
public class NVVertexArrayRange2 {
|
public final class NVVertexArrayRange2 {
|
||||||
public static final int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533;
|
public static final int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533;
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@ import java.nio.ShortBuffer;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class NVVertexProgram extends NVProgram {
|
public final class NVVertexProgram extends NVProgram {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
|
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
|
||||||
|
|
Loading…
Reference in New Issue