java.lang.Object
overrungl.opengl.GL10C
overrungl.opengl.GL11C
GL11C relies on preview features of the Java platform:
GL11Crefers 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.1 forward compatible functions.
- Since:
- 0.1.0
- Author:
- squid233
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbindTexture(int target, int texture) static voidcopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int border) static voidcopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border) static voidcopyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width) static voidcopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) static voiddeleteTexture(int texture) static voiddeleteTextures(int n, MemorySegmentPREVIEW textures) static voiddeleteTextures(SegmentAllocatorPREVIEW allocator, int[] textures) static voiddrawArrays(int mode, int first, int count) static voiddrawElements(int mode, int count, int type, MemorySegmentPREVIEW indices) static voiddrawElements(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, byte[] indices) static voiddrawElements(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, int[] indices) static voiddrawElements(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, short[] indices) static intstatic voidgenTextures(int n, MemorySegmentPREVIEW textures) static voidgenTextures(SegmentAllocatorPREVIEW allocator, int[] textures) static MemorySegmentPREVIEWgetPointer(int pname) static voidgetPointerv(int pname, MemorySegmentPREVIEW params) static booleanisTexture(int texture) static voidpolygonOffset(float factor, float units) static voidtexSubImage1D(int target, int level, int xoffset, int width, int format, int type, MemorySegmentPREVIEW pixels) static voidtexSubImage1D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int width, int format, int type, byte[] pixels) static voidtexSubImage1D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int width, int format, int type, float[] pixels) static voidtexSubImage1D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int width, int format, int type, int[] pixels) static voidtexSubImage1D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int width, int format, int type, short[] pixels) static voidtexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, MemorySegmentPREVIEW pixels) static voidtexSubImage2D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, byte[] pixels) static voidtexSubImage2D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels) static voidtexSubImage2D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels) static voidtexSubImage2D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels) 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
-
COLOR_LOGIC_OP
public static final int COLOR_LOGIC_OP- See Also:
-
POLYGON_OFFSET_UNITS
public static final int POLYGON_OFFSET_UNITS- See Also:
-
POLYGON_OFFSET_POINT
public static final int POLYGON_OFFSET_POINT- See Also:
-
POLYGON_OFFSET_LINE
public static final int POLYGON_OFFSET_LINE- See Also:
-
POLYGON_OFFSET_FILL
public static final int POLYGON_OFFSET_FILL- See Also:
-
POLYGON_OFFSET_FACTOR
public static final int POLYGON_OFFSET_FACTOR- See Also:
-
TEXTURE_BINDING_1D
public static final int TEXTURE_BINDING_1D- See Also:
-
TEXTURE_BINDING_2D
public static final int TEXTURE_BINDING_2D- See Also:
-
TEXTURE_INTERNAL_FORMAT
public static final int TEXTURE_INTERNAL_FORMAT- See Also:
-
TEXTURE_RED_SIZE
public static final int TEXTURE_RED_SIZE- See Also:
-
TEXTURE_GREEN_SIZE
public static final int TEXTURE_GREEN_SIZE- See Also:
-
TEXTURE_BLUE_SIZE
public static final int TEXTURE_BLUE_SIZE- See Also:
-
TEXTURE_ALPHA_SIZE
public static final int TEXTURE_ALPHA_SIZE- See Also:
-
DOUBLE
public static final int DOUBLE- See Also:
-
PROXY_TEXTURE_1D
public static final int PROXY_TEXTURE_1D- See Also:
-
PROXY_TEXTURE_2D
public static final int PROXY_TEXTURE_2D- See Also:
-
R3_G3_B2
public static final int R3_G3_B2- See Also:
-
RGB4
public static final int RGB4- See Also:
-
RGB5
public static final int RGB5- See Also:
-
RGB8
public static final int RGB8- See Also:
-
RGB10
public static final int RGB10- See Also:
-
RGB12
public static final int RGB12- See Also:
-
RGB16
public static final int RGB16- See Also:
-
RGBA2
public static final int RGBA2- See Also:
-
RGBA4
public static final int RGBA4- See Also:
-
RGB5_A1
public static final int RGB5_A1- See Also:
-
RGBA8
public static final int RGBA8- See Also:
-
RGB10_A2
public static final int RGB10_A2- See Also:
-
RGBA12
public static final int RGBA12- See Also:
-
RGBA16
public static final int RGBA16- See Also:
-
VERTEX_ARRAY
public static final int VERTEX_ARRAY- See Also:
-
-
Constructor Details
-
GL11C
public GL11C()
-
-
Method Details
-
bindTexture
public static void bindTexture(int target, int texture) -
copyTexImage1D
public static void copyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int border) -
copyTexImage2D
public static void copyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border) -
copyTexSubImage1D
public static void copyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width) -
copyTexSubImage2D
public static void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) -
deleteTextures
-
deleteTextures
-
deleteTexture
public static void deleteTexture(int texture) -
drawArrays
public static void drawArrays(int mode, int first, int count) -
drawElements
-
drawElements
public static void drawElements(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, byte[] indices) -
drawElements
public static void drawElements(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, short[] indices) -
drawElements
public static void drawElements(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, int[] indices) -
genTextures
-
genTextures
-
genTexture
public static int genTexture() -
getPointerv
-
getPointer
-
isTexture
public static boolean isTexture(int texture) -
polygonOffset
public static void polygonOffset(float factor, float units) -
texSubImage1D
public static void texSubImage1D(int target, int level, int xoffset, int width, int format, int type, MemorySegmentPREVIEW pixels) -
texSubImage1D
public static void texSubImage1D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int width, int format, int type, byte[] pixels) -
texSubImage1D
public static void texSubImage1D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int width, int format, int type, short[] pixels) -
texSubImage1D
public static void texSubImage1D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int width, int format, int type, int[] pixels) -
texSubImage1D
public static void texSubImage1D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int width, int format, int type, float[] pixels) -
texSubImage2D
public static void texSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, MemorySegmentPREVIEW pixels) -
texSubImage2D
public static void texSubImage2D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, byte[] pixels) -
texSubImage2D
public static void texSubImage2D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels) -
texSubImage2D
public static void texSubImage2D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels) -
texSubImage2D
public static void texSubImage2D(SegmentAllocatorPREVIEW allocator, int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels)
-
GL11Cwhen preview features are enabled.