GL_ALPHA, GL_ALWAYS, GL_ARRAY_BUFFER, GL_BACK, GL_BLEND, GL_BLUE, GL_BYTE, GL_CLAMP_TO_EDGE, GL_COLOR_BUFFER_BIT, GL_COMPILE_STATUS, GL_CULL_FACE, GL_DECR, GL_DECR_WRAP, GL_DEPTH_BUFFER_BIT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_TEST, GL_DOUBLE, GL_DST_ALPHA, GL_DST_COLOR, GL_DYNAMIC_COPY, GL_DYNAMIC_DRAW, GL_ELEMENT_ARRAY_BUFFER, GL_EQUAL, GL_EXTENSIONS, GL_FALSE, GL_FLOAT, GL_FRAGMENT_SHADER, GL_FRONT, GL_FRONT_AND_BACK, GL_FUNC_ADD, GL_FUNC_REVERSE_SUBTRACT, GL_FUNC_SUBTRACT, GL_GEQUAL, GL_GREATER, GL_GREEN, GL_INCR, GL_INCR_WRAP, GL_INFO_LOG_LENGTH, GL_INT, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEQUAL, GL_LESS, GL_LINE_LOOP, GL_LINE_STRIP, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LINK_STATUS, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_MAX, GL_MAX_CUBE_MAP_TEXTURE_SIZE, GL_MAX_FRAGMENT_UNIFORM_VECTORS, GL_MAX_TEXTURE_IMAGE_UNITS, GL_MAX_TEXTURE_SIZE, GL_MAX_VERTEX_ATTRIBS, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, GL_MAX_VERTEX_UNIFORM_VECTORS, GL_MIN, GL_MIRRORED_REPEAT, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NO_ERROR, GL_NONE, GL_NOTEQUAL, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OUT_OF_MEMORY, GL_POINTS, GL_POLYGON_OFFSET_FILL, GL_QUERY_RESULT, GL_QUERY_RESULT_AVAILABLE, GL_RED, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RGB, GL_RGB5_A1, GL_RGB565, GL_RGBA, GL_RGBA4, GL_SCISSOR_TEST, GL_SHADING_LANGUAGE_VERSION, GL_SHORT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STATIC_DRAW, GL_STENCIL_BUFFER_BIT, GL_STENCIL_TEST, GL_STREAM_DRAW, GL_STREAM_READ, GL_TEXTURE, GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE2, GL_TEXTURE3, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9, GL_TIME_ELAPSED, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNPACK_ROW_LENGTH, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_VENDOR, GL_VERSION, GL_VERTEX_SHADER, GL_ZERO
Modifier and Type | Method and Description |
---|---|
void |
glAlphaFunc(int func,
float ref)
Reference Page - This function is deprecated and unavailable in the Core profile
|
void |
glCompressedTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
java.nio.ByteBuffer data)
|
void |
glCompressedTexSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
java.nio.ByteBuffer data)
|
void |
glDrawBuffer(int mode)
|
void |
glPointSize(float size)
|
void |
glPolygonMode(int face,
int mode)
|
void |
glReadBuffer(int mode)
|
void |
glTexImage3D(int target,
int level,
int internalFormat,
int width,
int height,
int depth,
int border,
int format,
int type,
java.nio.ByteBuffer data)
|
void |
glTexSubImage3D(int target,
int level,
int xoffset,
int yoffset,
int zoffset,
int width,
int height,
int depth,
int format,
int type,
java.nio.ByteBuffer data)
|
glActiveTexture, glAttachShader, glBeginQuery, glBindBuffer, glBindTexture, glBlendEquationSeparate, glBlendFunc, glBlendFuncSeparate, glBufferData, glBufferData, glBufferData, glBufferData, glBufferSubData, glBufferSubData, glBufferSubData, glClear, glClearColor, glColorMask, glCompileShader, glCompressedTexImage2D, glCompressedTexSubImage2D, glCreateProgram, glCreateShader, glCullFace, glDeleteBuffers, glDeleteProgram, glDeleteShader, glDeleteTextures, glDepthFunc, glDepthMask, glDepthRange, glDetachShader, glDisable, glDisableVertexAttribArray, glDrawArrays, glDrawRangeElements, glEnable, glEnableVertexAttribArray, glEndQuery, glGenBuffers, glGenQueries, glGenTextures, glGetAttribLocation, glGetBoolean, glGetBufferSubData, glGetError, glGetInteger, glGetProgram, glGetProgramInfoLog, glGetQueryObjectiv, glGetQueryObjectui64, glGetShader, glGetShaderInfoLog, glGetString, glGetUniformLocation, glIsEnabled, glLineWidth, glLinkProgram, glPixelStorei, glPolygonOffset, glReadPixels, glReadPixels, glScissor, glShaderSource, glStencilFuncSeparate, glStencilOpSeparate, glTexImage2D, glTexParameterf, glTexParameteri, glTexSubImage2D, glUniform1, glUniform1, glUniform1f, glUniform1i, glUniform2, glUniform2, glUniform2f, glUniform3, glUniform3, glUniform3f, glUniform4, glUniform4, glUniform4f, glUniformMatrix3, glUniformMatrix4, glUseProgram, glVertexAttribPointer, glViewport, resetStats
static final int GL_ALPHA8
static final int GL_ALPHA_TEST
static final int GL_BGR
static final int GL_BGRA
static final int GL_COMPARE_REF_TO_TEXTURE
static final int GL_DEPTH_COMPONENT24
static final int GL_DEPTH_COMPONENT32
static final int GL_DEPTH_TEXTURE_MODE
static final int GL_DOUBLEBUFFER
static final int GL_DRAW_BUFFER
static final int GL_POINT
static final int GL_LINE
static final int GL_FILL
static final int GL_GENERATE_MIPMAP
static final int GL_INTENSITY
static final int GL_LUMINANCE8
static final int GL_LUMINANCE8_ALPHA8
static final int GL_MAX_ELEMENTS_INDICES
static final int GL_MAX_ELEMENTS_VERTICES
static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS
static final int GL_READ_BUFFER
static final int GL_RGB8
static final int GL_STACK_OVERFLOW
static final int GL_STACK_UNDERFLOW
static final int GL_TEXTURE_3D
static final int GL_TEXTURE_BASE_LEVEL
static final int GL_TEXTURE_MAX_LEVEL
static final int GL_POINT_SPRITE
static final int GL_TEXTURE_COMPARE_FUNC
static final int GL_TEXTURE_COMPARE_MODE
static final int GL_TEXTURE_WRAP_R
static final int GL_VERTEX_PROGRAM_POINT_SIZE
static final int GL_UNSIGNED_INT_8_8_8_8
void glAlphaFunc(int func, float ref)
Reference Page - This function is deprecated and unavailable in the Core profile
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
and Disable
commands using the symbolic constant ALPHA_TEST
.
When disabled, it is as if the comparison always passes. The test is controlled with this method.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).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.
size
- the request size of a point.void glPolygonMode(int face, int mode)
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 the
FILL
state of PolygonMode. For POINT
or LINE
, point antialiasing or line segment antialiasing, respectively, apply.
void glDrawBuffer(int mode)
Defines the color buffer to which fragment color zero is written.
mode
- the color buffer to draw to.void glReadBuffer(int mode)
Defines the color buffer from which values are obtained.
mode
- the color buffer to read from.void glCompressedTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, java.nio.ByteBuffer data)
Specifies a three-dimensional texture image in a compressed format.
target
- the target texture.level
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.internalFormat
- the format of the compressed image data.width
- the width of the texture imageheight
- the height of the texture imagedepth
- the depth of the texture imageborder
- must be 0data
- a pointer to the compressed image datavoid glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, java.nio.ByteBuffer data)
Respecifies only a cubic subregion of an existing 3D texel array, with incoming data stored in a specific compressed image format.
target
- the target texture.level
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.xoffset
- a texel offset in the x direction within the texture array.yoffset
- a texel offset in the y direction within the texture array.zoffset
- a texel offset in the z direction within the texture array.width
- the width of the texture subimage.height
- the height of the texture subimage.depth
- the depth of the texture subimage.format
- the format of the compressed image data stored at address data
.data
- a pointer to the compressed image data.void glTexImage3D(int target, int level, int internalFormat, int width, int height, int depth, int border, int format, int type, java.nio.ByteBuffer data)
Specifies a three-dimensional texture image.
target
- the texture target.level
- the level-of-detail number.internalFormat
- the texture internal format.width
- the texture width.height
- the texture height.depth
- the texture depth.border
- the texture border width.format
- the texel data format.type
- the texel data type.data
- the texel data.void glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ByteBuffer data)
Respecifies a cubic subregion of an existing 3D 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.
target
- the texture target.level
- the level-of-detail-number.xoffset
- the x coordinate of the texel subregion.yoffset
- the y coordinate of the texel subregion.zoffset
- the z coordinate of the texel subregion.width
- the subregion width.height
- the subregion height.depth
- the subregion depth.format
- the pixel data format.type
- the pixel data type.data
- the pixel data.