Class GL14
- java.lang.Object
-
- org.lwjgl.opengl.GL14
-
public class GL14 extends java.lang.Object
The core OpenGL 1.4 functionality.Extensions promoted to core in this release:
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_BLEND_DST_ALPHA
GL_BLEND_DST_RGB
GL_BLEND_SRC_ALPHA
GL_BLEND_SRC_RGBAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_COLOR_SUM
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_COMPARE_R_TO_TEXTURE
Accepted by theparam
parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when thepname
parameter is TEXTURE_COMPARE_MODE.static int
GL_CONSTANT_ALPHA
GL_CONSTANT_COLORAccepted by thesfactor
anddfactor
parameters of BlendFunc.static int
GL_CURRENT_FOG_COORDINATE
GL_CURRENT_SECONDARY_COLORAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_DECR_WRAP
Accepted by thesfail
,dpfail
, anddppass
parameter of StencilOp.static int
GL_DEPTH_COMPONENT16
GL_DEPTH_COMPONENT24
GL_DEPTH_COMPONENT32Accepted by theinternalFormat
parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.static int
GL_DEPTH_TEXTURE_MODE
Accepted by thepname
parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.static int
GL_FOG_COORDINATE
Accepted by theparam
parameter of Fogi and Fogf.static int
GL_FOG_COORDINATE_ARRAY
Accepted by thearray
parameter of EnableClientState and DisableClientState.static int
GL_FOG_COORDINATE_ARRAY_POINTER
Accepted by thepname
parameter of GetPointerv.static int
GL_FOG_COORDINATE_ARRAY_STRIDE
GL_FOG_COORDINATE_ARRAY_TYPEAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_FOG_COORDINATE_SOURCE
Accepted by thepname
parameter of Fogi and Fogf.static int
GL_FRAGMENT_DEPTH
Accepted by theparam
parameter of Fogi and Fogf.static int
GL_FUNC_ADD
GL_FUNC_REVERSE_SUBTRACT
GL_FUNC_SUBTRACTAccepted by themode
parameter of BlendEquation.static int
GL_GENERATE_MIPMAP
Accepted by thepname
parameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.static int
GL_GENERATE_MIPMAP_HINT
Accepted by thetarget
parameter of Hint, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_INCR_WRAP
Accepted by thesfail
,dpfail
, anddppass
parameter of StencilOp.static int
GL_MAX
Accepted by themode
parameter of BlendEquation.static int
GL_MAX_TEXTURE_LOD_BIAS
Accepted by thepname
parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_MIN
Accepted by themode
parameter of BlendEquation.static int
GL_MIRRORED_REPEAT
Accepted by theparam
parameter of TexParameteri and TexParameterf, and by theparams
parameter of TexParameteriv and TexParameterfv, when theirpname
parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.static int
GL_ONE_MINUS_CONSTANT_ALPHA
GL_ONE_MINUS_CONSTANT_COLORAccepted by thesfactor
anddfactor
parameters of BlendFunc.static int
GL_POINT_DISTANCE_ATTENUATION
GL_POINT_FADE_THRESHOLD_SIZE
GL_POINT_SIZE_MAX
GL_POINT_SIZE_MINAccepted by thepname
parameter of PointParameterfARB, and thepname
of Get.static int
GL_SECONDARY_COLOR_ARRAY
Accepted by thearray
parameter of EnableClientState and DisableClientState.static int
GL_SECONDARY_COLOR_ARRAY_POINTER
Accepted by thepname
parameter of GetPointerv.static int
GL_SECONDARY_COLOR_ARRAY_SIZE
GL_SECONDARY_COLOR_ARRAY_STRIDE
GL_SECONDARY_COLOR_ARRAY_TYPEAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_TEXTURE_COMPARE_FUNC
GL_TEXTURE_COMPARE_MODEAccepted by thepname
parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.static int
GL_TEXTURE_DEPTH_SIZE
Accepted by thepname
parameter of GetTexLevelParameterfv and GetTexLevelParameteriv.static int
GL_TEXTURE_FILTER_CONTROL
Accepted by thetarget
parameters of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, Texenviv, and TexEnvfv.static int
GL_TEXTURE_LOD_BIAS
When thetarget
parameter of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, TexEnviv, and TexEnvfv is TEXTURE_FILTER_CONTROL, then the value ofpname
may be.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glBlendColor(float red, float green, float blue, float alpha)
static void
glBlendEquation(int mode)
static void
glBlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)
static void
glFogCoordd(double coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoorddv(double[] coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoorddv(java.nio.DoubleBuffer coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordf(float coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordfv(float[] coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordfv(java.nio.FloatBuffer coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordPointer(int type, int stride, java.nio.ByteBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordPointer(int type, int stride, float[] pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordPointer(int type, int stride, java.nio.FloatBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordPointer(int type, int stride, long pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordPointer(int type, int stride, short[] pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glFogCoordPointer(int type, int stride, java.nio.ShortBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glMultiDrawArrays(int mode, int[] first, int[] count)
static void
glMultiDrawArrays(int mode, java.nio.IntBuffer first, java.nio.IntBuffer count)
static void
glMultiDrawElements(int mode, int[] count, int type, org.lwjgl.PointerBuffer indices)
static void
glMultiDrawElements(int mode, java.nio.IntBuffer count, int type, org.lwjgl.PointerBuffer indices)
static void
glPointParameterf(int pname, float param)
static void
glPointParameterfv(int pname, float[] params)
static void
glPointParameterfv(int pname, java.nio.FloatBuffer params)
static void
glPointParameteri(int pname, int param)
static void
glPointParameteriv(int pname, int[] params)
static void
glPointParameteriv(int pname, java.nio.IntBuffer params)
static void
glSecondaryColor3b(byte red, byte green, byte blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3bv(java.nio.ByteBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3d(double red, double green, double blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3dv(double[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3dv(java.nio.DoubleBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3f(float red, float green, float blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3fv(float[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3fv(java.nio.FloatBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3i(int red, int green, int blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3iv(int[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3iv(java.nio.IntBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3s(short red, short green, short blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3sv(short[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3sv(java.nio.ShortBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3ub(byte red, byte green, byte blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3ubv(java.nio.ByteBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3ui(int red, int green, int blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3uiv(int[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3uiv(java.nio.IntBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3us(short red, short green, short blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3usv(short[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColor3usv(java.nio.ShortBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColorPointer(int size, int type, int stride, java.nio.ByteBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColorPointer(int size, int type, int stride, float[] pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColorPointer(int size, int type, int stride, java.nio.FloatBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColorPointer(int size, int type, int stride, int[] pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColorPointer(int size, int type, int stride, java.nio.IntBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColorPointer(int size, int type, int stride, long pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColorPointer(int size, int type, int stride, short[] pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glSecondaryColorPointer(int size, int type, int stride, java.nio.ShortBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2d(double x, double y)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2dv(double[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2dv(java.nio.DoubleBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2f(float x, float y)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2fv(float[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2fv(java.nio.FloatBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2i(int x, int y)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2iv(int[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2iv(java.nio.IntBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2s(short x, short y)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2sv(short[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos2sv(java.nio.ShortBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3d(double x, double y, double z)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3dv(double[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3dv(java.nio.DoubleBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3f(float x, float y, float z)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3fv(float[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3fv(java.nio.FloatBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3i(int x, int y, int z)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3iv(int[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3iv(java.nio.IntBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3s(short x, short y, short z)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3sv(short[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profilestatic void
glWindowPos3sv(java.nio.ShortBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
-
-
-
Field Detail
-
GL_GENERATE_MIPMAP
Accepted by thepname
parameter of TexParameteri, TexParameterf, TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
-
GL_GENERATE_MIPMAP_HINT
Accepted by thetarget
parameter of Hint, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA
Accepted by thesfactor
anddfactor
parameters of BlendFunc.
-
GL_FUNC_ADD, GL_MIN, GL_MAX, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT
Accepted by themode
parameter of BlendEquation.
-
GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32
Accepted by theinternalFormat
parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.
-
GL_TEXTURE_DEPTH_SIZE
Accepted by thepname
parameter of GetTexLevelParameterfv and GetTexLevelParameteriv.
-
GL_DEPTH_TEXTURE_MODE, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC
Accepted by thepname
parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
-
GL_COMPARE_R_TO_TEXTURE
Accepted by theparam
parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when thepname
parameter is TEXTURE_COMPARE_MODE.
-
GL_FOG_COORDINATE_SOURCE
Accepted by thepname
parameter of Fogi and Fogf.
-
GL_FOG_COORDINATE, GL_FRAGMENT_DEPTH
Accepted by theparam
parameter of Fogi and Fogf.
-
GL_CURRENT_FOG_COORDINATE, GL_FOG_COORDINATE_ARRAY_TYPE, GL_FOG_COORDINATE_ARRAY_STRIDE
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_FOG_COORDINATE_ARRAY_POINTER
Accepted by thepname
parameter of GetPointerv.
-
GL_FOG_COORDINATE_ARRAY
Accepted by thearray
parameter of EnableClientState and DisableClientState.
-
GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, GL_POINT_DISTANCE_ATTENUATION
Accepted by thepname
parameter of PointParameterfARB, and thepname
of Get.
-
GL_COLOR_SUM
Accepted by thecap
parameter of Enable, Disable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_CURRENT_SECONDARY_COLOR, GL_SECONDARY_COLOR_ARRAY_SIZE, GL_SECONDARY_COLOR_ARRAY_TYPE, GL_SECONDARY_COLOR_ARRAY_STRIDE
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_SECONDARY_COLOR_ARRAY_POINTER
Accepted by thepname
parameter of GetPointerv.
-
GL_SECONDARY_COLOR_ARRAY
Accepted by thearray
parameter of EnableClientState and DisableClientState.
-
GL_BLEND_DST_RGB, GL_BLEND_SRC_RGB, GL_BLEND_DST_ALPHA, GL_BLEND_SRC_ALPHA
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_INCR_WRAP, GL_DECR_WRAP
Accepted by thesfail
,dpfail
, anddppass
parameter of StencilOp.
-
GL_TEXTURE_FILTER_CONTROL
Accepted by thetarget
parameters of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, Texenviv, and TexEnvfv.
-
GL_TEXTURE_LOD_BIAS
When thetarget
parameter of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, TexEnviv, and TexEnvfv is TEXTURE_FILTER_CONTROL, then the value ofpname
may be.
-
GL_MAX_TEXTURE_LOD_BIAS
Accepted by thepname
parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_MIRRORED_REPEAT
Accepted by theparam
parameter of TexParameteri and TexParameterf, and by theparams
parameter of TexParameteriv and TexParameterfv, when theirpname
parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
-
-
Method Detail
-
glBlendColor
public static void glBlendColor(float red, float green, float blue, float alpha)
Specifies the constant color Cc to be used in blending.- Parameters:
red
- the red color componentgreen
- the green color componentblue
- the blue color componentalpha
- the alpha color component
-
glBlendEquation
public static void glBlendEquation(int mode)
Controls the blend equations used for per-fragment blending.- Parameters:
mode
- the blend equation. One of:FUNC_ADD
FUNC_SUBTRACT
FUNC_REVERSE_SUBTRACT
MIN
MAX
-
glFogCoordf
public static void glFogCoordf(float coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Sets the current fog coordinate.- Parameters:
coord
- the fog coordinate value
-
glFogCoordd
public static void glFogCoordd(double coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Double version ofFogCoordf
.- Parameters:
coord
- the fog coordinate value
-
glFogCoordfv
public static void glFogCoordfv(java.nio.FloatBuffer coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofFogCoordf
.- Parameters:
coord
- the fog coordinate value
-
glFogCoorddv
public static void glFogCoorddv(java.nio.DoubleBuffer coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofFogCoordd
.- Parameters:
coord
- the fog coordinate value
-
glFogCoordPointer
public static void glFogCoordPointer(int type, int stride, java.nio.ByteBuffer pointer) public static void glFogCoordPointer(int type, int stride, long pointer) public static void glFogCoordPointer(int type, int stride, java.nio.ShortBuffer pointer) public static void glFogCoordPointer(int type, int stride, java.nio.FloatBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Specifies the location and organization of a fog coordinate array.- Parameters:
type
- the data type of the values stored in the array. One of:HALF_FLOAT
FLOAT
DOUBLE
stride
- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer
- the fog coordinate array data
-
glMultiDrawArrays
public static void glMultiDrawArrays(int mode, java.nio.IntBuffer first, java.nio.IntBuffer count)
Renders multiple sets of primitives from array data.- Parameters:
mode
- the kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
first
- an array of starting indices in the enabled arrayscount
- an array of the number of indices to be rendered
-
glMultiDrawElements
public static void glMultiDrawElements(int mode, java.nio.IntBuffer count, int type, org.lwjgl.PointerBuffer indices)
Renders multiple sets of primitives by specifying indices of array data elements.LWJGL note: Use
MemoryUtil.memAddress(java.nio.ByteBuffer)
to retrieve pointers to the index buffers.- Parameters:
mode
- the kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
count
- an array of the elements countstype
- the type of the values in indices. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- a pointer to the location where the indices are stored
-
glPointParameterf
public static void glPointParameterf(int pname, float param)
Sets the float value of a pointer parameter.- Parameters:
pname
- the parameter to set. One of:POINT_SIZE_MIN
POINT_SIZE_MAX
POINT_FADE_THRESHOLD_SIZE
param
- the parameter value
-
glPointParameteri
public static void glPointParameteri(int pname, int param)
Integer version ofPointParameterf
.- Parameters:
pname
- the parameter to set. One of:POINT_SIZE_MIN
POINT_SIZE_MAX
POINT_FADE_THRESHOLD_SIZE
param
- the parameter value
-
glPointParameterfv
public static void glPointParameterfv(int pname, java.nio.FloatBuffer params)
Pointer version ofPointParameterf
.- Parameters:
pname
- the parameter to set. Must be:POINT_DISTANCE_ATTENUATION
params
- the parameter value
-
glPointParameteriv
public static void glPointParameteriv(int pname, java.nio.IntBuffer params)
Pointer version ofPointParameteri
.- Parameters:
pname
- the parameter to set. Must be:POINT_DISTANCE_ATTENUATION
params
- the parameter value
-
glSecondaryColor3b
public static void glSecondaryColor3b(byte red, byte green, byte blue)
OpenGL SDK Reference - 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.- Parameters:
red
- the red component of the current secondary colorgreen
- the green component of the current secondary colorblue
- the blue component of the current secondary color
-
glSecondaryColor3s
public static void glSecondaryColor3s(short red, short green, short blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Short version ofSecondaryColor3b
- Parameters:
red
- the red component of the current secondary colorgreen
- the green component of the current secondary colorblue
- the blue component of the current secondary color
-
glSecondaryColor3i
public static void glSecondaryColor3i(int red, int green, int blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Integer version ofSecondaryColor3b
- Parameters:
red
- the red component of the current secondary colorgreen
- the green component of the current secondary colorblue
- the blue component of the current secondary color
-
glSecondaryColor3f
public static void glSecondaryColor3f(float red, float green, float blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Float version ofSecondaryColor3b
- Parameters:
red
- the red component of the current secondary colorgreen
- the green component of the current secondary colorblue
- the blue component of the current secondary color
-
glSecondaryColor3d
public static void glSecondaryColor3d(double red, double green, double blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Double version ofSecondaryColor3b
- Parameters:
red
- the red component of the current secondary colorgreen
- the green component of the current secondary colorblue
- the blue component of the current secondary color
-
glSecondaryColor3ub
public static void glSecondaryColor3ub(byte red, byte green, byte blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Unsigned version ofSecondaryColor3b
- Parameters:
red
- the red component of the current secondary colorgreen
- the green component of the current secondary colorblue
- the blue component of the current secondary color
-
glSecondaryColor3us
public static void glSecondaryColor3us(short red, short green, short blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Unsigned short version ofSecondaryColor3b
- Parameters:
red
- the red component of the current secondary colorgreen
- the green component of the current secondary colorblue
- the blue component of the current secondary color
-
glSecondaryColor3ui
public static void glSecondaryColor3ui(int red, int green, int blue)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Unsigned int version ofSecondaryColor3b
- Parameters:
red
- the red component of the current secondary colorgreen
- the green component of the current secondary colorblue
- the blue component of the current secondary color
-
glSecondaryColor3bv
public static void glSecondaryColor3bv(java.nio.ByteBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Byte pointer version ofSecondaryColor3b
.- Parameters:
v
- the secondary color buffer
-
glSecondaryColor3sv
public static void glSecondaryColor3sv(java.nio.ShortBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofSecondaryColor3s
.- Parameters:
v
- the secondary color buffer
-
glSecondaryColor3iv
public static void glSecondaryColor3iv(java.nio.IntBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofSecondaryColor3i
.- Parameters:
v
- the secondary color buffer
-
glSecondaryColor3fv
public static void glSecondaryColor3fv(java.nio.FloatBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofSecondaryColor3f
.- Parameters:
v
- the secondary color buffer
-
glSecondaryColor3dv
public static void glSecondaryColor3dv(java.nio.DoubleBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofSecondaryColor3d
.- Parameters:
v
- the secondary color buffer
-
glSecondaryColor3ubv
public static void glSecondaryColor3ubv(java.nio.ByteBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofSecondaryColor3ub
.- Parameters:
v
- the secondary color buffer
-
glSecondaryColor3usv
public static void glSecondaryColor3usv(java.nio.ShortBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofSecondaryColor3us
.- Parameters:
v
- the secondary color buffer
-
glSecondaryColor3uiv
public static void glSecondaryColor3uiv(java.nio.IntBuffer v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofSecondaryColor3ui
.- Parameters:
v
- the secondary color buffer
-
glSecondaryColorPointer
public static void glSecondaryColorPointer(int size, int type, int stride, java.nio.ByteBuffer pointer) public static void glSecondaryColorPointer(int size, int type, int stride, long pointer) public static void glSecondaryColorPointer(int size, int type, int stride, java.nio.ShortBuffer pointer) public static void glSecondaryColorPointer(int size, int type, int stride, java.nio.IntBuffer pointer) public static void glSecondaryColorPointer(int size, int type, int stride, java.nio.FloatBuffer pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Specifies the location and organization of a secondary color array.- Parameters:
size
- the number of values per vertex that are stored in the array, as well as their component ordering. Must be:3 type
- the data type of the values stored in the array. One of:BYTE
UNSIGNED_BYTE
SHORT
UNSIGNED_SHORT
INT
UNSIGNED_INT
HALF_FLOAT
FLOAT
DOUBLE
UNSIGNED_INT_2_10_10_10_REV
INT_2_10_10_10_REV
stride
- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer
- the secondary color array data
-
glBlendFuncSeparate
public static void glBlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)
Specifies pixel arithmetic for RGB and alpha components separately.- Parameters:
sfactorRGB
- how the red, green, and blue blending factors are computed. The initial value is GL_ONE.dfactorRGB
- how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.sfactorAlpha
- how the alpha source blending factor is computed. The initial value is GL_ONE.dfactorAlpha
- how the alpha destination blending factor is computed. The initial value is GL_ZERO.
-
glWindowPos2i
public static void glWindowPos2i(int x, int y)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Alternate way to set the current raster position.z
is implictly set to 0.- Parameters:
x
- the x valuey
- the y value
-
glWindowPos2s
public static void glWindowPos2s(short x, short y)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Short version ofWindowPos2i
.- Parameters:
x
- the x valuey
- the y value
-
glWindowPos2f
public static void glWindowPos2f(float x, float y)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Float version ofWindowPos2i
.- Parameters:
x
- the x valuey
- the y value
-
glWindowPos2d
public static void glWindowPos2d(double x, double y)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Double version ofWindowPos2i
.- Parameters:
x
- the x valuey
- the y value
-
glWindowPos2iv
public static void glWindowPos2iv(java.nio.IntBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofWindowPos2i
.- Parameters:
p
- the position value
-
glWindowPos2sv
public static void glWindowPos2sv(java.nio.ShortBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofWindowPos2s
.- Parameters:
p
- the position value
-
glWindowPos2fv
public static void glWindowPos2fv(java.nio.FloatBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofWindowPos2f
.- Parameters:
p
- the position value
-
glWindowPos2dv
public static void glWindowPos2dv(java.nio.DoubleBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofWindowPos2d
.- Parameters:
p
- the position value
-
glWindowPos3i
public static void glWindowPos3i(int x, int y, int z)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Alternate way to set the current raster position.- Parameters:
x
- the x valuey
- the y valuez
- the z value
-
glWindowPos3s
public static void glWindowPos3s(short x, short y, short z)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Short version ofWindowPos3i
.- Parameters:
x
- the x valuey
- the y valuez
- the z value
-
glWindowPos3f
public static void glWindowPos3f(float x, float y, float z)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Float version ofWindowPos3i
.- Parameters:
x
- the x valuey
- the y valuez
- the z value
-
glWindowPos3d
public static void glWindowPos3d(double x, double y, double z)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Double version ofWindowPos3i
.- Parameters:
x
- the x valuey
- the y valuez
- the z value
-
glWindowPos3iv
public static void glWindowPos3iv(java.nio.IntBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofWindowPos3i
.- Parameters:
p
- the position value
-
glWindowPos3sv
public static void glWindowPos3sv(java.nio.ShortBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofWindowPos3s
.- Parameters:
p
- the position value
-
glWindowPos3fv
public static void glWindowPos3fv(java.nio.FloatBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofWindowPos3f
.- Parameters:
p
- the position value
-
glWindowPos3dv
public static void glWindowPos3dv(java.nio.DoubleBuffer p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Pointer version ofWindowPos3d
.- Parameters:
p
- the position value
-
glFogCoordfv
public static void glFogCoordfv(float[] coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:FogCoordfv
-
glFogCoorddv
public static void glFogCoorddv(double[] coord)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:FogCoorddv
-
glFogCoordPointer
public static void glFogCoordPointer(int type, int stride, short[] pointer) public static void glFogCoordPointer(int type, int stride, float[] pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:FogCoordPointer
-
glMultiDrawArrays
public static void glMultiDrawArrays(int mode, int[] first, int[] count)
Array version of:MultiDrawArrays
-
glMultiDrawElements
public static void glMultiDrawElements(int mode, int[] count, int type, org.lwjgl.PointerBuffer indices)
Array version of:MultiDrawElements
-
glPointParameterfv
public static void glPointParameterfv(int pname, float[] params)
Array version of:PointParameterfv
-
glPointParameteriv
public static void glPointParameteriv(int pname, int[] params)
Array version of:PointParameteriv
-
glSecondaryColor3sv
public static void glSecondaryColor3sv(short[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:SecondaryColor3sv
-
glSecondaryColor3iv
public static void glSecondaryColor3iv(int[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:SecondaryColor3iv
-
glSecondaryColor3fv
public static void glSecondaryColor3fv(float[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:SecondaryColor3fv
-
glSecondaryColor3dv
public static void glSecondaryColor3dv(double[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:SecondaryColor3dv
-
glSecondaryColor3usv
public static void glSecondaryColor3usv(short[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:SecondaryColor3usv
-
glSecondaryColor3uiv
public static void glSecondaryColor3uiv(int[] v)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:SecondaryColor3uiv
-
glSecondaryColorPointer
public static void glSecondaryColorPointer(int size, int type, int stride, short[] pointer) public static void glSecondaryColorPointer(int size, int type, int stride, int[] pointer) public static void glSecondaryColorPointer(int size, int type, int stride, float[] pointer)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:SecondaryColorPointer
-
glWindowPos2iv
public static void glWindowPos2iv(int[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:WindowPos2iv
-
glWindowPos2sv
public static void glWindowPos2sv(short[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:WindowPos2sv
-
glWindowPos2fv
public static void glWindowPos2fv(float[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:WindowPos2fv
-
glWindowPos2dv
public static void glWindowPos2dv(double[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:WindowPos2dv
-
glWindowPos3iv
public static void glWindowPos3iv(int[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:WindowPos3iv
-
glWindowPos3sv
public static void glWindowPos3sv(short[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:WindowPos3sv
-
glWindowPos3fv
public static void glWindowPos3fv(float[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:WindowPos3fv
-
glWindowPos3dv
public static void glWindowPos3dv(double[] p)
OpenGL SDK Reference - This function is deprecated and unavailable in the Core profile
Array version of:WindowPos3dv
-
-