Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL14C

extends GL13C
Class Inheritance
Known Direct Subclasses
org.lwjgl.opengl.GL15C
Imports
java.nio.*, org.lwjgl.*, org.lwjgl.system.*

The OpenGL functionality of a forward compatible context, up to version 1.4.

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
GL_BLEND_DST_ALPHA

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_BLEND_DST_RGB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_BLEND_SRC_ALPHA

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_BLEND_SRC_RGB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_CONSTANT_ALPHA

Accepted by the sfactor and dfactor parameters of BlendFunc.

public static final int
GL_CONSTANT_COLOR

Accepted by the sfactor and dfactor parameters of BlendFunc.

public static final int
GL_DECR_WRAP

Accepted by the sfail, dpfail, and dppass parameter of StencilOp.

public static final int
GL_DEPTH_COMPONENT16

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.

public static final int
GL_DEPTH_COMPONENT24

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.

public static final int
GL_DEPTH_COMPONENT32

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.

public static final int
GL_FUNC_ADD

Accepted by the mode parameter of BlendEquation.

public static final int
GL_FUNC_REVERSE_SUBTRACT

Accepted by the mode parameter of BlendEquation.

public static final int
GL_FUNC_SUBTRACT

Accepted by the mode parameter of BlendEquation.

public static final int
GL_INCR_WRAP

Accepted by the sfail, dpfail, and dppass parameter of StencilOp.

public static final int
GL_MAX

Accepted by the mode parameter of BlendEquation.

public static final int
GL_MAX_TEXTURE_LOD_BIAS

Accepted by the pname parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MIN

Accepted by the mode parameter of BlendEquation.

public static final int
GL_MIRRORED_REPEAT

Accepted by the param parameter of TexParameteri and TexParameterf, and by the params parameter of TexParameteriv and TexParameterfv, when their pname parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.

public static final int
GL_ONE_MINUS_CONSTANT_ALPHA

Accepted by the sfactor and dfactor parameters of BlendFunc.

public static final int
GL_ONE_MINUS_CONSTANT_COLOR

Accepted by the sfactor and dfactor parameters of BlendFunc.

public static final int
GL_POINT_FADE_THRESHOLD_SIZE

Accepted by the pname parameter of PointParameterfARB, and the pname of Get.

public static final int
GL_TEXTURE_COMPARE_FUNC

Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.

public static final int
GL_TEXTURE_COMPARE_MODE

Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.

public static final int
GL_TEXTURE_DEPTH_SIZE

Accepted by the pname parameter of GetTexLevelParameterfv and GetTexLevelParameteriv.

public static final int
GL_TEXTURE_LOD_BIAS

When the target parameter of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, TexEnviv, and TexEnvfv is TEXTURE_FILTER_CONTROL, then the value of pname may be.

Inherited from org.lwjgl.opengl.GL13C:
GL_ACTIVE_TEXTUREGL_CLAMP_TO_BORDERGL_COMPRESSED_RGBGL_COMPRESSED_RGBAGL_COMPRESSED_TEXTURE_FORMATSGL_MAX_CUBE_MAP_TEXTURE_SIZEGL_MULTISAMPLEGL_NUM_COMPRESSED_TEXTURE_FORMATSGL_PROXY_TEXTURE_CUBE_MAPGL_SAMPLE_ALPHA_TO_COVERAGEGL_SAMPLE_ALPHA_TO_ONEGL_SAMPLE_BUFFERSGL_SAMPLE_COVERAGEGL_SAMPLE_COVERAGE_INVERTGL_SAMPLE_COVERAGE_VALUEGL_SAMPLESGL_TEXTURE0GL_TEXTURE1GL_TEXTURE10GL_TEXTURE11GL_TEXTURE12GL_TEXTURE13GL_TEXTURE14GL_TEXTURE15GL_TEXTURE16GL_TEXTURE17GL_TEXTURE18GL_TEXTURE19GL_TEXTURE2GL_TEXTURE20GL_TEXTURE21GL_TEXTURE22GL_TEXTURE23GL_TEXTURE24GL_TEXTURE25GL_TEXTURE26GL_TEXTURE27GL_TEXTURE28GL_TEXTURE29GL_TEXTURE3GL_TEXTURE30GL_TEXTURE31GL_TEXTURE4GL_TEXTURE5GL_TEXTURE6GL_TEXTURE7GL_TEXTURE8GL_TEXTURE9GL_TEXTURE_BINDING_CUBE_MAPGL_TEXTURE_COMPRESSEDGL_TEXTURE_COMPRESSED_IMAGE_SIZEGL_TEXTURE_COMPRESSION_HINTGL_TEXTURE_CUBE_MAPGL_TEXTURE_CUBE_MAP_NEGATIVE_XGL_TEXTURE_CUBE_MAP_NEGATIVE_YGL_TEXTURE_CUBE_MAP_NEGATIVE_ZGL_TEXTURE_CUBE_MAP_POSITIVE_XGL_TEXTURE_CUBE_MAP_POSITIVE_YGL_TEXTURE_CUBE_MAP_POSITIVE_Z

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glBlendColor(float
the red color component
red
,
float
the green color component
green
,
float
the blue color component
blue
,
float
the alpha color component
alpha
)

Specifies the constant color Cc to be used in blending.

public static native void
glBlendEquation(int mode)

Controls the blend equations used for per-fragment blending.

public static native void
glBlendFuncSeparate(int
how the red, green, and blue blending factors are computed. The initial value is GL_ONE.
sfactorRGB
,
int
how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.
dfactorRGB
,
int
how the alpha source blending factor is computed. The initial value is GL_ONE.
sfactorAlpha
,
int
how the alpha destination blending factor is computed. The initial value is GL_ZERO.
dfactorAlpha
)

Specifies pixel arithmetic for RGB and alpha components separately.

public static void
glMultiDrawArrays(int mode, IntBuffer
an array of starting indices in the enabled arrays
first
,
IntBuffer
an array of the number of indices to be rendered
count
)

Renders multiple sets of primitives from array data.

public static void
glMultiDrawArrays(int mode, int[] first, int[] count)

Array version of: MultiDrawArrays

public static void
glMultiDrawElements(int mode, IntBuffer
an array of the elements counts
count
,
int
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
PointerBuffer
a pointer to the location where the indices are stored
indices
)

Renders multiple sets of primitives by specifying indices of array data elements.

public static void
glMultiDrawElements(int mode, int[] count, int type, PointerBuffer indices)

Array version of: MultiDrawElements

public static native void
glPointParameterf(int
the parameter to set. Must be:
POINT_FADE_THRESHOLD_SIZE
pname
,
float
the parameter value
param
)

Sets the float value of a pointer parameter.

public static void
glPointParameterfv(int
the parameter to set
pname
,
FloatBuffer
the parameter value
params
)

Pointer version of PointParameterf.

public static void
glPointParameterfv(int pname, float[] params)

Array version of: PointParameterfv

public static native void
glPointParameteri(int
the parameter to set. Must be:
POINT_FADE_THRESHOLD_SIZE
pname
,
int
the parameter value
param
)

Integer version of PointParameterf.

public static void
glPointParameteriv(int
the parameter to set
pname
,
IntBuffer
the parameter value
params
)

Pointer version of PointParameteri.

public static void
glPointParameteriv(int pname, int[] params)

Array version of: PointParameteriv

public static native void
nglMultiDrawArrays(int mode, long first, long count, int
the size of first and count
drawcount
)

Unsafe version of: MultiDrawArrays

public static native void
nglMultiDrawElements(int mode, long count, int type, long indices, int
the size of the count array
drawcount
)

Unsafe version of: MultiDrawElements

public static native void
nglPointParameterfv(int pname, long params)

Unsafe version of: PointParameterfv

public static native void
nglPointParameteriv(int pname, long params)

Unsafe version of: PointParameteriv

Inherited from org.lwjgl.opengl.GL13C:
glActiveTextureglCompressedTexImage1DglCompressedTexImage1DglCompressedTexImage2DglCompressedTexImage2DglCompressedTexImage3DglCompressedTexImage3DglCompressedTexSubImage1DglCompressedTexSubImage1DglCompressedTexSubImage2DglCompressedTexSubImage2DglCompressedTexSubImage3DglCompressedTexSubImage3DglGetCompressedTexImageglGetCompressedTexImageglSampleCoveragenglCompressedTexImage1DnglCompressedTexImage2DnglCompressedTexImage3DnglCompressedTexSubImage1DnglCompressedTexSubImage2DnglCompressedTexSubImage3DnglGetCompressedTexImage

Field Detail

GL_BLEND_DST_ALPHAback to summary
public static final int GL_BLEND_DST_ALPHA

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

GL_BLEND_DST_RGBback to summary
public static final int GL_BLEND_DST_RGB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

GL_BLEND_SRC_ALPHAback to summary
public static final int GL_BLEND_SRC_ALPHA

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

GL_BLEND_SRC_RGBback to summary
public static final int GL_BLEND_SRC_RGB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

GL_CONSTANT_ALPHAback to summary
public static final int GL_CONSTANT_ALPHA

Accepted by the sfactor and dfactor parameters of BlendFunc.

GL_CONSTANT_COLORback to summary
public static final int GL_CONSTANT_COLOR

Accepted by the sfactor and dfactor parameters of BlendFunc.

GL_DECR_WRAPback to summary
public static final int GL_DECR_WRAP

Accepted by the sfail, dpfail, and dppass parameter of StencilOp.

GL_DEPTH_COMPONENT16back to summary
public static final int GL_DEPTH_COMPONENT16

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.

GL_DEPTH_COMPONENT24back to summary
public static final int GL_DEPTH_COMPONENT24

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.

GL_DEPTH_COMPONENT32back to summary
public static final int GL_DEPTH_COMPONENT32

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, CopyTexImage1D and CopyTexImage2D.

GL_FUNC_ADDback to summary
public static final int GL_FUNC_ADD

Accepted by the mode parameter of BlendEquation.

GL_FUNC_REVERSE_SUBTRACTback to summary
public static final int GL_FUNC_REVERSE_SUBTRACT

Accepted by the mode parameter of BlendEquation.

GL_FUNC_SUBTRACTback to summary
public static final int GL_FUNC_SUBTRACT

Accepted by the mode parameter of BlendEquation.

GL_INCR_WRAPback to summary
public static final int GL_INCR_WRAP

Accepted by the sfail, dpfail, and dppass parameter of StencilOp.

GL_MAXback to summary
public static final int GL_MAX

Accepted by the mode parameter of BlendEquation.

GL_MAX_TEXTURE_LOD_BIASback to summary
public static final int GL_MAX_TEXTURE_LOD_BIAS

Accepted by the pname parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

GL_MINback to summary
public static final int GL_MIN

Accepted by the mode parameter of BlendEquation.

GL_MIRRORED_REPEATback to summary
public static final int GL_MIRRORED_REPEAT

Accepted by the param parameter of TexParameteri and TexParameterf, and by the params parameter of TexParameteriv and TexParameterfv, when their pname parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.

GL_ONE_MINUS_CONSTANT_ALPHAback to summary
public static final int GL_ONE_MINUS_CONSTANT_ALPHA

Accepted by the sfactor and dfactor parameters of BlendFunc.

GL_ONE_MINUS_CONSTANT_COLORback to summary
public static final int GL_ONE_MINUS_CONSTANT_COLOR

Accepted by the sfactor and dfactor parameters of BlendFunc.

GL_POINT_FADE_THRESHOLD_SIZEback to summary
public static final int GL_POINT_FADE_THRESHOLD_SIZE

Accepted by the pname parameter of PointParameterfARB, and the pname of Get.

GL_TEXTURE_COMPARE_FUNCback to summary
public static final int GL_TEXTURE_COMPARE_FUNC

Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.

GL_TEXTURE_COMPARE_MODEback to summary
public static final int GL_TEXTURE_COMPARE_MODE

Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.

GL_TEXTURE_DEPTH_SIZEback to summary
public static final int GL_TEXTURE_DEPTH_SIZE

Accepted by the pname parameter of GetTexLevelParameterfv and GetTexLevelParameteriv.

GL_TEXTURE_LOD_BIASback to summary
public static final int GL_TEXTURE_LOD_BIAS

When the target parameter of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, TexEnviv, and TexEnvfv is TEXTURE_FILTER_CONTROL, then the value of pname may be.

Constructor Detail

GL14Cback to summary
protected GL14C()

Method Detail

glBlendColorback to summary
public static native void glBlendColor(float red, float green, float blue, float alpha)

Specifies the constant color Cc to be used in blending.

Parameters
red:float

the red color component

green:float

the green color component

blue:float

the blue color component

alpha:float

the alpha color component

See Also
Reference Page
glBlendEquationback to summary
public static native void glBlendEquation(int mode)

Controls the blend equations used for per-fragment blending.

Parameters
mode:int

the blend equation. One of:

FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
See Also
Reference Page
glBlendFuncSeparateback to summary
public static native void glBlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)

Specifies pixel arithmetic for RGB and alpha components separately.

Parameters
sfactorRGB:int

how the red, green, and blue blending factors are computed. The initial value is GL_ONE.

dfactorRGB:int

how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.

sfactorAlpha:int

how the alpha source blending factor is computed. The initial value is GL_ONE.

dfactorAlpha:int

how the alpha destination blending factor is computed. The initial value is GL_ZERO.

See Also
Reference Page
glMultiDrawArraysback to summary
public static void glMultiDrawArrays(int mode, IntBuffer first, IntBuffer count)

Renders multiple sets of primitives from array data.

Parameters
mode:int

the kind of primitives to render. One of:

POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FAN
TRIANGLESLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHES
first:IntBuffer

an array of starting indices in the enabled arrays

count:IntBuffer

an array of the number of indices to be rendered

See Also
Reference Page
glMultiDrawArraysback to summary
public static void glMultiDrawArrays(int mode, int[] first, int[] count)

Array version of: MultiDrawArrays

See Also
Reference Page
glMultiDrawElementsback to summary
public static void glMultiDrawElements(int mode, IntBuffer count, int type, PointerBuffer indices)

Renders multiple sets of primitives by specifying indices of array data elements.

LWJGL note: Use org.lwjgl.system.MemoryUtil#memAddress to retrieve pointers to the index buffers.

Parameters
mode:int

the kind of primitives to render. One of:

POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FAN
TRIANGLESLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHES
count:IntBuffer

an array of the elements counts

type:int

the type of the values in indices. One of:

UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
indices:PointerBuffer

a pointer to the location where the indices are stored

See Also
Reference Page
glMultiDrawElementsback to summary
public static void glMultiDrawElements(int mode, int[] count, int type, PointerBuffer indices)

Array version of: MultiDrawElements

See Also
Reference Page
glPointParameterfback to summary
public static native void glPointParameterf(int pname, float param)

Sets the float value of a pointer parameter.

Parameters
pname:int

the parameter to set. Must be:

POINT_FADE_THRESHOLD_SIZE
param:float

the parameter value

See Also
Reference Page
glPointParameterfvback to summary
public static void glPointParameterfv(int pname, FloatBuffer params)

Pointer version of PointParameterf.

Parameters
pname:int

the parameter to set

params:FloatBuffer

the parameter value

See Also
Reference Page
glPointParameterfvback to summary
public static void glPointParameterfv(int pname, float[] params)

Array version of: PointParameterfv

See Also
Reference Page
glPointParameteriback to summary
public static native void glPointParameteri(int pname, int param)

Integer version of PointParameterf.

Parameters
pname:int

the parameter to set. Must be:

POINT_FADE_THRESHOLD_SIZE
param:int

the parameter value

See Also
Reference Page
glPointParameterivback to summary
public static void glPointParameteriv(int pname, IntBuffer params)

Pointer version of PointParameteri.

Parameters
pname:int

the parameter to set

params:IntBuffer

the parameter value

See Also
Reference Page
glPointParameterivback to summary
public static void glPointParameteriv(int pname, int[] params)

Array version of: PointParameteriv

See Also
Reference Page
nglMultiDrawArraysback to summary
public static native void nglMultiDrawArrays(int mode, long first, long count, int drawcount)

Unsafe version of: MultiDrawArrays

Parameters
drawcount:int

the size of first and count

nglMultiDrawElementsback to summary
public static native void nglMultiDrawElements(int mode, long count, int type, long indices, int drawcount)

Unsafe version of: MultiDrawElements

Parameters
drawcount:int

the size of the count array

nglPointParameterfvback to summary
public static native void nglPointParameterfv(int pname, long params)

Unsafe version of: PointParameterfv

nglPointParameterivback to summary
public static native void nglPointParameteriv(int pname, long params)

Unsafe version of: PointParameteriv