org.lwjgl.opengl.GL14 Maven / Gradle / Ivy
Show all versions of lwjgl-opengl Show documentation
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.lwjgl.system.JNI.*;
import static org.lwjgl.system.MemoryUtil.*;
/**
* The core OpenGL 1.4 functionality.
*
* Extensions promoted to core in this release:
*
*
* - SGIS_generate_mipmap
* - NV_blend_square
* - ARB_depth_texture and ARB_shadow
* - EXT_fog_coord
* - EXT_multi_draw_arrays
* - ARB_point_parameters
* - EXT_secondary_color
* - EXT_blend_func_separate
* - EXT_stencil_wrap
* - ARB_texture_env_crossbar
* - EXT_texture_lod_bias
* - ARB_texture_mirrored_repeat
* - ARB_window_pos
*
*/
public class GL14 {
/** Accepted by the {@code pname} parameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv. */
public static final int GL_GENERATE_MIPMAP = 0x8191;
/** Accepted by the {@code target} parameter of Hint, and by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */
public static final int GL_GENERATE_MIPMAP_HINT = 0x8192;
/** Accepted by the {@code sfactor} and {@code dfactor} parameters of BlendFunc. */
public static final int
GL_CONSTANT_COLOR = 0x8001,
GL_ONE_MINUS_CONSTANT_COLOR = 0x8002,
GL_CONSTANT_ALPHA = 0x8003,
GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
/** Accepted by the {@code mode} parameter of BlendEquation. */
public static final int
GL_FUNC_ADD = 0x8006,
GL_MIN = 0x8007,
GL_MAX = 0x8008;
/** Accepted by the {@code mode} parameter of BlendEquation. */
public static final int
GL_FUNC_SUBTRACT = 0x800A,
GL_FUNC_REVERSE_SUBTRACT = 0x800B;
/** Accepted by the {@code internalFormat} parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D. */
public static final int
GL_DEPTH_COMPONENT16 = 0x81A5,
GL_DEPTH_COMPONENT24 = 0x81A6,
GL_DEPTH_COMPONENT32 = 0x81A7;
/** Accepted by the {@code pname} parameter of GetTexLevelParameterfv and GetTexLevelParameteriv. */
public static final int GL_TEXTURE_DEPTH_SIZE = 0x884A;
/** Accepted by the {@code pname} parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv. */
public static final int GL_DEPTH_TEXTURE_MODE = 0x884B;
/** Accepted by the {@code pname} parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv. */
public static final int
GL_TEXTURE_COMPARE_MODE = 0x884C,
GL_TEXTURE_COMPARE_FUNC = 0x884D;
/**
* Accepted by the {@code param} parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the {@code pname} parameter is
* TEXTURE_COMPARE_MODE.
*/
public static final int GL_COMPARE_R_TO_TEXTURE = 0x884E;
/** Accepted by the {@code pname} parameter of Fogi and Fogf. */
public static final int GL_FOG_COORDINATE_SOURCE = 0x8450;
/** Accepted by the {@code param} parameter of Fogi and Fogf. */
public static final int
GL_FOG_COORDINATE = 0x8451,
GL_FRAGMENT_DEPTH = 0x8452;
/** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */
public static final int
GL_CURRENT_FOG_COORDINATE = 0x8453,
GL_FOG_COORDINATE_ARRAY_TYPE = 0x8454,
GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455;
/** Accepted by the {@code pname} parameter of GetPointerv. */
public static final int GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456;
/** Accepted by the {@code array} parameter of EnableClientState and DisableClientState. */
public static final int GL_FOG_COORDINATE_ARRAY = 0x8457;
/** Accepted by the {@code pname} parameter of PointParameterfARB, and the {@code pname} of Get. */
public static final int
GL_POINT_SIZE_MIN = 0x8126,
GL_POINT_SIZE_MAX = 0x8127,
GL_POINT_FADE_THRESHOLD_SIZE = 0x8128,
GL_POINT_DISTANCE_ATTENUATION = 0x8129;
/**
* Accepted by the {@code cap} parameter of Enable, Disable, and IsEnabled, and by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev.
*/
public static final int GL_COLOR_SUM = 0x8458;
/** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */
public static final int
GL_CURRENT_SECONDARY_COLOR = 0x8459,
GL_SECONDARY_COLOR_ARRAY_SIZE = 0x845A,
GL_SECONDARY_COLOR_ARRAY_TYPE = 0x845B,
GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845C;
/** Accepted by the {@code pname} parameter of GetPointerv. */
public static final int GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845D;
/** Accepted by the {@code array} parameter of EnableClientState and DisableClientState. */
public static final int GL_SECONDARY_COLOR_ARRAY = 0x845E;
/** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */
public static final int
GL_BLEND_DST_RGB = 0x80C8,
GL_BLEND_SRC_RGB = 0x80C9,
GL_BLEND_DST_ALPHA = 0x80CA,
GL_BLEND_SRC_ALPHA = 0x80CB;
/** Accepted by the {@code sfail}, {@code dpfail}, and {@code dppass} parameter of StencilOp. */
public static final int
GL_INCR_WRAP = 0x8507,
GL_DECR_WRAP = 0x8508;
/** Accepted by the {@code target} parameters of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, Texenviv, and TexEnvfv. */
public static final int GL_TEXTURE_FILTER_CONTROL = 0x8500;
/**
* When the {@code target} parameter of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, TexEnviv, and TexEnvfv is TEXTURE_FILTER_CONTROL, then the value of
* {@code pname} may be.
*/
public static final int GL_TEXTURE_LOD_BIAS = 0x8501;
/** Accepted by the {@code pname} parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */
public static final int GL_MAX_TEXTURE_LOD_BIAS = 0x84FD;
/**
* Accepted by the {@code param} parameter of TexParameteri and TexParameterf, and by the {@code params} parameter of TexParameteriv and TexParameterfv,
* when their {@code pname} parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
*/
public static final int GL_MIRRORED_REPEAT = 0x8370;
static { GL.initialize(); }
protected GL14() {
throw new UnsupportedOperationException();
}
static boolean isAvailable(GLCapabilities caps, boolean fc) {
return (fc || checkFunctions(
caps.glFogCoordf, caps.glFogCoordd, caps.glFogCoordfv, caps.glFogCoorddv, caps.glFogCoordPointer, caps.glSecondaryColor3b, caps.glSecondaryColor3s,
caps.glSecondaryColor3i, caps.glSecondaryColor3f, caps.glSecondaryColor3d, caps.glSecondaryColor3ub, caps.glSecondaryColor3us,
caps.glSecondaryColor3ui, caps.glSecondaryColor3bv, caps.glSecondaryColor3sv, caps.glSecondaryColor3iv, caps.glSecondaryColor3fv,
caps.glSecondaryColor3dv, caps.glSecondaryColor3ubv, caps.glSecondaryColor3usv, caps.glSecondaryColor3uiv, caps.glSecondaryColorPointer,
caps.glWindowPos2i, caps.glWindowPos2s, caps.glWindowPos2f, caps.glWindowPos2d, caps.glWindowPos2iv, caps.glWindowPos2sv, caps.glWindowPos2fv,
caps.glWindowPos2dv, caps.glWindowPos3i, caps.glWindowPos3s, caps.glWindowPos3f, caps.glWindowPos3d, caps.glWindowPos3iv, caps.glWindowPos3sv,
caps.glWindowPos3fv, caps.glWindowPos3dv
)) && checkFunctions(
caps.glBlendColor, caps.glBlendEquation, caps.glMultiDrawArrays, caps.glMultiDrawElements, caps.glPointParameterf, caps.glPointParameteri,
caps.glPointParameterfv, caps.glPointParameteriv, caps.glBlendFuncSeparate
);
}
// --- [ glBlendColor ] ---
/**
*
*
* Specifies the constant color Cc to be used in blending.
*
* @param red the red color component
* @param green the green color component
* @param blue the blue color component
* @param alpha the alpha color component
*/
public static native void glBlendColor(@NativeType("GLfloat") float red, @NativeType("GLfloat") float green, @NativeType("GLfloat") float blue, @NativeType("GLfloat") float alpha);
// --- [ glBlendEquation ] ---
/**
*
*
* Controls the blend equations used for per-fragment blending.
*
* @param mode the blend equation. One of:
{@link #GL_FUNC_ADD FUNC_ADD} {@link #GL_FUNC_SUBTRACT FUNC_SUBTRACT} {@link #GL_FUNC_REVERSE_SUBTRACT FUNC_REVERSE_SUBTRACT} {@link #GL_MIN MIN} {@link #GL_MAX MAX}
*/
public static native void glBlendEquation(@NativeType("GLenum") int mode);
// --- [ glFogCoordf ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Sets the current fog coordinate.
*
* @param coord the fog coordinate value
*/
public static native void glFogCoordf(@NativeType("GLfloat") float coord);
// --- [ glFogCoordd ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Double version of {@link #glFogCoordf FogCoordf}.
*
* @param coord the fog coordinate value
*/
public static native void glFogCoordd(@NativeType("GLdouble") double coord);
// --- [ glFogCoordfv ] ---
/** Unsafe version of: {@link #glFogCoordfv FogCoordfv} */
public static native void nglFogCoordfv(long coord);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glFogCoordf FogCoordf}.
*
* @param coord the fog coordinate value
*/
public static void glFogCoordfv(@NativeType("const GLfloat *") FloatBuffer coord) {
if (CHECKS) {
check(coord, 1);
}
nglFogCoordfv(memAddress(coord));
}
// --- [ glFogCoorddv ] ---
/** Unsafe version of: {@link #glFogCoorddv FogCoorddv} */
public static native void nglFogCoorddv(long coord);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glFogCoordd FogCoordd}.
*
* @param coord the fog coordinate value
*/
public static void glFogCoorddv(@NativeType("const GLdouble *") DoubleBuffer coord) {
if (CHECKS) {
check(coord, 1);
}
nglFogCoorddv(memAddress(coord));
}
// --- [ glFogCoordPointer ] ---
/** Unsafe version of: {@link #glFogCoordPointer FogCoordPointer} */
public static native void nglFogCoordPointer(int type, int stride, long pointer);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a fog coordinate array.
*
* @param type the data type of the values stored in the array. One of:
{@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the fog coordinate array data
*/
public static void glFogCoordPointer(@NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") ByteBuffer pointer) {
nglFogCoordPointer(type, stride, memAddress(pointer));
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a fog coordinate array.
*
* @param type the data type of the values stored in the array. One of:
{@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the fog coordinate array data
*/
public static void glFogCoordPointer(@NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") long pointer) {
nglFogCoordPointer(type, stride, pointer);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a fog coordinate array.
*
* @param type the data type of the values stored in the array. One of:
{@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the fog coordinate array data
*/
public static void glFogCoordPointer(@NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") ShortBuffer pointer) {
nglFogCoordPointer(type, stride, memAddress(pointer));
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a fog coordinate array.
*
* @param type the data type of the values stored in the array. One of:
{@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the fog coordinate array data
*/
public static void glFogCoordPointer(@NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") FloatBuffer pointer) {
nglFogCoordPointer(type, stride, memAddress(pointer));
}
// --- [ glMultiDrawArrays ] ---
/**
* Unsafe version of: {@link #glMultiDrawArrays MultiDrawArrays}
*
* @param primcount the size of {@code first} and {@code count}
*/
public static native void nglMultiDrawArrays(int mode, long first, long count, int primcount);
/**
*
*
* Renders multiple sets of primitives from array data.
*
* @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS} {@link GL11#GL_LINE_STRIP LINE_STRIP} {@link GL11#GL_LINE_LOOP LINE_LOOP} {@link GL11#GL_LINES LINES} {@link GL11#GL_POLYGON POLYGON} {@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP} {@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN} {@link GL11#GL_TRIANGLES TRIANGLES} {@link GL11#GL_QUAD_STRIP QUAD_STRIP} {@link GL11#GL_QUADS QUADS} {@link GL32#GL_LINES_ADJACENCY LINES_ADJACENCY} {@link GL32#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY} {@link GL32#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY} {@link GL32#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY} {@link GL40#GL_PATCHES PATCHES}
* @param first an array of starting indices in the enabled arrays
* @param count an array of the number of indices to be rendered
*/
public static void glMultiDrawArrays(@NativeType("GLenum") int mode, @NativeType("const GLint *") IntBuffer first, @NativeType("const GLsizei *") IntBuffer count) {
if (CHECKS) {
check(count, first.remaining());
}
nglMultiDrawArrays(mode, memAddress(first), memAddress(count), first.remaining());
}
// --- [ glMultiDrawElements ] ---
/**
* Unsafe version of: {@link #glMultiDrawElements MultiDrawElements}
*
* @param primcount the size of the {@code count} array
*/
public static native void nglMultiDrawElements(int mode, long count, int type, long indices, int primcount);
/**
*
*
* Renders multiple sets of primitives by specifying indices of array data elements.
*
* LWJGL note: Use {@link org.lwjgl.system.MemoryUtil#memAddress} to retrieve pointers to the index buffers.
*
* @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS} {@link GL11#GL_LINE_STRIP LINE_STRIP} {@link GL11#GL_LINE_LOOP LINE_LOOP} {@link GL11#GL_LINES LINES} {@link GL11#GL_POLYGON POLYGON} {@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP} {@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN} {@link GL11#GL_TRIANGLES TRIANGLES} {@link GL11#GL_QUAD_STRIP QUAD_STRIP} {@link GL11#GL_QUADS QUADS} {@link GL32#GL_LINES_ADJACENCY LINES_ADJACENCY} {@link GL32#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY} {@link GL32#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY} {@link GL32#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY} {@link GL40#GL_PATCHES PATCHES}
* @param count an array of the elements counts
* @param type the type of the values in indices. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE} {@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT} {@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
* @param indices a pointer to the location where the indices are stored
*/
public static void glMultiDrawElements(@NativeType("GLenum") int mode, @NativeType("GLsizei *") IntBuffer count, @NativeType("GLenum") int type, @NativeType("const void **") PointerBuffer indices) {
if (CHECKS) {
check(indices, count.remaining());
}
nglMultiDrawElements(mode, memAddress(count), type, memAddress(indices), count.remaining());
}
// --- [ glPointParameterf ] ---
/**
*
*
* Sets the float value of a pointer parameter.
*
* @param pname the parameter to set. One of:
{@link #GL_POINT_SIZE_MIN POINT_SIZE_MIN} {@link #GL_POINT_SIZE_MAX POINT_SIZE_MAX} {@link #GL_POINT_FADE_THRESHOLD_SIZE POINT_FADE_THRESHOLD_SIZE}
* @param param the parameter value
*/
public static native void glPointParameterf(@NativeType("GLenum") int pname, @NativeType("GLfloat") float param);
// --- [ glPointParameteri ] ---
/**
*
*
* Integer version of {@link #glPointParameterf PointParameterf}.
*
* @param pname the parameter to set. One of:
{@link #GL_POINT_SIZE_MIN POINT_SIZE_MIN} {@link #GL_POINT_SIZE_MAX POINT_SIZE_MAX} {@link #GL_POINT_FADE_THRESHOLD_SIZE POINT_FADE_THRESHOLD_SIZE}
* @param param the parameter value
*/
public static native void glPointParameteri(@NativeType("GLenum") int pname, @NativeType("GLint") int param);
// --- [ glPointParameterfv ] ---
/** Unsafe version of: {@link #glPointParameterfv PointParameterfv} */
public static native void nglPointParameterfv(int pname, long params);
/**
*
*
* Pointer version of {@link #glPointParameterf PointParameterf}.
*
* @param pname the parameter to set. Must be:
{@link #GL_POINT_DISTANCE_ATTENUATION POINT_DISTANCE_ATTENUATION}
* @param params the parameter value
*/
public static void glPointParameterfv(@NativeType("GLenum") int pname, @NativeType("const GLfloat *") FloatBuffer params) {
if (CHECKS) {
check(params, 3);
}
nglPointParameterfv(pname, memAddress(params));
}
// --- [ glPointParameteriv ] ---
/** Unsafe version of: {@link #glPointParameteriv PointParameteriv} */
public static native void nglPointParameteriv(int pname, long params);
/**
*
*
* Pointer version of {@link #glPointParameteri PointParameteri}.
*
* @param pname the parameter to set. Must be:
{@link #GL_POINT_DISTANCE_ATTENUATION POINT_DISTANCE_ATTENUATION}
* @param params the parameter value
*/
public static void glPointParameteriv(@NativeType("GLenum") int pname, @NativeType("const GLint *") IntBuffer params) {
if (CHECKS) {
check(params, 3);
}
nglPointParameteriv(pname, memAddress(params));
}
// --- [ glSecondaryColor3b ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Sets the R, G, and B components of the current secondary color. The alpha component is set to 1.0.
*
* @param red the red component of the current secondary color
* @param green the green component of the current secondary color
* @param blue the blue component of the current secondary color
*/
public static native void glSecondaryColor3b(@NativeType("GLbyte") byte red, @NativeType("GLbyte") byte green, @NativeType("GLbyte") byte blue);
// --- [ glSecondaryColor3s ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Short version of {@link #glSecondaryColor3b SecondaryColor3b}
*
* @param red the red component of the current secondary color
* @param green the green component of the current secondary color
* @param blue the blue component of the current secondary color
*/
public static native void glSecondaryColor3s(@NativeType("GLshort") short red, @NativeType("GLshort") short green, @NativeType("GLshort") short blue);
// --- [ glSecondaryColor3i ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Integer version of {@link #glSecondaryColor3b SecondaryColor3b}
*
* @param red the red component of the current secondary color
* @param green the green component of the current secondary color
* @param blue the blue component of the current secondary color
*/
public static native void glSecondaryColor3i(@NativeType("GLint") int red, @NativeType("GLint") int green, @NativeType("GLint") int blue);
// --- [ glSecondaryColor3f ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Float version of {@link #glSecondaryColor3b SecondaryColor3b}
*
* @param red the red component of the current secondary color
* @param green the green component of the current secondary color
* @param blue the blue component of the current secondary color
*/
public static native void glSecondaryColor3f(@NativeType("GLfloat") float red, @NativeType("GLfloat") float green, @NativeType("GLfloat") float blue);
// --- [ glSecondaryColor3d ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Double version of {@link #glSecondaryColor3b SecondaryColor3b}
*
* @param red the red component of the current secondary color
* @param green the green component of the current secondary color
* @param blue the blue component of the current secondary color
*/
public static native void glSecondaryColor3d(@NativeType("GLdouble") double red, @NativeType("GLdouble") double green, @NativeType("GLdouble") double blue);
// --- [ glSecondaryColor3ub ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Unsigned version of {@link #glSecondaryColor3b SecondaryColor3b}
*
* @param red the red component of the current secondary color
* @param green the green component of the current secondary color
* @param blue the blue component of the current secondary color
*/
public static native void glSecondaryColor3ub(@NativeType("GLubyte") byte red, @NativeType("GLubyte") byte green, @NativeType("GLubyte") byte blue);
// --- [ glSecondaryColor3us ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Unsigned short version of {@link #glSecondaryColor3b SecondaryColor3b}
*
* @param red the red component of the current secondary color
* @param green the green component of the current secondary color
* @param blue the blue component of the current secondary color
*/
public static native void glSecondaryColor3us(@NativeType("GLushort") short red, @NativeType("GLushort") short green, @NativeType("GLushort") short blue);
// --- [ glSecondaryColor3ui ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Unsigned int version of {@link #glSecondaryColor3b SecondaryColor3b}
*
* @param red the red component of the current secondary color
* @param green the green component of the current secondary color
* @param blue the blue component of the current secondary color
*/
public static native void glSecondaryColor3ui(@NativeType("GLint") int red, @NativeType("GLint") int green, @NativeType("GLint") int blue);
// --- [ glSecondaryColor3bv ] ---
/** Unsafe version of: {@link #glSecondaryColor3bv SecondaryColor3bv} */
public static native void nglSecondaryColor3bv(long v);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Byte pointer version of {@link #glSecondaryColor3b SecondaryColor3b}.
*
* @param v the secondary color buffer
*/
public static void glSecondaryColor3bv(@NativeType("const GLbyte *") ByteBuffer v) {
if (CHECKS) {
check(v, 3);
}
nglSecondaryColor3bv(memAddress(v));
}
// --- [ glSecondaryColor3sv ] ---
/** Unsafe version of: {@link #glSecondaryColor3sv SecondaryColor3sv} */
public static native void nglSecondaryColor3sv(long v);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glSecondaryColor3s SecondaryColor3s}.
*
* @param v the secondary color buffer
*/
public static void glSecondaryColor3sv(@NativeType("const GLshort *") ShortBuffer v) {
if (CHECKS) {
check(v, 3);
}
nglSecondaryColor3sv(memAddress(v));
}
// --- [ glSecondaryColor3iv ] ---
/** Unsafe version of: {@link #glSecondaryColor3iv SecondaryColor3iv} */
public static native void nglSecondaryColor3iv(long v);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glSecondaryColor3i SecondaryColor3i}.
*
* @param v the secondary color buffer
*/
public static void glSecondaryColor3iv(@NativeType("const GLint *") IntBuffer v) {
if (CHECKS) {
check(v, 3);
}
nglSecondaryColor3iv(memAddress(v));
}
// --- [ glSecondaryColor3fv ] ---
/** Unsafe version of: {@link #glSecondaryColor3fv SecondaryColor3fv} */
public static native void nglSecondaryColor3fv(long v);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glSecondaryColor3f SecondaryColor3f}.
*
* @param v the secondary color buffer
*/
public static void glSecondaryColor3fv(@NativeType("const GLfloat *") FloatBuffer v) {
if (CHECKS) {
check(v, 3);
}
nglSecondaryColor3fv(memAddress(v));
}
// --- [ glSecondaryColor3dv ] ---
/** Unsafe version of: {@link #glSecondaryColor3dv SecondaryColor3dv} */
public static native void nglSecondaryColor3dv(long v);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glSecondaryColor3d SecondaryColor3d}.
*
* @param v the secondary color buffer
*/
public static void glSecondaryColor3dv(@NativeType("const GLdouble *") DoubleBuffer v) {
if (CHECKS) {
check(v, 3);
}
nglSecondaryColor3dv(memAddress(v));
}
// --- [ glSecondaryColor3ubv ] ---
/** Unsafe version of: {@link #glSecondaryColor3ubv SecondaryColor3ubv} */
public static native void nglSecondaryColor3ubv(long v);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glSecondaryColor3ub SecondaryColor3ub}.
*
* @param v the secondary color buffer
*/
public static void glSecondaryColor3ubv(@NativeType("const GLubyte *") ByteBuffer v) {
if (CHECKS) {
check(v, 3);
}
nglSecondaryColor3ubv(memAddress(v));
}
// --- [ glSecondaryColor3usv ] ---
/** Unsafe version of: {@link #glSecondaryColor3usv SecondaryColor3usv} */
public static native void nglSecondaryColor3usv(long v);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glSecondaryColor3us SecondaryColor3us}.
*
* @param v the secondary color buffer
*/
public static void glSecondaryColor3usv(@NativeType("const GLushort *") ShortBuffer v) {
if (CHECKS) {
check(v, 3);
}
nglSecondaryColor3usv(memAddress(v));
}
// --- [ glSecondaryColor3uiv ] ---
/** Unsafe version of: {@link #glSecondaryColor3uiv SecondaryColor3uiv} */
public static native void nglSecondaryColor3uiv(long v);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glSecondaryColor3ui SecondaryColor3ui}.
*
* @param v the secondary color buffer
*/
public static void glSecondaryColor3uiv(@NativeType("const GLuint *") IntBuffer v) {
if (CHECKS) {
check(v, 3);
}
nglSecondaryColor3uiv(memAddress(v));
}
// --- [ glSecondaryColorPointer ] ---
/** Unsafe version of: {@link #glSecondaryColorPointer SecondaryColorPointer} */
public static native void nglSecondaryColorPointer(int size, int type, int stride, long pointer);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a secondary color array.
*
* @param size the number of values per vertex that are stored in the array, as well as their component ordering. Must be:
3
* @param type the data type of the values stored in the array. One of:
{@link GL11#GL_BYTE BYTE} {@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE} {@link GL11#GL_SHORT SHORT} {@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT} {@link GL11#GL_INT INT} {@link GL11#GL_UNSIGNED_INT UNSIGNED_INT} {@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE} {@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV} {@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the secondary color array data
*/
public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") ByteBuffer pointer) {
nglSecondaryColorPointer(size, type, stride, memAddress(pointer));
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a secondary color array.
*
* @param size the number of values per vertex that are stored in the array, as well as their component ordering. Must be:
3
* @param type the data type of the values stored in the array. One of:
{@link GL11#GL_BYTE BYTE} {@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE} {@link GL11#GL_SHORT SHORT} {@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT} {@link GL11#GL_INT INT} {@link GL11#GL_UNSIGNED_INT UNSIGNED_INT} {@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE} {@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV} {@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the secondary color array data
*/
public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") long pointer) {
nglSecondaryColorPointer(size, type, stride, pointer);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a secondary color array.
*
* @param size the number of values per vertex that are stored in the array, as well as their component ordering. Must be:
3
* @param type the data type of the values stored in the array. One of:
{@link GL11#GL_BYTE BYTE} {@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE} {@link GL11#GL_SHORT SHORT} {@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT} {@link GL11#GL_INT INT} {@link GL11#GL_UNSIGNED_INT UNSIGNED_INT} {@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE} {@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV} {@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the secondary color array data
*/
public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") ShortBuffer pointer) {
nglSecondaryColorPointer(size, type, stride, memAddress(pointer));
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a secondary color array.
*
* @param size the number of values per vertex that are stored in the array, as well as their component ordering. Must be:
3
* @param type the data type of the values stored in the array. One of:
{@link GL11#GL_BYTE BYTE} {@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE} {@link GL11#GL_SHORT SHORT} {@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT} {@link GL11#GL_INT INT} {@link GL11#GL_UNSIGNED_INT UNSIGNED_INT} {@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE} {@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV} {@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the secondary color array data
*/
public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") IntBuffer pointer) {
nglSecondaryColorPointer(size, type, stride, memAddress(pointer));
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Specifies the location and organization of a secondary color array.
*
* @param size the number of values per vertex that are stored in the array, as well as their component ordering. Must be:
3
* @param type the data type of the values stored in the array. One of:
{@link GL11#GL_BYTE BYTE} {@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE} {@link GL11#GL_SHORT SHORT} {@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT} {@link GL11#GL_INT INT} {@link GL11#GL_UNSIGNED_INT UNSIGNED_INT} {@link GL30#GL_HALF_FLOAT HALF_FLOAT} {@link GL11#GL_FLOAT FLOAT} {@link GL11#GL_DOUBLE DOUBLE} {@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV} {@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}
* @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
* @param pointer the secondary color array data
*/
public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("const void *") FloatBuffer pointer) {
nglSecondaryColorPointer(size, type, stride, memAddress(pointer));
}
// --- [ glBlendFuncSeparate ] ---
/**
*
*
* Specifies pixel arithmetic for RGB and alpha components separately.
*
* @param sfactorRGB how the red, green, and blue blending factors are computed. The initial value is GL_ONE.
* @param dfactorRGB how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.
* @param sfactorAlpha how the alpha source blending factor is computed. The initial value is GL_ONE.
* @param dfactorAlpha how the alpha destination blending factor is computed. The initial value is GL_ZERO.
*/
public static native void glBlendFuncSeparate(@NativeType("GLenum") int sfactorRGB, @NativeType("GLenum") int dfactorRGB, @NativeType("GLenum") int sfactorAlpha, @NativeType("GLenum") int dfactorAlpha);
// --- [ glWindowPos2i ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Alternate way to set the current raster position. {@code z} is implictly set to 0.
*
* @param x the x value
* @param y the y value
*/
public static native void glWindowPos2i(@NativeType("GLint") int x, @NativeType("GLint") int y);
// --- [ glWindowPos2s ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Short version of {@link #glWindowPos2i WindowPos2i}.
*
* @param x the x value
* @param y the y value
*/
public static native void glWindowPos2s(@NativeType("GLshort") short x, @NativeType("GLshort") short y);
// --- [ glWindowPos2f ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Float version of {@link #glWindowPos2i WindowPos2i}.
*
* @param x the x value
* @param y the y value
*/
public static native void glWindowPos2f(@NativeType("GLfloat") float x, @NativeType("GLfloat") float y);
// --- [ glWindowPos2d ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Double version of {@link #glWindowPos2i WindowPos2i}.
*
* @param x the x value
* @param y the y value
*/
public static native void glWindowPos2d(@NativeType("GLdouble") double x, @NativeType("GLdouble") double y);
// --- [ glWindowPos2iv ] ---
/** Unsafe version of: {@link #glWindowPos2iv WindowPos2iv} */
public static native void nglWindowPos2iv(long p);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glWindowPos2i WindowPos2i}.
*
* @param p the position value
*/
public static void glWindowPos2iv(@NativeType("const GLint *") IntBuffer p) {
if (CHECKS) {
check(p, 2);
}
nglWindowPos2iv(memAddress(p));
}
// --- [ glWindowPos2sv ] ---
/** Unsafe version of: {@link #glWindowPos2sv WindowPos2sv} */
public static native void nglWindowPos2sv(long p);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glWindowPos2s WindowPos2s}.
*
* @param p the position value
*/
public static void glWindowPos2sv(@NativeType("const GLshort *") ShortBuffer p) {
if (CHECKS) {
check(p, 2);
}
nglWindowPos2sv(memAddress(p));
}
// --- [ glWindowPos2fv ] ---
/** Unsafe version of: {@link #glWindowPos2fv WindowPos2fv} */
public static native void nglWindowPos2fv(long p);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glWindowPos2f WindowPos2f}.
*
* @param p the position value
*/
public static void glWindowPos2fv(@NativeType("const GLfloat *") FloatBuffer p) {
if (CHECKS) {
check(p, 2);
}
nglWindowPos2fv(memAddress(p));
}
// --- [ glWindowPos2dv ] ---
/** Unsafe version of: {@link #glWindowPos2dv WindowPos2dv} */
public static native void nglWindowPos2dv(long p);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glWindowPos2d WindowPos2d}.
*
* @param p the position value
*/
public static void glWindowPos2dv(@NativeType("const GLdouble *") DoubleBuffer p) {
if (CHECKS) {
check(p, 2);
}
nglWindowPos2dv(memAddress(p));
}
// --- [ glWindowPos3i ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Alternate way to set the current raster position.
*
* @param x the x value
* @param y the y value
* @param z the z value
*/
public static native void glWindowPos3i(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLint") int z);
// --- [ glWindowPos3s ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Short version of {@link #glWindowPos3i WindowPos3i}.
*
* @param x the x value
* @param y the y value
* @param z the z value
*/
public static native void glWindowPos3s(@NativeType("GLshort") short x, @NativeType("GLshort") short y, @NativeType("GLshort") short z);
// --- [ glWindowPos3f ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Float version of {@link #glWindowPos3i WindowPos3i}.
*
* @param x the x value
* @param y the y value
* @param z the z value
*/
public static native void glWindowPos3f(@NativeType("GLfloat") float x, @NativeType("GLfloat") float y, @NativeType("GLfloat") float z);
// --- [ glWindowPos3d ] ---
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Double version of {@link #glWindowPos3i WindowPos3i}.
*
* @param x the x value
* @param y the y value
* @param z the z value
*/
public static native void glWindowPos3d(@NativeType("GLdouble") double x, @NativeType("GLdouble") double y, @NativeType("GLdouble") double z);
// --- [ glWindowPos3iv ] ---
/** Unsafe version of: {@link #glWindowPos3iv WindowPos3iv} */
public static native void nglWindowPos3iv(long p);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glWindowPos3i WindowPos3i}.
*
* @param p the position value
*/
public static void glWindowPos3iv(@NativeType("const GLint *") IntBuffer p) {
if (CHECKS) {
check(p, 3);
}
nglWindowPos3iv(memAddress(p));
}
// --- [ glWindowPos3sv ] ---
/** Unsafe version of: {@link #glWindowPos3sv WindowPos3sv} */
public static native void nglWindowPos3sv(long p);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glWindowPos3s WindowPos3s}.
*
* @param p the position value
*/
public static void glWindowPos3sv(@NativeType("const GLshort *") ShortBuffer p) {
if (CHECKS) {
check(p, 3);
}
nglWindowPos3sv(memAddress(p));
}
// --- [ glWindowPos3fv ] ---
/** Unsafe version of: {@link #glWindowPos3fv WindowPos3fv} */
public static native void nglWindowPos3fv(long p);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glWindowPos3f WindowPos3f}.
*
* @param p the position value
*/
public static void glWindowPos3fv(@NativeType("const GLfloat *") FloatBuffer p) {
if (CHECKS) {
check(p, 3);
}
nglWindowPos3fv(memAddress(p));
}
// --- [ glWindowPos3dv ] ---
/** Unsafe version of: {@link #glWindowPos3dv WindowPos3dv} */
public static native void nglWindowPos3dv(long p);
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Pointer version of {@link #glWindowPos3d WindowPos3d}.
*
* @param p the position value
*/
public static void glWindowPos3dv(@NativeType("const GLdouble *") DoubleBuffer p) {
if (CHECKS) {
check(p, 3);
}
nglWindowPos3dv(memAddress(p));
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glFogCoordfv FogCoordfv}
*/
public static void glFogCoordfv(@NativeType("const GLfloat *") float[] coord) {
long __functionAddress = GL.getICD().glFogCoordfv;
if (CHECKS) {
check(__functionAddress);
check(coord, 1);
}
callPV(__functionAddress, coord);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glFogCoorddv FogCoorddv}
*/
public static void glFogCoorddv(@NativeType("const GLdouble *") double[] coord) {
long __functionAddress = GL.getICD().glFogCoorddv;
if (CHECKS) {
check(__functionAddress);
check(coord, 1);
}
callPV(__functionAddress, coord);
}
/**
*
*
* Array version of: {@link #glMultiDrawArrays MultiDrawArrays}
*/
public static void glMultiDrawArrays(@NativeType("GLenum") int mode, @NativeType("const GLint *") int[] first, @NativeType("const GLsizei *") int[] count) {
long __functionAddress = GL.getICD().glMultiDrawArrays;
if (CHECKS) {
check(__functionAddress);
check(count, first.length);
}
callPPV(__functionAddress, mode, first, count, first.length);
}
/**
*
*
* Array version of: {@link #glMultiDrawElements MultiDrawElements}
*/
public static void glMultiDrawElements(@NativeType("GLenum") int mode, @NativeType("GLsizei *") int[] count, @NativeType("GLenum") int type, @NativeType("const void **") PointerBuffer indices) {
long __functionAddress = GL.getICD().glMultiDrawElements;
if (CHECKS) {
check(__functionAddress);
check(indices, count.length);
}
callPPV(__functionAddress, mode, count, type, memAddress(indices), count.length);
}
/**
*
*
* Array version of: {@link #glPointParameterfv PointParameterfv}
*/
public static void glPointParameterfv(@NativeType("GLenum") int pname, @NativeType("const GLfloat *") float[] params) {
long __functionAddress = GL.getICD().glPointParameterfv;
if (CHECKS) {
check(__functionAddress);
check(params, 3);
}
callPV(__functionAddress, pname, params);
}
/**
*
*
* Array version of: {@link #glPointParameteriv PointParameteriv}
*/
public static void glPointParameteriv(@NativeType("GLenum") int pname, @NativeType("const GLint *") int[] params) {
long __functionAddress = GL.getICD().glPointParameteriv;
if (CHECKS) {
check(__functionAddress);
check(params, 3);
}
callPV(__functionAddress, pname, params);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glSecondaryColor3sv SecondaryColor3sv}
*/
public static void glSecondaryColor3sv(@NativeType("const GLshort *") short[] v) {
long __functionAddress = GL.getICD().glSecondaryColor3sv;
if (CHECKS) {
check(__functionAddress);
check(v, 3);
}
callPV(__functionAddress, v);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glSecondaryColor3iv SecondaryColor3iv}
*/
public static void glSecondaryColor3iv(@NativeType("const GLint *") int[] v) {
long __functionAddress = GL.getICD().glSecondaryColor3iv;
if (CHECKS) {
check(__functionAddress);
check(v, 3);
}
callPV(__functionAddress, v);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glSecondaryColor3fv SecondaryColor3fv}
*/
public static void glSecondaryColor3fv(@NativeType("const GLfloat *") float[] v) {
long __functionAddress = GL.getICD().glSecondaryColor3fv;
if (CHECKS) {
check(__functionAddress);
check(v, 3);
}
callPV(__functionAddress, v);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glSecondaryColor3dv SecondaryColor3dv}
*/
public static void glSecondaryColor3dv(@NativeType("const GLdouble *") double[] v) {
long __functionAddress = GL.getICD().glSecondaryColor3dv;
if (CHECKS) {
check(__functionAddress);
check(v, 3);
}
callPV(__functionAddress, v);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glSecondaryColor3usv SecondaryColor3usv}
*/
public static void glSecondaryColor3usv(@NativeType("const GLushort *") short[] v) {
long __functionAddress = GL.getICD().glSecondaryColor3usv;
if (CHECKS) {
check(__functionAddress);
check(v, 3);
}
callPV(__functionAddress, v);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glSecondaryColor3uiv SecondaryColor3uiv}
*/
public static void glSecondaryColor3uiv(@NativeType("const GLuint *") int[] v) {
long __functionAddress = GL.getICD().glSecondaryColor3uiv;
if (CHECKS) {
check(__functionAddress);
check(v, 3);
}
callPV(__functionAddress, v);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glWindowPos2iv WindowPos2iv}
*/
public static void glWindowPos2iv(@NativeType("const GLint *") int[] p) {
long __functionAddress = GL.getICD().glWindowPos2iv;
if (CHECKS) {
check(__functionAddress);
check(p, 2);
}
callPV(__functionAddress, p);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glWindowPos2sv WindowPos2sv}
*/
public static void glWindowPos2sv(@NativeType("const GLshort *") short[] p) {
long __functionAddress = GL.getICD().glWindowPos2sv;
if (CHECKS) {
check(__functionAddress);
check(p, 2);
}
callPV(__functionAddress, p);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glWindowPos2fv WindowPos2fv}
*/
public static void glWindowPos2fv(@NativeType("const GLfloat *") float[] p) {
long __functionAddress = GL.getICD().glWindowPos2fv;
if (CHECKS) {
check(__functionAddress);
check(p, 2);
}
callPV(__functionAddress, p);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glWindowPos2dv WindowPos2dv}
*/
public static void glWindowPos2dv(@NativeType("const GLdouble *") double[] p) {
long __functionAddress = GL.getICD().glWindowPos2dv;
if (CHECKS) {
check(__functionAddress);
check(p, 2);
}
callPV(__functionAddress, p);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glWindowPos3iv WindowPos3iv}
*/
public static void glWindowPos3iv(@NativeType("const GLint *") int[] p) {
long __functionAddress = GL.getICD().glWindowPos3iv;
if (CHECKS) {
check(__functionAddress);
check(p, 3);
}
callPV(__functionAddress, p);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glWindowPos3sv WindowPos3sv}
*/
public static void glWindowPos3sv(@NativeType("const GLshort *") short[] p) {
long __functionAddress = GL.getICD().glWindowPos3sv;
if (CHECKS) {
check(__functionAddress);
check(p, 3);
}
callPV(__functionAddress, p);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glWindowPos3fv WindowPos3fv}
*/
public static void glWindowPos3fv(@NativeType("const GLfloat *") float[] p) {
long __functionAddress = GL.getICD().glWindowPos3fv;
if (CHECKS) {
check(__functionAddress);
check(p, 3);
}
callPV(__functionAddress, p);
}
/**
* Reference Page - This function is deprecated and unavailable in the Core profile
*
* Array version of: {@link #glWindowPos3dv WindowPos3dv}
*/
public static void glWindowPos3dv(@NativeType("const GLdouble *") double[] p) {
long __functionAddress = GL.getICD().glWindowPos3dv;
if (CHECKS) {
check(__functionAddress);
check(p, 3);
}
callPV(__functionAddress, p);
}
}