/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengl;
import org.lwjgl.*;
import java.nio.*;
public final class ARBGeometryShader4 {
/**
* Accepted by the <type> parameter of CreateShader and returned by the
* <params> parameter of GetShaderiv:
*/
public static final int GL_GEOMETRY_SHADER_ARB = 0x8DD9;
/**
* Accepted by the <pname> parameter of ProgramParameteriEXT and
* GetProgramiv:
*/
public static final int GL_GEOMETRY_VERTICES_OUT_ARB = 0x8DDA,
GL_GEOMETRY_INPUT_TYPE_ARB = 0x8DDB,
GL_GEOMETRY_OUTPUT_TYPE_ARB = 0x8DDC;
/**
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB = 0x8C29,
GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB = 0x8DDD,
GL_MAX_VERTEX_VARYING_COMPONENTS_ARB = 0x8DDE,
GL_MAX_VARYING_COMPONENTS_ARB = 0x8B4B,
GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB = 0x8DDF,
GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB = 0x8DE0,
GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB = 0x8DE1;
/**
* Accepted by the <mode> parameter of Begin, DrawArrays,
* MultiDrawArrays, DrawElements, MultiDrawElements, and
* DrawRangeElements:
*/
public static final int GL_LINES_ADJACENCY_ARB = 0xA,
GL_LINE_STRIP_ADJACENCY_ARB = 0xB,
GL_TRIANGLES_ADJACENCY_ARB = 0xC,
GL_TRIANGLE_STRIP_ADJACENCY_ARB = 0xD;
/**
* Returned by CheckFramebufferStatusEXT:
*/
public static final int GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB = 0x8DA8,
GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB = 0x8DA9;
/**
* Accepted by the <pname> parameter of GetFramebufferAttachment-
* ParameterivEXT:
*/
public static final int GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB = 0x8DA7,
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_ARB = 0x8CD4;
/**
* Accepted by the <cap> parameter of Enable, Disable, and IsEnabled,
* and by the <pname> parameter of GetIntegerv, GetFloatv, GetDoublev,
* and GetBooleanv:
*/
public static final int GL_PROGRAM_POINT_SIZE_ARB = 0x8642;
private ARBGeometryShader4() {}
public static void glProgramParameteriARB(int program, int pname, int value) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glProgramParameteriARB;
BufferChecks.checkFunctionAddress(function_pointer);
nglProgramParameteriARB(program, pname, value, function_pointer);
}
static native void nglProgramParameteriARB(int program, int pname, int value, long function_pointer);
public static void glFramebufferTextureARB(int target, int attachment, int texture, int level) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glFramebufferTextureARB;
BufferChecks.checkFunctionAddress(function_pointer);
nglFramebufferTextureARB(target, attachment, texture, level, function_pointer);
}
static native void nglFramebufferTextureARB(int target, int attachment, int texture, int level, long function_pointer);
public static void glFramebufferTextureLayerARB(int target, int attachment, int texture, int level, int layer) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glFramebufferTextureLayerARB;
BufferChecks.checkFunctionAddress(function_pointer);
nglFramebufferTextureLayerARB(target, attachment, texture, level, layer, function_pointer);
}
static native void nglFramebufferTextureLayerARB(int target, int attachment, int texture, int level, int layer, long function_pointer);
public static void glFramebufferTextureFaceARB(int target, int attachment, int texture, int level, int face) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glFramebufferTextureFaceARB;
BufferChecks.checkFunctionAddress(function_pointer);
nglFramebufferTextureFaceARB(target, attachment, texture, level, face, function_pointer);
}
static native void nglFramebufferTextureFaceARB(int target, int attachment, int texture, int level, int face, long function_pointer);
}