97 lines
5.5 KiB
Java
97 lines
5.5 KiB
Java
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
|
|
|
package org.lwjgl.opengl;
|
|
|
|
import org.lwjgl.LWJGLException;
|
|
import org.lwjgl.BufferChecks;
|
|
import java.nio.*;
|
|
|
|
public final class EXTPalettedTexture {
|
|
public static final int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ed;
|
|
public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80df;
|
|
public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80de;
|
|
public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80dd;
|
|
public static final int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80dc;
|
|
public static final int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80db;
|
|
public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80da;
|
|
public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80d9;
|
|
public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80d8;
|
|
public static final int GL_COLOR_INDEX16_EXT = 0x80e7;
|
|
public static final int GL_COLOR_INDEX12_EXT = 0x80e6;
|
|
public static final int GL_COLOR_INDEX8_EXT = 0x80e5;
|
|
public static final int GL_COLOR_INDEX4_EXT = 0x80e4;
|
|
public static final int GL_COLOR_INDEX2_EXT = 0x80e3;
|
|
public static final int GL_COLOR_INDEX1_EXT = 0x80e2;
|
|
|
|
private EXTPalettedTexture() {
|
|
}
|
|
|
|
static native void initNativeStubs() throws LWJGLException;
|
|
|
|
public static void glGetColorTableParameterEXT(int target, int pname, FloatBuffer params) {
|
|
BufferChecks.checkBuffer(params, 4);
|
|
nglGetColorTableParameterfvEXT(target, pname, params, params.position());
|
|
}
|
|
private static native void nglGetColorTableParameterfvEXT(int target, int pname, FloatBuffer params, int params_position);
|
|
|
|
public static void glGetColorTableParameterEXT(int target, int pname, IntBuffer params) {
|
|
BufferChecks.checkBuffer(params, 4);
|
|
nglGetColorTableParameterivEXT(target, pname, params, params.position());
|
|
}
|
|
private static native void nglGetColorTableParameterivEXT(int target, int pname, IntBuffer params, int params_position);
|
|
|
|
public static void glGetColorTableEXT(int target, int format, int type, ByteBuffer data) {
|
|
BufferChecks.checkDirect(data);
|
|
nglGetColorTableEXT(target, format, type, data, data.position());
|
|
}
|
|
public static void glGetColorTableEXT(int target, int format, int type, IntBuffer data) {
|
|
BufferChecks.checkDirect(data);
|
|
nglGetColorTableEXT(target, format, type, data, data.position() << 2);
|
|
}
|
|
public static void glGetColorTableEXT(int target, int format, int type, ShortBuffer data) {
|
|
BufferChecks.checkDirect(data);
|
|
nglGetColorTableEXT(target, format, type, data, data.position() << 1);
|
|
}
|
|
public static void glGetColorTableEXT(int target, int format, int type, FloatBuffer data) {
|
|
BufferChecks.checkDirect(data);
|
|
nglGetColorTableEXT(target, format, type, data, data.position() << 2);
|
|
}
|
|
private static native void nglGetColorTableEXT(int target, int format, int type, Buffer data, int data_position);
|
|
|
|
public static void glColorSubTableEXT(int target, int start, int count, int format, int type, ByteBuffer data) {
|
|
BufferChecks.checkBuffer(data, GLBufferChecks.calculateImageStorage(data, format, type, count, 1, 1));
|
|
nglColorSubTableEXT(target, start, count, format, type, data, data.position());
|
|
}
|
|
public static void glColorSubTableEXT(int target, int start, int count, int format, int type, IntBuffer data) {
|
|
BufferChecks.checkBuffer(data, GLBufferChecks.calculateImageStorage(data, format, type, count, 1, 1));
|
|
nglColorSubTableEXT(target, start, count, format, type, data, data.position() << 2);
|
|
}
|
|
public static void glColorSubTableEXT(int target, int start, int count, int format, int type, ShortBuffer data) {
|
|
BufferChecks.checkBuffer(data, GLBufferChecks.calculateImageStorage(data, format, type, count, 1, 1));
|
|
nglColorSubTableEXT(target, start, count, format, type, data, data.position() << 1);
|
|
}
|
|
public static void glColorSubTableEXT(int target, int start, int count, int format, int type, FloatBuffer data) {
|
|
BufferChecks.checkBuffer(data, GLBufferChecks.calculateImageStorage(data, format, type, count, 1, 1));
|
|
nglColorSubTableEXT(target, start, count, format, type, data, data.position() << 2);
|
|
}
|
|
private static native void nglColorSubTableEXT(int target, int start, int count, int format, int type, Buffer data, int data_position);
|
|
|
|
public static void glColorTableEXT(int target, int internalFormat, int width, int format, int type, ByteBuffer data) {
|
|
BufferChecks.checkBuffer(data, GLBufferChecks.calculateImageStorage(data, format, type, width, 1, 1));
|
|
nglColorTableEXT(target, internalFormat, width, format, type, data, data.position());
|
|
}
|
|
public static void glColorTableEXT(int target, int internalFormat, int width, int format, int type, IntBuffer data) {
|
|
BufferChecks.checkBuffer(data, GLBufferChecks.calculateImageStorage(data, format, type, width, 1, 1));
|
|
nglColorTableEXT(target, internalFormat, width, format, type, data, data.position() << 2);
|
|
}
|
|
public static void glColorTableEXT(int target, int internalFormat, int width, int format, int type, ShortBuffer data) {
|
|
BufferChecks.checkBuffer(data, GLBufferChecks.calculateImageStorage(data, format, type, width, 1, 1));
|
|
nglColorTableEXT(target, internalFormat, width, format, type, data, data.position() << 1);
|
|
}
|
|
public static void glColorTableEXT(int target, int internalFormat, int width, int format, int type, FloatBuffer data) {
|
|
BufferChecks.checkBuffer(data, GLBufferChecks.calculateImageStorage(data, format, type, width, 1, 1));
|
|
nglColorTableEXT(target, internalFormat, width, format, type, data, data.position() << 2);
|
|
}
|
|
private static native void nglColorTableEXT(int target, int internalFormat, int width, int format, int type, Buffer data, int data_position);
|
|
}
|