- Direct Known Subclasses:
GL20C
GL15C
relies on preview features of the Java platform:
GL15C
refers to one or more preview APIs:MemorySegment
,SegmentAllocator
.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
The OpenGL 1.5 forward compatible functions.
These extensions are promoted in this version:
- Since:
- 0.1.0
- Author:
- squid233
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class overrungl.opengl.GL14C
BLEND_COLOR, BLEND_DST_ALPHA, BLEND_DST_RGB, BLEND_EQUATION, BLEND_SRC_ALPHA, BLEND_SRC_RGB, CONSTANT_ALPHA, CONSTANT_COLOR, DECR_WRAP, DEPTH_COMPONENT16, DEPTH_COMPONENT24, DEPTH_COMPONENT32, FUNC_ADD, FUNC_REVERSE_SUBTRACT, FUNC_SUBTRACT, INCR_WRAP, MAX, MAX_TEXTURE_LOD_BIAS, MIN, MIRRORED_REPEAT, ONE_MINUS_CONSTANT_ALPHA, ONE_MINUS_CONSTANT_COLOR, POINT_FADE_THRESHOLD_SIZE, TEXTURE_COMPARE_FUNC, TEXTURE_COMPARE_MODE, TEXTURE_DEPTH_SIZE, TEXTURE_LOD_BIAS
Fields inherited from class overrungl.opengl.GL13C
ACTIVE_TEXTURE, CLAMP_TO_BORDER, COMPRESSED_RGB, COMPRESSED_RGBA, COMPRESSED_TEXTURE_FORMATS, MAX_CUBE_MAP_TEXTURE_SIZE, MULTISAMPLE, NUM_COMPRESSED_TEXTURE_FORMATS, PROXY_TEXTURE_CUBE_MAP, SAMPLE_ALPHA_TO_COVERAGE, SAMPLE_ALPHA_TO_ONE, SAMPLE_BUFFERS, SAMPLE_COVERAGE, SAMPLE_COVERAGE_INVERT, SAMPLE_COVERAGE_VALUE, SAMPLES, TEXTURE_BINDING_CUBE_MAP, TEXTURE_COMPRESSED, TEXTURE_COMPRESSED_IMAGE_SIZE, TEXTURE_COMPRESSION_HINT, TEXTURE_CUBE_MAP, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Z, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, TEXTURE0, TEXTURE1, TEXTURE10, TEXTURE11, TEXTURE12, TEXTURE13, TEXTURE14, TEXTURE15, TEXTURE16, TEXTURE17, TEXTURE18, TEXTURE19, TEXTURE2, TEXTURE20, TEXTURE21, TEXTURE22, TEXTURE23, TEXTURE24, TEXTURE25, TEXTURE26, TEXTURE27, TEXTURE28, TEXTURE29, TEXTURE3, TEXTURE30, TEXTURE31, TEXTURE4, TEXTURE5, TEXTURE6, TEXTURE7, TEXTURE8, TEXTURE9
Fields inherited from class overrungl.opengl.GL12C
ALIASED_LINE_WIDTH_RANGE, BGR, BGRA, CLAMP_TO_EDGE, MAX_3D_TEXTURE_SIZE, MAX_ELEMENTS_INDICES, MAX_ELEMENTS_VERTICES, PACK_IMAGE_HEIGHT, PACK_SKIP_IMAGES, PROXY_TEXTURE_3D, SMOOTH_LINE_WIDTH_GRANULARITY, SMOOTH_LINE_WIDTH_RANGE, SMOOTH_POINT_SIZE_GRANULARITY, SMOOTH_POINT_SIZE_RANGE, TEXTURE_3D, TEXTURE_BASE_LEVEL, TEXTURE_BINDING_3D, TEXTURE_DEPTH, TEXTURE_MAX_LEVEL, TEXTURE_MAX_LOD, TEXTURE_MIN_LOD, TEXTURE_WRAP_R, UNPACK_IMAGE_HEIGHT, UNPACK_SKIP_IMAGES, UNSIGNED_BYTE_2_3_3_REV, UNSIGNED_BYTE_3_3_2, UNSIGNED_INT_10_10_10_2, UNSIGNED_INT_2_10_10_10_REV, UNSIGNED_INT_8_8_8_8, UNSIGNED_INT_8_8_8_8_REV, UNSIGNED_SHORT_1_5_5_5_REV, UNSIGNED_SHORT_4_4_4_4, UNSIGNED_SHORT_4_4_4_4_REV, UNSIGNED_SHORT_5_5_5_1, UNSIGNED_SHORT_5_6_5, UNSIGNED_SHORT_5_6_5_REV
Fields inherited from class overrungl.opengl.GL11C
COLOR_LOGIC_OP, DOUBLE, POLYGON_OFFSET_FACTOR, POLYGON_OFFSET_FILL, POLYGON_OFFSET_LINE, POLYGON_OFFSET_POINT, POLYGON_OFFSET_UNITS, PROXY_TEXTURE_1D, PROXY_TEXTURE_2D, R3_G3_B2, RGB10, RGB10_A2, RGB12, RGB16, RGB4, RGB5, RGB5_A1, RGB8, RGBA12, RGBA16, RGBA2, RGBA4, RGBA8, TEXTURE_ALPHA_SIZE, TEXTURE_BINDING_1D, TEXTURE_BINDING_2D, TEXTURE_BLUE_SIZE, TEXTURE_GREEN_SIZE, TEXTURE_INTERNAL_FORMAT, TEXTURE_RED_SIZE, VERTEX_ARRAY
Fields inherited from class overrungl.opengl.GL10C
ALPHA, ALWAYS, AND, AND_INVERTED, AND_REVERSE, BACK, BACK_LEFT, BACK_RIGHT, BLEND, BLEND_DST, BLEND_SRC, BLUE, BYTE, CCW, CLEAR, COLOR, COLOR_BUFFER_BIT, COLOR_CLEAR_VALUE, COLOR_WRITEMASK, COPY, COPY_INVERTED, CULL_FACE, CULL_FACE_MODE, CW, DECR, DEPTH, DEPTH_BUFFER_BIT, DEPTH_CLEAR_VALUE, DEPTH_COMPONENT, DEPTH_FUNC, DEPTH_RANGE, DEPTH_TEST, DEPTH_WRITEMASK, DITHER, DONT_CARE, DOUBLEBUFFER, DRAW_BUFFER, DST_ALPHA, DST_COLOR, EQUAL, EQUIV, EXTENSIONS, FALSE, FASTEST, FILL, FLOAT, FRONT, FRONT_AND_BACK, FRONT_FACE, FRONT_LEFT, FRONT_RIGHT, GEQUAL, GREATER, GREEN, INCR, INT, INVALID_ENUM, INVALID_OPERATION, INVALID_VALUE, INVERT, KEEP, LEFT, LEQUAL, LESS, LINE, LINE_LOOP, LINE_SMOOTH, LINE_SMOOTH_HINT, LINE_STRIP, LINE_WIDTH, LINE_WIDTH_GRANULARITY, LINE_WIDTH_RANGE, LINEAR, LINEAR_MIPMAP_LINEAR, LINEAR_MIPMAP_NEAREST, LINES, LOGIC_OP_MODE, MAX_TEXTURE_SIZE, MAX_VIEWPORT_DIMS, NAND, NEAREST, NEAREST_MIPMAP_LINEAR, NEAREST_MIPMAP_NEAREST, NEVER, NICEST, NO_ERROR, NONE, NOOP, NOR, NOTEQUAL, ONE, ONE_MINUS_DST_ALPHA, ONE_MINUS_DST_COLOR, ONE_MINUS_SRC_ALPHA, ONE_MINUS_SRC_COLOR, OR, OR_INVERTED, OR_REVERSE, OUT_OF_MEMORY, PACK_ALIGNMENT, PACK_LSB_FIRST, PACK_ROW_LENGTH, PACK_SKIP_PIXELS, PACK_SKIP_ROWS, PACK_SWAP_BYTES, POINT, POINT_SIZE, POINT_SIZE_GRANULARITY, POINT_SIZE_RANGE, POINTS, POLYGON_MODE, POLYGON_SMOOTH, POLYGON_SMOOTH_HINT, QUADS, READ_BUFFER, RED, RENDERER, REPEAT, REPLACE, RGB, RGBA, RIGHT, SCISSOR_BOX, SCISSOR_TEST, SET, SHORT, SRC_ALPHA, SRC_ALPHA_SATURATE, SRC_COLOR, STACK_OVERFLOW, STACK_UNDERFLOW, STENCIL, STENCIL_BUFFER_BIT, STENCIL_CLEAR_VALUE, STENCIL_FAIL, STENCIL_FUNC, STENCIL_INDEX, STENCIL_PASS_DEPTH_FAIL, STENCIL_PASS_DEPTH_PASS, STENCIL_REF, STENCIL_TEST, STENCIL_VALUE_MASK, STENCIL_WRITEMASK, STEREO, SUBPIXEL_BITS, TEXTURE, TEXTURE_1D, TEXTURE_2D, TEXTURE_BORDER_COLOR, TEXTURE_HEIGHT, TEXTURE_MAG_FILTER, TEXTURE_MIN_FILTER, TEXTURE_WIDTH, TEXTURE_WRAP_S, TEXTURE_WRAP_T, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, TRUE, UNPACK_ALIGNMENT, UNPACK_LSB_FIRST, UNPACK_ROW_LENGTH, UNPACK_SKIP_PIXELS, UNPACK_SKIP_ROWS, UNPACK_SWAP_BYTES, UNSIGNED_BYTE, UNSIGNED_INT, UNSIGNED_SHORT, VENDOR, VERSION, VIEWPORT, XOR, ZERO
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
beginQuery
(int target, int id) static void
bindBuffer
(int target, int buffer) static void
bufferData
(int target, long size, int usage) static void
bufferData
(int target, long size, MemorySegmentPREVIEW data, int usage) static void
bufferData
(int target, MemorySegmentPREVIEW data, int usage) static void
bufferData
(SegmentAllocatorPREVIEW allocator, int target, byte[] data, int usage) static void
bufferData
(SegmentAllocatorPREVIEW allocator, int target, double[] data, int usage) static void
bufferData
(SegmentAllocatorPREVIEW allocator, int target, float[] data, int usage) static void
bufferData
(SegmentAllocatorPREVIEW allocator, int target, int[] data, int usage) static void
bufferData
(SegmentAllocatorPREVIEW allocator, int target, long[] data, int usage) static void
bufferData
(SegmentAllocatorPREVIEW allocator, int target, short[] data, int usage) static void
bufferSubData
(int target, long offset, long size, MemorySegmentPREVIEW data) static void
bufferSubData
(int target, long offset, MemorySegmentPREVIEW data) static void
bufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, byte[] data) static void
bufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, double[] data) static void
bufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, float[] data) static void
bufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, int[] data) static void
bufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, long[] data) static void
bufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, short[] data) static void
deleteBuffer
(int buffer) static void
deleteBuffers
(int n, MemorySegmentPREVIEW buffers) static void
deleteBuffers
(SegmentAllocatorPREVIEW allocator, int[] buffers) static void
deleteQueries
(int n, MemorySegmentPREVIEW ids) static void
deleteQueries
(SegmentAllocatorPREVIEW allocator, int[] ids) static void
deleteQuery
(int id) static void
endQuery
(int target) static int
static void
genBuffers
(int n, MemorySegmentPREVIEW buffers) static void
genBuffers
(SegmentAllocatorPREVIEW allocator, int[] buffers) static void
genQueries
(int n, MemorySegmentPREVIEW ids) static void
genQueries
(SegmentAllocatorPREVIEW allocator, int[] ids) static int
genQuery()
static int
getBufferParameteri
(int target, int pname) static void
getBufferParameteriv
(int target, int pname, MemorySegmentPREVIEW params) static MemorySegmentPREVIEW
getBufferPointer
(int target, int pname) static void
getBufferPointerv
(int target, int pname, MemorySegmentPREVIEW params) static void
getBufferSubData
(int target, long offset, long size, MemorySegmentPREVIEW data) static void
getBufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, byte[] data) static void
getBufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, double[] data) static void
getBufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, float[] data) static void
getBufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, int[] data) static void
getBufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, long[] data) static void
getBufferSubData
(SegmentAllocatorPREVIEW allocator, int target, long offset, short[] data) static int
getQueryi
(int target, int pname) static void
getQueryiv
(int target, int pname, MemorySegmentPREVIEW params) static int
getQueryObjecti
(int id, int pname) static void
getQueryObjectiv
(int id, int pname, MemorySegmentPREVIEW params) static int
getQueryObjectui
(int id, int pname) static void
getQueryObjectuiv
(int id, int pname, MemorySegmentPREVIEW params) static boolean
isBuffer
(int buffer) static boolean
isQuery
(int buffer) static MemorySegmentPREVIEW
mapBuffer
(int target, int access) static boolean
unmapBuffer
(int target) Methods inherited from class overrungl.opengl.GL14C
blendColor, blendEquation, blendFuncSeparate, multiDrawArrays, multiDrawArrays, multiDrawArrays, multiDrawElements, multiDrawElements, multiDrawElements, multiDrawElements, multiDrawElements, multiDrawElements, multiDrawElements, pointParameterf, pointParameterfv, pointParameterfv, pointParameteri, pointParameteriv, pointParameteriv
Methods inherited from class overrungl.opengl.GL13C
activeTexture, compressedTexImage1D, compressedTexImage2D, compressedTexImage3D, compressedTexSubImage1D, compressedTexSubImage2D, compressedTexSubImage3D, getCompressedTexImage, sampleCoverage
Methods inherited from class overrungl.opengl.GL12C
copyTexSubImage3D, drawRangeElements, drawRangeElements, drawRangeElements, drawRangeElements, texImage3D, texImage3D, texImage3D, texImage3D, texImage3D, texSubImage3D, texSubImage3D, texSubImage3D, texSubImage3D, texSubImage3D
Methods inherited from class overrungl.opengl.GL11C
bindTexture, copyTexImage1D, copyTexImage2D, copyTexSubImage1D, copyTexSubImage2D, deleteTexture, deleteTextures, deleteTextures, drawArrays, drawElements, drawElements, drawElements, drawElements, genTexture, genTextures, genTextures, getPointer, getPointerv, isTexture, polygonOffset, texSubImage1D, texSubImage1D, texSubImage1D, texSubImage1D, texSubImage1D, texSubImage2D, texSubImage2D, texSubImage2D, texSubImage2D, texSubImage2D
Methods inherited from class overrungl.opengl.GL10C
blendFunc, clear, clearColor, clearDepth, clearStencil, colorMask, cullFace, depthFunc, depthMask, depthRange, disable, drawBuffer, enable, finish, flush, frontFace, getBoolean, getBooleanv, getBooleanv, getDouble, getDoublev, getDoublev, getError, getFloat, getFloatv, getFloatv, getInteger, getIntegerv, getIntegerv, getString, getTexImage, getTexLevelParameterf, getTexLevelParameterfv, getTexLevelParameterfv, getTexLevelParameteri, getTexLevelParameteriv, getTexLevelParameteriv, getTexParameterf, getTexParameterfv, getTexParameterfv, getTexParameteri, getTexParameteriv, getTexParameteriv, hint, isEnabled, lineWidth, logicOp, ngetString, pixelStoref, pixelStorei, pointSize, polygonMode, readBuffer, readPixels, readPixels, readPixels, readPixels, readPixels, scissor, stencilFunc, stencilMask, stencilOp, texImage1D, texImage1D, texImage1D, texImage1D, texImage1D, texImage2D, texImage2D, texImage2D, texImage2D, texImage2D, texParameterf, texParameterfv, texParameterfv, texParameteri, texParameteriv, texParameteriv, viewport
-
Field Details
-
BUFFER_SIZE
public static final int BUFFER_SIZE- See Also:
-
BUFFER_USAGE
public static final int BUFFER_USAGE- See Also:
-
QUERY_COUNTER_BITS
public static final int QUERY_COUNTER_BITS- See Also:
-
CURRENT_QUERY
public static final int CURRENT_QUERY- See Also:
-
QUERY_RESULT
public static final int QUERY_RESULT- See Also:
-
QUERY_RESULT_AVAILABLE
public static final int QUERY_RESULT_AVAILABLE- See Also:
-
ARRAY_BUFFER
public static final int ARRAY_BUFFER- See Also:
-
ELEMENT_ARRAY_BUFFER
public static final int ELEMENT_ARRAY_BUFFER- See Also:
-
ARRAY_BUFFER_BINDING
public static final int ARRAY_BUFFER_BINDING- See Also:
-
ELEMENT_ARRAY_BUFFER_BINDING
public static final int ELEMENT_ARRAY_BUFFER_BINDING- See Also:
-
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
public static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING- See Also:
-
READ_ONLY
public static final int READ_ONLY- See Also:
-
WRITE_ONLY
public static final int WRITE_ONLY- See Also:
-
READ_WRITE
public static final int READ_WRITE- See Also:
-
BUFFER_ACCESS
public static final int BUFFER_ACCESS- See Also:
-
BUFFER_MAPPED
public static final int BUFFER_MAPPED- See Also:
-
BUFFER_MAP_POINTER
public static final int BUFFER_MAP_POINTER- See Also:
-
STREAM_DRAW
public static final int STREAM_DRAW- See Also:
-
STREAM_READ
public static final int STREAM_READ- See Also:
-
STREAM_COPY
public static final int STREAM_COPY- See Also:
-
STATIC_DRAW
public static final int STATIC_DRAW- See Also:
-
STATIC_READ
public static final int STATIC_READ- See Also:
-
STATIC_COPY
public static final int STATIC_COPY- See Also:
-
DYNAMIC_DRAW
public static final int DYNAMIC_DRAW- See Also:
-
DYNAMIC_READ
public static final int DYNAMIC_READ- See Also:
-
DYNAMIC_COPY
public static final int DYNAMIC_COPY- See Also:
-
SAMPLES_PASSED
public static final int SAMPLES_PASSED- See Also:
-
SRC1_ALPHA
public static final int SRC1_ALPHA- See Also:
-
-
Constructor Details
-
GL15C
public GL15C()
-
-
Method Details
-
beginQuery
public static void beginQuery(int target, int id) -
bindBuffer
public static void bindBuffer(int target, int buffer) -
bufferData
-
bufferData
-
bufferData
public static void bufferData(int target, long size, int usage) -
bufferData
public static void bufferData(SegmentAllocatorPREVIEW allocator, int target, byte[] data, int usage) -
bufferData
public static void bufferData(SegmentAllocatorPREVIEW allocator, int target, short[] data, int usage) -
bufferData
-
bufferData
public static void bufferData(SegmentAllocatorPREVIEW allocator, int target, long[] data, int usage) -
bufferData
public static void bufferData(SegmentAllocatorPREVIEW allocator, int target, float[] data, int usage) -
bufferData
public static void bufferData(SegmentAllocatorPREVIEW allocator, int target, double[] data, int usage) -
bufferSubData
-
bufferSubData
-
bufferSubData
public static void bufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, byte[] data) -
bufferSubData
public static void bufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, short[] data) -
bufferSubData
public static void bufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, int[] data) -
bufferSubData
public static void bufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, long[] data) -
bufferSubData
public static void bufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, float[] data) -
bufferSubData
public static void bufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, double[] data) -
deleteBuffers
-
deleteBuffers
-
deleteBuffer
public static void deleteBuffer(int buffer) -
deleteQueries
-
deleteQueries
-
deleteQuery
public static void deleteQuery(int id) -
endQuery
public static void endQuery(int target) -
genBuffers
-
genBuffers
-
genBuffer
public static int genBuffer() -
genQueries
-
genQueries
-
genQuery
public static int genQuery() -
getBufferParameteriv
-
getBufferParameteri
public static int getBufferParameteri(int target, int pname) -
getBufferPointerv
-
getBufferPointer
-
getBufferSubData
-
getBufferSubData
public static void getBufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, byte[] data) -
getBufferSubData
public static void getBufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, short[] data) -
getBufferSubData
public static void getBufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, int[] data) -
getBufferSubData
public static void getBufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, long[] data) -
getBufferSubData
public static void getBufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, float[] data) -
getBufferSubData
public static void getBufferSubData(SegmentAllocatorPREVIEW allocator, int target, long offset, double[] data) -
getQueryObjectiv
-
getQueryObjecti
public static int getQueryObjecti(int id, int pname) -
getQueryObjectuiv
-
getQueryObjectui
public static int getQueryObjectui(int id, int pname) -
getQueryiv
-
getQueryi
public static int getQueryi(int target, int pname) -
isBuffer
public static boolean isBuffer(int buffer) -
isQuery
public static boolean isQuery(int buffer) -
mapBuffer
-
unmapBuffer
public static boolean unmapBuffer(int target)
-
GL15C
when preview features are enabled.