Class GL11
- java.lang.Object
-
- org.lwjgl.opengl.GL11
-
- Direct Known Subclasses:
GL12
public class GL11 extends java.lang.Object
The OpenGL functionality up to version 1.1. Includes the deprecated symbols of the Compatibility Profile.Extensions promoted to core in this release:
-
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
glAccum(int op, float value)
Each portion of a pixel in the accumulation buffer consists of four values: one for each of R, G, B, and A.static void
glAlphaFunc(int func, float ref)
The alpha test discards a fragment conditionally based on the outcome of a comparison between the incoming fragment’s alpha value and a constant value.static boolean
glAreTexturesResident(int[] textures, java.nio.ByteBuffer residences)
Array version of:AreTexturesResident
static boolean
glAreTexturesResident(int texture, java.nio.ByteBuffer residences)
ReturnsTRUE
if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set.static boolean
glAreTexturesResident(java.nio.IntBuffer textures, java.nio.ByteBuffer residences)
ReturnsTRUE
if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set.static void
glArrayElement(int i)
Transfers the ith element of every enabled, non-instanced array, and the first element of every enabled, instanced array to the GL.static void
glBegin(int mode)
Begins the definition of vertex attributes of a sequence of primitives to be transferred to the GL.static void
glBindTexture(int target, int texture)
Binds the a texture to a texture target.static void
glBitmap(int w, int h, float xOrig, float yOrig, float xInc, float yInc, long data)
Sents a bitmap to the GL.static void
glBitmap(int w, int h, float xOrig, float yOrig, float xInc, float yInc, java.nio.ByteBuffer data)
Sents a bitmap to the GL.static void
glBlendFunc(int sfactor, int dfactor)
Specifies the weighting factors used by the blend equation, for both RGB and alpha functions and for all draw buffers.static void
glCallList(int list)
Executes a display list.static void
glCallLists(int type, java.nio.ByteBuffer lists)
Provides an efficient means for executing a number of display lists.static void
glCallLists(java.nio.ByteBuffer lists)
Provides an efficient means for executing a number of display lists.static void
glCallLists(java.nio.IntBuffer lists)
Provides an efficient means for executing a number of display lists.static void
glCallLists(java.nio.ShortBuffer lists)
Provides an efficient means for executing a number of display lists.static void
glClear(int mask)
Sets portions of every pixel in a particular buffer to the same value.static void
glClearAccum(float red, float green, float blue, float alpha)
Sets the clear values for the accumulation buffer.static void
glClearColor(float red, float green, float blue, float alpha)
Sets the clear value for fixed-point and floating-point color buffers in RGBA mode.static void
glClearDepth(double depth)
Sets the depth value used when clearing the depth buffer.static void
glClearIndex(float index)
sets the clear color index.static void
glClearStencil(int s)
Sets the value to which to clear the stencil buffer.static void
glClipPlane(int plane, double[] equation)
Array version of:ClipPlane
static void
glClipPlane(int plane, java.nio.DoubleBuffer equation)
Specifies a client-defined clip plane.static void
glColor3b(byte red, byte green, byte blue)
Sets the R, G, and B components of the current color.static void
glColor3bv(java.nio.ByteBuffer v)
Byte pointer version ofColor3b
.static void
glColor3d(double red, double green, double blue)
Double version ofColor3b
static void
glColor3dv(double[] v)
Array version of:Color3dv
static void
glColor3dv(java.nio.DoubleBuffer v)
Pointer version ofColor3d
.static void
glColor3f(float red, float green, float blue)
Float version ofColor3b
static void
glColor3fv(float[] v)
Array version of:Color3fv
static void
glColor3fv(java.nio.FloatBuffer v)
Pointer version ofColor3f
.static void
glColor3i(int red, int green, int blue)
Integer version ofColor3b
static void
glColor3iv(int[] v)
Array version of:Color3iv
static void
glColor3iv(java.nio.IntBuffer v)
Pointer version ofColor3i
.static void
glColor3s(short red, short green, short blue)
Short version ofColor3b
static void
glColor3sv(short[] v)
Array version of:Color3sv
static void
glColor3sv(java.nio.ShortBuffer v)
Pointer version ofColor3s
.static void
glColor3ub(byte red, byte green, byte blue)
Unsigned version ofColor3b
static void
glColor3ubv(java.nio.ByteBuffer v)
Pointer version ofColor3ub
.static void
glColor3ui(int red, int green, int blue)
Unsigned int version ofColor3b
static void
glColor3uiv(int[] v)
Array version of:Color3uiv
static void
glColor3uiv(java.nio.IntBuffer v)
Pointer version ofColor3ui
.static void
glColor3us(short red, short green, short blue)
Unsigned short version ofColor3b
static void
glColor3usv(short[] v)
Array version of:Color3usv
static void
glColor3usv(java.nio.ShortBuffer v)
Pointer version ofColor3us
.static void
glColor4b(byte red, byte green, byte blue, byte alpha)
Sets the current color.static void
glColor4bv(java.nio.ByteBuffer v)
Pointer version ofColor4b
.static void
glColor4d(double red, double green, double blue, double alpha)
Double version ofColor4b
static void
glColor4dv(double[] v)
Array version of:Color4dv
static void
glColor4dv(java.nio.DoubleBuffer v)
Pointer version ofColor4d
.static void
glColor4f(float red, float green, float blue, float alpha)
Float version ofColor4b
static void
glColor4fv(float[] v)
Array version of:Color4fv
static void
glColor4fv(java.nio.FloatBuffer v)
Pointer version ofColor4f
.static void
glColor4i(int red, int green, int blue, int alpha)
Integer version ofColor4b
static void
glColor4iv(int[] v)
Array version of:Color4iv
static void
glColor4iv(java.nio.IntBuffer v)
Pointer version ofColor4i
.static void
glColor4s(short red, short green, short blue, short alpha)
Short version ofColor4b
static void
glColor4sv(short[] v)
Array version of:Color4sv
static void
glColor4sv(java.nio.ShortBuffer v)
Pointer version ofColor4s
.static void
glColor4ub(byte red, byte green, byte blue, byte alpha)
Unsigned version ofColor4b
static void
glColor4ubv(java.nio.ByteBuffer v)
Pointer version ofColor4ub
.static void
glColor4ui(int red, int green, int blue, int alpha)
Unsigned int version ofColor4b
static void
glColor4uiv(int[] v)
Array version of:Color4uiv
static void
glColor4uiv(java.nio.IntBuffer v)
Pointer version ofColor4ui
.static void
glColor4us(short red, short green, short blue, short alpha)
Unsigned short version ofColor4b
static void
glColor4usv(short[] v)
Array version of:Color4usv
static void
glColor4usv(java.nio.ShortBuffer v)
Pointer version ofColor4us
.static void
glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
Masks the writing of R, G, B and A values to all draw buffers.static void
glColorMaterial(int face, int mode)
It is possible to attach one or more material properties to the current color, so that they continuously track its component values.static void
glColorPointer(int size, int type, int stride, long pointer)
Specifies the location and organization of a color array.static void
glColorPointer(int size, int type, int stride, java.nio.ByteBuffer pointer)
Specifies the location and organization of a color array.static void
glColorPointer(int size, int type, int stride, java.nio.FloatBuffer pointer)
Specifies the location and organization of a color array.static void
glColorPointer(int size, int type, int stride, java.nio.IntBuffer pointer)
Specifies the location and organization of a color array.static void
glColorPointer(int size, int type, int stride, java.nio.ShortBuffer pointer)
Specifies the location and organization of a color array.static void
glCopyPixels(int x, int y, int width, int height, int type)
Transfers a rectangle of pixel values from one region of the read framebuffer to another in the draw framebufferstatic void
glCopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int border)
Defines a one-dimensional texel array in exactly the manner ofTexImage1D
, except that the image data are taken from the framebuffer rather than from client memory.static void
glCopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border)
Defines a two-dimensional texel array in exactly the manner ofTexImage2D
, except that the image data are taken from the framebuffer rather than from client memory.static void
glCopyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width)
Respecifies a rectangular subregion of an existing texel array.static void
glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
Respecifies a rectangular subregion of an existing texel array.static void
glCullFace(int mode)
Specifies which polygon faces are culled ifCULL_FACE
is enabled.static void
glDeleteLists(int list, int range)
Deletes a contiguous group of display lists.static void
glDeleteTextures(int texture)
Deletes texture objects.static void
glDeleteTextures(int[] textures)
Array version of:DeleteTextures
static void
glDeleteTextures(java.nio.IntBuffer textures)
Deletes texture objects.static void
glDepthFunc(int func)
Specifies the comparison that takes place during the depth buffer test (whenDEPTH_TEST
is enabled).static void
glDepthMask(boolean flag)
Masks the writing of depth values to the depth buffer.static void
glDepthRange(double zNear, double zFar)
Sets the depth range for all viewports to the same values.static void
glDisable(int target)
Disables the specified OpenGL state.static void
glDisableClientState(int cap)
Disables a client-side capability.static void
glDrawArrays(int mode, int first, int count)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices.static void
glDrawBuffer(int buf)
Defines the color buffer to which fragment color zero is written.static void
glDrawElements(int mode, int count, int type, long indices)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices to the GL.static void
glDrawElements(int mode, int type, java.nio.ByteBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices to the GL.static void
glDrawElements(int mode, java.nio.ByteBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices to the GL.static void
glDrawElements(int mode, java.nio.IntBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices to the GL.static void
glDrawElements(int mode, java.nio.ShortBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices to the GL.static void
glDrawPixels(int width, int height, int format, int type, float[] pixels)
Array version of:DrawPixels
static void
glDrawPixels(int width, int height, int format, int type, int[] pixels)
Array version of:DrawPixels
static void
glDrawPixels(int width, int height, int format, int type, long pixels)
Draws a pixel rectangle to the active draw buffers.static void
glDrawPixels(int width, int height, int format, int type, short[] pixels)
Array version of:DrawPixels
static void
glDrawPixels(int width, int height, int format, int type, java.nio.ByteBuffer pixels)
Draws a pixel rectangle to the active draw buffers.static void
glDrawPixels(int width, int height, int format, int type, java.nio.FloatBuffer pixels)
Draws a pixel rectangle to the active draw buffers.static void
glDrawPixels(int width, int height, int format, int type, java.nio.IntBuffer pixels)
Draws a pixel rectangle to the active draw buffers.static void
glDrawPixels(int width, int height, int format, int type, java.nio.ShortBuffer pixels)
Draws a pixel rectangle to the active draw buffers.static void
glEdgeFlag(boolean flag)
Each edge of each polygon primitive generated is flagged as either boundary or non-boundary.static void
glEdgeFlagPointer(int stride, long pointer)
Specifies the location and organization of an edge flag array.static void
glEdgeFlagPointer(int stride, java.nio.ByteBuffer pointer)
Specifies the location and organization of an edge flag array.static void
glEdgeFlagv(java.nio.ByteBuffer flag)
Pointer version ofEdgeFlag
.static void
glEnable(int target)
Enables the specified OpenGL state.static void
glEnableClientState(int cap)
Enables a client-side capability.static void
glEnd()
Ends the definition of vertex attributes of a sequence of primitives to be transferred to the GL.static void
glEndList()
Ends the definition of GL commands to be placed in a display list.static void
glEvalCoord1d(double u)
Double version ofEvalCoord1f
.static void
glEvalCoord1dv(double[] u)
Array version of:EvalCoord1dv
static void
glEvalCoord1dv(java.nio.DoubleBuffer u)
Pointer version ofEvalCoord1d
.static void
glEvalCoord1f(float u)
Causes evaluation of the enabled one-dimensional evaluator maps.static void
glEvalCoord1fv(float[] u)
Array version of:EvalCoord1fv
static void
glEvalCoord1fv(java.nio.FloatBuffer u)
Pointer version ofEvalCoord1f
.static void
glEvalCoord2d(double u, double v)
Double version ofEvalCoord2f
.static void
glEvalCoord2dv(double[] u)
Array version of:EvalCoord2dv
static void
glEvalCoord2dv(java.nio.DoubleBuffer u)
Pointer version ofEvalCoord2d
.static void
glEvalCoord2f(float u, float v)
Causes evaluation of the enabled two-dimensional evaluator maps.static void
glEvalCoord2fv(float[] u)
Array version of:EvalCoord2fv
static void
glEvalCoord2fv(java.nio.FloatBuffer u)
Pointer version ofEvalCoord2f
.static void
glEvalMesh1(int mode, int i1, int i2)
Carries out an evaluation on a subset of the one-dimensional map grid.static void
glEvalMesh2(int mode, int i1, int i2, int j1, int j2)
Carries out an evaluation on a rectangular subset of the two-dimensional map grid.static void
glEvalPoint1(int i)
Carries out an evalutation of a single point on the one-dimensional map grid.static void
glEvalPoint2(int i, int j)
Carries out an evalutation of a single point on the two-dimensional map grid.static void
glFeedbackBuffer(int type, float[] buffer)
Array version of:FeedbackBuffer
static void
glFeedbackBuffer(int type, java.nio.FloatBuffer buffer)
Returns information about primitives when the GL is in feedback mode.static void
glFinish()
Forces all previously issued GL commands to complete.static void
glFlush()
Causes all previously issued GL commands to complete in finite time (although such commands may still be executing whenFlush
returns).static void
glFogf(int pname, float param)
Sets the float value of a fog parameter.static void
glFogfv(int pname, float[] params)
Array version of:Fogfv
static void
glFogfv(int pname, java.nio.FloatBuffer params)
Pointer version ofFogf
.static void
glFogi(int pname, int param)
Sets the integer value of a fog parameter.static void
glFogiv(int pname, int[] params)
Array version of:Fogiv
static void
glFogiv(int pname, java.nio.IntBuffer params)
Pointer version ofFogi
.static void
glFrontFace(int dir)
The first step of polygon rasterization is to determine if the polygon is back-facing or front-facing.static void
glFrustum(double l, double r, double b, double t, double n, double f)
Manipulates the current matrix with a matrix that produces perspective projection, in such a way that the coordinates(lb – n)T
and(rt – n)T
specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, respectively (assuming that the eye is located at(0 0 0)T
).static int
glGenLists(int s)
Returns an integer n such that the indicesn,..., n + s - 1
are previously unused (i.e.static int
glGenTextures()
Returns n previously unused texture names in textures.static void
glGenTextures(int[] textures)
Array version of:GenTextures
static void
glGenTextures(java.nio.IntBuffer textures)
Returns n previously unused texture names in textures.static boolean
glGetBoolean(int pname)
Returns the current boolean value of the specified state variable.static void
glGetBooleanv(int pname, java.nio.ByteBuffer params)
Returns the current boolean value of the specified state variable.static void
glGetClipPlane(int plane, double[] equation)
Array version of:GetClipPlane
static void
glGetClipPlane(int plane, java.nio.DoubleBuffer equation)
Returns four double-precision values inequation
; these are the coefficients of the plane equation of plane in eye coordinates (these coordinates are those that were computed when the plane was specified).static double
glGetDouble(int pname)
Returns the current double value of the specified state variable.static void
glGetDoublev(int pname, double[] params)
Array version of:GetDoublev
static void
glGetDoublev(int pname, java.nio.DoubleBuffer params)
Returns the current double value of the specified state variable.static int
glGetError()
Returns error information.static float
glGetFloat(int pname)
Returns the current float value of the specified state variable.static void
glGetFloatv(int pname, float[] params)
Array version of:GetFloatv
static void
glGetFloatv(int pname, java.nio.FloatBuffer params)
Returns the current float value of the specified state variable.static int
glGetInteger(int pname)
Returns the current integer value of the specified state variable.static void
glGetIntegerv(int pname, int[] params)
Array version of:GetIntegerv
static void
glGetIntegerv(int pname, java.nio.IntBuffer params)
Returns the current integer value of the specified state variable.static float
glGetLightf(int light, int pname)
Float version ofGetLightiv
.static void
glGetLightfv(int light, int pname, float[] data)
Array version of:GetLightfv
static void
glGetLightfv(int light, int pname, java.nio.FloatBuffer data)
Float version ofGetLightiv
.static int
glGetLighti(int light, int pname)
Returns integer information about light parameterpname
forlight
indata
.static void
glGetLightiv(int light, int pname, int[] data)
Array version of:GetLightiv
static void
glGetLightiv(int light, int pname, java.nio.IntBuffer data)
Returns integer information about light parameterpname
forlight
indata
.static double
glGetMapd(int target, int query)
Double version ofGetMapiv
.static void
glGetMapdv(int target, int query, double[] data)
Array version of:GetMapdv
static void
glGetMapdv(int target, int query, java.nio.DoubleBuffer data)
Double version ofGetMapiv
.static float
glGetMapf(int target, int query)
Float version ofGetMapiv
.static void
glGetMapfv(int target, int query, float[] data)
Array version of:GetMapfv
static void
glGetMapfv(int target, int query, java.nio.FloatBuffer data)
Float version ofGetMapiv
.static int
glGetMapi(int target, int query)
Returns integer information aboutquery
for evaluator maptarget
indata
.static void
glGetMapiv(int target, int query, int[] data)
Array version of:GetMapiv
static void
glGetMapiv(int target, int query, java.nio.IntBuffer data)
Returns integer information aboutquery
for evaluator maptarget
indata
.static void
glGetMaterialfv(int face, int pname, float[] data)
Array version of:GetMaterialfv
static void
glGetMaterialfv(int face, int pname, java.nio.FloatBuffer data)
Float version ofGetMaterialiv
.static void
glGetMaterialiv(int face, int pname, int[] data)
Array version of:GetMaterialiv
static void
glGetMaterialiv(int face, int pname, java.nio.IntBuffer data)
Returns integer information about material propertypname
forface
indata
.static void
glGetPixelMapfv(int map, float[] data)
Array version of:GetPixelMapfv
static void
glGetPixelMapfv(int map, long data)
Returns all float values in the pixel mapmap
indata
.static void
glGetPixelMapfv(int map, java.nio.FloatBuffer data)
Returns all float values in the pixel mapmap
indata
.static void
glGetPixelMapuiv(int map, int[] data)
Array version of:GetPixelMapuiv
static void
glGetPixelMapuiv(int map, long data)
Unsigned integer version ofGetPixelMapfv
.static void
glGetPixelMapuiv(int map, java.nio.IntBuffer data)
Unsigned integer version ofGetPixelMapfv
.static void
glGetPixelMapusv(int map, long data)
Unsigned short version ofGetPixelMapfv
.static void
glGetPixelMapusv(int map, short[] data)
Array version of:GetPixelMapusv
static void
glGetPixelMapusv(int map, java.nio.ShortBuffer data)
Unsigned short version ofGetPixelMapfv
.static long
glGetPointer(int pname)
Returns a pointer in the current GL context.static void
glGetPointerv(int pname, org.lwjgl.PointerBuffer params)
Returns a pointer in the current GL context.static void
glGetPolygonStipple(long pattern)
Obtains the polygon stipple.static void
glGetPolygonStipple(java.nio.ByteBuffer pattern)
Obtains the polygon stipple.static java.lang.String
glGetString(int name)
Return strings describing properties of the current GL context.static float
glGetTexEnvf(int env, int pname)
Float version ofGetTexEnviv
.static void
glGetTexEnvfv(int env, int pname, float[] data)
Array version of:GetTexEnvfv
static void
glGetTexEnvfv(int env, int pname, java.nio.FloatBuffer data)
Float version ofGetTexEnviv
.static int
glGetTexEnvi(int env, int pname)
Returns integer information aboutpname
forenv
indata
.static void
glGetTexEnviv(int env, int pname, int[] data)
Array version of:GetTexEnviv
static void
glGetTexEnviv(int env, int pname, java.nio.IntBuffer data)
Returns integer information aboutpname
forenv
indata
.static double
glGetTexGend(int coord, int pname)
Double version ofGetTexGeniv
.static void
glGetTexGendv(int coord, int pname, double[] data)
Array version of:GetTexGendv
static void
glGetTexGendv(int coord, int pname, java.nio.DoubleBuffer data)
Double version ofGetTexGeniv
.static float
glGetTexGenf(int coord, int pname)
Float version ofGetTexGeniv
.static void
glGetTexGenfv(int coord, int pname, float[] data)
Array version of:GetTexGenfv
static void
glGetTexGenfv(int coord, int pname, java.nio.FloatBuffer data)
Float version ofGetTexGeniv
.static int
glGetTexGeni(int coord, int pname)
Returns integer information aboutpname
forcoord
indata
.static void
glGetTexGeniv(int coord, int pname, int[] data)
Array version of:GetTexGeniv
static void
glGetTexGeniv(int coord, int pname, java.nio.IntBuffer data)
Returns integer information aboutpname
forcoord
indata
.static void
glGetTexImage(int tex, int level, int format, int type, double[] pixels)
Array version of:GetTexImage
static void
glGetTexImage(int tex, int level, int format, int type, float[] pixels)
Array version of:GetTexImage
static void
glGetTexImage(int tex, int level, int format, int type, int[] pixels)
Array version of:GetTexImage
static void
glGetTexImage(int tex, int level, int format, int type, long pixels)
Obtains texture images.static void
glGetTexImage(int tex, int level, int format, int type, short[] pixels)
Array version of:GetTexImage
static void
glGetTexImage(int tex, int level, int format, int type, java.nio.ByteBuffer pixels)
Obtains texture images.static void
glGetTexImage(int tex, int level, int format, int type, java.nio.DoubleBuffer pixels)
Obtains texture images.static void
glGetTexImage(int tex, int level, int format, int type, java.nio.FloatBuffer pixels)
Obtains texture images.static void
glGetTexImage(int tex, int level, int format, int type, java.nio.IntBuffer pixels)
Obtains texture images.static void
glGetTexImage(int tex, int level, int format, int type, java.nio.ShortBuffer pixels)
Obtains texture images.static float
glGetTexLevelParameterf(int target, int level, int pname)
Float version ofGetTexLevelParameteriv
.static void
glGetTexLevelParameterfv(int target, int level, int pname, float[] params)
Array version of:GetTexLevelParameterfv
static void
glGetTexLevelParameterfv(int target, int level, int pname, java.nio.FloatBuffer params)
Float version ofGetTexLevelParameteriv
.static int
glGetTexLevelParameteri(int target, int level, int pname)
Places integer information about texture image parameterpname
for level-of-detaillevel
of the specifiedtarget
intoparams
.static void
glGetTexLevelParameteriv(int target, int level, int pname, int[] params)
Array version of:GetTexLevelParameteriv
static void
glGetTexLevelParameteriv(int target, int level, int pname, java.nio.IntBuffer params)
Places integer information about texture image parameterpname
for level-of-detaillevel
of the specifiedtarget
intoparams
.static float
glGetTexParameterf(int target, int pname)
Float version ofGetTexParameteriv
.static void
glGetTexParameterfv(int target, int pname, float[] params)
Array version of:GetTexParameterfv
static void
glGetTexParameterfv(int target, int pname, java.nio.FloatBuffer params)
Float version ofGetTexParameteriv
.static int
glGetTexParameteri(int target, int pname)
Place integer information about texture parameterpname
for the specifiedtarget
intoparams
.static void
glGetTexParameteriv(int target, int pname, int[] params)
Array version of:GetTexParameteriv
static void
glGetTexParameteriv(int target, int pname, java.nio.IntBuffer params)
Place integer information about texture parameterpname
for the specifiedtarget
intoparams
.static void
glHint(int target, int hint)
Certain aspects of GL behavior, when there is room for variation, may be controlled with this function.static void
glIndexd(double index)
Double version ofIndexi
.static void
glIndexdv(double[] index)
Array version of:Indexdv
static void
glIndexdv(java.nio.DoubleBuffer index)
Pointer version ofIndexd
.static void
glIndexf(float index)
Float version ofIndexi
.static void
glIndexfv(float[] index)
Array version of:Indexfv
static void
glIndexfv(java.nio.FloatBuffer index)
Pointer version ofIndexf
.static void
glIndexi(int index)
Updates the current (single-valued) color index.static void
glIndexiv(int[] index)
Array version of:Indexiv
static void
glIndexiv(java.nio.IntBuffer index)
Pointer version ofIndexi
static void
glIndexMask(int mask)
The least significant n bits of mask, where n is the number of bits in a color index buffer, specify a mask.static void
glIndexPointer(int type, int stride, long pointer)
Specifies the location and organization of a color index array.static void
glIndexPointer(int type, int stride, java.nio.ByteBuffer pointer)
Specifies the location and organization of a color index array.static void
glIndexPointer(int stride, java.nio.ByteBuffer pointer)
Specifies the location and organization of a color index array.static void
glIndexPointer(int stride, java.nio.IntBuffer pointer)
Specifies the location and organization of a color index array.static void
glIndexPointer(int stride, java.nio.ShortBuffer pointer)
Specifies the location and organization of a color index array.static void
glIndexs(short index)
Short version ofIndexi
.static void
glIndexsv(short[] index)
Array version of:Indexsv
static void
glIndexsv(java.nio.ShortBuffer index)
Pointer version ofIndexs
.static void
glIndexub(byte index)
Unsigned byte version ofIndexi
.static void
glIndexubv(java.nio.ByteBuffer index)
Pointer version ofIndexub
.static void
glInitNames()
Clears the selection name stack.static void
glInterleavedArrays(int format, int stride, double[] pointer)
Array version of:InterleavedArrays
static void
glInterleavedArrays(int format, int stride, float[] pointer)
Array version of:InterleavedArrays
static void
glInterleavedArrays(int format, int stride, int[] pointer)
Array version of:InterleavedArrays
static void
glInterleavedArrays(int format, int stride, long pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.static void
glInterleavedArrays(int format, int stride, short[] pointer)
Array version of:InterleavedArrays
static void
glInterleavedArrays(int format, int stride, java.nio.ByteBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.static void
glInterleavedArrays(int format, int stride, java.nio.DoubleBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.static void
glInterleavedArrays(int format, int stride, java.nio.FloatBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.static void
glInterleavedArrays(int format, int stride, java.nio.IntBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.static void
glInterleavedArrays(int format, int stride, java.nio.ShortBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.static boolean
glIsEnabled(int cap)
Determines ifcap
is currently enabled (as withEnable
) or disabled.static boolean
glIsList(int list)
Returns true if thelist
is the index of some display list.static boolean
glIsTexture(int texture)
Returns true iftexture
is the name of a texture object.static void
glLightf(int light, int pname, float param)
Float version ofLighti
.static void
glLightfv(int light, int pname, float[] params)
Array version of:Lightfv
static void
glLightfv(int light, int pname, java.nio.FloatBuffer params)
Pointer version ofLightf
.static void
glLighti(int light, int pname, int param)
Sets the integer value of a light parameter.static void
glLightiv(int light, int pname, int[] params)
Array version of:Lightiv
static void
glLightiv(int light, int pname, java.nio.IntBuffer params)
Pointer version ofLighti
.static void
glLightModelf(int pname, float param)
Float version ofLightModeli
.static void
glLightModelfv(int pname, float[] params)
Array version of:LightModelfv
static void
glLightModelfv(int pname, java.nio.FloatBuffer params)
Pointer version ofLightModelf
.static void
glLightModeli(int pname, int param)
Set the integer value of a lighting model parameter.static void
glLightModeliv(int pname, int[] params)
Array version of:LightModeliv
static void
glLightModeliv(int pname, java.nio.IntBuffer params)
Pointer version ofLightModeli
.static void
glLineStipple(int factor, short pattern)
Defines a line stipple.static void
glLineWidth(float width)
Sets the width of rasterized line segments.static void
glListBase(int base)
Sets the display list base.static void
glLoadIdentity()
Sets the current matrix to the identity matrix.static void
glLoadMatrixd(double[] m)
Array version of:LoadMatrixd
static void
glLoadMatrixd(java.nio.DoubleBuffer m)
Double version ofLoadMatrixf
.static void
glLoadMatrixf(float[] m)
Array version of:LoadMatrixf
static void
glLoadMatrixf(java.nio.FloatBuffer m)
Sets the current matrix to a 4 × 4 matrix in column-major order.static void
glLoadName(int name)
Replaces the value on the top of the selection stack withname
.static void
glLogicOp(int op)
Sets the logical framebuffer operation.static void
glMap1d(int target, double u1, double u2, int stride, int order, double[] points)
Array version of:Map1d
static void
glMap1d(int target, double u1, double u2, int stride, int order, java.nio.DoubleBuffer points)
Double version ofMap1f
.static void
glMap1f(int target, float u1, float u2, int stride, int order, float[] points)
Array version of:Map1f
static void
glMap1f(int target, float u1, float u2, int stride, int order, java.nio.FloatBuffer points)
Defines a polynomial or rational polynomial mapping to produce vertex, normal, texture coordinates and colors.static void
glMap2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, double[] points)
Array version of:Map2d
static void
glMap2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, java.nio.DoubleBuffer points)
Double version ofMap2f
.static void
glMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, float[] points)
Array version of:Map2f
static void
glMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, java.nio.FloatBuffer points)
Bivariate version ofMap1f
.static void
glMapGrid1d(int n, double u1, double u2)
Double version ofMapGrid1f
.static void
glMapGrid1f(int n, float u1, float u2)
Defines a one-dimensional grid in the map evaluator domain.static void
glMapGrid2d(int un, double u1, double u2, int vn, double v1, double v2)
Double version ofMapGrid2f
.static void
glMapGrid2f(int un, float u1, float u2, int vn, float v1, float v2)
Defines a two-dimensional grid in the map evaluator domain.static void
glMaterialf(int face, int pname, float param)
Float version ofMateriali
.static void
glMaterialfv(int face, int pname, float[] params)
Array version of:Materialfv
static void
glMaterialfv(int face, int pname, java.nio.FloatBuffer params)
Pointer version ofMaterialf
.static void
glMateriali(int face, int pname, int param)
Sets the integer value of a material parameter.static void
glMaterialiv(int face, int pname, int[] params)
Array version of:Materialiv
static void
glMaterialiv(int face, int pname, java.nio.IntBuffer params)
Pointer version ofMateriali
.static void
glMatrixMode(int mode)
Set the current matrix mode.static void
glMultMatrixd(double[] m)
Array version of:MultMatrixd
static void
glMultMatrixd(java.nio.DoubleBuffer m)
Double version ofMultMatrixf
.static void
glMultMatrixf(float[] m)
Array version of:MultMatrixf
static void
glMultMatrixf(java.nio.FloatBuffer m)
Multiplies the current matrix with a 4 × 4 matrix in column-major order.static void
glNewList(int n, int mode)
Begins the definition of a display list.static void
glNormal3b(byte nx, byte ny, byte nz)
Byte version ofNormal3f
.static void
glNormal3bv(java.nio.ByteBuffer v)
Pointer version ofNormal3b
.static void
glNormal3d(double nx, double ny, double nz)
Double version ofNormal3f
.static void
glNormal3dv(double[] v)
Array version of:Normal3dv
static void
glNormal3dv(java.nio.DoubleBuffer v)
Pointer version ofNormal3d
.static void
glNormal3f(float nx, float ny, float nz)
Sets the current normal.static void
glNormal3fv(float[] v)
Array version of:Normal3fv
static void
glNormal3fv(java.nio.FloatBuffer v)
Pointer version ofNormal3f
.static void
glNormal3i(int nx, int ny, int nz)
Integer version ofNormal3f
.static void
glNormal3iv(int[] v)
Array version of:Normal3iv
static void
glNormal3iv(java.nio.IntBuffer v)
Pointer version ofNormal3i
.static void
glNormal3s(short nx, short ny, short nz)
Short version ofNormal3f
.static void
glNormal3sv(short[] v)
Array version of:Normal3sv
static void
glNormal3sv(java.nio.ShortBuffer v)
Pointer version ofNormal3s
.static void
glNormalPointer(int type, int stride, long pointer)
Specifies the location and organization of a normal array.static void
glNormalPointer(int type, int stride, java.nio.ByteBuffer pointer)
Specifies the location and organization of a normal array.static void
glNormalPointer(int type, int stride, java.nio.FloatBuffer pointer)
Specifies the location and organization of a normal array.static void
glNormalPointer(int type, int stride, java.nio.IntBuffer pointer)
Specifies the location and organization of a normal array.static void
glNormalPointer(int type, int stride, java.nio.ShortBuffer pointer)
Specifies the location and organization of a normal array.static void
glOrtho(double l, double r, double b, double t, double n, double f)
Manipulates the current matrix with a matrix that produces parallel projection, in such a way that the coordinates(lb – n)T
and(rt – n)T
specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, respectively (assuming that the eye is located at(0 0 0)T
).static void
glPassThrough(float token)
Inserts a marker when the GL is in feeback mode.static void
glPixelMapfv(int map, float[] values)
Array version of:PixelMapfv
static void
glPixelMapfv(int map, int size, long values)
Sets a pixel map lookup table.static void
glPixelMapfv(int map, java.nio.FloatBuffer values)
Sets a pixel map lookup table.static void
glPixelMapuiv(int map, int[] values)
Array version of:PixelMapuiv
static void
glPixelMapuiv(int map, int size, long values)
Unsigned integer version ofPixelMapfv
.static void
glPixelMapuiv(int map, java.nio.IntBuffer values)
Unsigned integer version ofPixelMapfv
.static void
glPixelMapusv(int map, int size, long values)
Unsigned short version ofPixelMapfv
.static void
glPixelMapusv(int map, short[] values)
Array version of:PixelMapusv
static void
glPixelMapusv(int map, java.nio.ShortBuffer values)
Unsigned short version ofPixelMapfv
.static void
glPixelStoref(int pname, float param)
Float version ofPixelStorei
.static void
glPixelStorei(int pname, int param)
Sets the integer value of a pixel store parameter.static void
glPixelTransferf(int pname, float param)
Float version ofPixelTransferi
.static void
glPixelTransferi(int pname, int param)
Sets the integer value of a pixel transfer parameter.static void
glPixelZoom(float xfactor, float yfactor)
Controls the conversion of a group of fragments.static void
glPointSize(float size)
Controls the rasterization of points if no vertex, tessellation control, tessellation evaluation, or geometry shader is active.static void
glPolygonMode(int face, int mode)
Controls the interpretation of polygons for rasterization.static void
glPolygonOffset(float factor, float units)
The depth values of all fragments generated by the rasterization of a polygon may be offset by a single value that is computed for that polygon.static void
glPolygonStipple(long pattern)
Defines a polygon stipple.static void
glPolygonStipple(java.nio.ByteBuffer pattern)
Defines a polygon stipple.static void
glPopAttrib()
Resets the values of those state variables that were saved with the lastPushAttrib
.static void
glPopClientAttrib()
Resets the values of those state variables that were saved with the lastPushClientAttrib
.static void
glPopMatrix()
Pops the top entry off the current matrix stack, replacing the current matrix with the matrix that was the second entry in the stack.static void
glPopName()
Pops one name off the top of the selection name stack.static void
glPrioritizeTextures(int[] textures, float[] priorities)
Array version of:PrioritizeTextures
static void
glPrioritizeTextures(java.nio.IntBuffer textures, java.nio.FloatBuffer priorities)
Sets the priority of texture objects.static void
glPushAttrib(int mask)
Takes a bitwise OR of symbolic constants indicating which groups of state variables to push onto the server attribute stack.static void
glPushClientAttrib(int mask)
Takes a bitwise OR of symbolic constants indicating which groups of state variables to push onto the client attribute stack.static void
glPushMatrix()
Pushes the current matrix stack down by one, duplicating the current matrix in both the top of the stack and the entry below it.static void
glPushName(int name)
Causesname
to be pushed onto the selection name stack.static void
glRasterPos2d(double x, double y)
Double version ofRasterPos2i
.static void
glRasterPos2dv(double[] coords)
Array version of:RasterPos2dv
static void
glRasterPos2dv(java.nio.DoubleBuffer coords)
Pointer version ofRasterPos2d
.static void
glRasterPos2f(float x, float y)
Float version ofRasterPos2i
.static void
glRasterPos2fv(float[] coords)
Array version of:RasterPos2fv
static void
glRasterPos2fv(java.nio.FloatBuffer coords)
Pointer version ofRasterPos2f
.static void
glRasterPos2i(int x, int y)
Sets the two-dimensional current raster position.static void
glRasterPos2iv(int[] coords)
Array version of:RasterPos2iv
static void
glRasterPos2iv(java.nio.IntBuffer coords)
Pointer version ofRasterPos2i
.static void
glRasterPos2s(short x, short y)
Short version ofRasterPos2i
.static void
glRasterPos2sv(short[] coords)
Array version of:RasterPos2sv
static void
glRasterPos2sv(java.nio.ShortBuffer coords)
Pointer version ofRasterPos2s
.static void
glRasterPos3d(double x, double y, double z)
Double version ofRasterPos3i
.static void
glRasterPos3dv(double[] coords)
Array version of:RasterPos3dv
static void
glRasterPos3dv(java.nio.DoubleBuffer coords)
Pointer version ofRasterPos3d
.static void
glRasterPos3f(float x, float y, float z)
Float version ofRasterPos3i
.static void
glRasterPos3fv(float[] coords)
Array version of:RasterPos3fv
static void
glRasterPos3fv(java.nio.FloatBuffer coords)
Pointer version ofRasterPos3f
.static void
glRasterPos3i(int x, int y, int z)
Sets the three-dimensional current raster position.static void
glRasterPos3iv(int[] coords)
Array version of:RasterPos3iv
static void
glRasterPos3iv(java.nio.IntBuffer coords)
Pointer version ofRasterPos3i
.static void
glRasterPos3s(short x, short y, short z)
Short version ofRasterPos3i
.static void
glRasterPos3sv(short[] coords)
Array version of:RasterPos3sv
static void
glRasterPos3sv(java.nio.ShortBuffer coords)
Pointer version ofRasterPos3s
.static void
glRasterPos4d(double x, double y, double z, double w)
Double version ofRasterPos4i
.static void
glRasterPos4dv(double[] coords)
Array version of:RasterPos4dv
static void
glRasterPos4dv(java.nio.DoubleBuffer coords)
Pointer version ofRasterPos4d
.static void
glRasterPos4f(float x, float y, float z, float w)
Float version of RasterPos4i.static void
glRasterPos4fv(float[] coords)
Array version of:RasterPos4fv
static void
glRasterPos4fv(java.nio.FloatBuffer coords)
Pointer version ofRasterPos4f
.static void
glRasterPos4i(int x, int y, int z, int w)
Sets the four-dimensional current raster position.static void
glRasterPos4iv(int[] coords)
Array version of:RasterPos4iv
static void
glRasterPos4iv(java.nio.IntBuffer coords)
Pointer version ofRasterPos4i
.static void
glRasterPos4s(short x, short y, short z, short w)
Short version ofRasterPos4i
.static void
glRasterPos4sv(short[] coords)
Array version of:RasterPos4sv
static void
glRasterPos4sv(java.nio.ShortBuffer coords)
Pointer version ofRasterPos4s
.static void
glReadBuffer(int src)
Defines the color buffer from which values are obtained.static void
glReadPixels(int x, int y, int width, int height, int format, int type, float[] pixels)
Array version of:ReadPixels
static void
glReadPixels(int x, int y, int width, int height, int format, int type, int[] pixels)
Array version of:ReadPixels
static void
glReadPixels(int x, int y, int width, int height, int format, int type, long pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at(x + i, y + j)
for0 <= i < width
and0 <= j < height
; this pixel is said to be the ith pixel in the jth row.static void
glReadPixels(int x, int y, int width, int height, int format, int type, short[] pixels)
Array version of:ReadPixels
static void
glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.ByteBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at(x + i, y + j)
for0 <= i < width
and0 <= j < height
; this pixel is said to be the ith pixel in the jth row.static void
glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.FloatBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at(x + i, y + j)
for0 <= i < width
and0 <= j < height
; this pixel is said to be the ith pixel in the jth row.static void
glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.IntBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at(x + i, y + j)
for0 <= i < width
and0 <= j < height
; this pixel is said to be the ith pixel in the jth row.static void
glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.ShortBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at(x + i, y + j)
for0 <= i < width
and0 <= j < height
; this pixel is said to be the ith pixel in the jth row.static void
glRectd(double x1, double y1, double x2, double y2)
Double version ofRecti
.static void
glRectdv(double[] v1, double[] v2)
Array version of:Rectdv
static void
glRectdv(java.nio.DoubleBuffer v1, java.nio.DoubleBuffer v2)
Pointer version ofRectd
.static void
glRectf(float x1, float y1, float x2, float y2)
Float version ofRecti
.static void
glRectfv(float[] v1, float[] v2)
Array version of:Rectfv
static void
glRectfv(java.nio.FloatBuffer v1, java.nio.FloatBuffer v2)
Pointer version ofRectf
.static void
glRecti(int x1, int y1, int x2, int y2)
Specifies a rectangle as two corner vertices.static void
glRectiv(int[] v1, int[] v2)
Array version of:Rectiv
static void
glRectiv(java.nio.IntBuffer v1, java.nio.IntBuffer v2)
Pointer version ofRecti
.static void
glRects(short x1, short y1, short x2, short y2)
Short version ofRecti
.static void
glRectsv(short[] v1, short[] v2)
Array version of:Rectsv
static void
glRectsv(java.nio.ShortBuffer v1, java.nio.ShortBuffer v2)
Pointer version ofRects
.static int
glRenderMode(int mode)
Sets the current render mode.static void
glRotated(double angle, double x, double y, double z)
Double version ofRotatef
.static void
glRotatef(float angle, float x, float y, float z)
Manipulates the current matrix with a rotation matrix.static void
glScaled(double x, double y, double z)
Double version ofScalef
.static void
glScalef(float x, float y, float z)
Manipulates the current matrix with a general scaling matrix along the x-, y- and z- axes.static void
glScissor(int x, int y, int width, int height)
Defines the scissor rectangle for all viewports.static void
glSelectBuffer(int[] buffer)
Array version of:SelectBuffer
static void
glSelectBuffer(java.nio.IntBuffer buffer)
Sets the selection array.static void
glShadeModel(int mode)
Sets the current shade mode.static void
glStencilFunc(int func, int ref, int mask)
Controls the stencil test.static void
glStencilMask(int mask)
Masks the writing of particular bits into the stencil plans.static void
glStencilOp(int sfail, int dpfail, int dppass)
Indicates what happens to the stored stencil value if this or certain subsequent tests fail or pass.static void
glTexCoord1d(double s)
Double version ofTexCoord1f
.static void
glTexCoord1dv(double[] v)
Array version of:TexCoord1dv
static void
glTexCoord1dv(java.nio.DoubleBuffer v)
Pointer version ofTexCoord1d
.static void
glTexCoord1f(float s)
Sets the current one-dimensional texture coordinate.static void
glTexCoord1fv(float[] v)
Array version of:TexCoord1fv
static void
glTexCoord1fv(java.nio.FloatBuffer v)
Pointer version ofTexCoord1f
.static void
glTexCoord1i(int s)
Integer version ofTexCoord1f
.static void
glTexCoord1iv(int[] v)
Array version of:TexCoord1iv
static void
glTexCoord1iv(java.nio.IntBuffer v)
Pointer version ofTexCoord1i
.static void
glTexCoord1s(short s)
Short version ofTexCoord1f
.static void
glTexCoord1sv(short[] v)
Array version of:TexCoord1sv
static void
glTexCoord1sv(java.nio.ShortBuffer v)
Pointer version ofTexCoord1s
.static void
glTexCoord2d(double s, double t)
Double version ofTexCoord2f
.static void
glTexCoord2dv(double[] v)
Array version of:TexCoord2dv
static void
glTexCoord2dv(java.nio.DoubleBuffer v)
Pointer version ofTexCoord2d
.static void
glTexCoord2f(float s, float t)
Sets the current two-dimensional texture coordinate.static void
glTexCoord2fv(float[] v)
Array version of:TexCoord2fv
static void
glTexCoord2fv(java.nio.FloatBuffer v)
Pointer version ofTexCoord2f
.static void
glTexCoord2i(int s, int t)
Integer version ofTexCoord2f
.static void
glTexCoord2iv(int[] v)
Array version of:TexCoord2iv
static void
glTexCoord2iv(java.nio.IntBuffer v)
Pointer version ofTexCoord2i
.static void
glTexCoord2s(short s, short t)
Short version ofTexCoord2f
.static void
glTexCoord2sv(short[] v)
Array version of:TexCoord2sv
static void
glTexCoord2sv(java.nio.ShortBuffer v)
Pointer version ofTexCoord2s
.static void
glTexCoord3d(double s, double t, double r)
Double version ofTexCoord3f
.static void
glTexCoord3dv(double[] v)
Array version of:TexCoord3dv
static void
glTexCoord3dv(java.nio.DoubleBuffer v)
Pointer version ofTexCoord3d
.static void
glTexCoord3f(float s, float t, float r)
Sets the current three-dimensional texture coordinate.static void
glTexCoord3fv(float[] v)
Array version of:TexCoord3fv
static void
glTexCoord3fv(java.nio.FloatBuffer v)
Pointer version ofTexCoord3f
.static void
glTexCoord3i(int s, int t, int r)
Integer version ofTexCoord3f
.static void
glTexCoord3iv(int[] v)
Array version of:TexCoord3iv
static void
glTexCoord3iv(java.nio.IntBuffer v)
Pointer version ofTexCoord3i
.static void
glTexCoord3s(short s, short t, short r)
Short version ofTexCoord3f
.static void
glTexCoord3sv(short[] v)
Array version of:TexCoord3sv
static void
glTexCoord3sv(java.nio.ShortBuffer v)
Pointer version ofTexCoord3s
.static void
glTexCoord4d(double s, double t, double r, double q)
Double version ofTexCoord4f
.static void
glTexCoord4dv(double[] v)
Array version of:TexCoord4dv
static void
glTexCoord4dv(java.nio.DoubleBuffer v)
Pointer version ofTexCoord4d
.static void
glTexCoord4f(float s, float t, float r, float q)
Sets the current four-dimensional texture coordinate.static void
glTexCoord4fv(float[] v)
Array version of:TexCoord4fv
static void
glTexCoord4fv(java.nio.FloatBuffer v)
Pointer version ofTexCoord4f
.static void
glTexCoord4i(int s, int t, int r, int q)
Integer version ofTexCoord4f
.static void
glTexCoord4iv(int[] v)
Array version of:TexCoord4iv
static void
glTexCoord4iv(java.nio.IntBuffer v)
Pointer version ofTexCoord4i
.static void
glTexCoord4s(short s, short t, short r, short q)
Short version ofTexCoord4f
.static void
glTexCoord4sv(short[] v)
Array version of:TexCoord4sv
static void
glTexCoord4sv(java.nio.ShortBuffer v)
Pointer version ofTexCoord4s
.static void
glTexCoordPointer(int size, int type, int stride, long pointer)
Specifies the location and organization of a texture coordinate array.static void
glTexCoordPointer(int size, int type, int stride, java.nio.ByteBuffer pointer)
Specifies the location and organization of a texture coordinate array.static void
glTexCoordPointer(int size, int type, int stride, java.nio.FloatBuffer pointer)
Specifies the location and organization of a texture coordinate array.static void
glTexCoordPointer(int size, int type, int stride, java.nio.IntBuffer pointer)
Specifies the location and organization of a texture coordinate array.static void
glTexCoordPointer(int size, int type, int stride, java.nio.ShortBuffer pointer)
Specifies the location and organization of a texture coordinate array.static void
glTexEnvf(int target, int pname, float param)
Float version ofTexEnvi
.static void
glTexEnvfv(int target, int pname, float[] params)
Array version of:TexEnvfv
static void
glTexEnvfv(int target, int pname, java.nio.FloatBuffer params)
Pointer version ofTexEnvf
.static void
glTexEnvi(int target, int pname, int param)
Sets parameters of the texture environment that specifies how texture values are interpreted when texturing a fragment, or sets per-texture-unit filtering parameters.static void
glTexEnviv(int target, int pname, int[] params)
Array version of:TexEnviv
static void
glTexEnviv(int target, int pname, java.nio.IntBuffer params)
Pointer version ofTexEnvi
.static void
glTexGend(int coord, int pname, double param)
Double version ofTexGeni
.static void
glTexGendv(int coord, int pname, double[] params)
Array version of:TexGendv
static void
glTexGendv(int coord, int pname, java.nio.DoubleBuffer params)
Pointer version ofTexGend
.static void
glTexGenf(int coord, int pname, float param)
Float version ofTexGeni
.static void
glTexGenfv(int coord, int pname, float[] params)
Array version of:TexGenfv
static void
glTexGenfv(int coord, int pname, java.nio.FloatBuffer params)
Pointer version ofTexGenf
.static void
glTexGeni(int coord, int pname, int param)
Sets an integer texture coordinate generation parameter.static void
glTexGeniv(int coord, int pname, int[] params)
Array version of:TexGeniv
static void
glTexGeniv(int coord, int pname, java.nio.IntBuffer params)
Pointer version ofTexGeni
.static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, double[] pixels)
Array version of:TexImage1D
static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, float[] pixels)
Array version of:TexImage1D
static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, int[] pixels)
Array version of:TexImage1D
static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, long pixels)
One-dimensional version ofTexImage2D
}.static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, short[] pixels)
Array version of:TexImage1D
static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, java.nio.ByteBuffer pixels)
One-dimensional version ofTexImage2D
}.static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, java.nio.DoubleBuffer pixels)
One-dimensional version ofTexImage2D
}.static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, java.nio.FloatBuffer pixels)
One-dimensional version ofTexImage2D
}.static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, java.nio.IntBuffer pixels)
One-dimensional version ofTexImage2D
}.static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, java.nio.ShortBuffer pixels)
One-dimensional version ofTexImage2D
}.static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, double[] pixels)
Array version of:TexImage2D
static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, float[] pixels)
Array version of:TexImage2D
static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, int[] pixels)
Array version of:TexImage2D
static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, long pixels)
Specifies a two-dimensional texture image.static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, short[] pixels)
Array version of:TexImage2D
static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.ByteBuffer pixels)
Specifies a two-dimensional texture image.static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.DoubleBuffer pixels)
Specifies a two-dimensional texture image.static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.FloatBuffer pixels)
Specifies a two-dimensional texture image.static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.IntBuffer pixels)
Specifies a two-dimensional texture image.static void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.ShortBuffer pixels)
Specifies a two-dimensional texture image.static void
glTexParameterf(int target, int pname, float param)
Float version ofTexParameteri
.static void
glTexParameterfv(int target, int pname, float[] params)
Array version of:TexParameterfv
static void
glTexParameterfv(int target, int pname, java.nio.FloatBuffer params)
Pointer version ofTexParameterf
.static void
glTexParameteri(int target, int pname, int param)
Sets the integer value of a texture parameter, which controls how the texel array is treated when specified or changed, and when applied to a fragment.static void
glTexParameteriv(int target, int pname, int[] params)
Array version of:TexParameteriv
static void
glTexParameteriv(int target, int pname, java.nio.IntBuffer params)
Pointer version ofTexParameteri
.static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, double[] pixels)
Array version of:TexSubImage1D
static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, float[] pixels)
Array version of:TexSubImage1D
static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, int[] pixels)
Array version of:TexSubImage1D
static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, long pixels)
One-dimensional version ofTexSubImage2D
.static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, short[] pixels)
Array version of:TexSubImage1D
static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.ByteBuffer pixels)
One-dimensional version ofTexSubImage2D
.static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.DoubleBuffer pixels)
One-dimensional version ofTexSubImage2D
.static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.FloatBuffer pixels)
One-dimensional version ofTexSubImage2D
.static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.IntBuffer pixels)
One-dimensional version ofTexSubImage2D
.static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.ShortBuffer pixels)
One-dimensional version ofTexSubImage2D
.static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, double[] pixels)
Array version of:TexSubImage2D
static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels)
Array version of:TexSubImage2D
static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels)
Array version of:TexSubImage2D
static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels)
Respecifies a rectangular subregion of an existing texel array.static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels)
Array version of:TexSubImage2D
static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ByteBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.DoubleBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.FloatBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.IntBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.static void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ShortBuffer pixels)
Respecifies a rectangular subregion of an existing texel array.static void
glTranslated(double x, double y, double z)
Double version ofTranslatef
.static void
glTranslatef(float x, float y, float z)
Manipulates the current matrix with a translation matrix along the x-, y- and z- axes.static void
glVertex2d(double x, double y)
Double version ofVertex2f
.static void
glVertex2dv(double[] coords)
Array version of:Vertex2dv
static void
glVertex2dv(java.nio.DoubleBuffer coords)
Pointer version ofVertex2d
.static void
glVertex2f(float x, float y)
static void
glVertex2fv(float[] coords)
Array version of:Vertex2fv
static void
glVertex2fv(java.nio.FloatBuffer coords)
Pointer version ofVertex2f
.static void
glVertex2i(int x, int y)
Integer version ofVertex2f
.static void
glVertex2iv(int[] coords)
Array version of:Vertex2iv
static void
glVertex2iv(java.nio.IntBuffer coords)
Pointer version ofVertex2i
.static void
glVertex2s(short x, short y)
Short version ofVertex2f
.static void
glVertex2sv(short[] coords)
Array version of:Vertex2sv
static void
glVertex2sv(java.nio.ShortBuffer coords)
Pointer version ofVertex2s
.static void
glVertex3d(double x, double y, double z)
Double version ofVertex3f
.static void
glVertex3dv(double[] coords)
Array version of:Vertex3dv
static void
glVertex3dv(java.nio.DoubleBuffer coords)
Pointer version ofVertex3d
.static void
glVertex3f(float x, float y, float z)
static void
glVertex3fv(float[] coords)
Array version of:Vertex3fv
static void
glVertex3fv(java.nio.FloatBuffer coords)
Pointer version ofVertex3f
.static void
glVertex3i(int x, int y, int z)
Integer version ofVertex3f
.static void
glVertex3iv(int[] coords)
Array version of:Vertex3iv
static void
glVertex3iv(java.nio.IntBuffer coords)
Pointer version ofVertex3i
.static void
glVertex3s(short x, short y, short z)
Short version ofVertex3f
.static void
glVertex3sv(short[] coords)
Array version of:Vertex3sv
static void
glVertex3sv(java.nio.ShortBuffer coords)
Pointer version ofVertex3s
.static void
glVertex4d(double x, double y, double z, double w)
Double version ofVertex4f
.static void
glVertex4dv(double[] coords)
Array version of:Vertex4dv
static void
glVertex4dv(java.nio.DoubleBuffer coords)
Pointer version ofVertex4d
.static void
glVertex4f(float x, float y, float z, float w)
static void
glVertex4fv(float[] coords)
Array version of:Vertex4fv
static void
glVertex4fv(java.nio.FloatBuffer coords)
Pointer version ofVertex4f
.static void
glVertex4i(int x, int y, int z, int w)
Integer version ofVertex4f
.static void
glVertex4iv(int[] coords)
Array version of:Vertex4iv
static void
glVertex4iv(java.nio.IntBuffer coords)
Pointer version ofVertex4i
.static void
glVertex4s(short x, short y, short z, short w)
Short version ofVertex4f
.static void
glVertex4sv(short[] coords)
Array version of:Vertex4sv
static void
glVertex4sv(java.nio.ShortBuffer coords)
Pointer version ofVertex4s
.static void
glVertexPointer(int size, int type, int stride, long pointer)
Specifies the location and organization of a vertex array.static void
glVertexPointer(int size, int type, int stride, java.nio.ByteBuffer pointer)
Specifies the location and organization of a vertex array.static void
glVertexPointer(int size, int type, int stride, java.nio.FloatBuffer pointer)
Specifies the location and organization of a vertex array.static void
glVertexPointer(int size, int type, int stride, java.nio.IntBuffer pointer)
Specifies the location and organization of a vertex array.static void
glVertexPointer(int size, int type, int stride, java.nio.ShortBuffer pointer)
Specifies the location and organization of a vertex array.static void
glViewport(int x, int y, int w, int h)
Specifies the viewport transformation parameters for all viewports.static boolean
nglAreTexturesResident(int n, long textures, long residences)
Unsafe version of:AreTexturesResident
static void
nglBitmap(int w, int h, float xOrig, float yOrig, float xInc, float yInc, long data)
Unsafe version of:Bitmap
static void
nglCallLists(int n, int type, long lists)
Unsafe version of:CallLists
static void
nglClipPlane(int plane, long equation)
Unsafe version of:ClipPlane
static void
nglColor3bv(long v)
Unsafe version of:Color3bv
static void
nglColor3dv(long v)
Unsafe version of:Color3dv
static void
nglColor3fv(long v)
Unsafe version of:Color3fv
static void
nglColor3iv(long v)
Unsafe version of:Color3iv
static void
nglColor3sv(long v)
Unsafe version of:Color3sv
static void
nglColor3ubv(long v)
Unsafe version of:Color3ubv
static void
nglColor3uiv(long v)
Unsafe version of:Color3uiv
static void
nglColor3usv(long v)
Unsafe version of:Color3usv
static void
nglColor4bv(long v)
Unsafe version of:Color4bv
static void
nglColor4dv(long v)
Unsafe version of:Color4dv
static void
nglColor4fv(long v)
Unsafe version of:Color4fv
static void
nglColor4iv(long v)
Unsafe version of:Color4iv
static void
nglColor4sv(long v)
Unsafe version of:Color4sv
static void
nglColor4ubv(long v)
Unsafe version of:Color4ubv
static void
nglColor4uiv(long v)
Unsafe version of:Color4uiv
static void
nglColor4usv(long v)
Unsafe version of:Color4usv
static void
nglColorPointer(int size, int type, int stride, long pointer)
Unsafe version of:ColorPointer
static void
nglDeleteTextures(int n, long textures)
Unsafe version of:DeleteTextures
static void
nglDrawElements(int mode, int count, int type, long indices)
Unsafe version of:DrawElements
static void
nglDrawPixels(int width, int height, int format, int type, long pixels)
Unsafe version of:DrawPixels
static void
nglEdgeFlagPointer(int stride, long pointer)
Unsafe version of:EdgeFlagPointer
static void
nglEdgeFlagv(long flag)
Unsafe version of:EdgeFlagv
static void
nglEvalCoord1dv(long u)
Unsafe version of:EvalCoord1dv
static void
nglEvalCoord1fv(long u)
Unsafe version of:EvalCoord1fv
static void
nglEvalCoord2dv(long u)
Unsafe version of:EvalCoord2dv
static void
nglEvalCoord2fv(long u)
Unsafe version of:EvalCoord2fv
static void
nglFeedbackBuffer(int size, int type, long buffer)
Unsafe version of:FeedbackBuffer
static void
nglFogfv(int pname, long params)
Unsafe version of:Fogfv
static void
nglFogiv(int pname, long params)
Unsafe version of:Fogiv
static void
nglGenTextures(int n, long textures)
Unsafe version of:GenTextures
static void
nglGetBooleanv(int pname, long params)
Unsafe version of:GetBooleanv
static void
nglGetClipPlane(int plane, long equation)
Unsafe version of:GetClipPlane
static void
nglGetDoublev(int pname, long params)
Unsafe version of:GetDoublev
static void
nglGetFloatv(int pname, long params)
Unsafe version of:GetFloatv
static void
nglGetIntegerv(int pname, long params)
Unsafe version of:GetIntegerv
static void
nglGetLightfv(int light, int pname, long data)
Unsafe version of:GetLightfv
static void
nglGetLightiv(int light, int pname, long data)
Unsafe version of:GetLightiv
static void
nglGetMapdv(int target, int query, long data)
Unsafe version of:GetMapdv
static void
nglGetMapfv(int target, int query, long data)
Unsafe version of:GetMapfv
static void
nglGetMapiv(int target, int query, long data)
Unsafe version of:GetMapiv
static void
nglGetMaterialfv(int face, int pname, long data)
Unsafe version of:GetMaterialfv
static void
nglGetMaterialiv(int face, int pname, long data)
Unsafe version of:GetMaterialiv
static void
nglGetPixelMapfv(int map, long data)
Unsafe version of:GetPixelMapfv
static void
nglGetPixelMapuiv(int map, long data)
Unsafe version of:GetPixelMapuiv
static void
nglGetPixelMapusv(int map, long data)
Unsafe version of:GetPixelMapusv
static void
nglGetPointerv(int pname, long params)
Unsafe version of:GetPointerv
static void
nglGetPolygonStipple(long pattern)
Unsafe version of:GetPolygonStipple
static long
nglGetString(int name)
Unsafe version of:GetString
static void
nglGetTexEnvfv(int env, int pname, long data)
Unsafe version of:GetTexEnvfv
static void
nglGetTexEnviv(int env, int pname, long data)
Unsafe version of:GetTexEnviv
static void
nglGetTexGendv(int coord, int pname, long data)
Unsafe version of:GetTexGendv
static void
nglGetTexGenfv(int coord, int pname, long data)
Unsafe version of:GetTexGenfv
static void
nglGetTexGeniv(int coord, int pname, long data)
Unsafe version of:GetTexGeniv
static void
nglGetTexImage(int tex, int level, int format, int type, long pixels)
Unsafe version of:GetTexImage
static void
nglGetTexLevelParameterfv(int target, int level, int pname, long params)
Unsafe version of:GetTexLevelParameterfv
static void
nglGetTexLevelParameteriv(int target, int level, int pname, long params)
Unsafe version of:GetTexLevelParameteriv
static void
nglGetTexParameterfv(int target, int pname, long params)
Unsafe version of:GetTexParameterfv
static void
nglGetTexParameteriv(int target, int pname, long params)
Unsafe version of:GetTexParameteriv
static void
nglIndexdv(long index)
Unsafe version of:Indexdv
static void
nglIndexfv(long index)
Unsafe version of:Indexfv
static void
nglIndexiv(long index)
Unsafe version of:Indexiv
static void
nglIndexPointer(int type, int stride, long pointer)
Unsafe version of:IndexPointer
static void
nglIndexsv(long index)
Unsafe version of:Indexsv
static void
nglIndexubv(long index)
Unsafe version of:Indexubv
static void
nglInterleavedArrays(int format, int stride, long pointer)
Unsafe version of:InterleavedArrays
static void
nglLightfv(int light, int pname, long params)
Unsafe version of:Lightfv
static void
nglLightiv(int light, int pname, long params)
Unsafe version of:Lightiv
static void
nglLightModelfv(int pname, long params)
Unsafe version of:LightModelfv
static void
nglLightModeliv(int pname, long params)
Unsafe version of:LightModeliv
static void
nglLoadMatrixd(long m)
Unsafe version of:LoadMatrixd
static void
nglLoadMatrixf(long m)
Unsafe version of:LoadMatrixf
static void
nglMap1d(int target, double u1, double u2, int stride, int order, long points)
Unsafe version of:Map1d
static void
nglMap1f(int target, float u1, float u2, int stride, int order, long points)
Unsafe version of:Map1f
static void
nglMap2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, long points)
Unsafe version of:Map2d
static void
nglMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, long points)
Unsafe version of:Map2f
static void
nglMaterialfv(int face, int pname, long params)
Unsafe version of:Materialfv
static void
nglMaterialiv(int face, int pname, long params)
Unsafe version of:Materialiv
static void
nglMultMatrixd(long m)
Unsafe version of:MultMatrixd
static void
nglMultMatrixf(long m)
Unsafe version of:MultMatrixf
static void
nglNormal3bv(long v)
Unsafe version of:Normal3bv
static void
nglNormal3dv(long v)
Unsafe version of:Normal3dv
static void
nglNormal3fv(long v)
Unsafe version of:Normal3fv
static void
nglNormal3iv(long v)
Unsafe version of:Normal3iv
static void
nglNormal3sv(long v)
Unsafe version of:Normal3sv
static void
nglNormalPointer(int type, int stride, long pointer)
Unsafe version of:NormalPointer
static void
nglPixelMapfv(int map, int size, long values)
Unsafe version of:PixelMapfv
static void
nglPixelMapuiv(int map, int size, long values)
Unsafe version of:PixelMapuiv
static void
nglPixelMapusv(int map, int size, long values)
Unsafe version of:PixelMapusv
static void
nglPolygonStipple(long pattern)
Unsafe version of:PolygonStipple
static void
nglPrioritizeTextures(int n, long textures, long priorities)
Unsafe version of:PrioritizeTextures
static void
nglRasterPos2dv(long coords)
Unsafe version of:RasterPos2dv
static void
nglRasterPos2fv(long coords)
Unsafe version of:RasterPos2fv
static void
nglRasterPos2iv(long coords)
Unsafe version of:RasterPos2iv
static void
nglRasterPos2sv(long coords)
Unsafe version of:RasterPos2sv
static void
nglRasterPos3dv(long coords)
Unsafe version of:RasterPos3dv
static void
nglRasterPos3fv(long coords)
Unsafe version of:RasterPos3fv
static void
nglRasterPos3iv(long coords)
Unsafe version of:RasterPos3iv
static void
nglRasterPos3sv(long coords)
Unsafe version of:RasterPos3sv
static void
nglRasterPos4dv(long coords)
Unsafe version of:RasterPos4dv
static void
nglRasterPos4fv(long coords)
Unsafe version of:RasterPos4fv
static void
nglRasterPos4iv(long coords)
Unsafe version of:RasterPos4iv
static void
nglRasterPos4sv(long coords)
Unsafe version of:RasterPos4sv
static void
nglReadPixels(int x, int y, int width, int height, int format, int type, long pixels)
Unsafe version of:ReadPixels
static void
nglRectdv(long v1, long v2)
Unsafe version of:Rectdv
static void
nglRectfv(long v1, long v2)
Unsafe version of:Rectfv
static void
nglRectiv(long v1, long v2)
Unsafe version of:Rectiv
static void
nglRectsv(long v1, long v2)
Unsafe version of:Rectsv
static void
nglSelectBuffer(int size, long buffer)
Unsafe version of:SelectBuffer
static void
nglTexCoord1dv(long v)
Unsafe version of:TexCoord1dv
static void
nglTexCoord1fv(long v)
Unsafe version of:TexCoord1fv
static void
nglTexCoord1iv(long v)
Unsafe version of:TexCoord1iv
static void
nglTexCoord1sv(long v)
Unsafe version of:TexCoord1sv
static void
nglTexCoord2dv(long v)
Unsafe version of:TexCoord2dv
static void
nglTexCoord2fv(long v)
Unsafe version of:TexCoord2fv
static void
nglTexCoord2iv(long v)
Unsafe version of:TexCoord2iv
static void
nglTexCoord2sv(long v)
Unsafe version of:TexCoord2sv
static void
nglTexCoord3dv(long v)
Unsafe version of:TexCoord3dv
static void
nglTexCoord3fv(long v)
Unsafe version of:TexCoord3fv
static void
nglTexCoord3iv(long v)
Unsafe version of:TexCoord3iv
static void
nglTexCoord3sv(long v)
Unsafe version of:TexCoord3sv
static void
nglTexCoord4dv(long v)
Unsafe version of:TexCoord4dv
static void
nglTexCoord4fv(long v)
Unsafe version of:TexCoord4fv
static void
nglTexCoord4iv(long v)
Unsafe version of:TexCoord4iv
static void
nglTexCoord4sv(long v)
Unsafe version of:TexCoord4sv
static void
nglTexCoordPointer(int size, int type, int stride, long pointer)
Unsafe version of:TexCoordPointer
static void
nglTexEnvfv(int target, int pname, long params)
Unsafe version of:TexEnvfv
static void
nglTexEnviv(int target, int pname, long params)
Unsafe version of:TexEnviv
static void
nglTexGendv(int coord, int pname, long params)
Unsafe version of:TexGendv
static void
nglTexGenfv(int coord, int pname, long params)
Unsafe version of:TexGenfv
static void
nglTexGeniv(int coord, int pname, long params)
Unsafe version of:TexGeniv
static void
nglTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, long pixels)
Unsafe version of:TexImage1D
static void
nglTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, long pixels)
Unsafe version of:TexImage2D
static void
nglTexParameterfv(int target, int pname, long params)
Unsafe version of:TexParameterfv
static void
nglTexParameteriv(int target, int pname, long params)
Unsafe version of:TexParameteriv
static void
nglTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, long pixels)
Unsafe version of:TexSubImage1D
static void
nglTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels)
Unsafe version of:TexSubImage2D
static void
nglVertex2dv(long coords)
Unsafe version of:Vertex2dv
static void
nglVertex2fv(long coords)
Unsafe version of:Vertex2fv
static void
nglVertex2iv(long coords)
Unsafe version of:Vertex2iv
static void
nglVertex2sv(long coords)
Unsafe version of:Vertex2sv
static void
nglVertex3dv(long coords)
Unsafe version of:Vertex3dv
static void
nglVertex3fv(long coords)
Unsafe version of:Vertex3fv
static void
nglVertex3iv(long coords)
Unsafe version of:Vertex3iv
static void
nglVertex3sv(long coords)
Unsafe version of:Vertex3sv
static void
nglVertex4dv(long coords)
Unsafe version of:Vertex4dv
static void
nglVertex4fv(long coords)
Unsafe version of:Vertex4fv
static void
nglVertex4iv(long coords)
Unsafe version of:Vertex4iv
static void
nglVertex4sv(long coords)
Unsafe version of:Vertex4sv
static void
nglVertexPointer(int size, int type, int stride, long pointer)
Unsafe version of:VertexPointer
-
-
-
Field Detail
-
GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, GL_ALWAYS
AlphaFunction
-
GL_CURRENT_BIT, GL_POINT_BIT, GL_LINE_BIT, GL_POLYGON_BIT, GL_POLYGON_STIPPLE_BIT, GL_PIXEL_MODE_BIT, GL_LIGHTING_BIT, GL_FOG_BIT, GL_DEPTH_BUFFER_BIT, GL_ACCUM_BUFFER_BIT, GL_STENCIL_BUFFER_BIT, GL_VIEWPORT_BIT, GL_TRANSFORM_BIT, GL_ENABLE_BIT, GL_COLOR_BUFFER_BIT, GL_HINT_BIT, GL_EVAL_BIT, GL_LIST_BIT, GL_TEXTURE_BIT, GL_SCISSOR_BIT, GL_ALL_ATTRIB_BITS
AttribMask
-
GL_POINTS, GL_LINES, GL_LINE_LOOP, GL_LINE_STRIP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS, GL_QUAD_STRIP, GL_POLYGON
BeginMode
-
GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA
BlendingFactorDest
-
GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA_SATURATE
BlendingFactorSrc
-
GL_CLIP_PLANE0, GL_CLIP_PLANE1, GL_CLIP_PLANE2, GL_CLIP_PLANE3, GL_CLIP_PLANE4, GL_CLIP_PLANE5
ClipPlaneName
-
GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, GL_4_BYTES, GL_DOUBLE
DataType
-
GL_NONE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_AND_BACK, GL_AUX0, GL_AUX1, GL_AUX2, GL_AUX3
DrawBufferMode
-
GL_NO_ERROR, GL_INVALID_ENUM, GL_INVALID_VALUE, GL_INVALID_OPERATION, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_OUT_OF_MEMORY
ErrorCode
-
GL_2D, GL_3D, GL_3D_COLOR, GL_3D_COLOR_TEXTURE, GL_4D_COLOR_TEXTURE
FeedBackMode
-
GL_PASS_THROUGH_TOKEN, GL_POINT_TOKEN, GL_LINE_TOKEN, GL_POLYGON_TOKEN, GL_BITMAP_TOKEN, GL_DRAW_PIXEL_TOKEN, GL_COPY_PIXEL_TOKEN, GL_LINE_RESET_TOKEN
FeedBackToken
-
GL_CURRENT_COLOR, GL_CURRENT_INDEX, GL_CURRENT_NORMAL, GL_CURRENT_TEXTURE_COORDS, GL_CURRENT_RASTER_COLOR, GL_CURRENT_RASTER_INDEX, GL_CURRENT_RASTER_TEXTURE_COORDS, GL_CURRENT_RASTER_POSITION, GL_CURRENT_RASTER_POSITION_VALID, GL_CURRENT_RASTER_DISTANCE, GL_POINT_SMOOTH, GL_POINT_SIZE, GL_POINT_SIZE_RANGE, GL_POINT_SIZE_GRANULARITY, GL_LINE_SMOOTH, GL_LINE_WIDTH, GL_LINE_WIDTH_RANGE, GL_LINE_WIDTH_GRANULARITY, GL_LINE_STIPPLE, GL_LINE_STIPPLE_PATTERN, GL_LINE_STIPPLE_REPEAT, GL_LIST_MODE, GL_MAX_LIST_NESTING, GL_LIST_BASE, GL_LIST_INDEX, GL_POLYGON_MODE, GL_POLYGON_SMOOTH, GL_POLYGON_STIPPLE, GL_EDGE_FLAG, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_FRONT_FACE, GL_LIGHTING, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHT_MODEL_AMBIENT, GL_SHADE_MODEL, GL_COLOR_MATERIAL_FACE, GL_COLOR_MATERIAL_PARAMETER, GL_COLOR_MATERIAL, GL_FOG, GL_FOG_INDEX, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_MODE, GL_FOG_COLOR, GL_DEPTH_RANGE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_FUNC, GL_ACCUM_CLEAR_VALUE, GL_STENCIL_TEST, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FUNC, GL_STENCIL_VALUE_MASK, GL_STENCIL_FAIL, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_WRITEMASK, GL_MATRIX_MODE, GL_NORMALIZE, GL_VIEWPORT, GL_MODELVIEW_STACK_DEPTH, GL_PROJECTION_STACK_DEPTH, GL_TEXTURE_STACK_DEPTH, GL_MODELVIEW_MATRIX, GL_PROJECTION_MATRIX, GL_TEXTURE_MATRIX, GL_ATTRIB_STACK_DEPTH, GL_CLIENT_ATTRIB_STACK_DEPTH, GL_ALPHA_TEST, GL_ALPHA_TEST_FUNC, GL_ALPHA_TEST_REF, GL_DITHER, GL_BLEND_DST, GL_BLEND_SRC, GL_BLEND, GL_LOGIC_OP_MODE, GL_INDEX_LOGIC_OP, GL_LOGIC_OP, GL_COLOR_LOGIC_OP, GL_AUX_BUFFERS, GL_DRAW_BUFFER, GL_READ_BUFFER, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_INDEX_CLEAR_VALUE, GL_INDEX_WRITEMASK, GL_COLOR_CLEAR_VALUE, GL_COLOR_WRITEMASK, GL_INDEX_MODE, GL_RGBA_MODE, GL_DOUBLEBUFFER, GL_STEREO, GL_RENDER_MODE, GL_PERSPECTIVE_CORRECTION_HINT, GL_POINT_SMOOTH_HINT, GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_FOG_HINT, GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_TEXTURE_GEN_R, GL_TEXTURE_GEN_Q, GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, GL_PIXEL_MAP_A_TO_A, GL_PIXEL_MAP_I_TO_I_SIZE, GL_PIXEL_MAP_S_TO_S_SIZE, GL_PIXEL_MAP_I_TO_R_SIZE, GL_PIXEL_MAP_I_TO_G_SIZE, GL_PIXEL_MAP_I_TO_B_SIZE, GL_PIXEL_MAP_I_TO_A_SIZE, GL_PIXEL_MAP_R_TO_R_SIZE, GL_PIXEL_MAP_G_TO_G_SIZE, GL_PIXEL_MAP_B_TO_B_SIZE, GL_PIXEL_MAP_A_TO_A_SIZE, GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_ALIGNMENT, GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_PIXELS, GL_PACK_ALIGNMENT, GL_MAP_COLOR, GL_MAP_STENCIL, GL_INDEX_SHIFT, GL_INDEX_OFFSET, GL_RED_SCALE, GL_RED_BIAS, GL_ZOOM_X, GL_ZOOM_Y, GL_GREEN_SCALE, GL_GREEN_BIAS, GL_BLUE_SCALE, GL_BLUE_BIAS, GL_ALPHA_SCALE, GL_ALPHA_BIAS, GL_DEPTH_SCALE, GL_DEPTH_BIAS, GL_MAX_EVAL_ORDER, GL_MAX_LIGHTS, GL_MAX_CLIP_PLANES, GL_MAX_TEXTURE_SIZE, GL_MAX_PIXEL_MAP_TABLE, GL_MAX_ATTRIB_STACK_DEPTH, GL_MAX_MODELVIEW_STACK_DEPTH, GL_MAX_NAME_STACK_DEPTH, GL_MAX_PROJECTION_STACK_DEPTH, GL_MAX_TEXTURE_STACK_DEPTH, GL_MAX_VIEWPORT_DIMS, GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, GL_SUBPIXEL_BITS, GL_INDEX_BITS, GL_RED_BITS, GL_GREEN_BITS, GL_BLUE_BITS, GL_ALPHA_BITS, GL_DEPTH_BITS, GL_STENCIL_BITS, GL_ACCUM_RED_BITS, GL_ACCUM_GREEN_BITS, GL_ACCUM_BLUE_BITS, GL_ACCUM_ALPHA_BITS, GL_NAME_STACK_DEPTH, GL_AUTO_NORMAL, GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP1_GRID_DOMAIN, GL_MAP1_GRID_SEGMENTS, GL_MAP2_GRID_DOMAIN, GL_MAP2_GRID_SEGMENTS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_FEEDBACK_BUFFER_POINTER, GL_FEEDBACK_BUFFER_SIZE, GL_FEEDBACK_BUFFER_TYPE, GL_SELECTION_BUFFER_POINTER, GL_SELECTION_BUFFER_SIZE
GetTarget
-
GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_COMPONENTS, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_BORDER
GetTextureParameter
-
GL_DONT_CARE, GL_FASTEST, GL_NICEST
HintMode
-
GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, GL_QUADRATIC_ATTENUATION
LightParameter
-
GL_COMPILE, GL_COMPILE_AND_EXECUTE
ListMode
-
GL_CLEAR, GL_AND, GL_AND_REVERSE, GL_COPY, GL_AND_INVERTED, GL_NOOP, GL_XOR, GL_OR, GL_NOR, GL_EQUIV, GL_INVERT, GL_OR_REVERSE, GL_COPY_INVERTED, GL_OR_INVERTED, GL_NAND, GL_SET
LogicOp
-
GL_EMISSION, GL_SHININESS, GL_AMBIENT_AND_DIFFUSE, GL_COLOR_INDEXES
MaterialParameter
-
GL_MODELVIEW, GL_PROJECTION, GL_TEXTURE
MatrixMode
-
GL_COLOR, GL_DEPTH, GL_STENCIL
PixelCopyType
-
GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_RGBA, GL_LUMINANCE, GL_LUMINANCE_ALPHA
PixelFormat
-
GL_BITMAP
PixelType
-
GL_RENDER, GL_FEEDBACK, GL_SELECT
RenderingMode
-
GL_KEEP, GL_REPLACE, GL_INCR, GL_DECR
StencilOp
-
GL_VENDOR, GL_RENDERER, GL_VERSION, GL_EXTENSIONS
StringName
-
GL_MODULATE, GL_DECAL
TextureEnvMode
-
GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR
TextureEnvParameter
-
GL_TEXTURE_ENV
TextureEnvTarget
-
GL_EYE_LINEAR, GL_OBJECT_LINEAR, GL_SPHERE_MAP
TextureGenMode
-
GL_TEXTURE_GEN_MODE, GL_OBJECT_PLANE, GL_EYE_PLANE
TextureGenParameter
-
GL_NEAREST, GL_LINEAR
TextureMagFilter
-
GL_NEAREST_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_LINEAR
TextureMinFilter
-
GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T
TextureParameterName
-
GL_CLIENT_PIXEL_STORE_BIT, GL_CLIENT_VERTEX_ARRAY_BIT, GL_CLIENT_ALL_ATTRIB_BITS
ClientAttribMask
-
GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_FILL
polygon_offset
-
GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D
texture
-
GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D
texture_object
-
GL_VERTEX_ARRAY, GL_NORMAL_ARRAY, GL_COLOR_ARRAY, GL_INDEX_ARRAY, GL_TEXTURE_COORD_ARRAY, GL_EDGE_FLAG_ARRAY, GL_VERTEX_ARRAY_SIZE, GL_VERTEX_ARRAY_TYPE, GL_VERTEX_ARRAY_STRIDE, GL_NORMAL_ARRAY_TYPE, GL_NORMAL_ARRAY_STRIDE, GL_COLOR_ARRAY_SIZE, GL_COLOR_ARRAY_TYPE, GL_COLOR_ARRAY_STRIDE, GL_INDEX_ARRAY_TYPE, GL_INDEX_ARRAY_STRIDE, GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_TYPE, GL_TEXTURE_COORD_ARRAY_STRIDE, GL_EDGE_FLAG_ARRAY_STRIDE, GL_VERTEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_COLOR_ARRAY_POINTER, GL_INDEX_ARRAY_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, GL_T4F_C4F_N3F_V4F
vertex_array
-
-
Method Detail
-
glEnable
public static void glEnable(int target)
Enables the specified OpenGL state.- Parameters:
target
- the OpenGL state to enable- See Also:
- Reference Page
-
glDisable
public static void glDisable(int target)
Disables the specified OpenGL state.- Parameters:
target
- the OpenGL state to disable- See Also:
- Reference Page
-
glAccum
public static void glAccum(int op, float value)
Each portion of a pixel in the accumulation buffer consists of four values: one for each of R, G, B, and A. The accumulation buffer is controlled exclusively through the use of this method (except for clearing it).
-
glAlphaFunc
public static void glAlphaFunc(int func, float ref)
The alpha test discards a fragment conditionally based on the outcome of a comparison between the incoming fragment’s alpha value and a constant value. The comparison is enabled or disabled with the genericEnable
andDisable
commands using the symbolic constantALPHA_TEST
. When disabled, it is as if the comparison always passes. The test is controlled with this method.- Parameters:
func
- a symbolic constant indicating the alpha test function. One of:NEVER
ALWAYS
LESS
LEQUAL
EQUAL
GEQUAL
GREATER
NOTEQUAL
ref
- a reference value clamped to the range [0, 1]. When performing the alpha test, the GL will convert the reference value to the same representation as the fragment's alpha value (floating-point or fixed-point).- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglAreTexturesResident
public static boolean nglAreTexturesResident(int n, long textures, long residences)
Unsafe version of:AreTexturesResident
- Parameters:
n
- the number of texture objects intextures
-
glAreTexturesResident
public static boolean glAreTexturesResident(java.nio.IntBuffer textures, java.nio.ByteBuffer residences)
ReturnsTRUE
if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set. If at least one of the texture objects named in textures is not resident, thenFALSE
is returned, and the residence of each texture object is returned in residences. Otherwise the contents of residences are not changed.- Parameters:
textures
- an array of texture objectsresidences
- returns the residences of each texture object- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glAreTexturesResident
public static boolean glAreTexturesResident(int texture, java.nio.ByteBuffer residences)
ReturnsTRUE
if all of the texture objects named in textures are resident, or if the implementation does not distinguish a working set. If at least one of the texture objects named in textures is not resident, thenFALSE
is returned, and the residence of each texture object is returned in residences. Otherwise the contents of residences are not changed.- Parameters:
residences
- returns the residences of each texture object- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glArrayElement
public static void glArrayElement(int i)
Transfers the ith element of every enabled, non-instanced array, and the first element of every enabled, instanced array to the GL.- Parameters:
i
- the element to transfer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glBegin
public static void glBegin(int mode)
Begins the definition of vertex attributes of a sequence of primitives to be transferred to the GL.- Parameters:
mode
- the primitive type being defined. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
POLYGON
QUADS
QUAD_STRIP
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glBindTexture
public static void glBindTexture(int target, int texture)
Binds the a texture to a texture target.While a texture object is bound, GL operations on the target to which it is bound affect the bound object, and queries of the target to which it is bound return state from the bound object. If texture mapping of the dimensionality of the target to which a texture object is bound is enabled, the state of the bound texture object directs the texturing operation.
- Parameters:
target
- the texture target. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
TEXTURE_BUFFER
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
texture
- the texture object to bind- See Also:
- Reference Page
-
nglBitmap
public static void nglBitmap(int w, int h, float xOrig, float yOrig, float xInc, float yInc, long data)
Unsafe version of:Bitmap
-
glBitmap
public static void glBitmap(int w, int h, float xOrig, float yOrig, float xInc, float yInc, @Nullable java.nio.ByteBuffer data) public static void glBitmap(int w, int h, float xOrig, float yOrig, float xInc, float yInc, @Nullable long data)
Sents a bitmap to the GL. Bitmaps are rectangles of zeros and ones specifying a particular pattern of fragments to be produced. Each of these fragments has the same associated data. These data are those associated with the current raster position.- Parameters:
w
- the bitmap widthh
- the bitmap widthxOrig
- the bitmap origin x coordinateyOrig
- the bitmap origin y coordinatexInc
- the x increment added to the raster positionyInc
- the y increment added to the raster positiondata
- the buffer containing the bitmap data.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glBlendFunc
public static void glBlendFunc(int sfactor, int dfactor)
Specifies the weighting factors used by the blend equation, for both RGB and alpha functions and for all draw buffers.- Parameters:
sfactor
- the source weighting factor. One of:dfactor
- the destination weighting factor- See Also:
- Reference Page
-
glCallList
public static void glCallList(int list)
Executes a display list. Causes the commands saved in the display list to be executed, in order, just as if they were issued without using a display list.- Parameters:
list
- the index of the display list to be called- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglCallLists
public static void nglCallLists(int n, int type, long lists)
Unsafe version of:CallLists
- Parameters:
n
- the number of display lists to be calledtype
- the data type of each element inlists
. One of:BYTE
UNSIGNED_BYTE
SHORT
UNSIGNED_SHORT
INT
UNSIGNED_INT
FLOAT
2_BYTES
3_BYTES
4_BYTES
-
glCallLists
public static void glCallLists(int type, java.nio.ByteBuffer lists)
Provides an efficient means for executing a number of display lists.- Parameters:
type
- the data type of each element inlists
. One of:BYTE
UNSIGNED_BYTE
SHORT
UNSIGNED_SHORT
INT
UNSIGNED_INT
FLOAT
2_BYTES
3_BYTES
4_BYTES
lists
- an array of offsets. Each offset is added to the display list base to obtain the display list number.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glCallLists
public static void glCallLists(java.nio.ByteBuffer lists) public static void glCallLists(java.nio.ShortBuffer lists) public static void glCallLists(java.nio.IntBuffer lists)
Provides an efficient means for executing a number of display lists.- Parameters:
lists
- an array of offsets. Each offset is added to the display list base to obtain the display list number.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glClear
public static void glClear(int mask)
Sets portions of every pixel in a particular buffer to the same value. The value to which each buffer is cleared depends on the setting of the clear value for that buffer.- Parameters:
mask
- Zero or the bitwise OR of one or more values indicating which buffers are to be cleared. One or more of:COLOR_BUFFER_BIT
DEPTH_BUFFER_BIT
STENCIL_BUFFER_BIT
- See Also:
- Reference Page
-
glClearAccum
public static void glClearAccum(float red, float green, float blue, float alpha)
Sets the clear values for the accumulation buffer. These values are clamped to the range [-1,1] when they are specified.- Parameters:
red
- the value to which to clear the R values of the accumulation buffergreen
- the value to which to clear the G values of the accumulation bufferblue
- the value to which to clear the B values of the accumulation bufferalpha
- the value to which to clear the A values of the accumulation buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glClearColor
public static void glClearColor(float red, float green, float blue, float alpha)
Sets the clear value for fixed-point and floating-point color buffers in RGBA mode. The specified components are stored as floating-point values.- Parameters:
red
- the value to which to clear the R channel of the color buffergreen
- the value to which to clear the G channel of the color bufferblue
- the value to which to clear the B channel of the color bufferalpha
- the value to which to clear the A channel of the color buffer- See Also:
- Reference Page
-
glClearDepth
public static void glClearDepth(double depth)
Sets the depth value used when clearing the depth buffer. When clearing a fixedpoint depth buffer,depth
is clamped to the range [0,1] and converted to fixed-point. No conversion is applied when clearing a floating-point depth buffer.- Parameters:
depth
- the value to which to clear the depth buffer- See Also:
- Reference Page
-
glClearIndex
public static void glClearIndex(float index)
sets the clear color index. index is converted to a fixed-point value with unspecified precision to the left of the binary point; the integer part of this value is then masked with2m – 1
, wherem
is the number of bits in a color index value stored in the framebuffer.- Parameters:
index
- the value to which to clear the color buffer in color index mode- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glClearStencil
public static void glClearStencil(int s)
Sets the value to which to clear the stencil buffer.s
is masked to the number of bitplanes in the stencil buffer.- Parameters:
s
- the value to which to clear the stencil buffer- See Also:
- Reference Page
-
nglClipPlane
public static void nglClipPlane(int plane, long equation)
Unsafe version of:ClipPlane
-
glClipPlane
public static void glClipPlane(int plane, java.nio.DoubleBuffer equation)
Specifies a client-defined clip plane.The value of the first argument,
plane
, is a symbolic constant, CLIP_PLANEi, where i is an integer between 0 and n – 1, indicating one of n client-defined clip planes.equation
is an array of four double-precision floating-point values. These are the coefficients of a plane equation in object coordinates: p1, p2, p3, and p4 (in that order).- Parameters:
plane
- the clip plane to defineequation
- the clip plane coefficients- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3b
public static void glColor3b(byte red, byte green, byte blue)
Sets the R, G, and B components of the current color. The alpha component is set to 1.0.- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3s
public static void glColor3s(short red, short green, short blue)
Short version ofColor3b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3i
public static void glColor3i(int red, int green, int blue)
Integer version ofColor3b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3f
public static void glColor3f(float red, float green, float blue)
Float version ofColor3b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3d
public static void glColor3d(double red, double green, double blue)
Double version ofColor3b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3ub
public static void glColor3ub(byte red, byte green, byte blue)
Unsigned version ofColor3b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3us
public static void glColor3us(short red, short green, short blue)
Unsigned short version ofColor3b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3ui
public static void glColor3ui(int red, int green, int blue)
Unsigned int version ofColor3b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor3bv
public static void nglColor3bv(long v)
Unsafe version of:Color3bv
-
glColor3bv
public static void glColor3bv(java.nio.ByteBuffer v)
Byte pointer version ofColor3b
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor3sv
public static void nglColor3sv(long v)
Unsafe version of:Color3sv
-
glColor3sv
public static void glColor3sv(java.nio.ShortBuffer v)
Pointer version ofColor3s
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor3iv
public static void nglColor3iv(long v)
Unsafe version of:Color3iv
-
glColor3iv
public static void glColor3iv(java.nio.IntBuffer v)
Pointer version ofColor3i
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor3fv
public static void nglColor3fv(long v)
Unsafe version of:Color3fv
-
glColor3fv
public static void glColor3fv(java.nio.FloatBuffer v)
Pointer version ofColor3f
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor3dv
public static void nglColor3dv(long v)
Unsafe version of:Color3dv
-
glColor3dv
public static void glColor3dv(java.nio.DoubleBuffer v)
Pointer version ofColor3d
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor3ubv
public static void nglColor3ubv(long v)
Unsafe version of:Color3ubv
-
glColor3ubv
public static void glColor3ubv(java.nio.ByteBuffer v)
Pointer version ofColor3ub
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor3usv
public static void nglColor3usv(long v)
Unsafe version of:Color3usv
-
glColor3usv
public static void glColor3usv(java.nio.ShortBuffer v)
Pointer version ofColor3us
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor3uiv
public static void nglColor3uiv(long v)
Unsafe version of:Color3uiv
-
glColor3uiv
public static void glColor3uiv(java.nio.IntBuffer v)
Pointer version ofColor3ui
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4b
public static void glColor4b(byte red, byte green, byte blue, byte alpha)
Sets the current color.- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current coloralpha
- the alpha component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4s
public static void glColor4s(short red, short green, short blue, short alpha)
Short version ofColor4b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current coloralpha
- the alpha component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4i
public static void glColor4i(int red, int green, int blue, int alpha)
Integer version ofColor4b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current coloralpha
- the alpha component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4f
public static void glColor4f(float red, float green, float blue, float alpha)
Float version ofColor4b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current coloralpha
- the alpha component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4d
public static void glColor4d(double red, double green, double blue, double alpha)
Double version ofColor4b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current coloralpha
- the alpha component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4ub
public static void glColor4ub(byte red, byte green, byte blue, byte alpha)
Unsigned version ofColor4b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current coloralpha
- the alpha component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4us
public static void glColor4us(short red, short green, short blue, short alpha)
Unsigned short version ofColor4b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current coloralpha
- the alpha component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4ui
public static void glColor4ui(int red, int green, int blue, int alpha)
Unsigned int version ofColor4b
- Parameters:
red
- the red component of the current colorgreen
- the green component of the current colorblue
- the blue component of the current coloralpha
- the alpha component of the current color- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor4bv
public static void nglColor4bv(long v)
Unsafe version of:Color4bv
-
glColor4bv
public static void glColor4bv(java.nio.ByteBuffer v)
Pointer version ofColor4b
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor4sv
public static void nglColor4sv(long v)
Unsafe version of:Color4sv
-
glColor4sv
public static void glColor4sv(java.nio.ShortBuffer v)
Pointer version ofColor4s
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor4iv
public static void nglColor4iv(long v)
Unsafe version of:Color4iv
-
glColor4iv
public static void glColor4iv(java.nio.IntBuffer v)
Pointer version ofColor4i
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor4fv
public static void nglColor4fv(long v)
Unsafe version of:Color4fv
-
glColor4fv
public static void glColor4fv(java.nio.FloatBuffer v)
Pointer version ofColor4f
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor4dv
public static void nglColor4dv(long v)
Unsafe version of:Color4dv
-
glColor4dv
public static void glColor4dv(java.nio.DoubleBuffer v)
Pointer version ofColor4d
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor4ubv
public static void nglColor4ubv(long v)
Unsafe version of:Color4ubv
-
glColor4ubv
public static void glColor4ubv(java.nio.ByteBuffer v)
Pointer version ofColor4ub
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor4usv
public static void nglColor4usv(long v)
Unsafe version of:Color4usv
-
glColor4usv
public static void glColor4usv(java.nio.ShortBuffer v)
Pointer version ofColor4us
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColor4uiv
public static void nglColor4uiv(long v)
Unsafe version of:Color4uiv
-
glColor4uiv
public static void glColor4uiv(java.nio.IntBuffer v)
Pointer version ofColor4ui
.- Parameters:
v
- the color buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColorMask
public static void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
Masks the writing of R, G, B and A values to all draw buffers. In the initial state, all color values are enabled for writing for all draw buffers.- Parameters:
red
- whether R values are written or notgreen
- whether G values are written or notblue
- whether B values are written or notalpha
- whether A values are written or not- See Also:
- Reference Page
-
glColorMaterial
public static void glColorMaterial(int face, int mode)
It is possible to attach one or more material properties to the current color, so that they continuously track its component values. This behavior is enabled and disabled by callingEnable
orDisable
with the symbolic valueCOLOR_MATERIAL
. This function controls which of these modes is selected.- Parameters:
face
- specifies which material face is affected by the current color. One of:FRONT
BACK
FRONT_AND_BACK
mode
- specifies which material property or properties track the current color. One of:EMISSION
AMBIENT
DIFFUSE
SPECULAR
AMBIENT_AND_DIFFUSE
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglColorPointer
public static void nglColorPointer(int size, int type, int stride, long pointer)
Unsafe version of:ColorPointer
-
glColorPointer
public static void glColorPointer(int size, int type, int stride, java.nio.ByteBuffer pointer) public static void glColorPointer(int size, int type, int stride, long pointer) public static void glColorPointer(int size, int type, int stride, java.nio.ShortBuffer pointer) public static void glColorPointer(int size, int type, int stride, java.nio.IntBuffer pointer) public static void glColorPointer(int size, int type, int stride, java.nio.FloatBuffer pointer)
Specifies the location and organization of a color array.- Parameters:
size
- the number of values per vertex that are stored in the array, as well as their component ordering. One of:3 4 BGRA
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 color array data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glCopyPixels
public static void glCopyPixels(int x, int y, int width, int height, int type)
Transfers a rectangle of pixel values from one region of the read framebuffer to another in the draw framebuffer- Parameters:
x
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the rectangle widthheight
- the rectangle heighttype
- Indicates the type of values to be transfered. One of:COLOR
STENCIL
DEPTH
DEPTH_STENCIL
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glCullFace
public static void glCullFace(int mode)
Specifies which polygon faces are culled ifCULL_FACE
is enabled. Front-facing polygons are rasterized if either culling is disabled or the CullFace mode isBACK
while back-facing polygons are rasterized only if either culling is disabled or the CullFace mode isFRONT
. The initial setting of the CullFace mode isBACK
. Initially, culling is disabled.- Parameters:
mode
- the CullFace mode. One of:FRONT
BACK
FRONT_AND_BACK
- See Also:
- Reference Page
-
glDeleteLists
public static void glDeleteLists(int list, int range)
Deletes a contiguous group of display lists. All information about the display lists is lost, and the indices become unused. Indices to which no display list corresponds are ignored. Ifrange
is zero, nothing happens.- Parameters:
list
- the index of the first display list to be deletedrange
- the number of display lists to be deleted- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glDepthFunc
public static void glDepthFunc(int func)
Specifies the comparison that takes place during the depth buffer test (whenDEPTH_TEST
is enabled).
-
glDepthMask
public static void glDepthMask(boolean flag)
Masks the writing of depth values to the depth buffer. In the initial state, the depth buffer is enabled for writing.- Parameters:
flag
- whether depth values are written or not.- See Also:
- Reference Page
-
glDepthRange
public static void glDepthRange(double zNear, double zFar)
Sets the depth range for all viewports to the same values.- Parameters:
zNear
- the near depth rangezFar
- the far depth range- See Also:
- Reference Page
-
glDisableClientState
public static void glDisableClientState(int cap)
Disables a client-side capability.If the
NVVertexBufferUnifiedMemory
extension is supported, this function is available even in a core profile context.- Parameters:
cap
- the capability to disable. One of:COLOR_ARRAY
EDGE_FLAG_ARRAY
FOG_COORD_ARRAY
INDEX_ARRAY
NORMAL_ARRAY
SECONDARY_COLOR_ARRAY
TEXTURE_COORD_ARRAY
VERTEX_ARRAY
VERTEX_ATTRIB_ARRAY_UNIFIED_NV
ELEMENT_ARRAY_UNIFIED_NV
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glDrawArrays
public static void glDrawArrays(int mode, int first, int count)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices. Elementsfirst
throughfirst + count – 1
of each enabled non-instanced array are transferred to the GL.If an array corresponding to an attribute required by a vertex shader is not enabled, then the corresponding element is taken from the current attribute state. If an array is enabled, the corresponding current vertex attribute value is unaffected by the execution of this function.
- Parameters:
mode
- the kind of primitives being constructedfirst
- the first vertex to transfer to the GLcount
- the number of vertices afterfirst
to transfer to the GL- See Also:
- Reference Page
-
glDrawBuffer
public static void glDrawBuffer(int buf)
Defines the color buffer to which fragment color zero is written.Acceptable values for
buf
depend on whether the GL is using the default framebuffer (i.e.,DRAW_FRAMEBUFFER_BINDING
is zero), or a framebuffer object (i.e.,DRAW_FRAMEBUFFER_BINDING
is non-zero). In the initial state, the GL is bound to the default framebuffer.- Parameters:
buf
- the color buffer to draw to. One of:NONE
FRONT_LEFT
FRONT_RIGHT
BACK_LEFT
BACK_RIGHT
FRONT
BACK
LEFT
RIGHT
FRONT_AND_BACK
COLOR_ATTACHMENT0
GL30.GL_COLOR_ATTACHMENT[1-15] - See Also:
- Reference Page
-
nglDrawElements
public static void nglDrawElements(int mode, int count, int type, long indices)
Unsafe version of:DrawElements
- Parameters:
count
- the number of vertices to transfer to the GLtype
- indicates the type of index values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
-
glDrawElements
public static void glDrawElements(int mode, int count, int type, long indices)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices to the GL. The ith element transferred byDrawElements
will be taken from elementindices[i]
(if no element array buffer is bound), or from the element whose index is stored in the currently bound element array buffer at offsetindices + i
.- Parameters:
mode
- the kind of primitives being constructed. 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
- the number of vertices to transfer to the GLtype
- indicates the type of index values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- the index values- See Also:
- Reference Page
-
glDrawElements
public static void glDrawElements(int mode, int type, java.nio.ByteBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices to the GL. The ith element transferred byDrawElements
will be taken from elementindices[i]
(if no element array buffer is bound), or from the element whose index is stored in the currently bound element array buffer at offsetindices + i
.- Parameters:
mode
- the kind of primitives being constructed. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
type
- indicates the type of index values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- the index values- See Also:
- Reference Page
-
glDrawElements
public static void glDrawElements(int mode, java.nio.ByteBuffer indices) public static void glDrawElements(int mode, java.nio.ShortBuffer indices) public static void glDrawElements(int mode, java.nio.IntBuffer indices)
Constructs a sequence of geometric primitives by successively transferring elements forcount
vertices to the GL. The ith element transferred byDrawElements
will be taken from elementindices[i]
(if no element array buffer is bound), or from the element whose index is stored in the currently bound element array buffer at offsetindices + i
.- Parameters:
mode
- the kind of primitives being constructed. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
indices
- the index values- See Also:
- Reference Page
-
nglDrawPixels
public static void nglDrawPixels(int width, int height, int format, int type, long pixels)
Unsafe version of:DrawPixels
-
glDrawPixels
public static void glDrawPixels(int width, int height, int format, int type, java.nio.ByteBuffer pixels) public static void glDrawPixels(int width, int height, int format, int type, long pixels) public static void glDrawPixels(int width, int height, int format, int type, java.nio.ShortBuffer pixels) public static void glDrawPixels(int width, int height, int format, int type, java.nio.IntBuffer pixels) public static void glDrawPixels(int width, int height, int format, int type, java.nio.FloatBuffer pixels)
Draws a pixel rectangle to the active draw buffers.- Parameters:
width
- the pixel rectangle widthheight
- the pixel rectangle heightformat
- the pixel data format. One of:type
- the pixel data type. One of:pixels
- the pixel data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEdgeFlag
public static void glEdgeFlag(boolean flag)
Each edge of each polygon primitive generated is flagged as either boundary or non-boundary. These classifications are used during polygon rasterization; some modes affect the interpretation of polygon boundary edges. By default, all edges are boundary edges, but the flagging of polygons, separate triangles, or separate quadrilaterals may be altered by calling this function.When a primitive of type
POLYGON
,TRIANGLES
, orQUADS
is drawn, each vertex transferred begins an edge. If the edge flag bit is TRUE, then each specified vertex begins an edge that is flagged as boundary. If the bit is FALSE, then induced edges are flagged as non-boundary.- Parameters:
flag
- the edge flag bit- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglEdgeFlagv
public static void nglEdgeFlagv(long flag)
Unsafe version of:EdgeFlagv
-
glEdgeFlagv
public static void glEdgeFlagv(java.nio.ByteBuffer flag)
Pointer version ofEdgeFlag
.- Parameters:
flag
- the edge flag buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglEdgeFlagPointer
public static void nglEdgeFlagPointer(int stride, long pointer)
Unsafe version of:EdgeFlagPointer
-
glEdgeFlagPointer
public static void glEdgeFlagPointer(int stride, java.nio.ByteBuffer pointer) public static void glEdgeFlagPointer(int stride, long pointer)
Specifies the location and organization of an edge flag array.- Parameters:
stride
- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer
- the edge flag array data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEnableClientState
public static void glEnableClientState(int cap)
Enables a client-side capability.If the
NVVertexBufferUnifiedMemory
extension is supported, this function is available even in a core profile context.- Parameters:
cap
- the capability to enable. One of:COLOR_ARRAY
EDGE_FLAG_ARRAY
FOG_COORD_ARRAY
INDEX_ARRAY
NORMAL_ARRAY
SECONDARY_COLOR_ARRAY
TEXTURE_COORD_ARRAY
VERTEX_ARRAY
VERTEX_ATTRIB_ARRAY_UNIFIED_NV
ELEMENT_ARRAY_UNIFIED_NV
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEnd
public static void glEnd()
Ends the definition of vertex attributes of a sequence of primitives to be transferred to the GL.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalCoord1f
public static void glEvalCoord1f(float u)
Causes evaluation of the enabled one-dimensional evaluator maps.- Parameters:
u
- the domain coordinate u- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglEvalCoord1fv
public static void nglEvalCoord1fv(long u)
Unsafe version of:EvalCoord1fv
-
glEvalCoord1fv
public static void glEvalCoord1fv(java.nio.FloatBuffer u)
Pointer version ofEvalCoord1f
.- Parameters:
u
- the domain coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalCoord1d
public static void glEvalCoord1d(double u)
Double version ofEvalCoord1f
.- Parameters:
u
- the domain coordinate u- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglEvalCoord1dv
public static void nglEvalCoord1dv(long u)
Unsafe version of:EvalCoord1dv
-
glEvalCoord1dv
public static void glEvalCoord1dv(java.nio.DoubleBuffer u)
Pointer version ofEvalCoord1d
.- Parameters:
u
- the domain coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalCoord2f
public static void glEvalCoord2f(float u, float v)
Causes evaluation of the enabled two-dimensional evaluator maps.- Parameters:
u
- the domain coordinate uv
- the domain coordinate v- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglEvalCoord2fv
public static void nglEvalCoord2fv(long u)
Unsafe version of:EvalCoord2fv
-
glEvalCoord2fv
public static void glEvalCoord2fv(java.nio.FloatBuffer u)
Pointer version ofEvalCoord2f
.- Parameters:
u
- the domain coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalCoord2d
public static void glEvalCoord2d(double u, double v)
Double version ofEvalCoord2f
.- Parameters:
u
- the domain coordinate uv
- the domain coordinate v- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglEvalCoord2dv
public static void nglEvalCoord2dv(long u)
Unsafe version of:EvalCoord2dv
-
glEvalCoord2dv
public static void glEvalCoord2dv(java.nio.DoubleBuffer u)
Pointer version ofEvalCoord2d
.- Parameters:
u
- the domain coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalMesh1
public static void glEvalMesh1(int mode, int i1, int i2)
Carries out an evaluation on a subset of the one-dimensional map grid.- Parameters:
mode
- the mesh type. One of:POINT
LINE
i1
- the start indexi2
- the end index- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalMesh2
public static void glEvalMesh2(int mode, int i1, int i2, int j1, int j2)
Carries out an evaluation on a rectangular subset of the two-dimensional map grid.- Parameters:
mode
- the mesh type. One of:FILL
LINE
POINT
i1
- the u-dimension start indexi2
- the u-dimension end indexj1
- the v-dimension start indexj2
- the v-dimension end index- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalPoint1
public static void glEvalPoint1(int i)
Carries out an evalutation of a single point on the one-dimensional map grid.- Parameters:
i
- the grid index- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalPoint2
public static void glEvalPoint2(int i, int j)
Carries out an evalutation of a single point on the two-dimensional map grid.- Parameters:
i
- the u-dimension grid indexj
- the v-dimension grid index- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglFeedbackBuffer
public static void nglFeedbackBuffer(int size, int type, long buffer)
Unsafe version of:FeedbackBuffer
- Parameters:
size
- the maximum number of values that can be written tobuffer
-
glFeedbackBuffer
public static void glFeedbackBuffer(int type, java.nio.FloatBuffer buffer)
Returns information about primitives when the GL is in feedback mode.- Parameters:
type
- the type of information to feed back for each vertex. One of:2D
3D
3D_COLOR
3D_COLOR_TEXTURE
4D_COLOR_TEXTURE
buffer
- an array of floating-point values into which feedback information will be placed- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glFinish
public static void glFinish()
Forces all previously issued GL commands to complete.Finish
does not return until all effects from such commands on GL client and server state and the framebuffer are fully realized.- See Also:
- Reference Page
-
glFlush
public static void glFlush()
Causes all previously issued GL commands to complete in finite time (although such commands may still be executing whenFlush
returns).- See Also:
- Reference Page
-
glFogi
public static void glFogi(int pname, int param)
Sets the integer value of a fog parameter.- Parameters:
pname
- the fog parameter. One of:FOG_MODE
FOG_COORD_SRC
param
- the fog parameter value. One of:EXP
EXP2
LINEAR
FRAGMENT_DEPTH
FOG_COORD
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglFogiv
public static void nglFogiv(int pname, long params)
Unsafe version of:Fogiv
-
glFogiv
public static void glFogiv(int pname, java.nio.IntBuffer params)
Pointer version ofFogi
.- Parameters:
pname
- the fog parameter. One of:FOG_MODE
FOG_COORD_SRC
params
- the fog parameter buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glFogf
public static void glFogf(int pname, float param)
Sets the float value of a fog parameter.- Parameters:
pname
- the fog parameter. One of:FOG_DENSITY
FOG_START
FOG_END
param
- the fog parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglFogfv
public static void nglFogfv(int pname, long params)
Unsafe version of:Fogfv
-
glFogfv
public static void glFogfv(int pname, java.nio.FloatBuffer params)
Pointer version ofFogf
.- Parameters:
pname
- the fog parameter. One of:FOG_DENSITY
FOG_START
FOG_END
params
- the fog parameter buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glFrontFace
public static void glFrontFace(int dir)
The first step of polygon rasterization is to determine if the polygon is back-facing or front-facing. This determination is made based on the sign of the (clipped or unclipped) polygon's area computed in window coordinates. The interpretation of the sign of this value is controlled with this function. In the initial state, the front face direction is set toCCW
.- Parameters:
dir
- the front face direction. One of:CCW
CW
- See Also:
- Reference Page
-
glGenLists
public static int glGenLists(int s)
Returns an integer n such that the indicesn,..., n + s - 1
are previously unused (i.e. there ares
previously unused display list indices starting at n).GenLists
also has the effect of creating an empty display list for each of the indicesn,..., n + s - 1
, so that these indices all become used.GenLists
returns zero if there is no group ofs
contiguous previously unused display list indices, or ifs = 0
.- Parameters:
s
- the number of display lists to create- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGenTextures
public static void nglGenTextures(int n, long textures)
Unsafe version of:GenTextures
- Parameters:
n
- the number of textures to create
-
glGenTextures
public static void glGenTextures(java.nio.IntBuffer textures)
Returns n previously unused texture names in textures. These names are marked as used, for the purposes of GenTextures only, but they acquire texture state and a dimensionality only when they are first bound, just as if they were unused.- Parameters:
textures
- a scalar or buffer in which to place the returned texture names- See Also:
- Reference Page
-
glGenTextures
public static int glGenTextures()
Returns n previously unused texture names in textures. These names are marked as used, for the purposes of GenTextures only, but they acquire texture state and a dimensionality only when they are first bound, just as if they were unused.- See Also:
- Reference Page
-
nglDeleteTextures
public static void nglDeleteTextures(int n, long textures)
Unsafe version of:DeleteTextures
- Parameters:
n
- the number of texture names in thetextures
parameter
-
glDeleteTextures
public static void glDeleteTextures(java.nio.IntBuffer textures)
Deletes texture objects. After a texture object is deleted, it has no contents or dimensionality, and its name is again unused. If a texture that is currently bound to any of the target bindings ofBindTexture
is deleted, it is as thoughBindTexture
had been executed with the same target and texture zero. Additionally, special care must be taken when deleting a texture if any of the images of the texture are attached to a framebuffer object.Unused names in textures that have been marked as used for the purposes of
GenTextures
are marked as unused again. Unused names in textures are silently ignored, as is the name zero.- Parameters:
textures
- containsn
names of texture objects to be deleted- See Also:
- Reference Page
-
glDeleteTextures
public static void glDeleteTextures(int texture)
Deletes texture objects. After a texture object is deleted, it has no contents or dimensionality, and its name is again unused. If a texture that is currently bound to any of the target bindings ofBindTexture
is deleted, it is as thoughBindTexture
had been executed with the same target and texture zero. Additionally, special care must be taken when deleting a texture if any of the images of the texture are attached to a framebuffer object.Unused names in textures that have been marked as used for the purposes of
GenTextures
are marked as unused again. Unused names in textures are silently ignored, as is the name zero.- See Also:
- Reference Page
-
nglGetClipPlane
public static void nglGetClipPlane(int plane, long equation)
Unsafe version of:GetClipPlane
-
glGetClipPlane
public static void glGetClipPlane(int plane, java.nio.DoubleBuffer equation)
Returns four double-precision values inequation
; these are the coefficients of the plane equation of plane in eye coordinates (these coordinates are those that were computed when the plane was specified).- Parameters:
plane
- the clip planeequation
- a buffer in which to place the returned values- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetBooleanv
public static void nglGetBooleanv(int pname, long params)
Unsafe version of:GetBooleanv
-
glGetBooleanv
public static void glGetBooleanv(int pname, java.nio.ByteBuffer params)
Returns the current boolean value of the specified state variable.LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if
params
has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.- Parameters:
pname
- the state variableparams
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page
-
glGetBoolean
public static boolean glGetBoolean(int pname)
Returns the current boolean value of the specified state variable.LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if
params
has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.- Parameters:
pname
- the state variable- See Also:
- Reference Page
-
nglGetFloatv
public static void nglGetFloatv(int pname, long params)
Unsafe version of:GetFloatv
-
glGetFloatv
public static void glGetFloatv(int pname, java.nio.FloatBuffer params)
Returns the current float value of the specified state variable.LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if
params
has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.- Parameters:
pname
- the state variableparams
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page
-
glGetFloat
public static float glGetFloat(int pname)
Returns the current float value of the specified state variable.LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if
params
has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.- Parameters:
pname
- the state variable- See Also:
- Reference Page
-
nglGetIntegerv
public static void nglGetIntegerv(int pname, long params)
Unsafe version of:GetIntegerv
-
glGetIntegerv
public static void glGetIntegerv(int pname, java.nio.IntBuffer params)
Returns the current integer value of the specified state variable.LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if
params
has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.- Parameters:
pname
- the state variableparams
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page
-
glGetInteger
public static int glGetInteger(int pname)
Returns the current integer value of the specified state variable.LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if
params
has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.- Parameters:
pname
- the state variable- See Also:
- Reference Page
-
nglGetDoublev
public static void nglGetDoublev(int pname, long params)
Unsafe version of:GetDoublev
-
glGetDoublev
public static void glGetDoublev(int pname, java.nio.DoubleBuffer params)
Returns the current double value of the specified state variable.LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if
params
has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.- Parameters:
pname
- the state variableparams
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page
-
glGetDouble
public static double glGetDouble(int pname)
Returns the current double value of the specified state variable.LWJGL note: The state that corresponds to the state variable may be a single value or an array of values. In the case of an array of values, LWJGL will not validate if
params
has enough space to store that array. Doing so would introduce significant overhead, as the OpenGL state variables are too many. It is the user's responsibility to avoid JVM crashes by ensuring enough space for the returned values.- Parameters:
pname
- the state variable- See Also:
- Reference Page
-
glGetError
public static int glGetError()
Returns error information.Each detectable error is assigned a numeric code. When an error is detected, a flag is set and the code is recorded. Further errors, if they occur, do not affect this recorded code. When
GetError
is called, the code is returned and the flag is cleared, so that a further error will again record its code. If a call toGetError
returnsNO_ERROR
, then there has been no detectable error since the last call toGetError
(or since the GL was initialized).- See Also:
- Reference Page
-
nglGetLightiv
public static void nglGetLightiv(int light, int pname, long data)
Unsafe version of:GetLightiv
-
glGetLightiv
public static void glGetLightiv(int light, int pname, java.nio.IntBuffer data)
Returns integer information about light parameterpname
forlight
indata
.- Parameters:
light
- the light for which to return information. One of:LIGHT0
GL_LIGHT[1-7] pname
- the light parameter to query. One of:AMBIENT
DIFFUSE
SPECULAR
POSITION
CONSTANT_ATTENUATION
LINEAR_ATTENUATION
QUADRATIC_ATTENUATION
SPOT_DIRECTION
SPOT_EXPONENT
SPOT_CUTOFF
data
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetLighti
public static int glGetLighti(int light, int pname)
Returns integer information about light parameterpname
forlight
indata
.- Parameters:
light
- the light for which to return information. One of:LIGHT0
GL_LIGHT[1-7] pname
- the light parameter to query. One of:AMBIENT
DIFFUSE
SPECULAR
POSITION
CONSTANT_ATTENUATION
LINEAR_ATTENUATION
QUADRATIC_ATTENUATION
SPOT_DIRECTION
SPOT_EXPONENT
SPOT_CUTOFF
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetLightfv
public static void nglGetLightfv(int light, int pname, long data)
Unsafe version of:GetLightfv
-
glGetLightfv
public static void glGetLightfv(int light, int pname, java.nio.FloatBuffer data)
Float version ofGetLightiv
.- Parameters:
light
- the light for which to return informationpname
- the light parameter to querydata
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetLightf
public static float glGetLightf(int light, int pname)
Float version ofGetLightiv
.- Parameters:
light
- the light for which to return informationpname
- the light parameter to query- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetMapiv
public static void nglGetMapiv(int target, int query, long data)
Unsafe version of:GetMapiv
-
glGetMapiv
public static void glGetMapiv(int target, int query, java.nio.IntBuffer data)
Returns integer information aboutquery
for evaluator maptarget
indata
.- Parameters:
target
- the evaluator target. One of:query
- the information to query. One of:ORDER
COEFF
DOMAIN
data
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetMapi
public static int glGetMapi(int target, int query)
Returns integer information aboutquery
for evaluator maptarget
indata
.- Parameters:
target
- the evaluator target. One of:query
- the information to query. One of:ORDER
COEFF
DOMAIN
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetMapfv
public static void nglGetMapfv(int target, int query, long data)
Unsafe version of:GetMapfv
-
glGetMapfv
public static void glGetMapfv(int target, int query, java.nio.FloatBuffer data)
Float version ofGetMapiv
.- Parameters:
target
- the evaluator mapquery
- the information to querydata
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetMapf
public static float glGetMapf(int target, int query)
Float version ofGetMapiv
.- Parameters:
target
- the evaluator mapquery
- the information to query- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetMapdv
public static void nglGetMapdv(int target, int query, long data)
Unsafe version of:GetMapdv
-
glGetMapdv
public static void glGetMapdv(int target, int query, java.nio.DoubleBuffer data)
Double version ofGetMapiv
.- Parameters:
target
- the evaluator mapquery
- the information to querydata
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetMapd
public static double glGetMapd(int target, int query)
Double version ofGetMapiv
.- Parameters:
target
- the evaluator mapquery
- the information to query- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetMaterialiv
public static void nglGetMaterialiv(int face, int pname, long data)
Unsafe version of:GetMaterialiv
-
glGetMaterialiv
public static void glGetMaterialiv(int face, int pname, java.nio.IntBuffer data)
Returns integer information about material propertypname
forface
indata
.- Parameters:
face
- the material face for which to return information. One of:FRONT
BACK
pname
- the information to query. One of:AMBIENT
DIFFUSE
SPECULAR
EMISSION
SHININESS
data
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetMaterialfv
public static void nglGetMaterialfv(int face, int pname, long data)
Unsafe version of:GetMaterialfv
-
glGetMaterialfv
public static void glGetMaterialfv(int face, int pname, java.nio.FloatBuffer data)
Float version ofGetMaterialiv
.- Parameters:
face
- the material face for which to return informationpname
- the information to querydata
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetPixelMapfv
public static void nglGetPixelMapfv(int map, long data)
Unsafe version of:GetPixelMapfv
-
glGetPixelMapfv
public static void glGetPixelMapfv(int map, java.nio.FloatBuffer data) public static void glGetPixelMapfv(int map, long data)
Returns all float values in the pixel mapmap
indata
.- Parameters:
map
- the pixel map parameter to query. One of:PIXEL_MAP_I_TO_I
PIXEL_MAP_S_TO_S
PIXEL_MAP_I_TO_R
PIXEL_MAP_I_TO_G
PIXEL_MAP_I_TO_B
PIXEL_MAP_I_TO_A
PIXEL_MAP_R_TO_R
PIXEL_MAP_G_TO_G
PIXEL_MAP_B_TO_B
PIXEL_MAP_A_TO_A
data
- a buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetPixelMapusv
public static void nglGetPixelMapusv(int map, long data)
Unsafe version of:GetPixelMapusv
-
glGetPixelMapusv
public static void glGetPixelMapusv(int map, java.nio.ShortBuffer data) public static void glGetPixelMapusv(int map, long data)
Unsigned short version ofGetPixelMapfv
.- Parameters:
map
- the pixel map parameter to querydata
- a buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetPixelMapuiv
public static void nglGetPixelMapuiv(int map, long data)
Unsafe version of:GetPixelMapuiv
-
glGetPixelMapuiv
public static void glGetPixelMapuiv(int map, java.nio.IntBuffer data) public static void glGetPixelMapuiv(int map, long data)
Unsigned integer version ofGetPixelMapfv
.- Parameters:
map
- the pixel map parameter to querydata
- a buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetPointerv
public static void nglGetPointerv(int pname, long params)
Unsafe version of:GetPointerv
-
glGetPointerv
public static void glGetPointerv(int pname, org.lwjgl.PointerBuffer params)
Returns a pointer in the current GL context.- Parameters:
pname
- the pointer to return. One of:DEBUG_CALLBACK_FUNCTION
DEBUG_CALLBACK_USER_PARAM
params
- a buffer in which to place the returned pointer- See Also:
- Reference Page
-
glGetPointer
public static long glGetPointer(int pname)
Returns a pointer in the current GL context.- Parameters:
pname
- the pointer to return. One of:DEBUG_CALLBACK_FUNCTION
DEBUG_CALLBACK_USER_PARAM
- See Also:
- Reference Page
-
nglGetPolygonStipple
public static void nglGetPolygonStipple(long pattern)
Unsafe version of:GetPolygonStipple
-
glGetPolygonStipple
public static void glGetPolygonStipple(java.nio.ByteBuffer pattern) public static void glGetPolygonStipple(long pattern)
Obtains the polygon stipple.- Parameters:
pattern
- a buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetString
public static long nglGetString(int name)
Unsafe version of:GetString
-
glGetString
@Nullable public static java.lang.String glGetString(int name)
Return strings describing properties of the current GL context.- Parameters:
name
- the property to query. One of:RENDERER
VENDOR
EXTENSIONS
VERSION
SHADING_LANGUAGE_VERSION
- See Also:
- Reference Page
-
nglGetTexEnviv
public static void nglGetTexEnviv(int env, int pname, long data)
Unsafe version of:GetTexEnviv
-
glGetTexEnviv
public static void glGetTexEnviv(int env, int pname, java.nio.IntBuffer data)
Returns integer information aboutpname
forenv
indata
.- Parameters:
env
- the texture environment to query. One of:POINT_SPRITE
TEXTURE_ENV
TEXTURE_FILTER_CONTROL
pname
- the parameter to query. One of:data
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexEnvi
public static int glGetTexEnvi(int env, int pname)
Returns integer information aboutpname
forenv
indata
.- Parameters:
env
- the texture environment to query. One of:POINT_SPRITE
TEXTURE_ENV
TEXTURE_FILTER_CONTROL
pname
- the parameter to query. One of:- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetTexEnvfv
public static void nglGetTexEnvfv(int env, int pname, long data)
Unsafe version of:GetTexEnvfv
-
glGetTexEnvfv
public static void glGetTexEnvfv(int env, int pname, java.nio.FloatBuffer data)
Float version ofGetTexEnviv
.- Parameters:
env
- the texture environment to querypname
- the parameter to querydata
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexEnvf
public static float glGetTexEnvf(int env, int pname)
Float version ofGetTexEnviv
.- Parameters:
env
- the texture environment to querypname
- the parameter to query- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetTexGeniv
public static void nglGetTexGeniv(int coord, int pname, long data)
Unsafe version of:GetTexGeniv
-
glGetTexGeniv
public static void glGetTexGeniv(int coord, int pname, java.nio.IntBuffer data)
Returns integer information aboutpname
forcoord
indata
.- Parameters:
coord
- the coord to query. One of:S
T
R
Q
pname
- the parameter to query. One of:EYE_PLANE
OBJECT_PLANE
TEXTURE_GEN_MODE
data
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexGeni
public static int glGetTexGeni(int coord, int pname)
Returns integer information aboutpname
forcoord
indata
.- Parameters:
coord
- the coord to query. One of:S
T
R
Q
pname
- the parameter to query. One of:EYE_PLANE
OBJECT_PLANE
TEXTURE_GEN_MODE
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetTexGenfv
public static void nglGetTexGenfv(int coord, int pname, long data)
Unsafe version of:GetTexGenfv
-
glGetTexGenfv
public static void glGetTexGenfv(int coord, int pname, java.nio.FloatBuffer data)
Float version ofGetTexGeniv
.- Parameters:
coord
- the coord to querypname
- the parameter to querydata
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexGenf
public static float glGetTexGenf(int coord, int pname)
Float version ofGetTexGeniv
.- Parameters:
coord
- the coord to querypname
- the parameter to query- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetTexGendv
public static void nglGetTexGendv(int coord, int pname, long data)
Unsafe version of:GetTexGendv
-
glGetTexGendv
public static void glGetTexGendv(int coord, int pname, java.nio.DoubleBuffer data)
Double version ofGetTexGeniv
.- Parameters:
coord
- the coord to querypname
- the parameter to querydata
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexGend
public static double glGetTexGend(int coord, int pname)
Double version ofGetTexGeniv
.- Parameters:
coord
- the coord to querypname
- the parameter to query- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglGetTexImage
public static void nglGetTexImage(int tex, int level, int format, int type, long pixels)
Unsafe version of:GetTexImage
-
glGetTexImage
public static void glGetTexImage(int tex, int level, int format, int type, java.nio.ByteBuffer pixels) public static void glGetTexImage(int tex, int level, int format, int type, long pixels) public static void glGetTexImage(int tex, int level, int format, int type, java.nio.ShortBuffer pixels) public static void glGetTexImage(int tex, int level, int format, int type, java.nio.IntBuffer pixels) public static void glGetTexImage(int tex, int level, int format, int type, java.nio.FloatBuffer pixels) public static void glGetTexImage(int tex, int level, int format, int type, java.nio.DoubleBuffer pixels)
Obtains texture images.- Parameters:
tex
- the texture (or texture face) to be obtained. One of:level
- the level-of-detail numberformat
- the pixel format. One of:RED
GREEN
BLUE
ALPHA
RG
RGB
RGBA
BGR
BGRA
RED_INTEGER
GREEN_INTEGER
BLUE_INTEGER
ALPHA_INTEGER
RG_INTEGER
RGB_INTEGER
RGBA_INTEGER
BGR_INTEGER
BGRA_INTEGER
STENCIL_INDEX
DEPTH_COMPONENT
DEPTH_STENCIL
type
- the pixel type. One of:pixels
- the buffer in which to place the returned data- See Also:
- Reference Page
-
nglGetTexLevelParameteriv
public static void nglGetTexLevelParameteriv(int target, int level, int pname, long params)
Unsafe version of:GetTexLevelParameteriv
-
glGetTexLevelParameteriv
public static void glGetTexLevelParameteriv(int target, int level, int pname, java.nio.IntBuffer params)
Places integer information about texture image parameterpname
for level-of-detaillevel
of the specifiedtarget
intoparams
.- Parameters:
target
- the texture image target. One of:level
- the level-of-detail numberpname
- the parameter to query. One of:params
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page
-
glGetTexLevelParameteri
public static int glGetTexLevelParameteri(int target, int level, int pname)
Places integer information about texture image parameterpname
for level-of-detaillevel
of the specifiedtarget
intoparams
.- Parameters:
target
- the texture image target. One of:level
- the level-of-detail numberpname
- the parameter to query. One of:- See Also:
- Reference Page
-
nglGetTexLevelParameterfv
public static void nglGetTexLevelParameterfv(int target, int level, int pname, long params)
Unsafe version of:GetTexLevelParameterfv
-
glGetTexLevelParameterfv
public static void glGetTexLevelParameterfv(int target, int level, int pname, java.nio.FloatBuffer params)
Float version ofGetTexLevelParameteriv
.- Parameters:
target
- the texture image targetlevel
- the level-of-detail numberpname
- the parameter to queryparams
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page
-
glGetTexLevelParameterf
public static float glGetTexLevelParameterf(int target, int level, int pname)
Float version ofGetTexLevelParameteriv
.- Parameters:
target
- the texture image targetlevel
- the level-of-detail numberpname
- the parameter to query- See Also:
- Reference Page
-
nglGetTexParameteriv
public static void nglGetTexParameteriv(int target, int pname, long params)
Unsafe version of:GetTexParameteriv
-
glGetTexParameteriv
public static void glGetTexParameteriv(int target, int pname, java.nio.IntBuffer params)
Place integer information about texture parameterpname
for the specifiedtarget
intoparams
.- Parameters:
target
- the texture target. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_3D
TEXTURE_1D_ARRAY
TEXTURE_2D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_CUBE_MAP_ARRAY
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
pname
- the parameter to query. One of:params
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page
-
glGetTexParameteri
public static int glGetTexParameteri(int target, int pname)
Place integer information about texture parameterpname
for the specifiedtarget
intoparams
.- Parameters:
target
- the texture target. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_3D
TEXTURE_1D_ARRAY
TEXTURE_2D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_CUBE_MAP_ARRAY
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
pname
- the parameter to query. One of:- See Also:
- Reference Page
-
nglGetTexParameterfv
public static void nglGetTexParameterfv(int target, int pname, long params)
Unsafe version of:GetTexParameterfv
-
glGetTexParameterfv
public static void glGetTexParameterfv(int target, int pname, java.nio.FloatBuffer params)
Float version ofGetTexParameteriv
.- Parameters:
target
- the texture targetpname
- the parameter to queryparams
- a scalar or buffer in which to place the returned data- See Also:
- Reference Page
-
glGetTexParameterf
public static float glGetTexParameterf(int target, int pname)
Float version ofGetTexParameteriv
.- Parameters:
target
- the texture targetpname
- the parameter to query- See Also:
- Reference Page
-
glHint
public static void glHint(int target, int hint)
Certain aspects of GL behavior, when there is room for variation, may be controlled with this function. The initial value for all hints isDONT_CARE
.- Parameters:
target
- the behavior to control. One of:LINE_SMOOTH_HINT
POLYGON_SMOOTH_HINT
TEXTURE_COMPRESSION_HINT
FRAGMENT_SHADER_DERIVATIVE_HINT
hint
- the behavior hint. One of:FASTEST
NICEST
DONT_CARE
- See Also:
- Reference Page
-
glIndexi
public static void glIndexi(int index)
Updates the current (single-valued) color index.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexub
public static void glIndexub(byte index)
Unsigned byte version ofIndexi
.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexs
public static void glIndexs(short index)
Short version ofIndexi
.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexf
public static void glIndexf(float index)
Float version ofIndexi
.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexd
public static void glIndexd(double index)
Double version ofIndexi
.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglIndexiv
public static void nglIndexiv(long index)
Unsafe version of:Indexiv
-
glIndexiv
public static void glIndexiv(java.nio.IntBuffer index)
Pointer version ofIndexi
- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglIndexubv
public static void nglIndexubv(long index)
Unsafe version of:Indexubv
-
glIndexubv
public static void glIndexubv(java.nio.ByteBuffer index)
Pointer version ofIndexub
.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglIndexsv
public static void nglIndexsv(long index)
Unsafe version of:Indexsv
-
glIndexsv
public static void glIndexsv(java.nio.ShortBuffer index)
Pointer version ofIndexs
.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglIndexfv
public static void nglIndexfv(long index)
Unsafe version of:Indexfv
-
glIndexfv
public static void glIndexfv(java.nio.FloatBuffer index)
Pointer version ofIndexf
.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglIndexdv
public static void nglIndexdv(long index)
Unsafe version of:Indexdv
-
glIndexdv
public static void glIndexdv(java.nio.DoubleBuffer index)
Pointer version ofIndexd
.- Parameters:
index
- the value to which the current color index should be set- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexMask
public static void glIndexMask(int mask)
The least significant n bits of mask, where n is the number of bits in a color index buffer, specify a mask. Where a 1 appears in this mask, the corresponding bit in the color index buffer (or buffers) is written; where a 0 appears, the bit is not written. This mask applies only in color index mode.- Parameters:
mask
- the color index mask value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglIndexPointer
public static void nglIndexPointer(int type, int stride, long pointer)
Unsafe version of:IndexPointer
- Parameters:
type
- the data type of the values stored in the array. One of:UNSIGNED_BYTE
SHORT
INT
FLOAT
DOUBLE
-
glIndexPointer
public static void glIndexPointer(int type, int stride, java.nio.ByteBuffer pointer) public static void glIndexPointer(int type, int stride, long pointer)
Specifies the location and organization of a color index array.- Parameters:
type
- the data type of the values stored in the array. One of:UNSIGNED_BYTE
SHORT
INT
FLOAT
DOUBLE
stride
- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer
- the color index array data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexPointer
public static void glIndexPointer(int stride, java.nio.ByteBuffer pointer) public static void glIndexPointer(int stride, java.nio.ShortBuffer pointer) public static void glIndexPointer(int stride, java.nio.IntBuffer pointer)
Specifies the location and organization of a color index array.- Parameters:
stride
- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer
- the color index array data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glInitNames
public static void glInitNames()
Clears the selection name stack.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglInterleavedArrays
public static void nglInterleavedArrays(int format, int stride, long pointer)
Unsafe version of:InterleavedArrays
-
glInterleavedArrays
public static void glInterleavedArrays(int format, int stride, java.nio.ByteBuffer pointer) public static void glInterleavedArrays(int format, int stride, long pointer) public static void glInterleavedArrays(int format, int stride, java.nio.ShortBuffer pointer) public static void glInterleavedArrays(int format, int stride, java.nio.IntBuffer pointer) public static void glInterleavedArrays(int format, int stride, java.nio.FloatBuffer pointer) public static void glInterleavedArrays(int format, int stride, java.nio.DoubleBuffer pointer)
Efficiently initializes the six vertex arrays and their enables to one of 14 configurations.- Parameters:
format
- the interleaved array format. One of:V2F
V3F
C4UB_V2F
C4UB_V3F
C3F_V3F
N3F_V3F
C4F_N3F_V3F
T2F_V3F
T4F_V4F
T2F_C4UB_V3F
T2F_C3F_V3F
T2F_N3F_V3F
T2F_C4F_N3F_V3F
T4F_C4F_N3F_V4F
stride
- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer
- the vertex array data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIsEnabled
public static boolean glIsEnabled(int cap)
Determines ifcap
is currently enabled (as withEnable
) or disabled.- Parameters:
cap
- the enable state to query- See Also:
- Reference Page
-
glIsList
public static boolean glIsList(int list)
Returns true if thelist
is the index of some display list.- Parameters:
list
- the list index to query- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIsTexture
public static boolean glIsTexture(int texture)
Returns true iftexture
is the name of a texture object.- Parameters:
texture
- the texture name to query- See Also:
- Reference Page
-
glLightModeli
public static void glLightModeli(int pname, int param)
Set the integer value of a lighting model parameter.- Parameters:
pname
- the lighting model parameter to set. One of:LIGHT_MODEL_AMBIENT
LIGHT_MODEL_LOCAL_VIEWER
LIGHT_MODEL_TWO_SIDE
LIGHT_MODEL_COLOR_CONTROL
param
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLightModelf
public static void glLightModelf(int pname, float param)
Float version ofLightModeli
.- Parameters:
pname
- the lighting model parameter to setparam
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglLightModeliv
public static void nglLightModeliv(int pname, long params)
Unsafe version of:LightModeliv
-
glLightModeliv
public static void glLightModeliv(int pname, java.nio.IntBuffer params)
Pointer version ofLightModeli
.- Parameters:
pname
- the lighting model parameter to setparams
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglLightModelfv
public static void nglLightModelfv(int pname, long params)
Unsafe version of:LightModelfv
-
glLightModelfv
public static void glLightModelfv(int pname, java.nio.FloatBuffer params)
Pointer version ofLightModelf
.- Parameters:
pname
- the lighting model parameter to setparams
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLighti
public static void glLighti(int light, int pname, int param)
Sets the integer value of a light parameter.- Parameters:
light
- the light for which to set the parameter. One of:LIGHT0
GL_LIGHT[1-7] pname
- the parameter to set. One of:AMBIENT
DIFFUSE
SPECULAR
POSITION
CONSTANT_ATTENUATION
LINEAR_ATTENUATION
QUADRATIC_ATTENUATION
SPOT_DIRECTION
SPOT_EXPONENT
SPOT_CUTOFF
param
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLightf
public static void glLightf(int light, int pname, float param)
Float version ofLighti
.- Parameters:
light
- the light for which to set the parameterpname
- the parameter to setparam
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglLightiv
public static void nglLightiv(int light, int pname, long params)
Unsafe version of:Lightiv
-
glLightiv
public static void glLightiv(int light, int pname, java.nio.IntBuffer params)
Pointer version ofLighti
.- Parameters:
light
- the light for which to set the parameterpname
- the parameter to setparams
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglLightfv
public static void nglLightfv(int light, int pname, long params)
Unsafe version of:Lightfv
-
glLightfv
public static void glLightfv(int light, int pname, java.nio.FloatBuffer params)
Pointer version ofLightf
.- Parameters:
light
- the light for which to set the parameterpname
- the parameter to setparams
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLineStipple
public static void glLineStipple(int factor, short pattern)
Defines a line stipple. It determines those fragments that are to be drawn when the line is rasterized. Line stippling may be enabled or disabled usingEnable
orDisable
with the constantLINE_STIPPLE
. When disabled, it is as if the line stipple has its default value.- Parameters:
factor
- a count that is used to modify the effective line stipple by causing each bit in pattern to be usedfactor
times.factor
is clamped to the range [1, 256].pattern
- an unsigned short integer whose 16 bits define the stipple pattern- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLineWidth
public static void glLineWidth(float width)
Sets the width of rasterized line segments. The default width is 1.0.- Parameters:
width
- the line width- See Also:
- Reference Page
-
glListBase
public static void glListBase(int base)
Sets the display list base.- Parameters:
base
- the display list base offset- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglLoadMatrixf
public static void nglLoadMatrixf(long m)
Unsafe version of:LoadMatrixf
-
glLoadMatrixf
public static void glLoadMatrixf(java.nio.FloatBuffer m)
Sets the current matrix to a 4 × 4 matrix in column-major order.The matrix is stored as 16 consecutive values, i.e. as:
a1 a5 a9 a13 a2 a6 a10 a14 a3 a7 a11 a15 a4 a8 a12 a16 This differs from the standard row-major ordering for matrix elements. If the standard ordering is used, all of the subsequent transformation equations are transposed, and the columns representing vectors become rows.
- Parameters:
m
- the matrix data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglLoadMatrixd
public static void nglLoadMatrixd(long m)
Unsafe version of:LoadMatrixd
-
glLoadMatrixd
public static void glLoadMatrixd(java.nio.DoubleBuffer m)
Double version ofLoadMatrixf
.- Parameters:
m
- the matrix data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLoadIdentity
public static void glLoadIdentity()
Sets the current matrix to the identity matrix.Calling this function is equivalent to calling
LoadMatrixf
with the following matrix:1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 - See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLoadName
public static void glLoadName(int name)
Replaces the value on the top of the selection stack withname
.- Parameters:
name
- the name to load- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLogicOp
public static void glLogicOp(int op)
Sets the logical framebuffer operation.- Parameters:
op
- the operation to set. One of:CLEAR
AND
AND_REVERSE
COPY
AND_INVERTED
NOOP
XOR
OR
NOR
EQUIV
INVERT
OR_REVERSE
COPY_INVERTED
OR_INVERTED
NAND
SET
- See Also:
- Reference Page
-
nglMap1f
public static void nglMap1f(int target, float u1, float u2, int stride, int order, long points)
Unsafe version of:Map1f
-
glMap1f
public static void glMap1f(int target, float u1, float u2, int stride, int order, java.nio.FloatBuffer points)
Defines a polynomial or rational polynomial mapping to produce vertex, normal, texture coordinates and colors. The values so produced are sent on to further stages of the GL as if they had been provided directly by the client.- Parameters:
target
- the evaluator target. One of:MAP1_VERTEX_3
MAP1_VERTEX_4
MAP1_COLOR_4
MAP1_NORMAL
MAP1_TEXTURE_COORD_1
MAP1_TEXTURE_COORD_2
MAP1_TEXTURE_COORD_3
MAP1_TEXTURE_COORD_4
u1
- the first endpoint of the pre-image of the mapu2
- the second endpoint of the pre-image of the mapstride
- the number of values in each block of storageorder
- the polynomial orderpoints
- a set oforder
blocks of storage containing control points- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglMap1d
public static void nglMap1d(int target, double u1, double u2, int stride, int order, long points)
Unsafe version of:Map1d
-
glMap1d
public static void glMap1d(int target, double u1, double u2, int stride, int order, java.nio.DoubleBuffer points)
Double version ofMap1f
.- Parameters:
target
- the evaluator targetu1
- the first endpoint of the pre-image of the mapu2
- the second endpoint of the pre-image of the mapstride
- the number of values in each block of storageorder
- the polynomial orderpoints
- a set oforder
blocks of storage containing control points- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglMap2f
public static void nglMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, long points)
Unsafe version of:Map2f
-
glMap2f
public static void glMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, java.nio.FloatBuffer points)
Bivariate version ofMap1f
.- Parameters:
target
- the evaluator targetu1
- the first u-dimension endpoint of the pre-image rectangle of the mapu2
- the second u-dimension endpoint of the pre-image rectangle of the mapustride
- the number of values in the u-dimension in each block of storageuorder
- the polynomial order in the u-dimensionv1
- the first v-dimension endpoint of the pre-image rectangle of the mapv2
- the second v-dimension endpoint of the pre-image rectangle of the mapvstride
- the number of values in the v-dimension in each block of storagevorder
- the polynomial order in the v-dimensionpoints
- a set ofuorder × vorder
blocks of storage containing control points- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglMap2d
public static void nglMap2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, long points)
Unsafe version of:Map2d
-
glMap2d
public static void glMap2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, java.nio.DoubleBuffer points)
Double version ofMap2f
.- Parameters:
target
- the evaluator targetu1
- the first u-dimension endpoint of the pre-image rectangle of the mapu2
- the second u-dimension endpoint of the pre-image rectangle of the mapustride
- the number of values in the u-dimension in each block of storageuorder
- the polynomial order in the u-dimensionv1
- the first v-dimension endpoint of the pre-image rectangle of the mapv2
- the second v-dimension endpoint of the pre-image rectangle of the mapvstride
- the number of values in the v-dimension in each block of storagevorder
- the polynomial order in the v-dimensionpoints
- a set ofuorder × vorder
blocks of storage containing control points- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMapGrid1f
public static void glMapGrid1f(int n, float u1, float u2)
Defines a one-dimensional grid in the map evaluator domain.- Parameters:
n
- the number of partitions of the intervalu1
- the first interval endpointu2
- the second interval endpoint- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMapGrid1d
public static void glMapGrid1d(int n, double u1, double u2)
Double version ofMapGrid1f
.- Parameters:
n
- the number of partitions of the intervalu1
- the first interval endpointu2
- the second interval endpoint- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMapGrid2f
public static void glMapGrid2f(int un, float u1, float u2, int vn, float v1, float v2)
Defines a two-dimensional grid in the map evaluator domain.- Parameters:
un
- the number of partitions of the interval in the u-dimensionu1
- the first u-dimension interval endpointu2
- the second u-dimension interval endpointvn
- the number of partitions of the interval in the v-dimensionv1
- the first v-dimension interval endpointv2
- the second v-dimension interval endpoint- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMapGrid2d
public static void glMapGrid2d(int un, double u1, double u2, int vn, double v1, double v2)
Double version ofMapGrid2f
.- Parameters:
un
- the number of partitions of the interval in the u-dimensionu1
- the first u-dimension interval endpointu2
- the second u-dimension interval endpointvn
- the number of partitions of the interval in the v-dimensionv1
- the first v-dimension interval endpointv2
- the second v-dimension interval endpoint- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMateriali
public static void glMateriali(int face, int pname, int param)
Sets the integer value of a material parameter.- Parameters:
face
- the material face for which to set the parameter. One of:FRONT
BACK
FRONT_AND_BACK
pname
- the parameter to set. Must be:SHININESS
param
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMaterialf
public static void glMaterialf(int face, int pname, float param)
Float version ofMateriali
.- Parameters:
face
- the material face for which to set the parameterpname
- the parameter to setparam
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglMaterialiv
public static void nglMaterialiv(int face, int pname, long params)
Unsafe version of:Materialiv
-
glMaterialiv
public static void glMaterialiv(int face, int pname, java.nio.IntBuffer params)
Pointer version ofMateriali
.- Parameters:
face
- the material face for which to set the parameterpname
- the parameter to set. One of:AMBIENT
DIFFUSE
AMBIENT_AND_DIFFUSE
SPECULAR
EMISSION
params
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglMaterialfv
public static void nglMaterialfv(int face, int pname, long params)
Unsafe version of:Materialfv
-
glMaterialfv
public static void glMaterialfv(int face, int pname, java.nio.FloatBuffer params)
Pointer version ofMaterialf
.- Parameters:
face
- the material face for which to set the parameterpname
- the parameter to setparams
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMatrixMode
public static void glMatrixMode(int mode)
Set the current matrix mode.- Parameters:
mode
- the matrix mode. One of:MODELVIEW
PROJECTION
TEXTURE
COLOR
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglMultMatrixf
public static void nglMultMatrixf(long m)
Unsafe version of:MultMatrixf
-
glMultMatrixf
public static void glMultMatrixf(java.nio.FloatBuffer m)
Multiplies the current matrix with a 4 × 4 matrix in column-major order. SeeLoadMatrixf
for details.- Parameters:
m
- the matrix data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglMultMatrixd
public static void nglMultMatrixd(long m)
Unsafe version of:MultMatrixd
-
glMultMatrixd
public static void glMultMatrixd(java.nio.DoubleBuffer m)
Double version ofMultMatrixf
.- Parameters:
m
- the matrix data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glFrustum
public static void glFrustum(double l, double r, double b, double t, double n, double f)
Manipulates the current matrix with a matrix that produces perspective projection, in such a way that the coordinates(lb – n)T
and(rt – n)T
specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, respectively (assuming that the eye is located at(0 0 0)T
).f
gives the distance from the eye to the far clipping plane.Calling this function is equivalent to calling
MultMatrixf
with the following matrix:2n / (r - l) 0 (r + l) / (r - l) 0 0 2n / (t - b) (t + b) / (t - b) 0 0 0 - (f + n) / (f - n) - (2fn) / (f - n) 0 0 -1 0 - Parameters:
l
- the left frustum planer
- the right frustum planeb
- the bottom frustum planet
- the top frustum planen
- the near frustum planef
- the far frustum plane- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNewList
public static void glNewList(int n, int mode)
Begins the definition of a display list.- Parameters:
n
- a positive integer to which the display list that follows is assignedmode
- a symbolic constant that controls the behavior of the GL during display list creation. One of:COMPILE
COMPILE_AND_EXECUTE
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEndList
public static void glEndList()
Ends the definition of GL commands to be placed in a display list. It is only whenEndList
occurs that the specified display list is actually associated with the index indicated withNewList
.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3f
public static void glNormal3f(float nx, float ny, float nz)
Sets the current normal.- Parameters:
nx
- the x coordinate of the current normalny
- the y coordinate of the current normalnz
- the z coordinate of the current normal- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3b
public static void glNormal3b(byte nx, byte ny, byte nz)
Byte version ofNormal3f
.- Parameters:
nx
- the x coordinate of the current normalny
- the y coordinate of the current normalnz
- the z coordinate of the current normal- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3s
public static void glNormal3s(short nx, short ny, short nz)
Short version ofNormal3f
.- Parameters:
nx
- the x coordinate of the current normalny
- the y coordinate of the current normalnz
- the z coordinate of the current normal- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3i
public static void glNormal3i(int nx, int ny, int nz)
Integer version ofNormal3f
.- Parameters:
nx
- the x coordinate of the current normalny
- the y coordinate of the current normalnz
- the z coordinate of the current normal- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3d
public static void glNormal3d(double nx, double ny, double nz)
Double version ofNormal3f
.- Parameters:
nx
- the x coordinate of the current normalny
- the y coordinate of the current normalnz
- the z coordinate of the current normal- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglNormal3fv
public static void nglNormal3fv(long v)
Unsafe version of:Normal3fv
-
glNormal3fv
public static void glNormal3fv(java.nio.FloatBuffer v)
Pointer version ofNormal3f
.- Parameters:
v
- the normal buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglNormal3bv
public static void nglNormal3bv(long v)
Unsafe version of:Normal3bv
-
glNormal3bv
public static void glNormal3bv(java.nio.ByteBuffer v)
Pointer version ofNormal3b
.- Parameters:
v
- the normal buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglNormal3sv
public static void nglNormal3sv(long v)
Unsafe version of:Normal3sv
-
glNormal3sv
public static void glNormal3sv(java.nio.ShortBuffer v)
Pointer version ofNormal3s
.- Parameters:
v
- the normal buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglNormal3iv
public static void nglNormal3iv(long v)
Unsafe version of:Normal3iv
-
glNormal3iv
public static void glNormal3iv(java.nio.IntBuffer v)
Pointer version ofNormal3i
.- Parameters:
v
- the normal buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglNormal3dv
public static void nglNormal3dv(long v)
Unsafe version of:Normal3dv
-
glNormal3dv
public static void glNormal3dv(java.nio.DoubleBuffer v)
Pointer version ofNormal3d
.- Parameters:
v
- the normal buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglNormalPointer
public static void nglNormalPointer(int type, int stride, long pointer)
Unsafe version of:NormalPointer
-
glNormalPointer
public static void glNormalPointer(int type, int stride, java.nio.ByteBuffer pointer) public static void glNormalPointer(int type, int stride, long pointer) public static void glNormalPointer(int type, int stride, java.nio.ShortBuffer pointer) public static void glNormalPointer(int type, int stride, java.nio.IntBuffer pointer) public static void glNormalPointer(int type, int stride, java.nio.FloatBuffer pointer)
Specifies the location and organization of a normal array.- Parameters:
type
- the data type of the values stored in the array. One of:BYTE
SHORT
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 normal array data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glOrtho
public static void glOrtho(double l, double r, double b, double t, double n, double f)
Manipulates the current matrix with a matrix that produces parallel projection, in such a way that the coordinates(lb – n)T
and(rt – n)T
specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, respectively (assuming that the eye is located at(0 0 0)T
).f
gives the distance from the eye to the far clipping plane.Calling this function is equivalent to calling
MultMatrixf
with the following matrix:2 / (r - l) 0 0 - (r + l) / (r - l) 0 2 / (t - b) 0 - (t + b) / (t - b) 0 0 - 2 / (f - n) - (f + n) / (f - n) 0 0 0 1 - Parameters:
l
- the left frustum planer
- the right frustum planeb
- the bottom frustum planet
- the top frustum planen
- the near frustum planef
- the far frustum plane- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPassThrough
public static void glPassThrough(float token)
Inserts a marker when the GL is in feeback mode.token
is returned as if it were a primitive; it is indicated with its own unique identifying value. The ordering of anyPassThrough
commands with respect to primitive specification is maintained by feedback.PassThrough
may not occur betweenBegin
andEnd
.- Parameters:
token
- the marker value to insert- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglPixelMapfv
public static void nglPixelMapfv(int map, int size, long values)
Unsafe version of:PixelMapfv
- Parameters:
size
- the map size
-
glPixelMapfv
public static void glPixelMapfv(int map, int size, long values)
Sets a pixel map lookup table.- Parameters:
map
- the map to set. One of:PIXEL_MAP_I_TO_I
PIXEL_MAP_S_TO_S
PIXEL_MAP_I_TO_R
PIXEL_MAP_I_TO_G
PIXEL_MAP_I_TO_B
PIXEL_MAP_I_TO_A
PIXEL_MAP_R_TO_R
PIXEL_MAP_G_TO_G
PIXEL_MAP_B_TO_B
PIXEL_MAP_A_TO_A
size
- the map sizevalues
- the map values- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelMapfv
public static void glPixelMapfv(int map, java.nio.FloatBuffer values)
Sets a pixel map lookup table.- Parameters:
map
- the map to set. One of:PIXEL_MAP_I_TO_I
PIXEL_MAP_S_TO_S
PIXEL_MAP_I_TO_R
PIXEL_MAP_I_TO_G
PIXEL_MAP_I_TO_B
PIXEL_MAP_I_TO_A
PIXEL_MAP_R_TO_R
PIXEL_MAP_G_TO_G
PIXEL_MAP_B_TO_B
PIXEL_MAP_A_TO_A
values
- the map values- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglPixelMapusv
public static void nglPixelMapusv(int map, int size, long values)
Unsafe version of:PixelMapusv
- Parameters:
size
- the map size
-
glPixelMapusv
public static void glPixelMapusv(int map, int size, long values)
Unsigned short version ofPixelMapfv
.- Parameters:
map
- the map to setsize
- the map sizevalues
- the map values- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelMapusv
public static void glPixelMapusv(int map, java.nio.ShortBuffer values)
Unsigned short version ofPixelMapfv
.- Parameters:
map
- the map to setvalues
- the map values- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglPixelMapuiv
public static void nglPixelMapuiv(int map, int size, long values)
Unsafe version of:PixelMapuiv
- Parameters:
size
- the map size
-
glPixelMapuiv
public static void glPixelMapuiv(int map, int size, long values)
Unsigned integer version ofPixelMapfv
.- Parameters:
map
- the map to setsize
- the map sizevalues
- the map values- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelMapuiv
public static void glPixelMapuiv(int map, java.nio.IntBuffer values)
Unsigned integer version ofPixelMapfv
.- Parameters:
map
- the map to setvalues
- the map values- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelStorei
public static void glPixelStorei(int pname, int param)
Sets the integer value of a pixel store parameter.- Parameters:
pname
- the pixel store parameter to set. One of:param
- the parameter value- See Also:
- Reference Page
-
glPixelStoref
public static void glPixelStoref(int pname, float param)
Float version ofPixelStorei
.- Parameters:
pname
- the pixel store parameter to setparam
- the parameter value- See Also:
- Reference Page
-
glPixelTransferi
public static void glPixelTransferi(int pname, int param)
Sets the integer value of a pixel transfer parameter.- Parameters:
pname
- the pixel transfer parameter to set. One of:param
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelTransferf
public static void glPixelTransferf(int pname, float param)
Float version ofPixelTransferi
.- Parameters:
pname
- the pixel transfer parameter to setparam
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelZoom
public static void glPixelZoom(float xfactor, float yfactor)
Controls the conversion of a group of fragments.Let (xrp, yrp) be the current raster position. If a particular group is the nth in a row and belongs to the mth row, consider the region in window coordinates bounded by the rectangle with corners
(xrp + zxn, yrp + zym) and (xrp + zx(n + 1), yrp + zy(m + 1))
(either zx or zy may be negative). A fragment representing group
(n, m)
is produced for each framebuffer pixel inside, or on the bottom or left boundary, of this rectangle.- Parameters:
xfactor
- the zx factoryfactor
- the zy factor- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPointSize
public static void glPointSize(float size)
Controls the rasterization of points if no vertex, tessellation control, tessellation evaluation, or geometry shader is active. The default point size is 1.0.- Parameters:
size
- the request size of a point- See Also:
- Reference Page
-
glPolygonMode
public static void glPolygonMode(int face, int mode)
Controls the interpretation of polygons for rasterization.FILL
is the default mode of polygon rasterization. Note that these modes affect only the final rasterization of polygons: in particular, a polygon's vertices are lit, and the polygon is clipped and possibly culled before these modes are applied. Polygon antialiasing applies only to theFILL
state of PolygonMode. ForPOINT
orLINE
, point antialiasing or line segment antialiasing, respectively, apply.- Parameters:
face
- the face for which to set the rasterizing method. One of:FRONT
BACK
FRONT_AND_BACK
mode
- the rasterization mode. One of:POINT
LINE
FILL
- See Also:
- Reference Page
-
glPolygonOffset
public static void glPolygonOffset(float factor, float units)
The depth values of all fragments generated by the rasterization of a polygon may be offset by a single value that is computed for that polygon. This function determines that value.factor
scales the maximum depth slope of the polygon, andunits
scales an implementation-dependent constant that relates to the usable resolution of the depth buffer. The resulting values are summed to produce the polygon offset value.- Parameters:
factor
- the maximum depth slope factorunits
- the constant scale- See Also:
- Reference Page
-
nglPolygonStipple
public static void nglPolygonStipple(long pattern)
Unsafe version of:PolygonStipple
-
glPolygonStipple
public static void glPolygonStipple(java.nio.ByteBuffer pattern) public static void glPolygonStipple(long pattern)
Defines a polygon stipple. It works much the same way asLineStipple
, masking out certain fragments produced by rasterization so that they are not sent to the next stage of the GL. This is the case regardless of the state of polygon antialiasing.If xw and yw are the window coordinates of a rasterized polygon fragment, then that fragment is sent to the next stage of the GL if and only if the bit of the pattern (xw mod 32, yw mod 32) is 1.
Polygon stippling may be enabled or disabled with
Enable
orDisable
using the constantPOLYGON_STIPPLE
. When disabled, it is as if the stipple pattern were all ones.- Parameters:
pattern
- a pointer to memory into which a 32 × 32 pattern is packed- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPushAttrib
public static void glPushAttrib(int mask)
Takes a bitwise OR of symbolic constants indicating which groups of state variables to push onto the server attribute stack. Each constant refers to a group of state variables.Bits set in mask that do not correspond to an attribute group are ignored. The special mask value
ALL_ATTRIB_BITS
may be used to push all stackable server state.A
STACK_OVERFLOW
error is generated ifPushAttrib
is called and the attribute stack depth is equal to the value ofMAX_ATTRIB_STACK_DEPTH
.- Parameters:
mask
- the state variables to push. One or more of:- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPushClientAttrib
public static void glPushClientAttrib(int mask)
Takes a bitwise OR of symbolic constants indicating which groups of state variables to push onto the client attribute stack. Each constant refers to a group of state variables.Bits set in mask that do not correspond to an attribute group are ignored. The special mask value
CLIENT_ALL_ATTRIB_BITS
may be used to push all stackable client state.A
STACK_OVERFLOW
error is generated ifPushAttrib
is called and the client attribute stack depth is equal to the value ofMAX_CLIENT_ATTRIB_STACK_DEPTH
.- Parameters:
mask
- the state variables to push. One or more of:CLIENT_VERTEX_ARRAY_BIT
CLIENT_PIXEL_STORE_BIT
CLIENT_ALL_ATTRIB_BITS
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPopAttrib
public static void glPopAttrib()
Resets the values of those state variables that were saved with the lastPushAttrib
. Those not saved remain unchanged.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPopClientAttrib
public static void glPopClientAttrib()
Resets the values of those state variables that were saved with the lastPushClientAttrib
. Those not saved remain unchanged.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPopMatrix
public static void glPopMatrix()
Pops the top entry off the current matrix stack, replacing the current matrix with the matrix that was the second entry in the stack.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPopName
public static void glPopName()
Pops one name off the top of the selection name stack.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglPrioritizeTextures
public static void nglPrioritizeTextures(int n, long textures, long priorities)
Unsafe version of:PrioritizeTextures
- Parameters:
n
- the number of texture object priorities to set
-
glPrioritizeTextures
public static void glPrioritizeTextures(java.nio.IntBuffer textures, java.nio.FloatBuffer priorities)
Sets the priority of texture objects. Each priority value is clamped to the range [0, 1] before it is assigned. Zero indicates the lowest priority, with the least likelihood of being resident. One indicates the highest priority, with the greatest likelihood of being resident.- Parameters:
textures
- an array of texture object namespriorities
- an array of texture object priorities- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPushMatrix
public static void glPushMatrix()
Pushes the current matrix stack down by one, duplicating the current matrix in both the top of the stack and the entry below it.- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPushName
public static void glPushName(int name)
Causesname
to be pushed onto the selection name stack.- Parameters:
name
- the name to push- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos2i
public static void glRasterPos2i(int x, int y)
Sets the two-dimensional current raster position.z
is implicitly set to 0 andw
implicitly set to 1.The coordinates are treated as if they were specified in a Vertex command. If a vertex shader is active, this vertex shader is executed using the x, y, z, and w coordinates as the object coordinates of the vertex. Otherwise, the x, y, z, and w coordinates are transformed by the current model-view and projection matrices. These coordinates, along with current values, are used to generate primary and secondary colors and texture coordinates just as is done for a vertex. The colors and texture coordinates so produced replace the colors and texture coordinates stored in the current raster position's associated data.
- Parameters:
x
- thex
raster coordinatey
- they
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos2s
public static void glRasterPos2s(short x, short y)
Short version ofRasterPos2i
.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos2f
public static void glRasterPos2f(float x, float y)
Float version ofRasterPos2i
.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos2d
public static void glRasterPos2d(double x, double y)
Double version ofRasterPos2i
.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos2iv
public static void nglRasterPos2iv(long coords)
Unsafe version of:RasterPos2iv
-
glRasterPos2iv
public static void glRasterPos2iv(java.nio.IntBuffer coords)
Pointer version ofRasterPos2i
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos2sv
public static void nglRasterPos2sv(long coords)
Unsafe version of:RasterPos2sv
-
glRasterPos2sv
public static void glRasterPos2sv(java.nio.ShortBuffer coords)
Pointer version ofRasterPos2s
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos2fv
public static void nglRasterPos2fv(long coords)
Unsafe version of:RasterPos2fv
-
glRasterPos2fv
public static void glRasterPos2fv(java.nio.FloatBuffer coords)
Pointer version ofRasterPos2f
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos2dv
public static void nglRasterPos2dv(long coords)
Unsafe version of:RasterPos2dv
-
glRasterPos2dv
public static void glRasterPos2dv(java.nio.DoubleBuffer coords)
Pointer version ofRasterPos2d
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos3i
public static void glRasterPos3i(int x, int y, int z)
Sets the three-dimensional current raster position.w
is implicitly set to 1. SeeRasterPos2i
for more details.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinatez
- thez
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos3s
public static void glRasterPos3s(short x, short y, short z)
Short version ofRasterPos3i
.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinatez
- thez
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos3f
public static void glRasterPos3f(float x, float y, float z)
Float version ofRasterPos3i
.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinatez
- thez
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos3d
public static void glRasterPos3d(double x, double y, double z)
Double version ofRasterPos3i
.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinatez
- thez
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos3iv
public static void nglRasterPos3iv(long coords)
Unsafe version of:RasterPos3iv
-
glRasterPos3iv
public static void glRasterPos3iv(java.nio.IntBuffer coords)
Pointer version ofRasterPos3i
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos3sv
public static void nglRasterPos3sv(long coords)
Unsafe version of:RasterPos3sv
-
glRasterPos3sv
public static void glRasterPos3sv(java.nio.ShortBuffer coords)
Pointer version ofRasterPos3s
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos3fv
public static void nglRasterPos3fv(long coords)
Unsafe version of:RasterPos3fv
-
glRasterPos3fv
public static void glRasterPos3fv(java.nio.FloatBuffer coords)
Pointer version ofRasterPos3f
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos3dv
public static void nglRasterPos3dv(long coords)
Unsafe version of:RasterPos3dv
-
glRasterPos3dv
public static void glRasterPos3dv(java.nio.DoubleBuffer coords)
Pointer version ofRasterPos3d
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos4i
public static void glRasterPos4i(int x, int y, int z, int w)
Sets the four-dimensional current raster position. SeeRasterPos2i
for more details.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinatez
- thez
raster coordinatew
- thew
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos4s
public static void glRasterPos4s(short x, short y, short z, short w)
Short version ofRasterPos4i
.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinatez
- thez
raster coordinatew
- thew
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos4f
public static void glRasterPos4f(float x, float y, float z, float w)
Float version of RasterPos4i.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinatez
- thez
raster coordinatew
- thew
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos4d
public static void glRasterPos4d(double x, double y, double z, double w)
Double version ofRasterPos4i
.- Parameters:
x
- thex
raster coordinatey
- they
raster coordinatez
- thez
raster coordinatew
- thew
raster coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos4iv
public static void nglRasterPos4iv(long coords)
Unsafe version of:RasterPos4iv
-
glRasterPos4iv
public static void glRasterPos4iv(java.nio.IntBuffer coords)
Pointer version ofRasterPos4i
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos4sv
public static void nglRasterPos4sv(long coords)
Unsafe version of:RasterPos4sv
-
glRasterPos4sv
public static void glRasterPos4sv(java.nio.ShortBuffer coords)
Pointer version ofRasterPos4s
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos4fv
public static void nglRasterPos4fv(long coords)
Unsafe version of:RasterPos4fv
-
glRasterPos4fv
public static void glRasterPos4fv(java.nio.FloatBuffer coords)
Pointer version ofRasterPos4f
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRasterPos4dv
public static void nglRasterPos4dv(long coords)
Unsafe version of:RasterPos4dv
-
glRasterPos4dv
public static void glRasterPos4dv(java.nio.DoubleBuffer coords)
Pointer version ofRasterPos4d
.- Parameters:
coords
- the raster position buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glReadBuffer
public static void glReadBuffer(int src)
Defines the color buffer from which values are obtained.Acceptable values for
src
depend on whether the GL is using the default framebuffer (i.e.,DRAW_FRAMEBUFFER_BINDING
is zero), or a framebuffer object (i.e.,DRAW_FRAMEBUFFER_BINDING
is non-zero). In the initial state, the GL is bound to the default framebuffer.- Parameters:
src
- the color buffer to read from. One of:NONE
FRONT_LEFT
FRONT_RIGHT
BACK_LEFT
BACK_RIGHT
FRONT
BACK
LEFT
RIGHT
FRONT_AND_BACK
COLOR_ATTACHMENT0
GL30.GL_COLOR_ATTACHMENT[1-15] - See Also:
- Reference Page
-
nglReadPixels
public static void nglReadPixels(int x, int y, int width, int height, int format, int type, long pixels)
Unsafe version of:ReadPixels
-
glReadPixels
public static void glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.ByteBuffer pixels) public static void glReadPixels(int x, int y, int width, int height, int format, int type, long pixels) public static void glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.ShortBuffer pixels) public static void glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.IntBuffer pixels) public static void glReadPixels(int x, int y, int width, int height, int format, int type, java.nio.FloatBuffer pixels)
ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at(x + i, y + j)
for0 <= i < width
and0 <= j < height
; this pixel is said to be the ith pixel in the jth row. If any of these pixels lies outside of the window allocated to the current GL context, or outside of the image attached to the currently bound read framebuffer object, then the values obtained for those pixels are undefined. WhenREAD_FRAMEBUFFER_BINDING
is zero, values are also undefined for individual pixels that are not owned by the current context. Otherwise,ReadPixels
obtains values from the selected buffer, regardless of how those values were placed there.- Parameters:
x
- the left pixel coordinatey
- the lower pixel coordinatewidth
- the number of pixels to read in the x-dimensionheight
- the number of pixels to read in the y-dimensionformat
- the pixel format. One of:RED
GREEN
BLUE
ALPHA
RG
RGB
RGBA
BGR
BGRA
RED_INTEGER
GREEN_INTEGER
BLUE_INTEGER
ALPHA_INTEGER
RG_INTEGER
RGB_INTEGER
RGBA_INTEGER
BGR_INTEGER
BGRA_INTEGER
STENCIL_INDEX
DEPTH_COMPONENT
DEPTH_STENCIL
type
- the pixel type. One of:pixels
- a buffer in which to place the returned pixel data- See Also:
- Reference Page
-
glRecti
public static void glRecti(int x1, int y1, int x2, int y2)
Specifies a rectangle as two corner vertices. The effect of the Rect commandRect(x1, y1, x2, y2);
is exactly the same as the following sequence of commands:
Begin(POLYGON); Vertex2(x1, y1); Vertex2(x2, y1); Vertex2(x2, y2); Vertex2(x1, y2); End();
The appropriate Vertex2 command would be invoked depending on which of the Rect commands is issued.
- Parameters:
x1
- the x coordinate of the first corner vertexy1
- the y coordinate of the first corner vertexx2
- the x coordinate of the second corner vertexy2
- the y coordinate of the second corner vertex- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRects
public static void glRects(short x1, short y1, short x2, short y2)
Short version ofRecti
.- Parameters:
x1
- the x coordinate of the first corner vertexy1
- the y coordinate of the first corner vertexx2
- the x coordinate of the second corner vertexy2
- the y coordinate of the second corner vertex- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRectf
public static void glRectf(float x1, float y1, float x2, float y2)
Float version ofRecti
.- Parameters:
x1
- the x coordinate of the first corner vertexy1
- the y coordinate of the first corner vertexx2
- the x coordinate of the second corner vertexy2
- the y coordinate of the second corner vertex- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRectd
public static void glRectd(double x1, double y1, double x2, double y2)
Double version ofRecti
.- Parameters:
x1
- the x coordinate of the first corner vertexy1
- the y coordinate of the first corner vertexx2
- the x coordinate of the second corner vertexy2
- the y coordinate of the second corner vertex- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRectiv
public static void nglRectiv(long v1, long v2)
Unsafe version of:Rectiv
-
glRectiv
public static void glRectiv(java.nio.IntBuffer v1, java.nio.IntBuffer v2)
Pointer version ofRecti
.- Parameters:
v1
- the first vertex bufferv2
- the second vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRectsv
public static void nglRectsv(long v1, long v2)
Unsafe version of:Rectsv
-
glRectsv
public static void glRectsv(java.nio.ShortBuffer v1, java.nio.ShortBuffer v2)
Pointer version ofRects
.- Parameters:
v1
- the first vertex bufferv2
- the second vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRectfv
public static void nglRectfv(long v1, long v2)
Unsafe version of:Rectfv
-
glRectfv
public static void glRectfv(java.nio.FloatBuffer v1, java.nio.FloatBuffer v2)
Pointer version ofRectf
.- Parameters:
v1
- the first vertex bufferv2
- the second vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglRectdv
public static void nglRectdv(long v1, long v2)
Unsafe version of:Rectdv
-
glRectdv
public static void glRectdv(java.nio.DoubleBuffer v1, java.nio.DoubleBuffer v2)
Pointer version ofRectd
.- Parameters:
v1
- the first vertex bufferv2
- the second vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRenderMode
public static int glRenderMode(int mode)
Sets the current render mode. The default isRENDER
.- Parameters:
mode
- the render mode. One of:RENDER
SELECT
FEEDBACK
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRotatef
public static void glRotatef(float angle, float x, float y, float z)
Manipulates the current matrix with a rotation matrix.angle
gives an angle of rotation in degrees; the coordinates of a vector v are given byv = (x y z)T
. The computed matrix is a counter-clockwise rotation about the line through the origin with the specified axis when that axis is pointing up (i.e. the right-hand rule determines the sense of the rotation angle). The matrix is thusR 0 0 0 0 0 0 1 Let
u = v / ||v|| = (x' y' z')T
. If S =0 -z' y' z' 0 -x' -y' x' 0 then
R = uuT + cos(angle)(I - uuT) + sin(angle)S
- Parameters:
angle
- the angle of rotation in degreesx
- the x coordinate of the rotation vectory
- the y coordinate of the rotation vectorz
- the z coordinate of the rotation vector- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRotated
public static void glRotated(double angle, double x, double y, double z)
Double version ofRotatef
.- Parameters:
angle
- the angle of rotation in degreesx
- the x coordinate of the rotation vectory
- the y coordinate of the rotation vectorz
- the z coordinate of the rotation vector- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glScalef
public static void glScalef(float x, float y, float z)
Manipulates the current matrix with a general scaling matrix along the x-, y- and z- axes.Calling this function is equivalent to calling
MultMatrixf
with the following matrix:x 0 0 0 0 y 0 0 0 0 z 0 0 0 0 1 - Parameters:
x
- the x-axis scaling factory
- the y-axis scaling factorz
- the z-axis scaling factor- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glScaled
public static void glScaled(double x, double y, double z)
Double version ofScalef
.- Parameters:
x
- the x-axis scaling factory
- the y-axis scaling factorz
- the z-axis scaling factor- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glScissor
public static void glScissor(int x, int y, int width, int height)
Defines the scissor rectangle for all viewports. The scissor test is enabled or disabled for all viewports usingEnable
orDisable
with the symbolic constantSCISSOR_TEST
. When disabled, it is as if the scissor test always passes. When enabled, ifleft ≤ xw < left + width
andbottom ≤ yw < bottom + height
for the scissor rectangle, then the scissor test passes. Otherwise, the test fails and the fragment is discarded.- Parameters:
x
- the left scissor rectangle coordinatey
- the bottom scissor rectangle coordinatewidth
- the scissor rectangle widthheight
- the scissor rectangle height- See Also:
- Reference Page
-
nglSelectBuffer
public static void nglSelectBuffer(int size, long buffer)
Unsafe version of:SelectBuffer
- Parameters:
size
- the maximum number of values that can be stored inbuffer
-
glSelectBuffer
public static void glSelectBuffer(java.nio.IntBuffer buffer)
Sets the selection array.- Parameters:
buffer
- an array of unsigned integers to be potentially filled names- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glShadeModel
public static void glShadeModel(int mode)
Sets the current shade mode. The initial value of the shade mode isSMOOTH
.If mode is
SMOOTH
, vertex colors are treated individually. If mode isFLAT
, flatshading is enabled and colors are taken from the provoking vertex of the primitive. The colors selected are those derived from current values, generated by lighting, or generated by vertex shading, if lighting is disabled, enabled, or a vertex shader is in use, respectively.- Parameters:
mode
- the shade mode. One of:SMOOTH
FLAT
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glStencilFunc
public static void glStencilFunc(int func, int ref, int mask)
Controls the stencil test.ref
is an integer reference value that is used in the unsigned stencil comparison. Stencil comparison operations and queries ofref
clamp its value to the range [0, 2s – 1], where s is the number of bits in the stencil buffer attached to the draw framebuffer. The s least significant bits ofmask
are bitwise ANDed with both the reference and the stored stencil value, and the resulting masked values are those that participate in the comparison controlled byfunc
.
-
glStencilMask
public static void glStencilMask(int mask)
Masks the writing of particular bits into the stencil plans.The least significant s bits of
mask
, where s is the number of bits in the stencil buffer, specify an integer mask. Where a 1 appears in this mask, the corresponding bit in the stencil buffer is written; where a 0 appears, the bit is not written.- Parameters:
mask
- the stencil mask- See Also:
- Reference Page
-
glStencilOp
public static void glStencilOp(int sfail, int dpfail, int dppass)
Indicates what happens to the stored stencil value if this or certain subsequent tests fail or pass.The supported actions are
KEEP
,ZERO
,REPLACE
,INCR
,DECR
,INVERT
,INCR_WRAP
andDECR_WRAP
. These correspond to keeping the current value, setting to zero, replacing with the reference value, incrementing with saturation, decrementing with saturation, bitwise inverting it, incrementing without saturation, and decrementing without saturation.For purposes of increment and decrement, the stencil bits are considered as an unsigned integer. Incrementing or decrementing with saturation clamps the stencil value at 0 and the maximum representable value. Incrementing or decrementing without saturation will wrap such that incrementing the maximum representable value results in 0, and decrementing 0 results in the maximum representable value.
- Parameters:
sfail
- the action to take if the stencil test failsdpfail
- the action to take if the depth buffer test failsdppass
- the action to take if the depth buffer test passes- See Also:
- Reference Page
-
glTexCoord1f
public static void glTexCoord1f(float s)
Sets the current one-dimensional texture coordinate.t
andr
are implicitly set to 0 andq
to 1.- Parameters:
s
- the s component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord1s
public static void glTexCoord1s(short s)
Short version ofTexCoord1f
.- Parameters:
s
- the s component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord1i
public static void glTexCoord1i(int s)
Integer version ofTexCoord1f
.- Parameters:
s
- the s component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord1d
public static void glTexCoord1d(double s)
Double version ofTexCoord1f
.- Parameters:
s
- the s component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord1fv
public static void nglTexCoord1fv(long v)
Unsafe version of:TexCoord1fv
-
glTexCoord1fv
public static void glTexCoord1fv(java.nio.FloatBuffer v)
Pointer version ofTexCoord1f
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord1sv
public static void nglTexCoord1sv(long v)
Unsafe version of:TexCoord1sv
-
glTexCoord1sv
public static void glTexCoord1sv(java.nio.ShortBuffer v)
Pointer version ofTexCoord1s
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord1iv
public static void nglTexCoord1iv(long v)
Unsafe version of:TexCoord1iv
-
glTexCoord1iv
public static void glTexCoord1iv(java.nio.IntBuffer v)
Pointer version ofTexCoord1i
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord1dv
public static void nglTexCoord1dv(long v)
Unsafe version of:TexCoord1dv
-
glTexCoord1dv
public static void glTexCoord1dv(java.nio.DoubleBuffer v)
Pointer version ofTexCoord1d
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord2f
public static void glTexCoord2f(float s, float t)
Sets the current two-dimensional texture coordinate.r
is implicitly set to 0 andq
to 1.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord2s
public static void glTexCoord2s(short s, short t)
Short version ofTexCoord2f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord2i
public static void glTexCoord2i(int s, int t)
Integer version ofTexCoord2f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord2d
public static void glTexCoord2d(double s, double t)
Double version ofTexCoord2f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord2fv
public static void nglTexCoord2fv(long v)
Unsafe version of:TexCoord2fv
-
glTexCoord2fv
public static void glTexCoord2fv(java.nio.FloatBuffer v)
Pointer version ofTexCoord2f
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord2sv
public static void nglTexCoord2sv(long v)
Unsafe version of:TexCoord2sv
-
glTexCoord2sv
public static void glTexCoord2sv(java.nio.ShortBuffer v)
Pointer version ofTexCoord2s
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord2iv
public static void nglTexCoord2iv(long v)
Unsafe version of:TexCoord2iv
-
glTexCoord2iv
public static void glTexCoord2iv(java.nio.IntBuffer v)
Pointer version ofTexCoord2i
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord2dv
public static void nglTexCoord2dv(long v)
Unsafe version of:TexCoord2dv
-
glTexCoord2dv
public static void glTexCoord2dv(java.nio.DoubleBuffer v)
Pointer version ofTexCoord2d
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord3f
public static void glTexCoord3f(float s, float t, float r)
Sets the current three-dimensional texture coordinate.q
is implicitly set to 1.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinatesr
- the r component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord3s
public static void glTexCoord3s(short s, short t, short r)
Short version ofTexCoord3f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinatesr
- the r component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord3i
public static void glTexCoord3i(int s, int t, int r)
Integer version ofTexCoord3f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinatesr
- the r component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord3d
public static void glTexCoord3d(double s, double t, double r)
Double version ofTexCoord3f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinatesr
- the r component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord3fv
public static void nglTexCoord3fv(long v)
Unsafe version of:TexCoord3fv
-
glTexCoord3fv
public static void glTexCoord3fv(java.nio.FloatBuffer v)
Pointer version ofTexCoord3f
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord3sv
public static void nglTexCoord3sv(long v)
Unsafe version of:TexCoord3sv
-
glTexCoord3sv
public static void glTexCoord3sv(java.nio.ShortBuffer v)
Pointer version ofTexCoord3s
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord3iv
public static void nglTexCoord3iv(long v)
Unsafe version of:TexCoord3iv
-
glTexCoord3iv
public static void glTexCoord3iv(java.nio.IntBuffer v)
Pointer version ofTexCoord3i
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord3dv
public static void nglTexCoord3dv(long v)
Unsafe version of:TexCoord3dv
-
glTexCoord3dv
public static void glTexCoord3dv(java.nio.DoubleBuffer v)
Pointer version ofTexCoord3d
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord4f
public static void glTexCoord4f(float s, float t, float r, float q)
Sets the current four-dimensional texture coordinate.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinatesr
- the r component of the current texture coordinatesq
- the q component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord4s
public static void glTexCoord4s(short s, short t, short r, short q)
Short version ofTexCoord4f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinatesr
- the r component of the current texture coordinatesq
- the q component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord4i
public static void glTexCoord4i(int s, int t, int r, int q)
Integer version ofTexCoord4f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinatesr
- the r component of the current texture coordinatesq
- the q component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord4d
public static void glTexCoord4d(double s, double t, double r, double q)
Double version ofTexCoord4f
.- Parameters:
s
- the s component of the current texture coordinatest
- the t component of the current texture coordinatesr
- the r component of the current texture coordinatesq
- the q component of the current texture coordinates- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord4fv
public static void nglTexCoord4fv(long v)
Unsafe version of:TexCoord4fv
-
glTexCoord4fv
public static void glTexCoord4fv(java.nio.FloatBuffer v)
Pointer version ofTexCoord4f
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord4sv
public static void nglTexCoord4sv(long v)
Unsafe version of:TexCoord4sv
-
glTexCoord4sv
public static void glTexCoord4sv(java.nio.ShortBuffer v)
Pointer version ofTexCoord4s
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord4iv
public static void nglTexCoord4iv(long v)
Unsafe version of:TexCoord4iv
-
glTexCoord4iv
public static void glTexCoord4iv(java.nio.IntBuffer v)
Pointer version ofTexCoord4i
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoord4dv
public static void nglTexCoord4dv(long v)
Unsafe version of:TexCoord4dv
-
glTexCoord4dv
public static void glTexCoord4dv(java.nio.DoubleBuffer v)
Pointer version ofTexCoord4d
.- Parameters:
v
- the texture coordinate buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexCoordPointer
public static void nglTexCoordPointer(int size, int type, int stride, long pointer)
Unsafe version of:TexCoordPointer
-
glTexCoordPointer
public static void glTexCoordPointer(int size, int type, int stride, java.nio.ByteBuffer pointer) public static void glTexCoordPointer(int size, int type, int stride, long pointer) public static void glTexCoordPointer(int size, int type, int stride, java.nio.ShortBuffer pointer) public static void glTexCoordPointer(int size, int type, int stride, java.nio.IntBuffer pointer) public static void glTexCoordPointer(int size, int type, int stride, java.nio.FloatBuffer pointer)
Specifies the location and organization of a texture coordinate array.- Parameters:
size
- the number of values per vertex that are stored in the array. One of:1 2 3 4 type
- the data type of the values stored in the array. One of:SHORT
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 texture coordinate array data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexEnvi
public static void glTexEnvi(int target, int pname, int param)
Sets parameters of the texture environment that specifies how texture values are interpreted when texturing a fragment, or sets per-texture-unit filtering parameters.- Parameters:
target
- the texture environment target. One of:TEXTURE_ENV
TEXTURE_FILTER_CONTROL
POINT_SPRITE
pname
- the parameter to set. One of:param
- the parameter value. Scalar value or one of:REPLACE
MODULATE
DECAL
BLEND
ADD
COMBINE
ADD_SIGNED
INTERPOLATE
SUBTRACT
DOT3_RGB
DOT3_RGBA
TEXTURE
TEXTURE0
GL13.GL_TEXTURE[1-31] CONSTANT
PRIMARY_COLOR
PREVIOUS
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexEnviv
public static void nglTexEnviv(int target, int pname, long params)
Unsafe version of:TexEnviv
-
glTexEnviv
public static void glTexEnviv(int target, int pname, java.nio.IntBuffer params)
Pointer version ofTexEnvi
.- Parameters:
target
- the texture environment target. Must be:TEXTURE_ENV
pname
- the parameter to set. Must be:TEXTURE_ENV_COLOR
params
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexEnvf
public static void glTexEnvf(int target, int pname, float param)
Float version ofTexEnvi
.- Parameters:
target
- the texture environment targetpname
- the parameter to setparam
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexEnvfv
public static void nglTexEnvfv(int target, int pname, long params)
Unsafe version of:TexEnvfv
-
glTexEnvfv
public static void glTexEnvfv(int target, int pname, java.nio.FloatBuffer params)
Pointer version ofTexEnvf
.- Parameters:
target
- the texture environment target. Must be:TEXTURE_ENV
pname
- the parameter to set. Must be:TEXTURE_ENV_COLOR
params
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexGeni
public static void glTexGeni(int coord, int pname, int param)
Sets an integer texture coordinate generation parameter.A texture coordinate generation function is enabled or disabled using
Enable
andDisable
with an argument ofTEXTURE_GEN_S
,TEXTURE_GEN_T
,TEXTURE_GEN_R
, orTEXTURE_GEN_Q
(each indicates the corresponding texture coordinate). When enabled, the specified texture coordinate is computed according to the currentEYE_LINEAR
,OBJECT_LINEAR
orSPHERE_MAP
specification, depending on the current setting ofTEXTURE_GEN_MODE
for that coordinate. When disabled, subsequent vertices will take the indicated texture coordinate from the current texture coordinates.The initial state has the texture generation function disabled for all texture coordinates. Initially all texture generation modes are EYE_LINEAR.
- Parameters:
coord
- the coordinate for which to set the parameter. One of:S
T
R
Q
pname
- the parameter to set. Must be:TEXTURE_GEN_MODE
param
- the parameter value. One of:OBJECT_LINEAR
EYE_LINEAR
SPHERE_MAP
REFLECTION_MAP
NORMAL_MAP
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexGeniv
public static void nglTexGeniv(int coord, int pname, long params)
Unsafe version of:TexGeniv
-
glTexGeniv
public static void glTexGeniv(int coord, int pname, java.nio.IntBuffer params)
Pointer version ofTexGeni
.- Parameters:
coord
- the coordinate for which to set the parameterpname
- the parameter to set. One of:OBJECT_PLANE
EYE_PLANE
params
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexGenf
public static void glTexGenf(int coord, int pname, float param)
Float version ofTexGeni
.- Parameters:
coord
- the coordinate for which to set the parameterpname
- the parameter to setparam
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexGenfv
public static void nglTexGenfv(int coord, int pname, long params)
Unsafe version of:TexGenfv
-
glTexGenfv
public static void glTexGenfv(int coord, int pname, java.nio.FloatBuffer params)
Pointer version ofTexGenf
.- Parameters:
coord
- the coordinate for which to set the parameterpname
- the parameter to set. One of:OBJECT_PLANE
EYE_PLANE
params
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexGend
public static void glTexGend(int coord, int pname, double param)
Double version ofTexGeni
.- Parameters:
coord
- the coordinate for which to set the parameterpname
- the parameter to setparam
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexGendv
public static void nglTexGendv(int coord, int pname, long params)
Unsafe version of:TexGendv
-
glTexGendv
public static void glTexGendv(int coord, int pname, java.nio.DoubleBuffer params)
Pointer version ofTexGend
.- Parameters:
coord
- the coordinate for which to set the parameterpname
- the parameter to setparams
- the parameter value- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglTexImage1D
public static void nglTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, long pixels)
Unsafe version of:TexImage1D
-
glTexImage1D
public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable java.nio.ByteBuffer pixels) public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable long pixels) public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable java.nio.ShortBuffer pixels) public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable java.nio.IntBuffer pixels) public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable java.nio.FloatBuffer pixels) public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable java.nio.DoubleBuffer pixels)
One-dimensional version ofTexImage2D
}.- Parameters:
target
- the texture target. One of:TEXTURE_1D
PROXY_TEXTURE_1D
level
- the level-of-detail numberinternalformat
- the texture internal formatwidth
- the texture widthborder
- the texture border widthformat
- the texel data formattype
- the texel data typepixels
- the texel data- See Also:
- Reference Page
-
nglTexImage2D
public static void nglTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, long pixels)
Unsafe version of:TexImage2D
-
glTexImage2D
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable java.nio.ByteBuffer pixels) public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable long pixels) public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable java.nio.ShortBuffer pixels) public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable java.nio.IntBuffer pixels) public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable java.nio.FloatBuffer pixels) public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable java.nio.DoubleBuffer pixels)
Specifies a two-dimensional texture image.- Parameters:
target
- the texture target. One of:TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
PROXY_TEXTURE_2D
PROXY_TEXTURE_1D_ARRAY
PROXY_TEXTURE_RECTANGLE
PROXY_TEXTURE_CUBE_MAP
level
- the level-of-detail numberinternalformat
- the texture internal format. One of:width
- the texture widthheight
- the texture heightborder
- the texture border widthformat
- the texel data format. One of:RED
GREEN
BLUE
ALPHA
RG
RGB
RGBA
BGR
BGRA
RED_INTEGER
GREEN_INTEGER
BLUE_INTEGER
ALPHA_INTEGER
RG_INTEGER
RGB_INTEGER
RGBA_INTEGER
BGR_INTEGER
BGRA_INTEGER
STENCIL_INDEX
DEPTH_COMPONENT
DEPTH_STENCIL
type
- the texel data type. One of:pixels
- the texel data- See Also:
- Reference Page
-
glCopyTexImage1D
public static void glCopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int border)
Defines a one-dimensional texel array in exactly the manner ofTexImage1D
, except that the image data are taken from the framebuffer rather than from client memory. For the purposes of decoding the texture image,CopyTexImage1D
is equivalent to callingCopyTexImage2D
with corresponding arguments and height of 1, except that the height of the image is always 1, regardless of the value of border. level, internalformat, and border are specified using the same values, with the same meanings, as the corresponding arguments ofTexImage1D
. The constraints on width and border are exactly those of the corresponding arguments ofTexImage1D
.- Parameters:
target
- the texture target. Must be:TEXTURE_1D
level
- the level-of-detail numberinternalFormat
- the texture internal format. SeeTexImage2D
for a list of supported formats.x
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the texture widthborder
- the texture border width- See Also:
- Reference Page
-
glCopyTexImage2D
public static void glCopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border)
Defines a two-dimensional texel array in exactly the manner ofTexImage2D
, except that the image data are taken from the framebuffer rather than from client memory.x
,y
,width
, andheight
correspond precisely to the corresponding arguments toReadPixels
; they specify the image's width and height, and the lower left (x, y) coordinates of the framebuffer region to be copied.The image is taken from the framebuffer exactly as if these arguments were passed to
CopyPixels
with argument type set toCOLOR
,DEPTH
, orDEPTH_STENCIL
, depending oninternalformat
. RGBA data is taken from the current color buffer, while depth component and stencil index data are taken from the depth and stencil buffers, respectively.Subsequent processing is identical to that described for
TexImage2D
, beginning with clamping of the R, G, B, A, or depth values, and masking of the stencil index values from the resulting pixel groups. Parameterslevel
,internalformat
, andborder
are specified using the same values, with the same meanings, as the corresponding arguments ofTexImage2D
.The constraints on width, height, and border are exactly those for the corresponding arguments of
TexImage2D
.- Parameters:
target
- the texture target. One of:TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
level
- the level-of-detail numberinternalFormat
- the texture internal format. SeeTexImage2D
for a list of supported formats.x
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the texture widthheight
- the texture heightborder
- the texture border width- See Also:
- Reference Page
-
glCopyTexSubImage1D
public static void glCopyTexSubImage1D(int target, int level, int xoffset, int x, int y, int width)
Respecifies a rectangular subregion of an existing texel array. No change is made to theinternalformat
,width
orborder
parameters of the specified texel array, nor is any change made to texel values outside the specified subregion. SeeCopyTexImage1D
for more details.- Parameters:
target
- the texture target. Must be:TEXTURE_1D
level
- the level-of-detail numberxoffset
- the left texel coordinate of the texture subregion to updatex
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the texture subregion width- See Also:
- Reference Page
-
glCopyTexSubImage2D
public static void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
Respecifies a rectangular subregion of an existing texel array. No change is made to theinternalformat
,width
,height
, orborder
parameters of the specified texel array, nor is any change made to texel values outside the specified subregion. SeeCopyTexImage2D
for more details.- Parameters:
target
- the texture target. One of:TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
level
- the level-of-detail numberxoffset
- the left texel coordinate of the texture subregion to updateyoffset
- the lower texel coordinate of the texture subregion to updatex
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the texture subregion widthheight
- the texture subregion height- See Also:
- Reference Page
-
glTexParameteri
public static void glTexParameteri(int target, int pname, int param)
Sets the integer value of a texture parameter, which controls how the texel array is treated when specified or changed, and when applied to a fragment.- Parameters:
target
- the texture target. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_3D
TEXTURE_1D_ARRAY
TEXTURE_2D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_CUBE_MAP_ARRAY
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
pname
- the parameter to set. One of:param
- the parameter value- See Also:
- Reference Page
-
nglTexParameteriv
public static void nglTexParameteriv(int target, int pname, long params)
Unsafe version of:TexParameteriv
-
glTexParameteriv
public static void glTexParameteriv(int target, int pname, java.nio.IntBuffer params)
Pointer version ofTexParameteri
.- Parameters:
target
- the texture targetpname
- the parameter to setparams
- the parameter value- See Also:
- Reference Page
-
glTexParameterf
public static void glTexParameterf(int target, int pname, float param)
Float version ofTexParameteri
.- Parameters:
target
- the texture targetpname
- the parameter to setparam
- the parameter value- See Also:
- Reference Page
-
nglTexParameterfv
public static void nglTexParameterfv(int target, int pname, long params)
Unsafe version of:TexParameterfv
-
glTexParameterfv
public static void glTexParameterfv(int target, int pname, java.nio.FloatBuffer params)
Pointer version ofTexParameterf
.- Parameters:
target
- the texture targetpname
- the parameter to setparams
- the parameter value- See Also:
- Reference Page
-
nglTexSubImage1D
public static void nglTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, long pixels)
Unsafe version of:TexSubImage1D
-
glTexSubImage1D
public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.ByteBuffer pixels) public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, long pixels) public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.ShortBuffer pixels) public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.IntBuffer pixels) public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.FloatBuffer pixels) public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, java.nio.DoubleBuffer pixels)
One-dimensional version ofTexSubImage2D
.- Parameters:
target
- the texture target. Must be:TEXTURE_1D
level
- the level-of-detail-numberxoffset
- the left coordinate of the texel subregionwidth
- the subregion widthformat
- the pixel data format. One of:RED
GREEN
BLUE
ALPHA
RG
RGB
RGBA
BGR
BGRA
RED_INTEGER
GREEN_INTEGER
BLUE_INTEGER
ALPHA_INTEGER
RG_INTEGER
RGB_INTEGER
RGBA_INTEGER
BGR_INTEGER
BGRA_INTEGER
STENCIL_INDEX
DEPTH_COMPONENT
DEPTH_STENCIL
type
- the pixel data type. One of:pixels
- the pixel data- See Also:
- Reference Page
-
nglTexSubImage2D
public static void nglTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels)
Unsafe version of:TexSubImage2D
-
glTexSubImage2D
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ByteBuffer pixels) public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels) public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ShortBuffer pixels) public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.IntBuffer pixels) public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.FloatBuffer pixels) public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.DoubleBuffer pixels)
Respecifies a rectangular subregion of an existing texel array. No change is made to the internalformat, width, height, depth, or border parameters of the specified texel array, nor is any change made to texel values outside the specified subregion.- Parameters:
target
- the texture target. One of:TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
level
- the level-of-detail-numberxoffset
- the left coordinate of the texel subregionyoffset
- the bottom coordinate of the texel subregionwidth
- the subregion widthheight
- the subregion heightformat
- the pixel data format. One of:RED
GREEN
BLUE
ALPHA
RG
RGB
RGBA
BGR
BGRA
RED_INTEGER
GREEN_INTEGER
BLUE_INTEGER
ALPHA_INTEGER
RG_INTEGER
RGB_INTEGER
RGBA_INTEGER
BGR_INTEGER
BGRA_INTEGER
STENCIL_INDEX
DEPTH_COMPONENT
DEPTH_STENCIL
type
- the pixel data type. One of:pixels
- the pixel data- See Also:
- Reference Page
-
glTranslatef
public static void glTranslatef(float x, float y, float z)
Manipulates the current matrix with a translation matrix along the x-, y- and z- axes.Calling this function is equivalent to calling
MultMatrixf
with the following matrix:1 0 0 x 0 1 0 y 0 0 1 z 0 0 0 1 - Parameters:
x
- the x-axis translationy
- the y-axis translationz
- the z-axis translation- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTranslated
public static void glTranslated(double x, double y, double z)
Double version ofTranslatef
.- Parameters:
x
- the x-axis translationy
- the y-axis translationz
- the z-axis translation- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex2f
public static void glVertex2f(float x, float y)
Specifies a single vertex betweenBegin
andEnd
by giving its coordinates in two dimensions. The z coordinate is implicitly set to zero and the w coordinate to one.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex2s
public static void glVertex2s(short x, short y)
Short version ofVertex2f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex2i
public static void glVertex2i(int x, int y)
Integer version ofVertex2f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex2d
public static void glVertex2d(double x, double y)
Double version ofVertex2f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex2fv
public static void nglVertex2fv(long coords)
Unsafe version of:Vertex2fv
-
glVertex2fv
public static void glVertex2fv(java.nio.FloatBuffer coords)
Pointer version ofVertex2f
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex2sv
public static void nglVertex2sv(long coords)
Unsafe version of:Vertex2sv
-
glVertex2sv
public static void glVertex2sv(java.nio.ShortBuffer coords)
Pointer version ofVertex2s
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex2iv
public static void nglVertex2iv(long coords)
Unsafe version of:Vertex2iv
-
glVertex2iv
public static void glVertex2iv(java.nio.IntBuffer coords)
Pointer version ofVertex2i
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex2dv
public static void nglVertex2dv(long coords)
Unsafe version of:Vertex2dv
-
glVertex2dv
public static void glVertex2dv(java.nio.DoubleBuffer coords)
Pointer version ofVertex2d
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex3f
public static void glVertex3f(float x, float y, float z)
Specifies a single vertex betweenBegin
andEnd
by giving its coordinates in three dimensions. The w coordinate is implicitly set to one.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinatez
- the vertex z coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex3s
public static void glVertex3s(short x, short y, short z)
Short version ofVertex3f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinatez
- the vertex z coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex3i
public static void glVertex3i(int x, int y, int z)
Integer version ofVertex3f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinatez
- the vertex z coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex3d
public static void glVertex3d(double x, double y, double z)
Double version ofVertex3f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinatez
- the vertex z coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex3fv
public static void nglVertex3fv(long coords)
Unsafe version of:Vertex3fv
-
glVertex3fv
public static void glVertex3fv(java.nio.FloatBuffer coords)
Pointer version ofVertex3f
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex3sv
public static void nglVertex3sv(long coords)
Unsafe version of:Vertex3sv
-
glVertex3sv
public static void glVertex3sv(java.nio.ShortBuffer coords)
Pointer version ofVertex3s
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex3iv
public static void nglVertex3iv(long coords)
Unsafe version of:Vertex3iv
-
glVertex3iv
public static void glVertex3iv(java.nio.IntBuffer coords)
Pointer version ofVertex3i
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex3dv
public static void nglVertex3dv(long coords)
Unsafe version of:Vertex3dv
-
glVertex3dv
public static void glVertex3dv(java.nio.DoubleBuffer coords)
Pointer version ofVertex3d
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex4f
public static void glVertex4f(float x, float y, float z, float w)
- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinatez
- the vertex z coordinatew
- the vertex w coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex4s
public static void glVertex4s(short x, short y, short z, short w)
Short version ofVertex4f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinatez
- the vertex z coordinatew
- the vertex w coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex4i
public static void glVertex4i(int x, int y, int z, int w)
Integer version ofVertex4f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinatez
- the vertex z coordinatew
- the vertex w coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex4d
public static void glVertex4d(double x, double y, double z, double w)
Double version ofVertex4f
.- Parameters:
x
- the vertex x coordinatey
- the vertex y coordinatez
- the vertex z coordinatew
- the vertex w coordinate- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex4fv
public static void nglVertex4fv(long coords)
Unsafe version of:Vertex4fv
-
glVertex4fv
public static void glVertex4fv(java.nio.FloatBuffer coords)
Pointer version ofVertex4f
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex4sv
public static void nglVertex4sv(long coords)
Unsafe version of:Vertex4sv
-
glVertex4sv
public static void glVertex4sv(java.nio.ShortBuffer coords)
Pointer version ofVertex4s
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex4iv
public static void nglVertex4iv(long coords)
Unsafe version of:Vertex4iv
-
glVertex4iv
public static void glVertex4iv(java.nio.IntBuffer coords)
Pointer version ofVertex4i
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertex4dv
public static void nglVertex4dv(long coords)
Unsafe version of:Vertex4dv
-
glVertex4dv
public static void glVertex4dv(java.nio.DoubleBuffer coords)
Pointer version ofVertex4d
.- Parameters:
coords
- the vertex buffer- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
nglVertexPointer
public static void nglVertexPointer(int size, int type, int stride, long pointer)
Unsafe version of:VertexPointer
-
glVertexPointer
public static void glVertexPointer(int size, int type, int stride, java.nio.ByteBuffer pointer) public static void glVertexPointer(int size, int type, int stride, long pointer) public static void glVertexPointer(int size, int type, int stride, java.nio.ShortBuffer pointer) public static void glVertexPointer(int size, int type, int stride, java.nio.IntBuffer pointer) public static void glVertexPointer(int size, int type, int stride, java.nio.FloatBuffer pointer)
Specifies the location and organization of a vertex array.- Parameters:
size
- the number of values per vertex that are stored in the array. One of:2 3 4 type
- the data type of the values stored in the array. One of:SHORT
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 vertex array data- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glViewport
public static void glViewport(int x, int y, int w, int h)
Specifies the viewport transformation parameters for all viewports.The location of the viewport's bottom-left corner, given by
(x, y)
, are clamped to be within the implementation-dependent viewport bounds range. The viewport bounds range[min, max]
tuple may be determined by callingGetFloatv
with the symbolic constantVIEWPORT_BOUNDS_RANGE
. Viewport width and height are clamped to implementation-dependent maximums when specified. The maximum width and height may be found by callingGetFloatv
with the symbolic constantMAX_VIEWPORT_DIMS
. The maximum viewport dimensions must be greater than or equal to the larger of the visible dimensions of the display being rendered to (if a display exists), and the largest renderbuffer image which can be successfully created and attached to a framebuffer object.In the initial state,
w
andh
for each viewport are set to the width and height, respectively, of the window into which the GL is to do its rendering. If the default framebuffer is bound but no default framebuffer is associated with the GL context, thenw
andh
are initially set to zero.- Parameters:
x
- the left viewport coordinatey
- the bottom viewport coordinatew
- the viewport widthh
- the viewport height- See Also:
- Reference Page
-
glAreTexturesResident
public static boolean glAreTexturesResident(int[] textures, java.nio.ByteBuffer residences)
Array version of:AreTexturesResident
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glClipPlane
public static void glClipPlane(int plane, double[] equation)
Array version of:ClipPlane
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3sv
public static void glColor3sv(short[] v)
Array version of:Color3sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3iv
public static void glColor3iv(int[] v)
Array version of:Color3iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3fv
public static void glColor3fv(float[] v)
Array version of:Color3fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3dv
public static void glColor3dv(double[] v)
Array version of:Color3dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3usv
public static void glColor3usv(short[] v)
Array version of:Color3usv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor3uiv
public static void glColor3uiv(int[] v)
Array version of:Color3uiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4sv
public static void glColor4sv(short[] v)
Array version of:Color4sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4iv
public static void glColor4iv(int[] v)
Array version of:Color4iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4fv
public static void glColor4fv(float[] v)
Array version of:Color4fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4dv
public static void glColor4dv(double[] v)
Array version of:Color4dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4usv
public static void glColor4usv(short[] v)
Array version of:Color4usv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glColor4uiv
public static void glColor4uiv(int[] v)
Array version of:Color4uiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glDrawPixels
public static void glDrawPixels(int width, int height, int format, int type, short[] pixels) public static void glDrawPixels(int width, int height, int format, int type, int[] pixels) public static void glDrawPixels(int width, int height, int format, int type, float[] pixels)
Array version of:DrawPixels
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalCoord1fv
public static void glEvalCoord1fv(float[] u)
Array version of:EvalCoord1fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalCoord1dv
public static void glEvalCoord1dv(double[] u)
Array version of:EvalCoord1dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalCoord2fv
public static void glEvalCoord2fv(float[] u)
Array version of:EvalCoord2fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glEvalCoord2dv
public static void glEvalCoord2dv(double[] u)
Array version of:EvalCoord2dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glFeedbackBuffer
public static void glFeedbackBuffer(int type, float[] buffer)
Array version of:FeedbackBuffer
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glFogiv
public static void glFogiv(int pname, int[] params)
Array version of:Fogiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glFogfv
public static void glFogfv(int pname, float[] params)
Array version of:Fogfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGenTextures
public static void glGenTextures(int[] textures)
Array version of:GenTextures
- See Also:
- Reference Page
-
glDeleteTextures
public static void glDeleteTextures(int[] textures)
Array version of:DeleteTextures
- See Also:
- Reference Page
-
glGetClipPlane
public static void glGetClipPlane(int plane, double[] equation)
Array version of:GetClipPlane
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetFloatv
public static void glGetFloatv(int pname, float[] params)
Array version of:GetFloatv
- See Also:
- Reference Page
-
glGetIntegerv
public static void glGetIntegerv(int pname, int[] params)
Array version of:GetIntegerv
- See Also:
- Reference Page
-
glGetDoublev
public static void glGetDoublev(int pname, double[] params)
Array version of:GetDoublev
- See Also:
- Reference Page
-
glGetLightiv
public static void glGetLightiv(int light, int pname, int[] data)
Array version of:GetLightiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetLightfv
public static void glGetLightfv(int light, int pname, float[] data)
Array version of:GetLightfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetMapiv
public static void glGetMapiv(int target, int query, int[] data)
Array version of:GetMapiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetMapfv
public static void glGetMapfv(int target, int query, float[] data)
Array version of:GetMapfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetMapdv
public static void glGetMapdv(int target, int query, double[] data)
Array version of:GetMapdv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetMaterialiv
public static void glGetMaterialiv(int face, int pname, int[] data)
Array version of:GetMaterialiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetMaterialfv
public static void glGetMaterialfv(int face, int pname, float[] data)
Array version of:GetMaterialfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetPixelMapfv
public static void glGetPixelMapfv(int map, float[] data)
Array version of:GetPixelMapfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetPixelMapusv
public static void glGetPixelMapusv(int map, short[] data)
Array version of:GetPixelMapusv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetPixelMapuiv
public static void glGetPixelMapuiv(int map, int[] data)
Array version of:GetPixelMapuiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexEnviv
public static void glGetTexEnviv(int env, int pname, int[] data)
Array version of:GetTexEnviv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexEnvfv
public static void glGetTexEnvfv(int env, int pname, float[] data)
Array version of:GetTexEnvfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexGeniv
public static void glGetTexGeniv(int coord, int pname, int[] data)
Array version of:GetTexGeniv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexGenfv
public static void glGetTexGenfv(int coord, int pname, float[] data)
Array version of:GetTexGenfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexGendv
public static void glGetTexGendv(int coord, int pname, double[] data)
Array version of:GetTexGendv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glGetTexImage
public static void glGetTexImage(int tex, int level, int format, int type, short[] pixels) public static void glGetTexImage(int tex, int level, int format, int type, int[] pixels) public static void glGetTexImage(int tex, int level, int format, int type, float[] pixels) public static void glGetTexImage(int tex, int level, int format, int type, double[] pixels)
Array version of:GetTexImage
- See Also:
- Reference Page
-
glGetTexLevelParameteriv
public static void glGetTexLevelParameteriv(int target, int level, int pname, int[] params)
Array version of:GetTexLevelParameteriv
- See Also:
- Reference Page
-
glGetTexLevelParameterfv
public static void glGetTexLevelParameterfv(int target, int level, int pname, float[] params)
Array version of:GetTexLevelParameterfv
- See Also:
- Reference Page
-
glGetTexParameteriv
public static void glGetTexParameteriv(int target, int pname, int[] params)
Array version of:GetTexParameteriv
- See Also:
- Reference Page
-
glGetTexParameterfv
public static void glGetTexParameterfv(int target, int pname, float[] params)
Array version of:GetTexParameterfv
- See Also:
- Reference Page
-
glIndexiv
public static void glIndexiv(int[] index)
Array version of:Indexiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexsv
public static void glIndexsv(short[] index)
Array version of:Indexsv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexfv
public static void glIndexfv(float[] index)
Array version of:Indexfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glIndexdv
public static void glIndexdv(double[] index)
Array version of:Indexdv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glInterleavedArrays
public static void glInterleavedArrays(int format, int stride, short[] pointer) public static void glInterleavedArrays(int format, int stride, int[] pointer) public static void glInterleavedArrays(int format, int stride, float[] pointer) public static void glInterleavedArrays(int format, int stride, double[] pointer)
Array version of:InterleavedArrays
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLightModeliv
public static void glLightModeliv(int pname, int[] params)
Array version of:LightModeliv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLightModelfv
public static void glLightModelfv(int pname, float[] params)
Array version of:LightModelfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLightiv
public static void glLightiv(int light, int pname, int[] params)
Array version of:Lightiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLightfv
public static void glLightfv(int light, int pname, float[] params)
Array version of:Lightfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLoadMatrixf
public static void glLoadMatrixf(float[] m)
Array version of:LoadMatrixf
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glLoadMatrixd
public static void glLoadMatrixd(double[] m)
Array version of:LoadMatrixd
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMap1f
public static void glMap1f(int target, float u1, float u2, int stride, int order, float[] points)
Array version of:Map1f
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMap1d
public static void glMap1d(int target, double u1, double u2, int stride, int order, double[] points)
Array version of:Map1d
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMap2f
public static void glMap2f(int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, float[] points)
Array version of:Map2f
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMap2d
public static void glMap2d(int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, double[] points)
Array version of:Map2d
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMaterialiv
public static void glMaterialiv(int face, int pname, int[] params)
Array version of:Materialiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMaterialfv
public static void glMaterialfv(int face, int pname, float[] params)
Array version of:Materialfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMultMatrixf
public static void glMultMatrixf(float[] m)
Array version of:MultMatrixf
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glMultMatrixd
public static void glMultMatrixd(double[] m)
Array version of:MultMatrixd
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3fv
public static void glNormal3fv(float[] v)
Array version of:Normal3fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3sv
public static void glNormal3sv(short[] v)
Array version of:Normal3sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3iv
public static void glNormal3iv(int[] v)
Array version of:Normal3iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glNormal3dv
public static void glNormal3dv(double[] v)
Array version of:Normal3dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelMapfv
public static void glPixelMapfv(int map, float[] values)
Array version of:PixelMapfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelMapusv
public static void glPixelMapusv(int map, short[] values)
Array version of:PixelMapusv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPixelMapuiv
public static void glPixelMapuiv(int map, int[] values)
Array version of:PixelMapuiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glPrioritizeTextures
public static void glPrioritizeTextures(int[] textures, float[] priorities)
Array version of:PrioritizeTextures
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos2iv
public static void glRasterPos2iv(int[] coords)
Array version of:RasterPos2iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos2sv
public static void glRasterPos2sv(short[] coords)
Array version of:RasterPos2sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos2fv
public static void glRasterPos2fv(float[] coords)
Array version of:RasterPos2fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos2dv
public static void glRasterPos2dv(double[] coords)
Array version of:RasterPos2dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos3iv
public static void glRasterPos3iv(int[] coords)
Array version of:RasterPos3iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos3sv
public static void glRasterPos3sv(short[] coords)
Array version of:RasterPos3sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos3fv
public static void glRasterPos3fv(float[] coords)
Array version of:RasterPos3fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos3dv
public static void glRasterPos3dv(double[] coords)
Array version of:RasterPos3dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos4iv
public static void glRasterPos4iv(int[] coords)
Array version of:RasterPos4iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos4sv
public static void glRasterPos4sv(short[] coords)
Array version of:RasterPos4sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos4fv
public static void glRasterPos4fv(float[] coords)
Array version of:RasterPos4fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRasterPos4dv
public static void glRasterPos4dv(double[] coords)
Array version of:RasterPos4dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glReadPixels
public static void glReadPixels(int x, int y, int width, int height, int format, int type, short[] pixels) public static void glReadPixels(int x, int y, int width, int height, int format, int type, int[] pixels) public static void glReadPixels(int x, int y, int width, int height, int format, int type, float[] pixels)
Array version of:ReadPixels
- See Also:
- Reference Page
-
glRectiv
public static void glRectiv(int[] v1, int[] v2)
Array version of:Rectiv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRectsv
public static void glRectsv(short[] v1, short[] v2)
Array version of:Rectsv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRectfv
public static void glRectfv(float[] v1, float[] v2)
Array version of:Rectfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glRectdv
public static void glRectdv(double[] v1, double[] v2)
Array version of:Rectdv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glSelectBuffer
public static void glSelectBuffer(int[] buffer)
Array version of:SelectBuffer
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord1fv
public static void glTexCoord1fv(float[] v)
Array version of:TexCoord1fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord1sv
public static void glTexCoord1sv(short[] v)
Array version of:TexCoord1sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord1iv
public static void glTexCoord1iv(int[] v)
Array version of:TexCoord1iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord1dv
public static void glTexCoord1dv(double[] v)
Array version of:TexCoord1dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord2fv
public static void glTexCoord2fv(float[] v)
Array version of:TexCoord2fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord2sv
public static void glTexCoord2sv(short[] v)
Array version of:TexCoord2sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord2iv
public static void glTexCoord2iv(int[] v)
Array version of:TexCoord2iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord2dv
public static void glTexCoord2dv(double[] v)
Array version of:TexCoord2dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord3fv
public static void glTexCoord3fv(float[] v)
Array version of:TexCoord3fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord3sv
public static void glTexCoord3sv(short[] v)
Array version of:TexCoord3sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord3iv
public static void glTexCoord3iv(int[] v)
Array version of:TexCoord3iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord3dv
public static void glTexCoord3dv(double[] v)
Array version of:TexCoord3dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord4fv
public static void glTexCoord4fv(float[] v)
Array version of:TexCoord4fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord4sv
public static void glTexCoord4sv(short[] v)
Array version of:TexCoord4sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord4iv
public static void glTexCoord4iv(int[] v)
Array version of:TexCoord4iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexCoord4dv
public static void glTexCoord4dv(double[] v)
Array version of:TexCoord4dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexEnviv
public static void glTexEnviv(int target, int pname, int[] params)
Array version of:TexEnviv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexEnvfv
public static void glTexEnvfv(int target, int pname, float[] params)
Array version of:TexEnvfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexGeniv
public static void glTexGeniv(int coord, int pname, int[] params)
Array version of:TexGeniv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexGenfv
public static void glTexGenfv(int coord, int pname, float[] params)
Array version of:TexGenfv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexGendv
public static void glTexGendv(int coord, int pname, double[] params)
Array version of:TexGendv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glTexImage1D
public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable short[] pixels) public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable int[] pixels) public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable float[] pixels) public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, @Nullable double[] pixels)
Array version of:TexImage1D
- See Also:
- Reference Page
-
glTexImage2D
public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable short[] pixels) public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable int[] pixels) public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable float[] pixels) public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, @Nullable double[] pixels)
Array version of:TexImage2D
- See Also:
- Reference Page
-
glTexParameteriv
public static void glTexParameteriv(int target, int pname, int[] params)
Array version of:TexParameteriv
- See Also:
- Reference Page
-
glTexParameterfv
public static void glTexParameterfv(int target, int pname, float[] params)
Array version of:TexParameterfv
- See Also:
- Reference Page
-
glTexSubImage1D
public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, short[] pixels) public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, int[] pixels) public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, float[] pixels) public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, double[] pixels)
Array version of:TexSubImage1D
- See Also:
- Reference Page
-
glTexSubImage2D
public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels) public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels) public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels) public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, double[] pixels)
Array version of:TexSubImage2D
- See Also:
- Reference Page
-
glVertex2fv
public static void glVertex2fv(float[] coords)
Array version of:Vertex2fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex2sv
public static void glVertex2sv(short[] coords)
Array version of:Vertex2sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex2iv
public static void glVertex2iv(int[] coords)
Array version of:Vertex2iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex2dv
public static void glVertex2dv(double[] coords)
Array version of:Vertex2dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex3fv
public static void glVertex3fv(float[] coords)
Array version of:Vertex3fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex3sv
public static void glVertex3sv(short[] coords)
Array version of:Vertex3sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex3iv
public static void glVertex3iv(int[] coords)
Array version of:Vertex3iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex3dv
public static void glVertex3dv(double[] coords)
Array version of:Vertex3dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex4fv
public static void glVertex4fv(float[] coords)
Array version of:Vertex4fv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex4sv
public static void glVertex4sv(short[] coords)
Array version of:Vertex4sv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex4iv
public static void glVertex4iv(int[] coords)
Array version of:Vertex4iv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
glVertex4dv
public static void glVertex4dv(double[] coords)
Array version of:Vertex4dv
- See Also:
- Reference Page - This function is deprecated and unavailable in the Core profile
-
-