org.lwjgl.opengl.EXTTextureBufferObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl Show documentation
Show all versions of lwjgl Show documentation
Lighweight Java Game Library
The newest version!
/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengl;
import org.lwjgl.*;
import java.nio.*;
public final class EXTTextureBufferObject {
/**
* Accepted by the <target> parameter of BindBuffer, BufferData,
* BufferSubData, MapBuffer, BindTexture, UnmapBuffer, GetBufferSubData,
* GetBufferParameteriv, GetBufferPointerv, and TexBufferEXT, and
* the <pname> parameter of GetBooleanv, GetDoublev, GetFloatv, and
* GetIntegerv:
*/
public static final int GL_TEXTURE_BUFFER_EXT = 0x8C2A;
/**
* Accepted by the <pname> parameters of GetBooleanv, GetDoublev,
* GetFloatv, and GetIntegerv:
*/
public static final int GL_MAX_TEXTURE_BUFFER_SIZE_EXT = 0x8C2B,
GL_TEXTURE_BINDING_BUFFER_EXT = 0x8C2C,
GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = 0x8C2D,
GL_TEXTURE_BUFFER_FORMAT_EXT = 0x8C2E;
private EXTTextureBufferObject() {}
public static void glTexBufferEXT(int target, int internalformat, int buffer) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glTexBufferEXT;
BufferChecks.checkFunctionAddress(function_pointer);
nglTexBufferEXT(target, internalformat, buffer, function_pointer);
}
static native void nglTexBufferEXT(int target, int internalformat, int buffer, long function_pointer);
}