Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL11C

extends Object
Class Inheritance
Known Direct Subclasses
org.lwjgl.opengl.GL12C
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

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

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
GL_ALPHA

PixelFormat

public static final int
GL_ALWAYS

AlphaFunction

public static final int
GL_AND

LogicOp

public static final int
public static final int
public static final int
GL_BACK

DrawBufferMode

public static final int
GL_BACK_LEFT

DrawBufferMode

public static final int
GL_BACK_RIGHT

DrawBufferMode

public static final int
GL_BLEND

GetTarget

public static final int
GL_BLEND_DST

GetTarget

public static final int
GL_BLEND_SRC

GetTarget

public static final int
GL_BLUE

PixelFormat

public static final int
GL_BYTE

DataType

public static final int
GL_CCW

FrontFaceDirection

public static final int
GL_CLEAR

LogicOp

public static final int
GL_COLOR

PixelCopyType

public static final int
public static final int
public static final int
public static final int
public static final int
GL_COPY

LogicOp

public static final int
public static final int
GL_CULL_FACE

GetTarget

public static final int
public static final int
GL_CW

FrontFaceDirection

public static final int
GL_DECR

StencilOp

public static final int
GL_DEPTH

PixelCopyType

public static final int
public static final int
public static final int
GL_DEPTH_COMPONENT

PixelFormat

public static final int
GL_DEPTH_FUNC

GetTarget

public static final int
GL_DEPTH_RANGE

GetTarget

public static final int
GL_DEPTH_TEST

GetTarget

public static final int
public static final int
GL_DITHER

GetTarget

public static final int
GL_DONT_CARE

HintMode

public static final int
GL_DOUBLE

DataType

public static final int
GL_DOUBLEBUFFER

GetTarget

public static final int
GL_DRAW_BUFFER

GetTarget

public static final int
GL_DST_ALPHA

BlendingFactorDest

public static final int
GL_DST_COLOR

BlendingFactorSrc

public static final int
GL_EQUAL

AlphaFunction

public static final int
GL_EQUIV

LogicOp

public static final int
GL_EXTENSIONS

StringName

public static final int
GL_FALSE

Boolean

public static final int
GL_FASTEST

HintMode

public static final int
GL_FILL

PolygonMode

public static final int
GL_FLOAT

DataType

public static final int
GL_FRONT

DrawBufferMode

public static final int
GL_FRONT_AND_BACK

DrawBufferMode

public static final int
GL_FRONT_FACE

GetTarget

public static final int
GL_FRONT_LEFT

DrawBufferMode

public static final int
GL_FRONT_RIGHT

DrawBufferMode

public static final int
GL_GEQUAL

AlphaFunction

public static final int
GL_GREATER

AlphaFunction

public static final int
GL_GREEN

PixelFormat

public static final int
GL_INCR

StencilOp

public static final int
GL_INT

DataType

public static final int
GL_INVALID_ENUM

ErrorCode

public static final int
public static final int
public static final int
GL_INVERT

LogicOp

public static final int
GL_KEEP

StencilOp

public static final int
GL_LEFT

DrawBufferMode

public static final int
GL_LEQUAL

AlphaFunction

public static final int
GL_LESS

AlphaFunction

public static final int
GL_LINE

PolygonMode

public static final int
GL_LINE_LOOP

BeginMode

public static final int
GL_LINE_SMOOTH

GetTarget

public static final int
public static final int
GL_LINE_STRIP

BeginMode

public static final int
GL_LINE_WIDTH

GetTarget

public static final int
public static final int
public static final int
GL_LINEAR

TextureMagFilter

public static final int
GL_LINEAR_MIPMAP_LINEAR

TextureMinFilter

public static final int
GL_LINEAR_MIPMAP_NEAREST

TextureMinFilter

public static final int
GL_LINES

BeginMode

public static final int
public static final int
public static final int
public static final int
GL_NAND

LogicOp

public static final int
GL_NEAREST

TextureMagFilter

public static final int
GL_NEAREST_MIPMAP_LINEAR

TextureMinFilter

public static final int
GL_NEAREST_MIPMAP_NEAREST

TextureMinFilter

public static final int
GL_NEVER

AlphaFunction

public static final int
GL_NICEST

HintMode

public static final int
GL_NO_ERROR

ErrorCode

public static final int
GL_NONE

DrawBufferMode

public static final int
GL_NOOP

LogicOp

public static final int
GL_NOR

LogicOp

public static final int
GL_NOTEQUAL

AlphaFunction

public static final int
GL_ONE

BlendingFactorDest

public static final int
GL_ONE_MINUS_DST_ALPHA

BlendingFactorDest

public static final int
GL_ONE_MINUS_DST_COLOR

BlendingFactorSrc

public static final int
GL_ONE_MINUS_SRC_ALPHA

BlendingFactorDest

public static final int
GL_ONE_MINUS_SRC_COLOR

BlendingFactorDest

public static final int
GL_OR

LogicOp

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
GL_POINT

PolygonMode

public static final int
GL_POINT_SIZE

GetTarget

public static final int
public static final int
public static final int
GL_POINTS

BeginMode

public static final int
GL_POLYGON_MODE

GetTarget

public static final int
public static final int
GL_POLYGON_OFFSET_FILL

polygon_offset

public static final int
GL_POLYGON_OFFSET_LINE

polygon_offset

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
GL_QUADS

BeginMode

public static final int
GL_R3_G3_B2

texture

public static final int
GL_READ_BUFFER

GetTarget

public static final int
GL_RED

PixelFormat

public static final int
GL_RENDERER

StringName

public static final int
GL_REPEAT

TextureWrapMode

public static final int
GL_REPLACE

StencilOp

public static final int
GL_RGB

PixelFormat

public static final int
GL_RGB10

texture

public static final int
GL_RGB10_A2

texture

public static final int
GL_RGB12

texture

public static final int
GL_RGB16

texture

public static final int
GL_RGB4

texture

public static final int
GL_RGB5

texture

public static final int
GL_RGB5_A1

texture

public static final int
GL_RGB8

texture

public static final int
GL_RGBA

PixelFormat

public static final int
GL_RGBA12

texture

public static final int
GL_RGBA16

texture

public static final int
GL_RGBA2

texture

public static final int
GL_RGBA4

texture

public static final int
GL_RGBA8

texture

public static final int
GL_RIGHT

DrawBufferMode

public static final int
GL_SCISSOR_BOX

GetTarget

public static final int
GL_SCISSOR_TEST

GetTarget

public static final int
GL_SET

LogicOp

public static final int
GL_SHORT

DataType

public static final int
GL_SRC_ALPHA

BlendingFactorDest

public static final int
GL_SRC_ALPHA_SATURATE

BlendingFactorSrc

public static final int
GL_SRC_COLOR

BlendingFactorDest

public static final int
public static final int
public static final int
GL_STENCIL

PixelCopyType

public static final int
public static final int
public static final int
GL_STENCIL_FAIL

GetTarget

public static final int
GL_STENCIL_FUNC

GetTarget

public static final int
GL_STENCIL_INDEX

PixelFormat

public static final int
public static final int
public static final int
GL_STENCIL_REF

GetTarget

public static final int
GL_STENCIL_TEST

GetTarget

public static final int
public static final int
public static final int
GL_STEREO

GetTarget

public static final int
public static final int
GL_TEXTURE

Token accepted or provided by the identifier parameters of ObjectLabel and GetObjectLabel.

public static final int
GL_TEXTURE_1D

GetTarget

public static final int
GL_TEXTURE_2D

GetTarget

public static final int
public static final int
GL_TEXTURE_BINDING_1D

texture_object

public static final int
GL_TEXTURE_BINDING_2D

texture_object

public static final int
public static final int
GL_TEXTURE_BORDER_COLOR

GetTextureParameter

public static final int
public static final int
GL_TEXTURE_HEIGHT

GetTextureParameter

public static final int
GL_TEXTURE_INTERNAL_FORMAT

GetTextureParameter

public static final int
GL_TEXTURE_MAG_FILTER

TextureParameterName

public static final int
GL_TEXTURE_MIN_FILTER

TextureParameterName

public static final int
public static final int
GL_TEXTURE_WIDTH

GetTextureParameter

public static final int
GL_TEXTURE_WRAP_S

TextureParameterName

public static final int
GL_TEXTURE_WRAP_T

TextureParameterName

public static final int
GL_TRIANGLE_FAN

BeginMode

public static final int
public static final int
GL_TRIANGLES

BeginMode

public static final int
GL_TRUE

Boolean

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
GL_VENDOR

StringName

public static final int
GL_VERSION

StringName

public static final int
GL_VERTEX_ARRAY

vertex_array

public static final int
GL_VIEWPORT

GetTarget

public static final int
GL_XOR

LogicOp

public static final int
GL_ZERO

BlendingFactorDest

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
public static native void
glBlendFunc(int sfactor, int
the destination weighting factor
dfactor
)

Specifies the weighting factors used by the blend equation, for both RGB and alpha functions and for all draw buffers.

public static native void
glClear(int
Zero or the bitwise OR of one or more values indicating which buffers are to be cleared. One or more of:
COLOR_BUFFER_BITDEPTH_BUFFER_BITSTENCIL_BUFFER_BIT
mask
)

Sets portions of every pixel in a particular buffer to the same value.

public static native void
glClearColor(float
the value to which to clear the R channel of the color buffer
red
,
float
the value to which to clear the G channel of the color buffer
green
,
float
the value to which to clear the B channel of the color buffer
blue
,
float
the value to which to clear the A channel of the color buffer
alpha
)

Sets the clear value for fixed-point and floating-point color buffers in RGBA mode.

public static native void
glClearDepth(double
the value to which to clear the depth buffer
depth
)

Sets the depth value used when clearing the depth buffer.

public static native void
glClearStencil(int
the value to which to clear the stencil buffer
s
)

Sets the value to which to clear the stencil buffer.

public static native void
glColorMask(boolean
whether R values are written or not
red
,
boolean
whether G values are written or not
green
,
boolean
whether B values are written or not
blue
,
boolean
whether A values are written or not
alpha
)

Masks the writing of R, G, B and A values to all draw buffers.

public static native void
glCopyTexImage1D(int
the texture target. Must be:
TEXTURE_1D
target
,
int
the level-of-detail number
level
,
int
the texture internal format. See TexImage2D for a list of supported formats.
internalFormat
,
int
the left framebuffer pixel coordinate
x
,
int
the lower framebuffer pixel coordinate
y
,
int
the texture width
width
,
int
the texture border width
border
)

Defines a one-dimensional texel array in exactly the manner of TexImage1D, except that the image data are taken from the framebuffer rather than from client memory.

public static native void
glCopyTexImage2D(int target, int
the level-of-detail number
level
,
int
the texture internal format. See TexImage2D for a list of supported formats.
internalFormat
,
int
the left framebuffer pixel coordinate
x
,
int
the lower framebuffer pixel coordinate
y
,
int
the texture width
width
,
int
the texture height
height
,
int
the texture border width
border
)

Defines a two-dimensional texel array in exactly the manner of TexImage2D, except that the image data are taken from the framebuffer rather than from client memory.

public static native void
glCopyTexSubImage1D(int
the texture target. Must be:
TEXTURE_1D
target
,
int
the level-of-detail number
level
,
int
the left texel coordinate of the texture subregion to update
xoffset
,
int
the left framebuffer pixel coordinate
x
,
int
the lower framebuffer pixel coordinate
y
,
int
the texture subregion width
width
)

Respecifies a rectangular subregion of an existing texel array.

public static native void
glCopyTexSubImage2D(int target, int
the level-of-detail number
level
,
int
the left texel coordinate of the texture subregion to update
xoffset
,
int
the lower texel coordinate of the texture subregion to update
yoffset
,
int
the left framebuffer pixel coordinate
x
,
int
the lower framebuffer pixel coordinate
y
,
int
the texture subregion width
width
,
int
the texture subregion height
height
)

Respecifies a rectangular subregion of an existing texel array.

public static native void
glCullFace(int
the CullFace mode. One of:
FRONTBACKFRONT_AND_BACK
mode
)

Specifies which polygon faces are culled if CULL_FACE is enabled.

public static void
glDeleteTextures(IntBuffer
contains n names of texture objects to be deleted
textures
)

Deletes texture objects.

public static void
glDeleteTextures(int texture)

Deletes texture objects.

public static void
glDeleteTextures(int[] textures)

Array version of: DeleteTextures

public static native void
glDepthFunc(int
the depth test comparison. One of:
NEVERALWAYSLESSLEQUALEQUALGREATERGEQUALNOTEQUAL
func
)

Specifies the comparison that takes place during the depth buffer test (when DEPTH_TEST is enabled).

public static native void
glDepthMask(boolean
whether depth values are written or not.
flag
)

Masks the writing of depth values to the depth buffer.

public static native void
glDepthRange(double
the near depth range
zNear
,
double
the far depth range
zFar
)

Sets the depth range for all viewports to the same values.

public static native void
glDisable(int
the OpenGL state to disable
target
)

Disables the specified OpenGL state.

public static native void
glDrawArrays(int
the kind of primitives being constructed
mode
,
int
the first vertex to transfer to the GL
first
,
int
the number of vertices after first to transfer to the GL
count
)

Constructs a sequence of geometric primitives by successively transferring elements for count vertices.

public static native void
glDrawBuffer(int
the color buffer to draw to. One of:
NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTFRONTBACKLEFT
RIGHTFRONT_AND_BACKCOLOR_ATTACHMENT0GL30.GL_COLOR_ATTACHMENT[1-15]
buf
)

Defines the color buffer to which fragment color zero is written.

public static void
glDrawElements(int mode, int
the number of vertices to transfer to the GL
count
,
int
indicates the type of index values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
long
the index values
indices
)

Constructs a sequence of geometric primitives by successively transferring elements for count vertices to the GL.

public static void
glDrawElements(int mode, int
indicates the type of index values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
ByteBuffer
the index values
indices
)

Constructs a sequence of geometric primitives by successively transferring elements for count vertices to the GL.

public static void
glDrawElements(int mode, ByteBuffer
the index values
indices
)

Constructs a sequence of geometric primitives by successively transferring elements for count vertices to the GL.

public static void
glDrawElements(int mode, ShortBuffer
the index values
indices
)

Constructs a sequence of geometric primitives by successively transferring elements for count vertices to the GL.

public static void
glDrawElements(int mode, IntBuffer
the index values
indices
)

Constructs a sequence of geometric primitives by successively transferring elements for count vertices to the GL.

public static native void
glEnable(int
the OpenGL state to enable
target
)

Enables the specified OpenGL state.

public static native void
glFinish()

Forces all previously issued GL commands to complete.

public static native void
glFlush()

Causes all previously issued GL commands to complete in finite time (although such commands may still be executing when Flush returns).

public static native void
glFrontFace(int
the front face direction. One of:
CCWCW
dir
)

The first step of polygon rasterization is to determine if the polygon is back-facing or front-facing.

public static void
glGenTextures(IntBuffer
a scalar or buffer in which to place the returned texture names
textures
)

Returns n previously unused texture names in textures.

public static int
glGenTextures()

Returns n previously unused texture names in textures.

public static void
glGenTextures(int[] textures)

Array version of: GenTextures

public static boolean
glGetBoolean(int
the state variable
pname
)

Returns the current boolean value of the specified state variable.

public static void
glGetBooleanv(int
the state variable
pname
,
ByteBuffer
a scalar or buffer in which to place the returned data
params
)

Returns the current boolean value of the specified state variable.

public static double
glGetDouble(int
the state variable
pname
)

Returns the current double value of the specified state variable.

public static void
glGetDoublev(int
the state variable
pname
,
DoubleBuffer
a scalar or buffer in which to place the returned data
params
)

Returns the current double value of the specified state variable.

public static void
glGetDoublev(int pname, double[] params)

Array version of: GetDoublev

public static native int
glGetError()

Returns error information.

public static float
glGetFloat(int
the state variable
pname
)

Returns the current float value of the specified state variable.

public static void
glGetFloatv(int
the state variable
pname
,
FloatBuffer
a scalar or buffer in which to place the returned data
params
)

Returns the current float value of the specified state variable.

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

Array version of: GetFloatv

public static int
glGetInteger(int
the state variable
pname
)

Returns the current integer value of the specified state variable.

public static void
glGetIntegerv(int
the state variable
pname
,
IntBuffer
a scalar or buffer in which to place the returned data
params
)

Returns the current integer value of the specified state variable.

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

Array version of: GetIntegerv

public static long
glGetPointer(int pname)

Returns a pointer in the current GL context.

public static void
glGetPointerv(int pname, PointerBuffer
a buffer in which to place the returned pointer
params
)

Returns a pointer in the current GL context.

public static String
glGetString(int name)

Return strings describing properties of the current GL context.

public static void
public static void
public static void
public static void
public static void
public static void
public static void
glGetTexImage(int tex, int level, int format, int type, short[] pixels)

Array version of: GetTexImage

public static void
glGetTexImage(int tex, int level, int format, int type, int[] pixels)

Array version of: GetTexImage

public static void
glGetTexImage(int tex, int level, int format, int type, float[] pixels)

Array version of: GetTexImage

public static void
glGetTexImage(int tex, int level, int format, int type, double[] pixels)

Array version of: GetTexImage

public static float
glGetTexLevelParameterf(int
the texture image target
target
,
int
the level-of-detail number
level
,
int
the parameter to query
pname
)

Float version of GetTexLevelParameteriv.

public static void
glGetTexLevelParameterfv(int
the texture image target
target
,
int
the level-of-detail number
level
,
int
the parameter to query
pname
,
FloatBuffer
a scalar or buffer in which to place the returned data
params
)

Float version of GetTexLevelParameteriv.

public static void
glGetTexLevelParameterfv(int target, int level, int pname, float[] params)

Array version of: GetTexLevelParameterfv

public static int
public static void
public static void
glGetTexLevelParameteriv(int target, int level, int pname, int[] params)

Array version of: GetTexLevelParameteriv

public static float
glGetTexParameterf(int
the texture target
target
,
int
the parameter to query
pname
)

Float version of GetTexParameteriv.

public static void
glGetTexParameterfv(int
the texture target
target
,
int
the parameter to query
pname
,
FloatBuffer
a scalar or buffer in which to place the returned data
params
)

Float version of GetTexParameteriv.

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

Array version of: GetTexParameterfv

public static int
public static void
public static void
glGetTexParameteriv(int target, int pname, int[] params)

Array version of: GetTexParameteriv

public static native void
glHint(int target, int
the behavior hint. One of:
FASTESTNICESTDONT_CARE
hint
)

Certain aspects of GL behavior, when there is room for variation, may be controlled with this function.

public static native boolean
glIsEnabled(int
the enable state to query
cap
)

Determines if cap is currently enabled (as with Enable) or disabled.

public static native boolean
glIsTexture(int
the texture name to query
texture
)

Returns true if texture is the name of a texture object.

public static native void
glLineWidth(float
the line width
width
)

Sets the width of rasterized line segments.

public static native void
glLogicOp(int op)

Sets the logical framebuffer operation.

public static native void
glPixelStoref(int
the pixel store parameter to set
pname
,
float
the parameter value
param
)

Float version of PixelStorei.

public static native void
public static native void
glPointSize(float
the request size of a point
size
)

Controls the rasterization of points if no vertex, tessellation control, tessellation evaluation, or geometry shader is active.

public static native void
glPolygonMode(int
the face for which to set the rasterizing method. One of:
FRONTBACKFRONT_AND_BACK
face
,
int
the rasterization mode. One of:
POINTLINEFILL
mode
)

Controls the interpretation of polygons for rasterization.

public static native void
glPolygonOffset(float
the maximum depth slope factor
factor
,
float
the constant scale
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.

public static native void
glReadBuffer(int
the color buffer to read from. One of:
NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTFRONTBACKLEFT
RIGHTFRONT_AND_BACKCOLOR_ATTACHMENT0GL30.GL_COLOR_ATTACHMENT[1-15]
src
)

Defines the color buffer from which values are obtained.

public static void
glReadPixels(int
the left pixel coordinate
x
,
int
the lower pixel coordinate
y
,
int
the number of pixels to read in the x-dimension
width
,
int
the number of pixels to read in the y-dimension
height
,
int format, int type, ByteBuffer
a buffer in which to place the returned pixel data
pixels
)

ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at (x + i, y + j) for 0 <= i < width and 0 <= j < height; this pixel is said to be the ith pixel in the jth row.

public static void
glReadPixels(int
the left pixel coordinate
x
,
int
the lower pixel coordinate
y
,
int
the number of pixels to read in the x-dimension
width
,
int
the number of pixels to read in the y-dimension
height
,
int format, int type, long
a buffer in which to place the returned pixel data
pixels
)

ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at (x + i, y + j) for 0 <= i < width and 0 <= j < height; this pixel is said to be the ith pixel in the jth row.

public static void
glReadPixels(int
the left pixel coordinate
x
,
int
the lower pixel coordinate
y
,
int
the number of pixels to read in the x-dimension
width
,
int
the number of pixels to read in the y-dimension
height
,
int format, int type, ShortBuffer
a buffer in which to place the returned pixel data
pixels
)

ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at (x + i, y + j) for 0 <= i < width and 0 <= j < height; this pixel is said to be the ith pixel in the jth row.

public static void
glReadPixels(int
the left pixel coordinate
x
,
int
the lower pixel coordinate
y
,
int
the number of pixels to read in the x-dimension
width
,
int
the number of pixels to read in the y-dimension
height
,
int format, int type, IntBuffer
a buffer in which to place the returned pixel data
pixels
)

ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at (x + i, y + j) for 0 <= i < width and 0 <= j < height; this pixel is said to be the ith pixel in the jth row.

public static void
glReadPixels(int
the left pixel coordinate
x
,
int
the lower pixel coordinate
y
,
int
the number of pixels to read in the x-dimension
width
,
int
the number of pixels to read in the y-dimension
height
,
int format, int type, FloatBuffer
a buffer in which to place the returned pixel data
pixels
)

ReadPixels obtains values from the selected read buffer from each pixel with lower left hand corner at (x + i, y + j) for 0 <= i < width and 0 <= j < height; this pixel is said to be the ith pixel in the jth row.

public static void
glReadPixels(int x, int y, int width, int height, int format, int type, short[] pixels)

Array version of: ReadPixels

public static void
glReadPixels(int x, int y, int width, int height, int format, int type, int[] pixels)

Array version of: ReadPixels

public static void
glReadPixels(int x, int y, int width, int height, int format, int type, float[] pixels)

Array version of: ReadPixels

public static native void
glScissor(int
the left scissor rectangle coordinate
x
,
int
the bottom scissor rectangle coordinate
y
,
int
the scissor rectangle width
width
,
int
the scissor rectangle height
height
)

Defines the scissor rectangle for all viewports.

public static native void
glStencilFunc(int
the stencil comparison function. One of:
NEVERALWAYSLESSLEQUALEQUALGEQUALGREATERNOTEQUAL
func
,
int
the reference value
ref
,
int
the stencil comparison mask
mask
)

Controls the stencil test.

public static native void
glStencilMask(int
the stencil mask
mask
)

Masks the writing of particular bits into the stencil plans.

public static native void
glStencilOp(int
the action to take if the stencil test fails
sfail
,
int
the action to take if the depth buffer test fails
dpfail
,
int
the action to take if the depth buffer test passes
dppass
)

Indicates what happens to the stored stencil value if this or certain subsequent tests fail or pass.

public static void
glTexImage1D(int
the texture target. One of:
TEXTURE_1DPROXY_TEXTURE_1D
target
,
int
the level-of-detail number
level
,
int
the texture internal format
internalformat
,
int
the texture width
width
,
int
the texture border width
border
,
int
the texel data format
format
,
int
the texel data type
type
,
ByteBuffer
the texel data
pixels
)

One-dimensional version of TexImage2D}.

public static void
glTexImage1D(int
the texture target. One of:
TEXTURE_1DPROXY_TEXTURE_1D
target
,
int
the level-of-detail number
level
,
int
the texture internal format
internalformat
,
int
the texture width
width
,
int
the texture border width
border
,
int
the texel data format
format
,
int
the texel data type
type
,
long
the texel data
pixels
)

One-dimensional version of TexImage2D}.

public static void
glTexImage1D(int
the texture target. One of:
TEXTURE_1DPROXY_TEXTURE_1D
target
,
int
the level-of-detail number
level
,
int
the texture internal format
internalformat
,
int
the texture width
width
,
int
the texture border width
border
,
int
the texel data format
format
,
int
the texel data type
type
,
ShortBuffer
the texel data
pixels
)

One-dimensional version of TexImage2D}.

public static void
glTexImage1D(int
the texture target. One of:
TEXTURE_1DPROXY_TEXTURE_1D
target
,
int
the level-of-detail number
level
,
int
the texture internal format
internalformat
,
int
the texture width
width
,
int
the texture border width
border
,
int
the texel data format
format
,
int
the texel data type
type
,
IntBuffer
the texel data
pixels
)

One-dimensional version of TexImage2D}.

public static void
glTexImage1D(int
the texture target. One of:
TEXTURE_1DPROXY_TEXTURE_1D
target
,
int
the level-of-detail number
level
,
int
the texture internal format
internalformat
,
int
the texture width
width
,
int
the texture border width
border
,
int
the texel data format
format
,
int
the texel data type
type
,
FloatBuffer
the texel data
pixels
)

One-dimensional version of TexImage2D}.

public static void
glTexImage1D(int
the texture target. One of:
TEXTURE_1DPROXY_TEXTURE_1D
target
,
int
the level-of-detail number
level
,
int
the texture internal format
internalformat
,
int
the texture width
width
,
int
the texture border width
border
,
int
the texel data format
format
,
int
the texel data type
type
,
DoubleBuffer
the texel data
pixels
)

One-dimensional version of TexImage2D}.

public static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, short[] pixels)

Array version of: TexImage1D

public static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, int[] pixels)

Array version of: TexImage1D

public static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, float[] pixels)

Array version of: TexImage1D

public static void
glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, double[] pixels)

Array version of: TexImage1D

public static void
glTexImage2D(int target, int
the level-of-detail number
level
,
int internalformat, int
the texture width
width
,
int
the texture height
height
,
int
the texture border width
border
,
int format, int type, ByteBuffer
the texel data
pixels
)

Specifies a two-dimensional texture image.

public static void
glTexImage2D(int target, int
the level-of-detail number
level
,
int internalformat, int
the texture width
width
,
int
the texture height
height
,
int
the texture border width
border
,
int format, int type, long
the texel data
pixels
)

Specifies a two-dimensional texture image.

public static void
glTexImage2D(int target, int
the level-of-detail number
level
,
int internalformat, int
the texture width
width
,
int
the texture height
height
,
int
the texture border width
border
,
int format, int type, ShortBuffer
the texel data
pixels
)

Specifies a two-dimensional texture image.

public static void
glTexImage2D(int target, int
the level-of-detail number
level
,
int internalformat, int
the texture width
width
,
int
the texture height
height
,
int
the texture border width
border
,
int format, int type, IntBuffer
the texel data
pixels
)

Specifies a two-dimensional texture image.

public static void
glTexImage2D(int target, int
the level-of-detail number
level
,
int internalformat, int
the texture width
width
,
int
the texture height
height
,
int
the texture border width
border
,
int format, int type, FloatBuffer
the texel data
pixels
)

Specifies a two-dimensional texture image.

public static void
glTexImage2D(int target, int
the level-of-detail number
level
,
int internalformat, int
the texture width
width
,
int
the texture height
height
,
int
the texture border width
border
,
int format, int type, DoubleBuffer
the texel data
pixels
)

Specifies a two-dimensional texture image.

public 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

public 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

public 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

public 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

public static native void
glTexParameterf(int
the texture target
target
,
int
the parameter to set
pname
,
float
the parameter value
param
)

Float version of TexParameteri.

public static void
glTexParameterfv(int
the texture target
target
,
int
the parameter to set
pname
,
FloatBuffer
the parameter value
params
)

Pointer version of TexParameterf.

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

Array version of: TexParameterfv

public static native void
public static void
glTexParameteriv(int
the texture target
target
,
int
the parameter to set
pname
,
IntBuffer
the parameter value
params
)

Pointer version of TexParameteri.

public static void
glTexParameteriv(int target, int pname, int[] params)

Array version of: TexParameteriv

public static void
public static void
public static void
public static void
public static void
public static void
public static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, short[] pixels)

Array version of: TexSubImage1D

public static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, int[] pixels)

Array version of: TexSubImage1D

public static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, float[] pixels)

Array version of: TexSubImage1D

public static void
glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, double[] pixels)

Array version of: TexSubImage1D

public static void
public static void
public static void
public static void
public static void
public static void
public 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

public 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

public 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

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

public static native void
glViewport(int
the left viewport coordinate
x
,
int
the bottom viewport coordinate
y
,
int
the viewport width
w
,
int
the viewport height
h
)

Specifies the viewport transformation parameters for all viewports.

public static native void
nglDeleteTextures(int
the number of texture names in the textures parameter
n
,
long textures)

Unsafe version of: DeleteTextures

public static native void
nglDrawElements(int mode, int
the number of vertices to transfer to the GL
count
,
int
indicates the type of index values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
long indices)

Unsafe version of: DrawElements

public static native void
nglGenTextures(int
the number of textures to create
n
,
long textures)

Unsafe version of: GenTextures

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

Unsafe version of: GetBooleanv

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

Unsafe version of: GetDoublev

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

Unsafe version of: GetFloatv

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

Unsafe version of: GetIntegerv

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

Unsafe version of: GetPointerv

public static native long
nglGetString(int name)

Unsafe version of: GetString

public static native void
nglGetTexImage(int tex, int level, int format, int type, long pixels)

Unsafe version of: GetTexImage

public static native void
nglGetTexLevelParameterfv(int target, int level, int pname, long params)

Unsafe version of: GetTexLevelParameterfv

public static native void
nglGetTexLevelParameteriv(int target, int level, int pname, long params)

Unsafe version of: GetTexLevelParameteriv

public static native void
nglGetTexParameterfv(int target, int pname, long params)

Unsafe version of: GetTexParameterfv

public static native void
nglGetTexParameteriv(int target, int pname, long params)

Unsafe version of: GetTexParameteriv

public static native void
nglReadPixels(int x, int y, int width, int height, int format, int type, long pixels)

Unsafe version of: ReadPixels

public static native void
nglTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, long pixels)

Unsafe version of: TexImage1D

public static native void
nglTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, long pixels)

Unsafe version of: TexImage2D

public static native void
nglTexParameterfv(int target, int pname, long params)

Unsafe version of: TexParameterfv

public static native void
nglTexParameteriv(int target, int pname, long params)

Unsafe version of: TexParameteriv

public static native void
nglTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, long pixels)

Unsafe version of: TexSubImage1D

public static native void
nglTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels)

Unsafe version of: TexSubImage2D

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait