All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.GL13 Maven / Gradle / Ivy

The newest version!
/* MACHINE GENERATED FILE, DO NOT EDIT */

package org.lwjgl.opengl;

import org.lwjgl.*;
import java.nio.*;

/**
 *  

* The core OpenGL1.3 API. *

* @author cix_foo * @version $Revision$ * $Id$ */ public final class GL13 { public static final int GL_TEXTURE0 = 0x84C0, GL_TEXTURE1 = 0x84C1, GL_TEXTURE2 = 0x84C2, GL_TEXTURE3 = 0x84C3, GL_TEXTURE4 = 0x84C4, GL_TEXTURE5 = 0x84C5, GL_TEXTURE6 = 0x84C6, GL_TEXTURE7 = 0x84C7, GL_TEXTURE8 = 0x84C8, GL_TEXTURE9 = 0x84C9, GL_TEXTURE10 = 0x84CA, GL_TEXTURE11 = 0x84CB, GL_TEXTURE12 = 0x84CC, GL_TEXTURE13 = 0x84CD, GL_TEXTURE14 = 0x84CE, GL_TEXTURE15 = 0x84CF, GL_TEXTURE16 = 0x84D0, GL_TEXTURE17 = 0x84D1, GL_TEXTURE18 = 0x84D2, GL_TEXTURE19 = 0x84D3, GL_TEXTURE20 = 0x84D4, GL_TEXTURE21 = 0x84D5, GL_TEXTURE22 = 0x84D6, GL_TEXTURE23 = 0x84D7, GL_TEXTURE24 = 0x84D8, GL_TEXTURE25 = 0x84D9, GL_TEXTURE26 = 0x84DA, GL_TEXTURE27 = 0x84DB, GL_TEXTURE28 = 0x84DC, GL_TEXTURE29 = 0x84DD, GL_TEXTURE30 = 0x84DE, GL_TEXTURE31 = 0x84DF, GL_ACTIVE_TEXTURE = 0x84E0, GL_CLIENT_ACTIVE_TEXTURE = 0x84E1, GL_MAX_TEXTURE_UNITS = 0x84E2, GL_NORMAL_MAP = 0x8511, GL_REFLECTION_MAP = 0x8512, GL_TEXTURE_CUBE_MAP = 0x8513, GL_TEXTURE_BINDING_CUBE_MAP = 0x8514, GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515, GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516, GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518, GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A, GL_PROXY_TEXTURE_CUBE_MAP = 0x851B, GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C, GL_COMPRESSED_ALPHA = 0x84E9, GL_COMPRESSED_LUMINANCE = 0x84EA, GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB, GL_COMPRESSED_INTENSITY = 0x84EC, GL_COMPRESSED_RGB = 0x84ED, GL_COMPRESSED_RGBA = 0x84EE, GL_TEXTURE_COMPRESSION_HINT = 0x84EF, GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0, GL_TEXTURE_COMPRESSED = 0x86A1, GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2, GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3, GL_MULTISAMPLE = 0x809D, GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E, GL_SAMPLE_ALPHA_TO_ONE = 0x809F, GL_SAMPLE_COVERAGE = 0x80A0, GL_SAMPLE_BUFFERS = 0x80A8, GL_SAMPLES = 0x80A9, GL_SAMPLE_COVERAGE_VALUE = 0x80AA, GL_SAMPLE_COVERAGE_INVERT = 0x80AB, GL_MULTISAMPLE_BIT = 0x20000000, GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3, GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4, GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5, GL_TRANSPOSE_COLOR_MATRIX = 0x84E6, GL_COMBINE = 0x8570, GL_COMBINE_RGB = 0x8571, GL_COMBINE_ALPHA = 0x8572, GL_SOURCE0_RGB = 0x8580, GL_SOURCE1_RGB = 0x8581, GL_SOURCE2_RGB = 0x8582, GL_SOURCE0_ALPHA = 0x8588, GL_SOURCE1_ALPHA = 0x8589, GL_SOURCE2_ALPHA = 0x858A, GL_OPERAND0_RGB = 0x8590, GL_OPERAND1_RGB = 0x8591, GL_OPERAND2_RGB = 0x8592, GL_OPERAND0_ALPHA = 0x8598, GL_OPERAND1_ALPHA = 0x8599, GL_OPERAND2_ALPHA = 0x859A, GL_RGB_SCALE = 0x8573, GL_ADD_SIGNED = 0x8574, GL_INTERPOLATE = 0x8575, GL_SUBTRACT = 0x84E7, GL_CONSTANT = 0x8576, GL_PRIMARY_COLOR = 0x8577, GL_PREVIOUS = 0x8578, GL_DOT3_RGB = 0x86AE, GL_DOT3_RGBA = 0x86AF, GL_CLAMP_TO_BORDER = 0x812D; private GL13() {} public static void glActiveTexture(int texture) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glActiveTexture; BufferChecks.checkFunctionAddress(function_pointer); nglActiveTexture(texture, function_pointer); } static native void nglActiveTexture(int texture, long function_pointer); public static void glClientActiveTexture(int texture) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glClientActiveTexture; BufferChecks.checkFunctionAddress(function_pointer); StateTracker.getReferences(caps).glClientActiveTexture = texture - GL_TEXTURE0; nglClientActiveTexture(texture, function_pointer); } static native void nglClientActiveTexture(int texture, long function_pointer); public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, ByteBuffer data) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage1D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(data); nglCompressedTexImage1D(target, level, internalformat, width, border, data.remaining(), MemoryUtil.getAddress(data), function_pointer); } static native void nglCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int data_imageSize, long data, long function_pointer); public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int data_imageSize, long data_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage1D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexImage1DBO(target, level, internalformat, width, border, data_imageSize, data_buffer_offset, function_pointer); } static native void nglCompressedTexImage1DBO(int target, int level, int internalformat, int width, int border, int data_imageSize, long data_buffer_offset, long function_pointer); /** Overloads glCompressedTexImage1D. */ public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage1D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); nglCompressedTexImage1D(target, level, internalformat, width, border, imageSize, 0L, function_pointer); } public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, ByteBuffer data) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage2D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(data); nglCompressedTexImage2D(target, level, internalformat, width, height, border, data.remaining(), MemoryUtil.getAddress(data), function_pointer); } static native void nglCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int data_imageSize, long data, long function_pointer); public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int data_imageSize, long data_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage2D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexImage2DBO(target, level, internalformat, width, height, border, data_imageSize, data_buffer_offset, function_pointer); } static native void nglCompressedTexImage2DBO(int target, int level, int internalformat, int width, int height, int border, int data_imageSize, long data_buffer_offset, long function_pointer); /** Overloads glCompressedTexImage2D. */ public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage2D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); nglCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, 0L, function_pointer); } public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, ByteBuffer data) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage3D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(data); nglCompressedTexImage3D(target, level, internalformat, width, height, depth, border, data.remaining(), MemoryUtil.getAddress(data), function_pointer); } static native void nglCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int data_imageSize, long data, long function_pointer); public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int data_imageSize, long data_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage3D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexImage3DBO(target, level, internalformat, width, height, depth, border, data_imageSize, data_buffer_offset, function_pointer); } static native void nglCompressedTexImage3DBO(int target, int level, int internalformat, int width, int height, int depth, int border, int data_imageSize, long data_buffer_offset, long function_pointer); /** Overloads glCompressedTexImage3D. */ public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage3D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); nglCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, 0L, function_pointer); } public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, ByteBuffer data) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage1D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(data); nglCompressedTexSubImage1D(target, level, xoffset, width, format, data.remaining(), MemoryUtil.getAddress(data), function_pointer); } static native void nglCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int data_imageSize, long data, long function_pointer); public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int data_imageSize, long data_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage1D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexSubImage1DBO(target, level, xoffset, width, format, data_imageSize, data_buffer_offset, function_pointer); } static native void nglCompressedTexSubImage1DBO(int target, int level, int xoffset, int width, int format, int data_imageSize, long data_buffer_offset, long function_pointer); public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ByteBuffer data) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage2D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(data); nglCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, data.remaining(), MemoryUtil.getAddress(data), function_pointer); } static native void nglCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int data_imageSize, long data, long function_pointer); public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int data_imageSize, long data_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage2D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexSubImage2DBO(target, level, xoffset, yoffset, width, height, format, data_imageSize, data_buffer_offset, function_pointer); } static native void nglCompressedTexSubImage2DBO(int target, int level, int xoffset, int yoffset, int width, int height, int format, int data_imageSize, long data_buffer_offset, long function_pointer); public static void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, ByteBuffer data) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage3D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(data); nglCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, data.remaining(), MemoryUtil.getAddress(data), function_pointer); } static native void nglCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int data_imageSize, long data, long function_pointer); public static void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int data_imageSize, long data_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage3D; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexSubImage3DBO(target, level, xoffset, yoffset, zoffset, width, height, depth, format, data_imageSize, data_buffer_offset, function_pointer); } static native void nglCompressedTexSubImage3DBO(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int data_imageSize, long data_buffer_offset, long function_pointer); public static void glGetCompressedTexImage(int target, int lod, ByteBuffer img) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetCompressedTexImage; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOdisabled(caps); BufferChecks.checkDirect(img); nglGetCompressedTexImage(target, lod, MemoryUtil.getAddress(img), function_pointer); } public static void glGetCompressedTexImage(int target, int lod, IntBuffer img) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetCompressedTexImage; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOdisabled(caps); BufferChecks.checkDirect(img); nglGetCompressedTexImage(target, lod, MemoryUtil.getAddress(img), function_pointer); } public static void glGetCompressedTexImage(int target, int lod, ShortBuffer img) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetCompressedTexImage; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOdisabled(caps); BufferChecks.checkDirect(img); nglGetCompressedTexImage(target, lod, MemoryUtil.getAddress(img), function_pointer); } static native void nglGetCompressedTexImage(int target, int lod, long img, long function_pointer); public static void glGetCompressedTexImage(int target, int lod, long img_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetCompressedTexImage; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(caps); nglGetCompressedTexImageBO(target, lod, img_buffer_offset, function_pointer); } static native void nglGetCompressedTexImageBO(int target, int lod, long img_buffer_offset, long function_pointer); public static void glMultiTexCoord1f(int target, float s) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultiTexCoord1f; BufferChecks.checkFunctionAddress(function_pointer); nglMultiTexCoord1f(target, s, function_pointer); } static native void nglMultiTexCoord1f(int target, float s, long function_pointer); public static void glMultiTexCoord1d(int target, double s) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultiTexCoord1d; BufferChecks.checkFunctionAddress(function_pointer); nglMultiTexCoord1d(target, s, function_pointer); } static native void nglMultiTexCoord1d(int target, double s, long function_pointer); public static void glMultiTexCoord2f(int target, float s, float t) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultiTexCoord2f; BufferChecks.checkFunctionAddress(function_pointer); nglMultiTexCoord2f(target, s, t, function_pointer); } static native void nglMultiTexCoord2f(int target, float s, float t, long function_pointer); public static void glMultiTexCoord2d(int target, double s, double t) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultiTexCoord2d; BufferChecks.checkFunctionAddress(function_pointer); nglMultiTexCoord2d(target, s, t, function_pointer); } static native void nglMultiTexCoord2d(int target, double s, double t, long function_pointer); public static void glMultiTexCoord3f(int target, float s, float t, float r) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultiTexCoord3f; BufferChecks.checkFunctionAddress(function_pointer); nglMultiTexCoord3f(target, s, t, r, function_pointer); } static native void nglMultiTexCoord3f(int target, float s, float t, float r, long function_pointer); public static void glMultiTexCoord3d(int target, double s, double t, double r) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultiTexCoord3d; BufferChecks.checkFunctionAddress(function_pointer); nglMultiTexCoord3d(target, s, t, r, function_pointer); } static native void nglMultiTexCoord3d(int target, double s, double t, double r, long function_pointer); public static void glMultiTexCoord4f(int target, float s, float t, float r, float q) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultiTexCoord4f; BufferChecks.checkFunctionAddress(function_pointer); nglMultiTexCoord4f(target, s, t, r, q, function_pointer); } static native void nglMultiTexCoord4f(int target, float s, float t, float r, float q, long function_pointer); public static void glMultiTexCoord4d(int target, double s, double t, double r, double q) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultiTexCoord4d; BufferChecks.checkFunctionAddress(function_pointer); nglMultiTexCoord4d(target, s, t, r, q, function_pointer); } static native void nglMultiTexCoord4d(int target, double s, double t, double r, double q, long function_pointer); public static void glLoadTransposeMatrix(FloatBuffer m) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glLoadTransposeMatrixf; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(m, 16); nglLoadTransposeMatrixf(MemoryUtil.getAddress(m), function_pointer); } static native void nglLoadTransposeMatrixf(long m, long function_pointer); public static void glLoadTransposeMatrix(DoubleBuffer m) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glLoadTransposeMatrixd; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(m, 16); nglLoadTransposeMatrixd(MemoryUtil.getAddress(m), function_pointer); } static native void nglLoadTransposeMatrixd(long m, long function_pointer); public static void glMultTransposeMatrix(FloatBuffer m) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultTransposeMatrixf; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(m, 16); nglMultTransposeMatrixf(MemoryUtil.getAddress(m), function_pointer); } static native void nglMultTransposeMatrixf(long m, long function_pointer); public static void glMultTransposeMatrix(DoubleBuffer m) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glMultTransposeMatrixd; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(m, 16); nglMultTransposeMatrixd(MemoryUtil.getAddress(m), function_pointer); } static native void nglMultTransposeMatrixd(long m, long function_pointer); public static void glSampleCoverage(float value, boolean invert) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glSampleCoverage; BufferChecks.checkFunctionAddress(function_pointer); nglSampleCoverage(value, invert, function_pointer); } static native void nglSampleCoverage(float value, boolean invert, long function_pointer); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy