Package org.lwjgl.opengl
Class GL14C
- java.lang.Object
-
- org.lwjgl.opengl.GL11C
-
- org.lwjgl.opengl.GL12C
-
- org.lwjgl.opengl.GL13C
-
- org.lwjgl.opengl.GL14C
-
-
Field Summary
Fields Modifier and Type Field 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_CONSTANT_ALPHA
GL_CONSTANT_COLORAccepted by thesfactor
anddfactor
parameters of BlendFunc.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_FUNC_ADD
GL_FUNC_REVERSE_SUBTRACT
GL_FUNC_SUBTRACTAccepted by themode
parameter of BlendEquation.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_FADE_THRESHOLD_SIZE
Accepted by thepname
parameter of PointParameterfARB, and thepname
of Get.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_LOD_BIAS
When thetarget
parameter of GetTexEnvfv, GetTexEnviv, TexEnvi, TexEnvf, TexEnviv, and TexEnvfv is TEXTURE_FILTER_CONTROL, then the value ofpname
may be.-
Fields inherited from class org.lwjgl.opengl.GL11C
GL_ALPHA, GL_ALWAYS, GL_AND, GL_AND_INVERTED, GL_AND_REVERSE, GL_BACK, GL_BACK_LEFT, GL_BACK_RIGHT, GL_BLEND, GL_BLEND_DST, GL_BLEND_SRC, GL_BLUE, GL_BYTE, GL_CCW, GL_CLEAR, GL_COLOR, GL_COLOR_BUFFER_BIT, GL_COLOR_CLEAR_VALUE, GL_COLOR_LOGIC_OP, GL_COLOR_WRITEMASK, GL_COPY, GL_COPY_INVERTED, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CW, GL_DECR, GL_DEPTH, GL_DEPTH_BUFFER_BIT, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_COMPONENT, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DITHER, GL_DONT_CARE, GL_DOUBLE, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DST_ALPHA, GL_DST_COLOR, GL_EQUAL, GL_EQUIV, GL_EXTENSIONS, GL_FALSE, GL_FASTEST, GL_FILL, GL_FLOAT, GL_FRONT, GL_FRONT_AND_BACK, GL_FRONT_FACE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_GEQUAL, GL_GREATER, GL_GREEN, GL_INCR, GL_INT, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEFT, GL_LEQUAL, GL_LESS, GL_LINE, GL_LINE_LOOP, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STRIP, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LOGIC_OP_MODE, GL_MAX_TEXTURE_SIZE, GL_MAX_VIEWPORT_DIMS, GL_NAND, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NONE, GL_NOOP, GL_NOR, GL_NOTEQUAL, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OR, GL_OR_INVERTED, GL_OR_REVERSE, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SWAP_BYTES, GL_POINT, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_RANGE, GL_POINTS, GL_POLYGON_MODE, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_QUADS, GL_R3_G3_B2, GL_READ_BUFFER, GL_RED, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RGB, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RIGHT, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SET, GL_SHORT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_STENCIL, GL_STENCIL_BUFFER_BIT, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_INDEX, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_TEXTURE, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SWAP_BYTES, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_VENDOR, GL_VERSION, GL_VERTEX_ARRAY, GL_VIEWPORT, GL_XOR, GL_ZERO
-
Fields inherited from class org.lwjgl.opengl.GL12C
GL_ALIASED_LINE_WIDTH_RANGE, GL_BGR, GL_BGRA, GL_CLAMP_TO_EDGE, GL_MAX_3D_TEXTURE_SIZE, GL_MAX_ELEMENTS_INDICES, GL_MAX_ELEMENTS_VERTICES, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_IMAGES, GL_PROXY_TEXTURE_3D, GL_SMOOTH_LINE_WIDTH_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_POINT_SIZE_RANGE, GL_TEXTURE_3D, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BINDING_3D, GL_TEXTURE_DEPTH, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_LOD, GL_TEXTURE_WRAP_R, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_IMAGES, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV
-
Fields inherited from class org.lwjgl.opengl.GL13C
GL_ACTIVE_TEXTURE, GL_CLAMP_TO_BORDER, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_TEXTURE_FORMATS, GL_MAX_CUBE_MAP_TEXTURE_SIZE, GL_MULTISAMPLE, GL_NUM_COMPRESSED_TEXTURE_FORMATS, GL_PROXY_TEXTURE_CUBE_MAP, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_BUFFERS, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_INVERT, GL_SAMPLE_COVERAGE_VALUE, GL_SAMPLES, GL_TEXTURE_BINDING_CUBE_MAP, GL_TEXTURE_COMPRESSED, GL_TEXTURE_COMPRESSED_IMAGE_SIZE, GL_TEXTURE_COMPRESSION_HINT, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE16, GL_TEXTURE17, GL_TEXTURE18, GL_TEXTURE19, GL_TEXTURE2, GL_TEXTURE20, GL_TEXTURE21, GL_TEXTURE22, GL_TEXTURE23, GL_TEXTURE24, GL_TEXTURE25, GL_TEXTURE26, GL_TEXTURE27, GL_TEXTURE28, GL_TEXTURE29, GL_TEXTURE3, GL_TEXTURE30, GL_TEXTURE31, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
glBlendColor(float red, float green, float blue, float alpha)
Specifies the constant color Cc to be used in blending.static void
glBlendEquation(int mode)
Controls the blend equations used for per-fragment blending.static void
glBlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha)
Specifies pixel arithmetic for RGB and alpha components separately.static void
glMultiDrawArrays(int mode, int[] first, int[] count)
Array version of:MultiDrawArrays
static void
glMultiDrawArrays(int mode, java.nio.IntBuffer first, java.nio.IntBuffer count)
Renders multiple sets of primitives from array data.static void
glMultiDrawElements(int mode, int[] count, int type, org.lwjgl.PointerBuffer indices)
Array version of:MultiDrawElements
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.static void
glPointParameterf(int pname, float param)
Sets the float value of a pointer parameter.static void
glPointParameterfv(int pname, float[] params)
Array version of:PointParameterfv
static void
glPointParameterfv(int pname, java.nio.FloatBuffer params)
Pointer version ofPointParameterf
.static void
glPointParameteri(int pname, int param)
Integer version ofPointParameterf
.static void
glPointParameteriv(int pname, int[] params)
Array version of:PointParameteriv
static void
glPointParameteriv(int pname, java.nio.IntBuffer params)
Pointer version ofPointParameteri
.static void
nglMultiDrawArrays(int mode, long first, long count, int drawcount)
Unsafe version of:MultiDrawArrays
static void
nglMultiDrawElements(int mode, long count, int type, long indices, int drawcount)
Unsafe version of:MultiDrawElements
static void
nglPointParameterfv(int pname, long params)
Unsafe version of:PointParameterfv
static void
nglPointParameteriv(int pname, long params)
Unsafe version of:PointParameteriv
-
Methods inherited from class org.lwjgl.opengl.GL11C
glBindTexture, glBlendFunc, glClear, glClearColor, glClearDepth, glClearStencil, glColorMask, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, glCullFace, glDeleteTextures, glDeleteTextures, glDeleteTextures, glDepthFunc, glDepthMask, glDepthRange, glDisable, glDrawArrays, glDrawBuffer, glDrawElements, glDrawElements, glDrawElements, glDrawElements, glDrawElements, glEnable, glFinish, glFlush, glFrontFace, glGenTextures, glGenTextures, glGenTextures, glGetBoolean, glGetBooleanv, glGetDouble, glGetDoublev, glGetDoublev, glGetError, glGetFloat, glGetFloatv, glGetFloatv, glGetInteger, glGetIntegerv, glGetIntegerv, glGetPointer, glGetPointerv, glGetString, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexLevelParameterf, glGetTexLevelParameterfv, glGetTexLevelParameterfv, glGetTexLevelParameteri, glGetTexLevelParameteriv, glGetTexLevelParameteriv, glGetTexParameterf, glGetTexParameterfv, glGetTexParameterfv, glGetTexParameteri, glGetTexParameteriv, glGetTexParameteriv, glHint, glIsEnabled, glIsTexture, glLineWidth, glLogicOp, glPixelStoref, glPixelStorei, glPointSize, glPolygonMode, glPolygonOffset, glReadBuffer, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glScissor, glStencilFunc, glStencilMask, glStencilOp, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexParameterf, glTexParameterfv, glTexParameterfv, glTexParameteri, glTexParameteriv, glTexParameteriv, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glViewport, nglDeleteTextures, nglDrawElements, nglGenTextures, nglGetBooleanv, nglGetDoublev, nglGetFloatv, nglGetIntegerv, nglGetPointerv, nglGetString, nglGetTexImage, nglGetTexLevelParameterfv, nglGetTexLevelParameteriv, nglGetTexParameterfv, nglGetTexParameteriv, nglReadPixels, nglTexImage1D, nglTexImage2D, nglTexParameterfv, nglTexParameteriv, nglTexSubImage1D, nglTexSubImage2D
-
Methods inherited from class org.lwjgl.opengl.GL12C
glCopyTexSubImage3D, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, nglDrawRangeElements, nglTexImage3D, nglTexSubImage3D
-
Methods inherited from class org.lwjgl.opengl.GL13C
glActiveTexture, glCompressedTexImage1D, glCompressedTexImage1D, glCompressedTexImage2D, glCompressedTexImage2D, glCompressedTexImage3D, glCompressedTexImage3D, glCompressedTexSubImage1D, glCompressedTexSubImage1D, glCompressedTexSubImage2D, glCompressedTexSubImage2D, glCompressedTexSubImage3D, glCompressedTexSubImage3D, glGetCompressedTexImage, glGetCompressedTexImage, glSampleCoverage, nglCompressedTexImage1D, nglCompressedTexImage2D, nglCompressedTexImage3D, nglCompressedTexSubImage1D, nglCompressedTexSubImage2D, nglCompressedTexSubImage3D, nglGetCompressedTexImage
-
-
-
-
Field Detail
-
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_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC
Accepted by thepname
parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
-
GL_POINT_FADE_THRESHOLD_SIZE
Accepted by thepname
parameter of PointParameterfARB, and thepname
of Get.
-
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_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- See Also:
- Reference Page
-
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
- See Also:
- Reference Page
-
nglMultiDrawArrays
public static void nglMultiDrawArrays(int mode, long first, long count, int drawcount)
Unsafe version of:MultiDrawArrays
- Parameters:
drawcount
- the size offirst
andcount
-
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
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
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- See Also:
- Reference Page
-
nglMultiDrawElements
public static void nglMultiDrawElements(int mode, long count, int type, long indices, int drawcount)
Unsafe version of:MultiDrawElements
- Parameters:
drawcount
- the size of thecount
array
-
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
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
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- See Also:
- Reference Page
-
glPointParameterf
public static void glPointParameterf(int pname, float param)
Sets the float value of a pointer parameter.- Parameters:
pname
- the parameter to set. Must be:POINT_FADE_THRESHOLD_SIZE
param
- the parameter value- See Also:
- Reference Page
-
glPointParameteri
public static void glPointParameteri(int pname, int param)
Integer version ofPointParameterf
.- Parameters:
pname
- the parameter to set. Must be:POINT_FADE_THRESHOLD_SIZE
param
- the parameter value- See Also:
- Reference Page
-
nglPointParameterfv
public static void nglPointParameterfv(int pname, long params)
Unsafe version of:PointParameterfv
-
glPointParameterfv
public static void glPointParameterfv(int pname, java.nio.FloatBuffer params)
Pointer version ofPointParameterf
.- Parameters:
pname
- the parameter to setparams
- the parameter value- See Also:
- Reference Page
-
nglPointParameteriv
public static void nglPointParameteriv(int pname, long params)
Unsafe version of:PointParameteriv
-
glPointParameteriv
public static void glPointParameteriv(int pname, java.nio.IntBuffer params)
Pointer version ofPointParameteri
.- Parameters:
pname
- the parameter to setparams
- the parameter value- See Also:
- Reference Page
-
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.- See Also:
- Reference Page
-
glMultiDrawArrays
public static void glMultiDrawArrays(int mode, int[] first, int[] count)
Array version of:MultiDrawArrays
- See Also:
- Reference Page
-
glMultiDrawElements
public static void glMultiDrawElements(int mode, int[] count, int type, org.lwjgl.PointerBuffer indices)
Array version of:MultiDrawElements
- See Also:
- Reference Page
-
glPointParameterfv
public static void glPointParameterfv(int pname, float[] params)
Array version of:PointParameterfv
- See Also:
- Reference Page
-
glPointParameteriv
public static void glPointParameteriv(int pname, int[] params)
Array version of:PointParameteriv
- See Also:
- Reference Page
-
-