Added private constructors to OpenAL and OpenGL static classes
This commit is contained in:
parent
c46ad444ea
commit
5966d7b6b6
|
@ -80,6 +80,9 @@ public abstract class AL {
|
|||
Sys.initialize();
|
||||
}
|
||||
|
||||
private AL() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Native method to create AL instance
|
||||
*
|
||||
|
|
|
@ -363,6 +363,9 @@ public final class AL10 {
|
|||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
private AL10() {
|
||||
}
|
||||
|
||||
/**
|
||||
* The application can temporarily disable certain AL capabilities on a per Context
|
||||
* basis. This allows the driver implementation to optimize for certain subsets of
|
||||
|
|
|
@ -144,10 +144,7 @@ public class ALC {
|
|||
Sys.initialize();
|
||||
}
|
||||
|
||||
/**
|
||||
* Override to provide any initialization code after creation.
|
||||
*/
|
||||
protected static void init() {
|
||||
private ALC() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
|
|
@ -40,8 +40,7 @@ import java.nio.ShortBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class ARBBufferObject {
|
||||
|
||||
public abstract class ARBBufferObject {
|
||||
/*
|
||||
* Accepted by the <usage> parameter of BufferDataARB:
|
||||
*/
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBDepthTexture {
|
||||
|
||||
/*
|
||||
* Accepted by the <internalFormat> parameter of TexImage1D, TexImage2D,
|
||||
* CopyTexImage1D and CopyTexImage2D:
|
||||
|
@ -53,4 +52,6 @@ public final class ARBDepthTexture {
|
|||
*/
|
||||
public static final int GL_DEPTH_TEXTURE_MODE_ARB = 0x884B;
|
||||
|
||||
private ARBDepthTexture() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBFragmentProgram extends ARBProgram {
|
||||
|
||||
/*
|
||||
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
||||
* <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
|
||||
|
@ -65,5 +64,8 @@ public final class ARBFragmentProgram extends ARBProgram {
|
|||
*/
|
||||
public static final int GL_MAX_TEXTURE_COORDS_ARB = 0x8871;
|
||||
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872;
|
||||
|
||||
private ARBFragmentProgram() {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBFragmentShader {
|
||||
|
||||
/*
|
||||
* Accepted by the <shaderType> argument of CreateShaderObjectARB and
|
||||
* returned by the <params> parameter of GetObjectParameter{fi}vARB:
|
||||
|
@ -54,4 +53,6 @@ public final class ARBFragmentShader {
|
|||
*/
|
||||
public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B;
|
||||
|
||||
}
|
||||
private ARBFragmentShader() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -128,6 +128,9 @@ public final class ARBImaging {
|
|||
public static final int GL_MINMAX_FORMAT = 0x802F;
|
||||
public static final int GL_MINMAX_SINK = 0x8030;
|
||||
|
||||
private ARBImaging() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glColorTable(int target, int internalFormat, int width, int format, int type, ByteBuffer data) {
|
||||
|
|
|
@ -51,6 +51,9 @@ public final class ARBMatrixPalette {
|
|||
public static final int GL_MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848;
|
||||
public static final int GL_MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849;
|
||||
|
||||
private ARBMatrixPalette() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glCurrentPaletteMatrixARB(int index);
|
||||
|
|
|
@ -44,6 +44,9 @@ public final class ARBMultisample {
|
|||
public static final int GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB;
|
||||
public static final int GL_MULTISAMPLE_BIT_ARB = 0x20000000;
|
||||
|
||||
private ARBMultisample() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glSampleCoverageARB(float value, boolean invert);
|
||||
|
|
|
@ -69,7 +69,10 @@ public final class ARBMultitexture {
|
|||
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;
|
||||
|
||||
|
||||
private ARBMultitexture() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glClientActiveTextureARB(int texture);
|
||||
|
|
|
@ -37,7 +37,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class ARBOcclusionQuery {
|
||||
|
||||
/*
|
||||
* Accepted by the <target> parameter of BeginQueryARB, EndQueryARB,
|
||||
* and GetQueryivARB:
|
||||
|
@ -56,7 +55,10 @@ public final class ARBOcclusionQuery {
|
|||
*/
|
||||
public static final int GL_QUERY_RESULT_ARB = 0x8866;
|
||||
public static final int GL_QUERY_RESULT_AVAILABLE_ARB = 0x8867;
|
||||
|
||||
|
||||
private ARBOcclusionQuery() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
// ---------------------------
|
||||
|
|
|
@ -42,6 +42,9 @@ public final class ARBPointParameters {
|
|||
public static final int GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128;
|
||||
public static final int GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129;
|
||||
|
||||
private ARBPointParameters() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glPointParameterfARB(int pname, float param);
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBPointSprite {
|
||||
|
||||
/*
|
||||
* Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
|
||||
* the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
|
||||
|
@ -49,4 +48,6 @@ public final class ARBPointSprite {
|
|||
|
||||
public static final int GL_COORD_REPLACE_ARB = 0x8862;
|
||||
|
||||
}
|
||||
private ARBPointSprite() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,8 +41,7 @@ import java.nio.IntBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public class ARBProgram {
|
||||
|
||||
public abstract class ARBProgram {
|
||||
/*
|
||||
* Accepted by the <format> parameter of ProgramStringARB:
|
||||
*/
|
||||
|
@ -131,7 +130,6 @@ public class ARBProgram {
|
|||
public static final int GL_MATRIX30_ARB = 0x88DE;
|
||||
public static final int GL_MATRIX31_ARB = 0x88DF;
|
||||
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
// ---------------------------
|
||||
|
|
|
@ -40,7 +40,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class ARBShaderObjects {
|
||||
|
||||
/*
|
||||
* Accepted by the <pname> argument of GetHandleARB:
|
||||
*/
|
||||
|
@ -93,6 +92,9 @@ public final class ARBShaderObjects {
|
|||
public static final int GL_SAMPLER_2D_RECT_ARB = 0x8B63;
|
||||
public static final int GL_SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64;
|
||||
|
||||
private ARBShaderObjects() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glDeleteObjectARB(int obj);
|
||||
|
|
|
@ -32,10 +32,11 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBShadingLanguage100 {
|
||||
|
||||
/*
|
||||
* Accepted by the <name> parameter of GetString:
|
||||
*/
|
||||
public static final int GL_SHADING_LANGUAGE_VERSION_ARB = 0x8B8C;
|
||||
|
||||
}
|
||||
private ARBShadingLanguage100() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,9 +31,11 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBShadow
|
||||
{
|
||||
public final class ARBShadow {
|
||||
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;
|
||||
|
||||
private ARBShadow() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBShadowAmbient
|
||||
{
|
||||
public final class ARBShadowAmbient {
|
||||
public static final int GL_TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF;
|
||||
|
||||
private ARBShadowAmbient() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBTextureBorderClamp
|
||||
{
|
||||
public final class ARBTextureBorderClamp {
|
||||
public static final int GL_CLAMP_TO_BORDER_ARB = 0x812D;
|
||||
|
||||
private ARBTextureBorderClamp() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,8 +40,7 @@ import java.nio.ShortBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class ARBTextureCompression
|
||||
{
|
||||
public final class ARBTextureCompression {
|
||||
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;
|
||||
|
@ -54,6 +53,9 @@ public final class ARBTextureCompression
|
|||
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2;
|
||||
public static final int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3;
|
||||
|
||||
private ARBTextureCompression() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, ByteBuffer pData) {
|
||||
|
|
|
@ -45,5 +45,6 @@ public final class ARBTextureCubeMap {
|
|||
public static final int GL_PROXY_TEXTURE_CUBE_MAP_ARB = 0x851B;
|
||||
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 0x851C;
|
||||
|
||||
|
||||
private ARBTextureCubeMap() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBTextureEnvCombine
|
||||
{
|
||||
public final class ARBTextureEnvCombine {
|
||||
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;
|
||||
|
@ -54,4 +53,7 @@ public final class ARBTextureEnvCombine
|
|||
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;
|
||||
|
||||
private ARBTextureEnvCombine() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,9 +31,10 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBTextureEnvDot3
|
||||
{
|
||||
public final class ARBTextureEnvDot3 {
|
||||
public static final int GL_DOT3_RGB_ARB = 0x86AE;
|
||||
public static final int GL_DOT3_RGBA_ARB = 0x86AF;
|
||||
|
||||
private ARBTextureEnvDot3() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBTextureMirroredRepeat
|
||||
{
|
||||
public final class ARBTextureMirroredRepeat {
|
||||
public static final int GL_MIRRORED_REPEAT_ARB = 0x8370;
|
||||
|
||||
private ARBTextureMirroredRepeat() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,9 @@ public final class ARBTransposeMatrix {
|
|||
public static final int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5;
|
||||
public static final int GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6;
|
||||
|
||||
private ARBTransposeMatrix() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glLoadTransposeMatrixARB(FloatBuffer pfMtx) {
|
||||
|
|
|
@ -84,6 +84,9 @@ public final class ARBVertexBlend {
|
|||
public static final int GL_MODELVIEW30_ARB = 0x873E;
|
||||
public static final int GL_MODELVIEW31_ARB = 0x873F;
|
||||
|
||||
private ARBVertexBlend() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glWeightARB(ByteBuffer pWeights) {
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ARBVertexBufferObject extends ARBProgram {
|
||||
|
||||
public final class ARBVertexBufferObject extends ARBBufferObject {
|
||||
/*
|
||||
* Accepted by the <target> parameters of BindBufferARB, BufferDataARB,
|
||||
* BufferSubDataARB, MapBufferARB, UnmapBufferARB,
|
||||
|
@ -63,4 +62,6 @@ public final class ARBVertexBufferObject extends ARBProgram {
|
|||
*/
|
||||
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F;
|
||||
|
||||
private ARBVertexBufferObject() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class ARBVertexProgram extends ARBProgram {
|
||||
|
||||
/*
|
||||
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
||||
* <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
|
||||
|
@ -90,6 +89,9 @@ public final class ARBVertexProgram extends ARBProgram {
|
|||
*/
|
||||
public static final int GL_MAX_VERTEX_ATTRIBS_ARB = 0x8869;
|
||||
|
||||
private ARBVertexProgram() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glVertexAttrib1sARB(int index, short x);
|
||||
|
|
|
@ -38,7 +38,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class ARBVertexShader {
|
||||
|
||||
/*
|
||||
* Accepted by the <shaderType> argument of CreateShaderObjectARB and
|
||||
* returned by the <params> parameter of GetObjectParameter{if}vARB:
|
||||
|
@ -97,6 +96,9 @@ public final class ARBVertexShader {
|
|||
public static final int GL_FLOAT_MAT3_ARB = 0x8B5B;
|
||||
public static final int GL_FLOAT_MAT4_ARB = 0x8B5C;
|
||||
|
||||
private ARBVertexShader() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
// ---------------------------
|
||||
|
|
|
@ -34,6 +34,9 @@ package org.lwjgl.opengl;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
public final class ARBWindowPos {
|
||||
private ARBWindowPos() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glWindowPos2fARB(float x, float y);
|
||||
|
|
|
@ -60,6 +60,8 @@ public final class ATIDrawBuffers {
|
|||
public static final int GL_DRAW_BUFFER14_ATI = 0x8833;
|
||||
public static final int GL_DRAW_BUFFER15_ATI = 0x8834;
|
||||
|
||||
private ATIDrawBuffers() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
|
|
|
@ -44,6 +44,9 @@ public final class ATIElementArray {
|
|||
public static final int GL_ELEMENT_ARRAY_TYPE_ATI = 0x8769;
|
||||
public static final int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
|
||||
|
||||
private ATIElementArray() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glElementPointerATI(ByteBuffer pPointer) {
|
||||
|
|
|
@ -47,6 +47,9 @@ public final class ATIEnvmapBumpmap {
|
|||
public static final int GL_BUMP_ENVMAP_ATI = 0x877B;
|
||||
public static final int GL_BUMP_TARGET_ATI = 0x877C;
|
||||
|
||||
private ATIEnvmapBumpmap() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glTexBumpParameterATI(int pname, FloatBuffer pfParam) {
|
||||
|
|
|
@ -147,6 +147,9 @@ public final class ATIFragmentShader {
|
|||
public static final int GL_NEGATE_BIT_ATI = 0x00000004;
|
||||
public static final int GL_BIAS_BIT_ATI = 0x00000008;
|
||||
|
||||
private ATIFragmentShader() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native int glGenFragmentShadersATI(int range);
|
||||
|
|
|
@ -36,6 +36,8 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
public final class ATIMapObjectBuffer {
|
||||
private ATIMapObjectBuffer() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
|
|
|
@ -44,6 +44,9 @@ public final class ATIPnTriangles {
|
|||
public static final int GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7;
|
||||
public static final int GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8;
|
||||
|
||||
private ATIPnTriangles() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glPNTrianglesfATI(int pname, float param);
|
||||
|
|
|
@ -39,6 +39,9 @@ public final class ATISeparateStencil {
|
|||
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802;
|
||||
public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803;
|
||||
|
||||
private ATISeparateStencil() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glStencilOpSeparateATI(int face, int sfail, int dpfail, int dppass);
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ATITextureFloat {
|
||||
|
||||
/*
|
||||
* Accepted by the <internalFormat> parameter of TexImage1D,
|
||||
* TexImage2D, and TexImage3D:
|
||||
|
@ -50,4 +49,6 @@ public final class ATITextureFloat {
|
|||
public static final int GL_LUMINANCE_FLOAT16_ATI = 0x881E;
|
||||
public static final int GL_LUMINANCE_ALPHA_FLOAT16_ATI = 0x881F;
|
||||
|
||||
}
|
||||
private ATITextureFloat() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,10 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class ATITextureMirrorOnce
|
||||
{
|
||||
public final class ATITextureMirrorOnce {
|
||||
public static final int GL_MIRROR_CLAMP_ATI = 0x8742;
|
||||
public static final int GL_MIRROR_CLAMP_TO_EDGE_ATI = 0x8743;
|
||||
|
||||
private ATITextureMirrorOnce() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,6 +50,9 @@ public final class ATIVertexArrayObject {
|
|||
public static final int GL_ARRAY_OBJECT_BUFFER_ATI = 0x8766;
|
||||
public static final int GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767;
|
||||
|
||||
private ATIVertexArrayObject() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static int glNewObjectBufferATI(int size, ByteBuffer pPointer, int usage) {
|
||||
|
|
|
@ -38,6 +38,8 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class ATIVertexAttribArrayObject {
|
||||
private ATIVertexAttribArrayObject() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
|
|
|
@ -45,6 +45,9 @@ public final class ATIVertexStreams {
|
|||
public static final int GL_VERTEX_STREAM6_ATI = 0x8773;
|
||||
public static final int GL_VERTEX_STREAM7_ATI = 0x8774;
|
||||
|
||||
private ATIVertexStreams() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glVertexStream1fATI(int stream, float x);
|
||||
|
|
|
@ -33,4 +33,7 @@ package org.lwjgl.opengl;
|
|||
|
||||
public final class EXTAbgr {
|
||||
public static final int GL_ABGR_EXT = 0x8000;
|
||||
|
||||
private EXTAbgr() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,4 +39,7 @@
|
|||
public final class EXTBgra {
|
||||
public static final int GL_BGR_EXT = 0x80E0;
|
||||
public static final int GL_BGRA_EXT = 0x80E1;
|
||||
|
||||
private EXTBgra() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,6 @@ package org.lwjgl.opengl;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
public final class EXTBlendEquationSeparate {
|
||||
|
||||
/*
|
||||
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
|
||||
* GetFloatv, and GetDoublev:
|
||||
|
@ -42,8 +41,10 @@ public final class EXTBlendEquationSeparate {
|
|||
public static final int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
|
||||
public static final int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D;
|
||||
|
||||
private EXTBlendEquationSeparate() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glBlendEquationSeparateEXT(int modeRGB, int modeAlpha);
|
||||
|
||||
}
|
||||
|
|
|
@ -43,6 +43,9 @@ public final class EXTBlendFuncSeparate {
|
|||
public static final int GL_BLEND_DST_ALPHA_EXT = 0x80CA;
|
||||
public static final int GL_BLEND_SRC_ALPHA_EXT = 0x80CB;
|
||||
|
||||
private EXTBlendFuncSeparate() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glBlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha);
|
||||
|
|
|
@ -38,4 +38,7 @@ package org.lwjgl.opengl;
|
|||
public final class EXTBlendSubtract {
|
||||
public static final int GL_FUNC_SUBTRACT_EXT = 0x800A;
|
||||
public static final int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B;
|
||||
|
||||
private EXTBlendSubtract() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,6 +37,9 @@ public final class EXTCompiledVertexArray {
|
|||
public static final int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8;
|
||||
public static final int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9;
|
||||
|
||||
private EXTCompiledVertexArray() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glLockArraysEXT(int first, int count);
|
||||
|
|
|
@ -34,7 +34,6 @@ package org.lwjgl.opengl;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
public final class EXTDepthBoundsTest {
|
||||
|
||||
/*
|
||||
Accepted by the <cap> parameter of Enable, Disable, and IsEnabled,
|
||||
and by the <pname> parameter of GetBooleanv, GetIntegerv,
|
||||
|
@ -48,6 +47,9 @@ public final class EXTDepthBoundsTest {
|
|||
*/
|
||||
public static final int DEPTH_BOUNDS_EXT = 0x8891;
|
||||
|
||||
private EXTDepthBoundsTest() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glDepthBoundsEXT(float zmin, float zmax);
|
||||
|
|
|
@ -43,6 +43,9 @@ public final class EXTDrawRangeElements {
|
|||
public static final int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8;
|
||||
public static final int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9;
|
||||
|
||||
private EXTDrawRangeElements() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glDrawRangeElementsEXT(int mode, int start, int end, ByteBuffer pIndices) {
|
||||
|
|
|
@ -47,7 +47,9 @@ public final class EXTFogCoord {
|
|||
public static final int GL_FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456;
|
||||
public static final int GL_FOG_COORDINATE_ARRAY_EXT = 0x8457;
|
||||
|
||||
|
||||
private EXTFogCoord() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glFogCoordfEXT(float coord);
|
||||
|
|
|
@ -37,6 +37,9 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class EXTMultiDrawArrays {
|
||||
private EXTMultiDrawArrays() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glMultiDrawArraysEXT(int mode, IntBuffer piFirst, IntBuffer piCount) {
|
||||
|
|
|
@ -41,4 +41,7 @@ public final class EXTPackedPixels {
|
|||
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;
|
||||
|
||||
private EXTPackedPixels() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class EXTPixelBufferObject extends ARBProgram {
|
||||
|
||||
public final class EXTPixelBufferObject extends ARBBufferObject {
|
||||
/*
|
||||
* Accepted by the <target> parameters of BindBuffer, BufferData,
|
||||
* BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
|
||||
|
@ -48,4 +47,6 @@ public final class EXTPixelBufferObject extends ARBProgram {
|
|||
public static final int PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED;
|
||||
public static final int PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF;
|
||||
|
||||
}
|
||||
private EXTPixelBufferObject() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,9 @@ public final class EXTPointParameters {
|
|||
public static final int GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128;
|
||||
public static final int GL_DISTANCE_ATTENUATION_EXT = 0x8129;
|
||||
|
||||
private EXTPointParameters() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glPointParameterfEXT(int pname, float param);
|
||||
|
|
|
@ -38,4 +38,7 @@ package org.lwjgl.opengl;
|
|||
*/
|
||||
public final class EXTRescaleNormal {
|
||||
public static final int GL_RESCALE_NORMAL_EXT = 0x803A;
|
||||
|
||||
private EXTRescaleNormal() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,6 +47,9 @@ public final class EXTSecondaryColor {
|
|||
public static final int GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D;
|
||||
public static final int GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E;
|
||||
|
||||
private EXTSecondaryColor() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glSecondaryColor3bEXT(byte red, byte green, byte blue);
|
||||
|
|
|
@ -40,4 +40,7 @@ public final class EXTSeparateSpecularColor {
|
|||
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;
|
||||
|
||||
private EXTSeparateSpecularColor() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,4 +37,7 @@ package org.lwjgl.opengl;
|
|||
*/
|
||||
public final class EXTSharedTexturePalette {
|
||||
public static final int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB;
|
||||
|
||||
private EXTSharedTexturePalette() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,6 +37,9 @@ public final class EXTStencilTwoSide {
|
|||
public static final int GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910;
|
||||
public static final int GL_ACTIVE_STENCIL_FACE_EXT = 0x8911;
|
||||
|
||||
private EXTStencilTwoSide() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glActiveStencilFaceEXT(int face);
|
||||
|
|
|
@ -31,8 +31,10 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class EXTStencilWrap
|
||||
{
|
||||
public final class EXTStencilWrap {
|
||||
public static final int GL_INCR_WRAP_EXT = 0x8507;
|
||||
public static final int GL_DECR_WRAP_EXT = 0x8508;
|
||||
|
||||
private EXTStencilWrap() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,10 +31,12 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class EXTTextureCompressionS3TC
|
||||
{
|
||||
public final class EXTTextureCompressionS3TC {
|
||||
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;
|
||||
|
||||
private EXTTextureCompressionS3TC() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,4 +57,7 @@ public final class EXTTextureEnvCombine {
|
|||
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;
|
||||
|
||||
private EXTTextureEnvCombine() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,4 +39,7 @@ package org.lwjgl.opengl;
|
|||
public final class EXTTextureEnvDot3 {
|
||||
public static final int GL_DOT3_RGB_EXT = 0x8740;
|
||||
public static final int GL_DOT3_RGBA_EXT = 0x8741;
|
||||
|
||||
private EXTTextureEnvDot3() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,10 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class EXTTextureFilterAnisotropic
|
||||
{
|
||||
public final class EXTTextureFilterAnisotropic {
|
||||
public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
|
||||
public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
|
||||
|
||||
private EXTTextureFilterAnisotropic() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,9 +31,11 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class EXTTextureLODBias
|
||||
{
|
||||
public final class EXTTextureLODBias {
|
||||
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;
|
||||
|
||||
private EXTTextureLODBias() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class EXTTextureMirrorClamp {
|
||||
|
||||
/*
|
||||
* Accepted by the <param> parameter of TexParameteri and TexParameterf,
|
||||
* and by the <params> parameter of TexParameteriv and TexParameterfv,
|
||||
|
@ -43,4 +42,6 @@ public final class EXTTextureMirrorClamp {
|
|||
public static final int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
|
||||
public static final int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;
|
||||
|
||||
}
|
||||
private EXTTextureMirrorClamp() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,10 +31,12 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class EXTTextureRectangle
|
||||
{
|
||||
public final class EXTTextureRectangle {
|
||||
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;
|
||||
|
||||
private EXTTextureRectangle() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -152,6 +152,9 @@ public final class EXTVertexShader {
|
|||
public static final int GL_LOCAL_CONSTANT_VALUE_EXT = 0x87EC;
|
||||
public static final int GL_LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED;
|
||||
|
||||
private EXTVertexShader() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glBeginVertexShaderEXT();
|
||||
|
|
|
@ -52,6 +52,9 @@ public final class EXTVertexWeighting {
|
|||
public static final int GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F;
|
||||
public static final int GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510;
|
||||
|
||||
private EXTVertexWeighting() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glVertexWeightfEXT(float weight);
|
||||
|
|
|
@ -724,6 +724,9 @@ public final class GL11 {
|
|||
public static final int GL_LOGIC_OP = GL_INDEX_LOGIC_OP;
|
||||
public static final int GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT;
|
||||
|
||||
private GL11() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glAccum(int op, float value);
|
||||
|
|
|
@ -92,6 +92,9 @@ public final class GL12 {
|
|||
public static final int GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
|
||||
public static final int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
|
||||
|
||||
private GL12() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glDrawRangeElements(int mode, int start, int end, ByteBuffer indices) {
|
||||
|
|
|
@ -151,6 +151,9 @@ public final class GL13 {
|
|||
public static final int GL_DOT3_RGBA = 0x86AF;
|
||||
public static final int GL_CLAMP_TO_BORDER = 0x812D;
|
||||
|
||||
private GL13() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glActiveTexture(int texture);
|
||||
|
|
|
@ -88,6 +88,9 @@ public final class GL14 {
|
|||
public static final int GL_MAX_TEXTURE_LOD_BIAS = 0x84FD;
|
||||
public static final int GL_GL_MIRRORED_REPEAT = 0x8370;
|
||||
|
||||
private GL14() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glBlendEquation(int mode);
|
||||
|
|
|
@ -74,6 +74,9 @@ public final class GL15 {
|
|||
public static final int GL_BUFFER_MAPPED = 0x88BC;
|
||||
public static final int GL_BUFFER_MAP_POINTER = 0x88BD;
|
||||
|
||||
private GL15() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glBindBuffer(int target, int buffer) {
|
||||
|
|
|
@ -31,8 +31,10 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final 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_BGRA_NV = 0x886F;
|
||||
|
||||
private NVCopyDepthToColor() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVDepthClamp
|
||||
{
|
||||
public final class NVDepthClamp {
|
||||
public static final int GL_DEPTH_CLAMP_NV = 0x864F;
|
||||
|
||||
private NVDepthClamp() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,6 +64,9 @@ public final class NVEvaluators {
|
|||
public static final int GL_MAX_MAP_TESSELLATION_NV = 0x86D6;
|
||||
public static final int GL_MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7;
|
||||
|
||||
private NVEvaluators() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glGetMapControlPointsNV(int target, int index, int type, int ustride, int vstride, boolean packed, FloatBuffer pPoints) {
|
||||
|
|
|
@ -41,6 +41,9 @@ public final class NVFence {
|
|||
public static final int GL_FENCE_STATUS_NV = 0x84F3;
|
||||
public static final int GL_FENCE_CONDITION_NV = 0x84F4;
|
||||
|
||||
private NVFence() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glGenFencesNV(IntBuffer piFences) {
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVFloatBuffer {
|
||||
|
||||
/*
|
||||
* Accepted by the <internalformat> parameter of TexImage2D and
|
||||
* CopyTexImage2D:
|
||||
|
@ -84,4 +83,6 @@ public final class NVFloatBuffer {
|
|||
public static final int GL_WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
|
||||
public static final int GL_WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
|
||||
|
||||
}
|
||||
private NVFloatBuffer() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,9 +31,11 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVFogDistance
|
||||
{
|
||||
public final class NVFogDistance {
|
||||
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;
|
||||
|
||||
private NVFogDistance() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,7 +38,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class NVFragmentProgram extends NVProgram {
|
||||
|
||||
/*
|
||||
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled, by the
|
||||
<pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev,
|
||||
|
@ -58,6 +57,9 @@ public final class NVFragmentProgram extends NVProgram {
|
|||
public static final int GL_FRAGMENT_PROGRAM_BINDING_NV = 0x8873;
|
||||
public static final int GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = 0x8868;
|
||||
|
||||
private NVFragmentProgram() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
// ---------------------------
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVFragmentProgram2 {
|
||||
|
||||
/*
|
||||
* Accepted by the <pname> parameter of GetProgramivARB:
|
||||
*/
|
||||
|
@ -42,4 +41,6 @@ public final class NVFragmentProgram2 {
|
|||
public static final int GL_MAX_PROGRAM_LOOP_DEPTH_NV = 0x88F7;
|
||||
public static final int GL_MAX_PROGRAM_LOOP_COUNT_NV = 0x88F8;
|
||||
|
||||
}
|
||||
private NVFragmentProgram2() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class NVHalfFloat {
|
||||
|
||||
/*
|
||||
* Accepted by the <type> argument of VertexPointer, NormalPointer,
|
||||
* ColorPointer, TexCoordPointer, FogCoordPointerEXT,
|
||||
|
@ -47,6 +46,9 @@ public final class NVHalfFloat {
|
|||
*/
|
||||
public static final int GL_HALF_FLOAT_NV = 0x140B;
|
||||
|
||||
private NVHalfFloat() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glVertex2hNV(short x, short y);
|
||||
|
|
|
@ -34,4 +34,7 @@ package org.lwjgl.opengl;
|
|||
public final class NVLightMaxExponent {
|
||||
public static final int GL_MAX_SHININESS_NV = 0x8504;
|
||||
public static final int GL_MAX_SPOT_EXPONENT_NV = 0x8505;
|
||||
|
||||
private NVLightMaxExponent() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,11 +32,12 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVMultisampleFilterHint {
|
||||
|
||||
/*
|
||||
* 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;
|
||||
|
||||
}
|
||||
private NVMultisampleFilterHint() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,6 +45,9 @@ public final class NVOcclusionQuery {
|
|||
public static final int GL_PIXEL_COUNT_NV = 0x8866;
|
||||
public static final int GL_PIXEL_COUNT_AVAILABLE_NV = 0x8867;
|
||||
|
||||
private NVOcclusionQuery() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glGenOcclusionQueriesNV(IntBuffer piIDs) {
|
||||
|
|
|
@ -31,8 +31,10 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVPackedDepthStencil
|
||||
{
|
||||
public final class NVPackedDepthStencil {
|
||||
public static final int GL_DEPTH_STENCIL_NV = 0x84F9;
|
||||
public static final int GL_UNSIGNED_INT_24_8_NV = 0x84FA;
|
||||
|
||||
private NVPackedDepthStencil() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class NVPixelDataRange {
|
||||
|
||||
/*
|
||||
* Accepted by the <target> parameter of PixelDataRangeNV and
|
||||
* FlushPixelDataRangeNV, and by the <cap> parameter of
|
||||
|
@ -63,6 +62,9 @@ public final class NVPixelDataRange {
|
|||
public static final int GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C;
|
||||
public static final int GL_READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D;
|
||||
|
||||
private NVPixelDataRange() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
// ---------------------------
|
||||
|
|
|
@ -41,6 +41,9 @@ public final class NVPointSprite {
|
|||
public static final int GL_COORD_REPLACE_NV = 0x8862;
|
||||
public static final int GL_POINT_SPRITE_R_MODE_NV = 0x8863;
|
||||
|
||||
private NVPointSprite() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glPointParameteriNV(int pname, int param);
|
||||
|
|
|
@ -34,7 +34,6 @@ package org.lwjgl.opengl;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
public final class NVPrimitiveRestart {
|
||||
|
||||
/*
|
||||
* Accepted by the <array> parameter of EnableClientState and
|
||||
* DisableClientState, by the <cap> parameter of IsEnabled, and by
|
||||
|
@ -49,10 +48,12 @@ public final class NVPrimitiveRestart {
|
|||
*/
|
||||
public static final int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
|
||||
|
||||
private NVPrimitiveRestart() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glPrimitiveRestartNV();
|
||||
|
||||
public static native void glPrimitiveRestartIndexNV(int index);
|
||||
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ import java.nio.IntBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public class NVProgram {
|
||||
public abstract class NVProgram {
|
||||
|
||||
/*
|
||||
Accepted by the <pname> parameter of GetProgramivNV:
|
||||
|
|
|
@ -90,6 +90,9 @@ public final class NVRegisterCombiners {
|
|||
public static final int GL_COLOR_SUM_CLAMP_NV = 0x854F;
|
||||
public static final int GL_MAX_GENERAL_COMBINERS_NV = 0x854D;
|
||||
|
||||
private NVRegisterCombiners() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static native void glCombinerParameterfNV(int pname, float param);
|
||||
|
|
|
@ -36,10 +36,12 @@ import java.nio.FloatBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class NVRegisterCombiners2
|
||||
{
|
||||
public final class NVRegisterCombiners2 {
|
||||
public static final int GL_PER_STAGE_CONSTANTS_NV = 0x8535;
|
||||
|
||||
private NVRegisterCombiners2() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glCombinerStageParameterNV(int stage, int pname, FloatBuffer pfParams) {
|
||||
|
|
|
@ -31,8 +31,10 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVTexgenReflection
|
||||
{
|
||||
public final class NVTexgenReflection {
|
||||
public static final int GL_NORMAL_MAP_NV = 0x8511;
|
||||
public static final int GL_REFLECTION_MAP_NV = 0x8512;
|
||||
|
||||
private NVTexgenReflection() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVTextureCompressionVTC {
|
||||
|
||||
/*
|
||||
* Accepted by the <internalformat> parameter of TexImage3D and
|
||||
* CompressedTexImage3DARB and the <format> parameter of
|
||||
|
@ -43,4 +42,6 @@ public final class NVTextureCompressionVTC {
|
|||
public static final int COMPRESSED_RGBA_S3TC_DXT3_EXT =0x83F2;
|
||||
public static final int COMPRESSED_RGBA_S3TC_DXT5_EXT =0x83F3;
|
||||
|
||||
private NVTextureCompressionVTC() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,11 +31,13 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVTextureEnvCombine4
|
||||
{
|
||||
public final class NVTextureEnvCombine4 {
|
||||
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;
|
||||
|
||||
private NVTextureEnvCombine4() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVTextureExpandNormal {
|
||||
|
||||
/*
|
||||
* Accepted by the <pname> parameters of TexParameteri,
|
||||
* TexParameteriv, TexParameterf, TexParameterfv, GetTexParameteri,
|
||||
|
@ -40,4 +39,6 @@ public final class NVTextureExpandNormal {
|
|||
*/
|
||||
public static final int GL_TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F;
|
||||
|
||||
}
|
||||
private NVTextureExpandNormal() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,10 +31,12 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVTextureRectangle
|
||||
{
|
||||
public final class NVTextureRectangle {
|
||||
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;
|
||||
|
||||
private NVTextureRectangle() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVTextureShader
|
||||
{
|
||||
public final class NVTextureShader {
|
||||
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;
|
||||
|
@ -103,4 +102,7 @@ public final class NVTextureShader
|
|||
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;
|
||||
|
||||
private NVTextureShader() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVTextureShader2
|
||||
{
|
||||
public final class NVTextureShader2 {
|
||||
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;
|
||||
|
@ -61,4 +60,7 @@ public final class NVTextureShader2
|
|||
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;
|
||||
|
||||
private NVTextureShader2() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,7 @@
|
|||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
public final 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_SCALE_NV = 0x8851;
|
||||
public static final int GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852;
|
||||
|
@ -50,4 +49,7 @@ public final class NVTextureShader3
|
|||
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;
|
||||
|
||||
private NVTextureShader3() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,6 +44,9 @@ public final class NVVertexArrayRange {
|
|||
public static final int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520;
|
||||
public static final int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521;
|
||||
|
||||
private NVVertexArrayRange() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
public static void glVertexArrayRangeNV(ByteBuffer pPointer) {
|
||||
|
|
|
@ -33,4 +33,7 @@ package org.lwjgl.opengl;
|
|||
|
||||
public final class NVVertexArrayRange2 {
|
||||
public static final int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533;
|
||||
|
||||
private NVVertexArrayRange2() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.BufferChecks;
|
||||
|
||||
public final class NVVertexProgram extends NVProgram {
|
||||
|
||||
/*
|
||||
Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
|
||||
and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
|
||||
|
@ -196,6 +195,9 @@ public final class NVVertexProgram extends NVProgram {
|
|||
public static final int GL_MAP2_VERTEX_ATTRIB14_4_NV = 0x867E;
|
||||
public static final int GL_MAP2_VERTEX_ATTRIB15_4_NV = 0x867F;
|
||||
|
||||
private NVVertexProgram() {
|
||||
}
|
||||
|
||||
static native void initNativeStubs() throws LWJGLException;
|
||||
|
||||
// ---------------------------
|
||||
|
|
|
@ -32,11 +32,12 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVVertexProgram2Option {
|
||||
|
||||
/*
|
||||
* 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;
|
||||
|
||||
}
|
||||
private NVVertexProgram2Option() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,11 +32,12 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
public final class NVVertexProgram3 {
|
||||
|
||||
/*
|
||||
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
|
||||
* GetFloatv, and GetDoublev:
|
||||
*/
|
||||
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C;
|
||||
|
||||
}
|
||||
private NVVertexProgram3() {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue