Java tutorial
/* * 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 OpenGL functionality up to version 1.4. Includes the deprecated symbols of the Compatibility Profile. * * <p>Extensions promoted to core in this release:</p> * * <ul> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/SGIS/SGIS_generate_mipmap.txt">SGIS_generate_mipmap</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/NV/NV_blend_square.txt">NV_blend_square</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_depth_texture.txt">ARB_depth_texture</a> and <a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_shadow.txt">ARB_shadow</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_fog_coord.txt">EXT_fog_coord</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_multi_draw_arrays.txt">EXT_multi_draw_arrays</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_point_parameters.txt">ARB_point_parameters</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_secondary_color.txt">EXT_secondary_color</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_blend_func_separate.txt">EXT_blend_func_separate</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_stencil_wrap.txt">EXT_stencil_wrap</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_texture_env_crossbar.txt">ARB_texture_env_crossbar</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_lod_bias.txt">EXT_texture_lod_bias</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_texture_mirrored_repeat.txt">ARB_texture_mirrored_repeat</a></li> * <li><a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_window_pos.txt">ARB_window_pos</a></li> * </ul> */ public class GL14 extends GL13 { /** 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 C<sub>c</sub> 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 * * @see <a target="_blank" href="http://docs.gl/gl4/glBlendColor">Reference Page</a> */ public static void glBlendColor(@NativeType("GLfloat") float red, @NativeType("GLfloat") float green, @NativeType("GLfloat") float blue, @NativeType("GLfloat") float alpha) { GL14C.glBlendColor(red, green, blue, alpha); } // --- [ glBlendEquation ] --- /** * Controls the blend equations used for per-fragment blending. * * @param mode the blend equation. One of:<br><table><tr><td>{@link GL14C#GL_FUNC_ADD FUNC_ADD}</td><td>{@link GL14C#GL_FUNC_SUBTRACT FUNC_SUBTRACT}</td><td>{@link GL14C#GL_FUNC_REVERSE_SUBTRACT FUNC_REVERSE_SUBTRACT}</td><td>{@link GL14C#GL_MIN MIN}</td><td>{@link GL14C#GL_MAX MAX}</td></tr></table> * * @see <a target="_blank" href="http://docs.gl/gl4/glBlendEquation">Reference Page</a> */ public static void glBlendEquation(@NativeType("GLenum") int mode) { GL14C.glBlendEquation(mode); } // --- [ glFogCoordf ] --- /** * Sets the current fog coordinate. * * @param coord the fog coordinate value * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoordf">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glFogCoordf(@NativeType("GLfloat") float coord); // --- [ glFogCoordd ] --- /** * Double version of {@link #glFogCoordf FogCoordf}. * * @param coord the fog coordinate value * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoordd">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glFogCoordd(@NativeType("GLdouble") double coord); // --- [ glFogCoordfv ] --- /** Unsafe version of: {@link #glFogCoordfv FogCoordfv} */ public static native void nglFogCoordfv(long coord); /** * Pointer version of {@link #glFogCoordf FogCoordf}. * * @param coord the fog coordinate value * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoord">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glFogCoordfv(@NativeType("GLfloat const *") FloatBuffer coord) { if (CHECKS) { check(coord, 1); } nglFogCoordfv(memAddress(coord)); } // --- [ glFogCoorddv ] --- /** Unsafe version of: {@link #glFogCoorddv FogCoorddv} */ public static native void nglFogCoorddv(long coord); /** * Pointer version of {@link #glFogCoordd FogCoordd}. * * @param coord the fog coordinate value * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoord">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glFogCoorddv(@NativeType("GLdouble const *") 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); /** * Specifies the location and organization of a fog coordinate array. * * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the fog coordinate array data * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoordPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glFogCoordPointer(@NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") ByteBuffer pointer) { nglFogCoordPointer(type, stride, memAddress(pointer)); } /** * Specifies the location and organization of a fog coordinate array. * * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the fog coordinate array data * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoordPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glFogCoordPointer(@NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") long pointer) { nglFogCoordPointer(type, stride, pointer); } /** * Specifies the location and organization of a fog coordinate array. * * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the fog coordinate array data * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoordPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glFogCoordPointer(@NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") ShortBuffer pointer) { nglFogCoordPointer(type, stride, memAddress(pointer)); } /** * Specifies the location and organization of a fog coordinate array. * * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the fog coordinate array data * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoordPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glFogCoordPointer(@NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") FloatBuffer pointer) { nglFogCoordPointer(type, stride, memAddress(pointer)); } // --- [ glMultiDrawArrays ] --- /** * Unsafe version of: {@link #glMultiDrawArrays MultiDrawArrays} * * @param drawcount the size of {@code first} and {@code count} */ public static void nglMultiDrawArrays(int mode, long first, long count, int drawcount) { GL14C.nglMultiDrawArrays(mode, first, count, drawcount); } /** * Renders multiple sets of primitives from array data. * * @param mode the kind of primitives to render. One of:<br><table><tr><td>{@link GL11#GL_POINTS POINTS}</td><td>{@link GL11#GL_LINE_STRIP LINE_STRIP}</td><td>{@link GL11#GL_LINE_LOOP LINE_LOOP}</td><td>{@link GL11#GL_LINES LINES}</td><td>{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}</td><td>{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}</td></tr><tr><td>{@link GL11#GL_TRIANGLES TRIANGLES}</td><td>{@link GL32#GL_LINES_ADJACENCY LINES_ADJACENCY}</td><td>{@link GL32#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}</td><td>{@link GL32#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}</td><td>{@link GL32#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}</td><td>{@link GL40#GL_PATCHES PATCHES}</td></tr></table> * @param first an array of starting indices in the enabled arrays * @param count an array of the number of indices to be rendered * * @see <a target="_blank" href="http://docs.gl/gl4/glMultiDrawArrays">Reference Page</a> */ public static void glMultiDrawArrays(@NativeType("GLenum") int mode, @NativeType("GLint const *") IntBuffer first, @NativeType("GLsizei const *") IntBuffer count) { GL14C.glMultiDrawArrays(mode, first, count); } // --- [ glMultiDrawElements ] --- /** * Unsafe version of: {@link #glMultiDrawElements MultiDrawElements} * * @param drawcount the size of the {@code count} array */ public static void nglMultiDrawElements(int mode, long count, int type, long indices, int drawcount) { GL14C.nglMultiDrawElements(mode, count, type, indices, drawcount); } /** * Renders multiple sets of primitives by specifying indices of array data elements. * * <p><b>LWJGL note</b>: Use {@link org.lwjgl.system.MemoryUtil#memAddress} to retrieve pointers to the index buffers.</p> * * @param mode the kind of primitives to render. One of:<br><table><tr><td>{@link GL11#GL_POINTS POINTS}</td><td>{@link GL11#GL_LINE_STRIP LINE_STRIP}</td><td>{@link GL11#GL_LINE_LOOP LINE_LOOP}</td><td>{@link GL11#GL_LINES LINES}</td><td>{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}</td><td>{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}</td></tr><tr><td>{@link GL11#GL_TRIANGLES TRIANGLES}</td><td>{@link GL32#GL_LINES_ADJACENCY LINES_ADJACENCY}</td><td>{@link GL32#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}</td><td>{@link GL32#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}</td><td>{@link GL32#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}</td><td>{@link GL40#GL_PATCHES PATCHES}</td></tr></table> * @param count an array of the elements counts * @param type the type of the values in indices. One of:<br><table><tr><td>{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}</td><td>{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}</td><td>{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}</td></tr></table> * @param indices a pointer to the location where the indices are stored * * @see <a target="_blank" href="http://docs.gl/gl4/glMultiDrawElements">Reference Page</a> */ public static void glMultiDrawElements(@NativeType("GLenum") int mode, @NativeType("GLsizei *") IntBuffer count, @NativeType("GLenum") int type, @NativeType("void const **") PointerBuffer indices) { GL14C.glMultiDrawElements(mode, count, type, indices); } // --- [ glPointParameterf ] --- /** * Sets the float value of a pointer parameter. * * @param pname the parameter to set. Must be:<br><table><tr><td>{@link GL14C#GL_POINT_FADE_THRESHOLD_SIZE POINT_FADE_THRESHOLD_SIZE}</td></tr></table> * @param param the parameter value * * @see <a target="_blank" href="http://docs.gl/gl4/glPointParameterf">Reference Page</a> */ public static void glPointParameterf(@NativeType("GLenum") int pname, @NativeType("GLfloat") float param) { GL14C.glPointParameterf(pname, param); } // --- [ glPointParameteri ] --- /** * Integer version of {@link #glPointParameterf PointParameterf}. * * @param pname the parameter to set. Must be:<br><table><tr><td>{@link GL14C#GL_POINT_FADE_THRESHOLD_SIZE POINT_FADE_THRESHOLD_SIZE}</td></tr></table> * @param param the parameter value * * @see <a target="_blank" href="http://docs.gl/gl4/glPointParameteri">Reference Page</a> */ public static void glPointParameteri(@NativeType("GLenum") int pname, @NativeType("GLint") int param) { GL14C.glPointParameteri(pname, param); } // --- [ glPointParameterfv ] --- /** Unsafe version of: {@link #glPointParameterfv PointParameterfv} */ public static void nglPointParameterfv(int pname, long params) { GL14C.nglPointParameterfv(pname, params); } /** * Pointer version of {@link #glPointParameterf PointParameterf}. * * @param pname the parameter to set * @param params the parameter value * * @see <a target="_blank" href="http://docs.gl/gl4/glPointParameter">Reference Page</a> */ public static void glPointParameterfv(@NativeType("GLenum") int pname, @NativeType("GLfloat const *") FloatBuffer params) { GL14C.glPointParameterfv(pname, params); } // --- [ glPointParameteriv ] --- /** Unsafe version of: {@link #glPointParameteriv PointParameteriv} */ public static void nglPointParameteriv(int pname, long params) { GL14C.nglPointParameteriv(pname, params); } /** * Pointer version of {@link #glPointParameteri PointParameteri}. * * @param pname the parameter to set * @param params the parameter value * * @see <a target="_blank" href="http://docs.gl/gl4/glPointParameter">Reference Page</a> */ public static void glPointParameteriv(@NativeType("GLenum") int pname, @NativeType("GLint const *") IntBuffer params) { GL14C.glPointParameteriv(pname, params); } // --- [ glSecondaryColor3b ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glSecondaryColor3b(@NativeType("GLbyte") byte red, @NativeType("GLbyte") byte green, @NativeType("GLbyte") byte blue); // --- [ glSecondaryColor3s ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glSecondaryColor3s(@NativeType("GLshort") short red, @NativeType("GLshort") short green, @NativeType("GLshort") short blue); // --- [ glSecondaryColor3i ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glSecondaryColor3i(@NativeType("GLint") int red, @NativeType("GLint") int green, @NativeType("GLint") int blue); // --- [ glSecondaryColor3f ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glSecondaryColor3f(@NativeType("GLfloat") float red, @NativeType("GLfloat") float green, @NativeType("GLfloat") float blue); // --- [ glSecondaryColor3d ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glSecondaryColor3d(@NativeType("GLdouble") double red, @NativeType("GLdouble") double green, @NativeType("GLdouble") double blue); // --- [ glSecondaryColor3ub ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glSecondaryColor3ub(@NativeType("GLubyte") byte red, @NativeType("GLubyte") byte green, @NativeType("GLubyte") byte blue); // --- [ glSecondaryColor3us ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glSecondaryColor3us(@NativeType("GLushort") short red, @NativeType("GLushort") short green, @NativeType("GLushort") short blue); // --- [ glSecondaryColor3ui ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ 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); /** * Byte pointer version of {@link #glSecondaryColor3b SecondaryColor3b}. * * @param v the secondary color buffer * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3bv(@NativeType("GLbyte const *") ByteBuffer v) { if (CHECKS) { check(v, 3); } nglSecondaryColor3bv(memAddress(v)); } // --- [ glSecondaryColor3sv ] --- /** Unsafe version of: {@link #glSecondaryColor3sv SecondaryColor3sv} */ public static native void nglSecondaryColor3sv(long v); /** * Pointer version of {@link #glSecondaryColor3s SecondaryColor3s}. * * @param v the secondary color buffer * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3sv(@NativeType("GLshort const *") ShortBuffer v) { if (CHECKS) { check(v, 3); } nglSecondaryColor3sv(memAddress(v)); } // --- [ glSecondaryColor3iv ] --- /** Unsafe version of: {@link #glSecondaryColor3iv SecondaryColor3iv} */ public static native void nglSecondaryColor3iv(long v); /** * Pointer version of {@link #glSecondaryColor3i SecondaryColor3i}. * * @param v the secondary color buffer * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3iv(@NativeType("GLint const *") IntBuffer v) { if (CHECKS) { check(v, 3); } nglSecondaryColor3iv(memAddress(v)); } // --- [ glSecondaryColor3fv ] --- /** Unsafe version of: {@link #glSecondaryColor3fv SecondaryColor3fv} */ public static native void nglSecondaryColor3fv(long v); /** * Pointer version of {@link #glSecondaryColor3f SecondaryColor3f}. * * @param v the secondary color buffer * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3fv(@NativeType("GLfloat const *") FloatBuffer v) { if (CHECKS) { check(v, 3); } nglSecondaryColor3fv(memAddress(v)); } // --- [ glSecondaryColor3dv ] --- /** Unsafe version of: {@link #glSecondaryColor3dv SecondaryColor3dv} */ public static native void nglSecondaryColor3dv(long v); /** * Pointer version of {@link #glSecondaryColor3d SecondaryColor3d}. * * @param v the secondary color buffer * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3dv(@NativeType("GLdouble const *") DoubleBuffer v) { if (CHECKS) { check(v, 3); } nglSecondaryColor3dv(memAddress(v)); } // --- [ glSecondaryColor3ubv ] --- /** Unsafe version of: {@link #glSecondaryColor3ubv SecondaryColor3ubv} */ public static native void nglSecondaryColor3ubv(long v); /** * Pointer version of {@link #glSecondaryColor3ub SecondaryColor3ub}. * * @param v the secondary color buffer * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3ubv(@NativeType("GLubyte const *") ByteBuffer v) { if (CHECKS) { check(v, 3); } nglSecondaryColor3ubv(memAddress(v)); } // --- [ glSecondaryColor3usv ] --- /** Unsafe version of: {@link #glSecondaryColor3usv SecondaryColor3usv} */ public static native void nglSecondaryColor3usv(long v); /** * Pointer version of {@link #glSecondaryColor3us SecondaryColor3us}. * * @param v the secondary color buffer * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3usv(@NativeType("GLushort const *") ShortBuffer v) { if (CHECKS) { check(v, 3); } nglSecondaryColor3usv(memAddress(v)); } // --- [ glSecondaryColor3uiv ] --- /** Unsafe version of: {@link #glSecondaryColor3uiv SecondaryColor3uiv} */ public static native void nglSecondaryColor3uiv(long v); /** * Pointer version of {@link #glSecondaryColor3ui SecondaryColor3ui}. * * @param v the secondary color buffer * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3uiv(@NativeType("GLuint const *") 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); /** * 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:<br><table><tr><td>3</td></tr></table> * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL11#GL_BYTE BYTE}</td><td>{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}</td><td>{@link GL11#GL_SHORT SHORT}</td><td>{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}</td><td>{@link GL11#GL_INT INT}</td><td>{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}</td><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td></tr><tr><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td><td>{@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV}</td><td>{@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the secondary color array data * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColorPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") ByteBuffer pointer) { nglSecondaryColorPointer(size, type, stride, memAddress(pointer)); } /** * 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:<br><table><tr><td>3</td></tr></table> * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL11#GL_BYTE BYTE}</td><td>{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}</td><td>{@link GL11#GL_SHORT SHORT}</td><td>{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}</td><td>{@link GL11#GL_INT INT}</td><td>{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}</td><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td></tr><tr><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td><td>{@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV}</td><td>{@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the secondary color array data * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColorPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") long pointer) { nglSecondaryColorPointer(size, type, stride, pointer); } /** * 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:<br><table><tr><td>3</td></tr></table> * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL11#GL_BYTE BYTE}</td><td>{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}</td><td>{@link GL11#GL_SHORT SHORT}</td><td>{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}</td><td>{@link GL11#GL_INT INT}</td><td>{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}</td><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td></tr><tr><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td><td>{@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV}</td><td>{@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the secondary color array data * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColorPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") ShortBuffer pointer) { nglSecondaryColorPointer(size, type, stride, memAddress(pointer)); } /** * 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:<br><table><tr><td>3</td></tr></table> * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL11#GL_BYTE BYTE}</td><td>{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}</td><td>{@link GL11#GL_SHORT SHORT}</td><td>{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}</td><td>{@link GL11#GL_INT INT}</td><td>{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}</td><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td></tr><tr><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td><td>{@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV}</td><td>{@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the secondary color array data * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColorPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") IntBuffer pointer) { nglSecondaryColorPointer(size, type, stride, memAddress(pointer)); } /** * 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:<br><table><tr><td>3</td></tr></table> * @param type the data type of the values stored in the array. One of:<br><table><tr><td>{@link GL11#GL_BYTE BYTE}</td><td>{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}</td><td>{@link GL11#GL_SHORT SHORT}</td><td>{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}</td><td>{@link GL11#GL_INT INT}</td><td>{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}</td><td>{@link GL30#GL_HALF_FLOAT HALF_FLOAT}</td></tr><tr><td>{@link GL11#GL_FLOAT FLOAT}</td><td>{@link GL11#GL_DOUBLE DOUBLE}</td><td>{@link GL12#GL_UNSIGNED_INT_2_10_10_10_REV UNSIGNED_INT_2_10_10_10_REV}</td><td>{@link GL33#GL_INT_2_10_10_10_REV INT_2_10_10_10_REV}</td></tr></table> * @param stride the vertex stride in bytes. If specified as zero, then array elements are stored sequentially * @param pointer the secondary color array data * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColorPointer">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColorPointer(@NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLsizei") int stride, @NativeType("void const *") 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. * * @see <a target="_blank" href="http://docs.gl/gl4/glBlendFuncSeparate">Reference Page</a> */ public static void glBlendFuncSeparate(@NativeType("GLenum") int sfactorRGB, @NativeType("GLenum") int dfactorRGB, @NativeType("GLenum") int sfactorAlpha, @NativeType("GLenum") int dfactorAlpha) { GL14C.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); } // --- [ glWindowPos2i ] --- /** * 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 * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glWindowPos2i(@NativeType("GLint") int x, @NativeType("GLint") int y); // --- [ glWindowPos2s ] --- /** * Short version of {@link #glWindowPos2i WindowPos2i}. * * @param x the x value * @param y the y value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glWindowPos2s(@NativeType("GLshort") short x, @NativeType("GLshort") short y); // --- [ glWindowPos2f ] --- /** * Float version of {@link #glWindowPos2i WindowPos2i}. * * @param x the x value * @param y the y value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glWindowPos2f(@NativeType("GLfloat") float x, @NativeType("GLfloat") float y); // --- [ glWindowPos2d ] --- /** * Double version of {@link #glWindowPos2i WindowPos2i}. * * @param x the x value * @param y the y value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ 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); /** * Pointer version of {@link #glWindowPos2i WindowPos2i}. * * @param p the position value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos2iv(@NativeType("GLint const *") IntBuffer p) { if (CHECKS) { check(p, 2); } nglWindowPos2iv(memAddress(p)); } // --- [ glWindowPos2sv ] --- /** Unsafe version of: {@link #glWindowPos2sv WindowPos2sv} */ public static native void nglWindowPos2sv(long p); /** * Pointer version of {@link #glWindowPos2s WindowPos2s}. * * @param p the position value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos2sv(@NativeType("GLshort const *") ShortBuffer p) { if (CHECKS) { check(p, 2); } nglWindowPos2sv(memAddress(p)); } // --- [ glWindowPos2fv ] --- /** Unsafe version of: {@link #glWindowPos2fv WindowPos2fv} */ public static native void nglWindowPos2fv(long p); /** * Pointer version of {@link #glWindowPos2f WindowPos2f}. * * @param p the position value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos2fv(@NativeType("GLfloat const *") FloatBuffer p) { if (CHECKS) { check(p, 2); } nglWindowPos2fv(memAddress(p)); } // --- [ glWindowPos2dv ] --- /** Unsafe version of: {@link #glWindowPos2dv WindowPos2dv} */ public static native void nglWindowPos2dv(long p); /** * Pointer version of {@link #glWindowPos2d WindowPos2d}. * * @param p the position value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos2dv(@NativeType("GLdouble const *") DoubleBuffer p) { if (CHECKS) { check(p, 2); } nglWindowPos2dv(memAddress(p)); } // --- [ glWindowPos3i ] --- /** * Alternate way to set the current raster position. * * @param x the x value * @param y the y value * @param z the z value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glWindowPos3i(@NativeType("GLint") int x, @NativeType("GLint") int y, @NativeType("GLint") int z); // --- [ glWindowPos3s ] --- /** * Short version of {@link #glWindowPos3i WindowPos3i}. * * @param x the x value * @param y the y value * @param z the z value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glWindowPos3s(@NativeType("GLshort") short x, @NativeType("GLshort") short y, @NativeType("GLshort") short z); // --- [ glWindowPos3f ] --- /** * Float version of {@link #glWindowPos3i WindowPos3i}. * * @param x the x value * @param y the y value * @param z the z value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static native void glWindowPos3f(@NativeType("GLfloat") float x, @NativeType("GLfloat") float y, @NativeType("GLfloat") float z); // --- [ glWindowPos3d ] --- /** * Double version of {@link #glWindowPos3i WindowPos3i}. * * @param x the x value * @param y the y value * @param z the z value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ 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); /** * Pointer version of {@link #glWindowPos3i WindowPos3i}. * * @param p the position value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos3iv(@NativeType("GLint const *") IntBuffer p) { if (CHECKS) { check(p, 3); } nglWindowPos3iv(memAddress(p)); } // --- [ glWindowPos3sv ] --- /** Unsafe version of: {@link #glWindowPos3sv WindowPos3sv} */ public static native void nglWindowPos3sv(long p); /** * Pointer version of {@link #glWindowPos3s WindowPos3s}. * * @param p the position value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos3sv(@NativeType("GLshort const *") ShortBuffer p) { if (CHECKS) { check(p, 3); } nglWindowPos3sv(memAddress(p)); } // --- [ glWindowPos3fv ] --- /** Unsafe version of: {@link #glWindowPos3fv WindowPos3fv} */ public static native void nglWindowPos3fv(long p); /** * Pointer version of {@link #glWindowPos3f WindowPos3f}. * * @param p the position value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos3fv(@NativeType("GLfloat const *") FloatBuffer p) { if (CHECKS) { check(p, 3); } nglWindowPos3fv(memAddress(p)); } // --- [ glWindowPos3dv ] --- /** Unsafe version of: {@link #glWindowPos3dv WindowPos3dv} */ public static native void nglWindowPos3dv(long p); /** * Pointer version of {@link #glWindowPos3d WindowPos3d}. * * @param p the position value * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos3dv(@NativeType("GLdouble const *") DoubleBuffer p) { if (CHECKS) { check(p, 3); } nglWindowPos3dv(memAddress(p)); } /** * Array version of: {@link #glFogCoordfv FogCoordfv} * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoord">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glFogCoordfv(@NativeType("GLfloat const *") float[] coord) { long __functionAddress = GL.getICD().glFogCoordfv; if (CHECKS) { check(__functionAddress); check(coord, 1); } callPV(coord, __functionAddress); } /** * Array version of: {@link #glFogCoorddv FogCoorddv} * * @see <a target="_blank" href="http://docs.gl/gl3/glFogCoord">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glFogCoorddv(@NativeType("GLdouble const *") double[] coord) { long __functionAddress = GL.getICD().glFogCoorddv; if (CHECKS) { check(__functionAddress); check(coord, 1); } callPV(coord, __functionAddress); } /** * Array version of: {@link #glMultiDrawArrays MultiDrawArrays} * * @see <a target="_blank" href="http://docs.gl/gl4/glMultiDrawArrays">Reference Page</a> */ public static void glMultiDrawArrays(@NativeType("GLenum") int mode, @NativeType("GLint const *") int[] first, @NativeType("GLsizei const *") int[] count) { GL14C.glMultiDrawArrays(mode, first, count); } /** * Array version of: {@link #glMultiDrawElements MultiDrawElements} * * @see <a target="_blank" href="http://docs.gl/gl4/glMultiDrawElements">Reference Page</a> */ public static void glMultiDrawElements(@NativeType("GLenum") int mode, @NativeType("GLsizei *") int[] count, @NativeType("GLenum") int type, @NativeType("void const **") PointerBuffer indices) { GL14C.glMultiDrawElements(mode, count, type, indices); } /** * Array version of: {@link #glPointParameterfv PointParameterfv} * * @see <a target="_blank" href="http://docs.gl/gl4/glPointParameter">Reference Page</a> */ public static void glPointParameterfv(@NativeType("GLenum") int pname, @NativeType("GLfloat const *") float[] params) { GL14C.glPointParameterfv(pname, params); } /** * Array version of: {@link #glPointParameteriv PointParameteriv} * * @see <a target="_blank" href="http://docs.gl/gl4/glPointParameter">Reference Page</a> */ public static void glPointParameteriv(@NativeType("GLenum") int pname, @NativeType("GLint const *") int[] params) { GL14C.glPointParameteriv(pname, params); } /** * Array version of: {@link #glSecondaryColor3sv SecondaryColor3sv} * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3sv(@NativeType("GLshort const *") short[] v) { long __functionAddress = GL.getICD().glSecondaryColor3sv; if (CHECKS) { check(__functionAddress); check(v, 3); } callPV(v, __functionAddress); } /** * Array version of: {@link #glSecondaryColor3iv SecondaryColor3iv} * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3iv(@NativeType("GLint const *") int[] v) { long __functionAddress = GL.getICD().glSecondaryColor3iv; if (CHECKS) { check(__functionAddress); check(v, 3); } callPV(v, __functionAddress); } /** * Array version of: {@link #glSecondaryColor3fv SecondaryColor3fv} * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3fv(@NativeType("GLfloat const *") float[] v) { long __functionAddress = GL.getICD().glSecondaryColor3fv; if (CHECKS) { check(__functionAddress); check(v, 3); } callPV(v, __functionAddress); } /** * Array version of: {@link #glSecondaryColor3dv SecondaryColor3dv} * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3dv(@NativeType("GLdouble const *") double[] v) { long __functionAddress = GL.getICD().glSecondaryColor3dv; if (CHECKS) { check(__functionAddress); check(v, 3); } callPV(v, __functionAddress); } /** * Array version of: {@link #glSecondaryColor3usv SecondaryColor3usv} * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3usv(@NativeType("GLushort const *") short[] v) { long __functionAddress = GL.getICD().glSecondaryColor3usv; if (CHECKS) { check(__functionAddress); check(v, 3); } callPV(v, __functionAddress); } /** * Array version of: {@link #glSecondaryColor3uiv SecondaryColor3uiv} * * @see <a target="_blank" href="http://docs.gl/gl3/glSecondaryColor">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glSecondaryColor3uiv(@NativeType("GLuint const *") int[] v) { long __functionAddress = GL.getICD().glSecondaryColor3uiv; if (CHECKS) { check(__functionAddress); check(v, 3); } callPV(v, __functionAddress); } /** * Array version of: {@link #glWindowPos2iv WindowPos2iv} * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos2iv(@NativeType("GLint const *") int[] p) { long __functionAddress = GL.getICD().glWindowPos2iv; if (CHECKS) { check(__functionAddress); check(p, 2); } callPV(p, __functionAddress); } /** * Array version of: {@link #glWindowPos2sv WindowPos2sv} * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos2sv(@NativeType("GLshort const *") short[] p) { long __functionAddress = GL.getICD().glWindowPos2sv; if (CHECKS) { check(__functionAddress); check(p, 2); } callPV(p, __functionAddress); } /** * Array version of: {@link #glWindowPos2fv WindowPos2fv} * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos2fv(@NativeType("GLfloat const *") float[] p) { long __functionAddress = GL.getICD().glWindowPos2fv; if (CHECKS) { check(__functionAddress); check(p, 2); } callPV(p, __functionAddress); } /** * Array version of: {@link #glWindowPos2dv WindowPos2dv} * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos2dv(@NativeType("GLdouble const *") double[] p) { long __functionAddress = GL.getICD().glWindowPos2dv; if (CHECKS) { check(__functionAddress); check(p, 2); } callPV(p, __functionAddress); } /** * Array version of: {@link #glWindowPos3iv WindowPos3iv} * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos3iv(@NativeType("GLint const *") int[] p) { long __functionAddress = GL.getICD().glWindowPos3iv; if (CHECKS) { check(__functionAddress); check(p, 3); } callPV(p, __functionAddress); } /** * Array version of: {@link #glWindowPos3sv WindowPos3sv} * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos3sv(@NativeType("GLshort const *") short[] p) { long __functionAddress = GL.getICD().glWindowPos3sv; if (CHECKS) { check(__functionAddress); check(p, 3); } callPV(p, __functionAddress); } /** * Array version of: {@link #glWindowPos3fv WindowPos3fv} * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos3fv(@NativeType("GLfloat const *") float[] p) { long __functionAddress = GL.getICD().glWindowPos3fv; if (CHECKS) { check(__functionAddress); check(p, 3); } callPV(p, __functionAddress); } /** * Array version of: {@link #glWindowPos3dv WindowPos3dv} * * @see <a target="_blank" href="http://docs.gl/gl3/glWindowPos">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glWindowPos3dv(@NativeType("GLdouble const *") double[] p) { long __functionAddress = GL.getICD().glWindowPos3dv; if (CHECKS) { check(__functionAddress); check(p, 3); } callPV(p, __functionAddress); } }