Android APIs
public class

GLES20

extends Object
java.lang.Object
   ↳ android.opengl.GLES20
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

OpenGL ES 2.0

Summary

Constants
int GL_ACTIVE_ATTRIBUTES
int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
int GL_ACTIVE_TEXTURE
int GL_ACTIVE_UNIFORMS
int GL_ACTIVE_UNIFORM_MAX_LENGTH
int GL_ALIASED_LINE_WIDTH_RANGE
int GL_ALIASED_POINT_SIZE_RANGE
int GL_ALPHA
int GL_ALPHA_BITS
int GL_ALWAYS
int GL_ARRAY_BUFFER
int GL_ARRAY_BUFFER_BINDING
int GL_ATTACHED_SHADERS
int GL_BACK
int GL_BLEND
int GL_BLEND_COLOR
int GL_BLEND_DST_ALPHA
int GL_BLEND_DST_RGB
int GL_BLEND_EQUATION
int GL_BLEND_EQUATION_ALPHA
int GL_BLEND_EQUATION_RGB
int GL_BLEND_SRC_ALPHA
int GL_BLEND_SRC_RGB
int GL_BLUE_BITS
int GL_BOOL
int GL_BOOL_VEC2
int GL_BOOL_VEC3
int GL_BOOL_VEC4
int GL_BUFFER_SIZE
int GL_BUFFER_USAGE
int GL_BYTE
int GL_CCW
int GL_CLAMP_TO_EDGE
int GL_COLOR_ATTACHMENT0
int GL_COLOR_BUFFER_BIT
int GL_COLOR_CLEAR_VALUE
int GL_COLOR_WRITEMASK
int GL_COMPILE_STATUS
int GL_COMPRESSED_TEXTURE_FORMATS
int GL_CONSTANT_ALPHA
int GL_CONSTANT_COLOR
int GL_CULL_FACE
int GL_CULL_FACE_MODE
int GL_CURRENT_PROGRAM
int GL_CURRENT_VERTEX_ATTRIB
int GL_CW
int GL_DECR
int GL_DECR_WRAP
int GL_DELETE_STATUS
int GL_DEPTH_ATTACHMENT
int GL_DEPTH_BITS
int GL_DEPTH_BUFFER_BIT
int GL_DEPTH_CLEAR_VALUE
int GL_DEPTH_COMPONENT
int GL_DEPTH_COMPONENT16
int GL_DEPTH_FUNC
int GL_DEPTH_RANGE
int GL_DEPTH_TEST
int GL_DEPTH_WRITEMASK
int GL_DITHER
int GL_DONT_CARE
int GL_DST_ALPHA
int GL_DST_COLOR
int GL_DYNAMIC_DRAW
int GL_ELEMENT_ARRAY_BUFFER
int GL_ELEMENT_ARRAY_BUFFER_BINDING
int GL_EQUAL
int GL_EXTENSIONS
int GL_FALSE
int GL_FASTEST
int GL_FIXED
int GL_FLOAT
int GL_FLOAT_MAT2
int GL_FLOAT_MAT3
int GL_FLOAT_MAT4
int GL_FLOAT_VEC2
int GL_FLOAT_VEC3
int GL_FLOAT_VEC4
int GL_FRAGMENT_SHADER
int GL_FRAMEBUFFER
int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
int GL_FRAMEBUFFER_BINDING
int GL_FRAMEBUFFER_COMPLETE
int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
int GL_FRAMEBUFFER_UNSUPPORTED
int GL_FRONT
int GL_FRONT_AND_BACK
int GL_FRONT_FACE
int GL_FUNC_ADD
int GL_FUNC_REVERSE_SUBTRACT
int GL_FUNC_SUBTRACT
int GL_GENERATE_MIPMAP_HINT
int GL_GEQUAL
int GL_GREATER
int GL_GREEN_BITS
int GL_HIGH_FLOAT
int GL_HIGH_INT
int GL_IMPLEMENTATION_COLOR_READ_FORMAT
int GL_IMPLEMENTATION_COLOR_READ_TYPE
int GL_INCR
int GL_INCR_WRAP
int GL_INFO_LOG_LENGTH
int GL_INT
int GL_INT_VEC2
int GL_INT_VEC3
int GL_INT_VEC4
int GL_INVALID_ENUM
int GL_INVALID_FRAMEBUFFER_OPERATION
int GL_INVALID_OPERATION
int GL_INVALID_VALUE
int GL_INVERT
int GL_KEEP
int GL_LEQUAL
int GL_LESS
int GL_LINEAR
int GL_LINEAR_MIPMAP_LINEAR
int GL_LINEAR_MIPMAP_NEAREST
int GL_LINES
int GL_LINE_LOOP
int GL_LINE_STRIP
int GL_LINE_WIDTH
int GL_LINK_STATUS
int GL_LOW_FLOAT
int GL_LOW_INT
int GL_LUMINANCE
int GL_LUMINANCE_ALPHA
int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
int GL_MAX_CUBE_MAP_TEXTURE_SIZE
int GL_MAX_FRAGMENT_UNIFORM_VECTORS
int GL_MAX_RENDERBUFFER_SIZE
int GL_MAX_TEXTURE_IMAGE_UNITS
int GL_MAX_TEXTURE_SIZE
int GL_MAX_VARYING_VECTORS
int GL_MAX_VERTEX_ATTRIBS
int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
int GL_MAX_VERTEX_UNIFORM_VECTORS
int GL_MAX_VIEWPORT_DIMS
int GL_MEDIUM_FLOAT
int GL_MEDIUM_INT
int GL_MIRRORED_REPEAT
int GL_NEAREST
int GL_NEAREST_MIPMAP_LINEAR
int GL_NEAREST_MIPMAP_NEAREST
int GL_NEVER
int GL_NICEST
int GL_NONE
int GL_NOTEQUAL
int GL_NO_ERROR
int GL_NUM_COMPRESSED_TEXTURE_FORMATS
int GL_NUM_SHADER_BINARY_FORMATS
int GL_ONE
int GL_ONE_MINUS_CONSTANT_ALPHA
int GL_ONE_MINUS_CONSTANT_COLOR
int GL_ONE_MINUS_DST_ALPHA
int GL_ONE_MINUS_DST_COLOR
int GL_ONE_MINUS_SRC_ALPHA
int GL_ONE_MINUS_SRC_COLOR
int GL_OUT_OF_MEMORY
int GL_PACK_ALIGNMENT
int GL_POINTS
int GL_POLYGON_OFFSET_FACTOR
int GL_POLYGON_OFFSET_FILL
int GL_POLYGON_OFFSET_UNITS
int GL_RED_BITS
int GL_RENDERBUFFER
int GL_RENDERBUFFER_ALPHA_SIZE
int GL_RENDERBUFFER_BINDING
int GL_RENDERBUFFER_BLUE_SIZE
int GL_RENDERBUFFER_DEPTH_SIZE
int GL_RENDERBUFFER_GREEN_SIZE
int GL_RENDERBUFFER_HEIGHT
int GL_RENDERBUFFER_INTERNAL_FORMAT
int GL_RENDERBUFFER_RED_SIZE
int GL_RENDERBUFFER_STENCIL_SIZE
int GL_RENDERBUFFER_WIDTH
int GL_RENDERER
int GL_REPEAT
int GL_REPLACE
int GL_RGB
int GL_RGB565
int GL_RGB5_A1
int GL_RGBA
int GL_RGBA4
int GL_SAMPLER_2D
int GL_SAMPLER_CUBE
int GL_SAMPLES
int GL_SAMPLE_ALPHA_TO_COVERAGE
int GL_SAMPLE_BUFFERS
int GL_SAMPLE_COVERAGE
int GL_SAMPLE_COVERAGE_INVERT
int GL_SAMPLE_COVERAGE_VALUE
int GL_SCISSOR_BOX
int GL_SCISSOR_TEST
int GL_SHADER_BINARY_FORMATS
int GL_SHADER_COMPILER
int GL_SHADER_SOURCE_LENGTH
int GL_SHADER_TYPE
int GL_SHADING_LANGUAGE_VERSION
int GL_SHORT
int GL_SRC_ALPHA
int GL_SRC_ALPHA_SATURATE
int GL_SRC_COLOR
int GL_STATIC_DRAW
int GL_STENCIL_ATTACHMENT
int GL_STENCIL_BACK_FAIL
int GL_STENCIL_BACK_FUNC
int GL_STENCIL_BACK_PASS_DEPTH_FAIL
int GL_STENCIL_BACK_PASS_DEPTH_PASS
int GL_STENCIL_BACK_REF
int GL_STENCIL_BACK_VALUE_MASK
int GL_STENCIL_BACK_WRITEMASK
int GL_STENCIL_BITS
int GL_STENCIL_BUFFER_BIT
int GL_STENCIL_CLEAR_VALUE
int GL_STENCIL_FAIL
int GL_STENCIL_FUNC
int GL_STENCIL_INDEX
int GL_STENCIL_INDEX8
int GL_STENCIL_PASS_DEPTH_FAIL
int GL_STENCIL_PASS_DEPTH_PASS
int GL_STENCIL_REF
int GL_STENCIL_TEST
int GL_STENCIL_VALUE_MASK
int GL_STENCIL_WRITEMASK
int GL_STREAM_DRAW
int GL_SUBPIXEL_BITS
int GL_TEXTURE
int GL_TEXTURE0
int GL_TEXTURE1
int GL_TEXTURE10
int GL_TEXTURE11
int GL_TEXTURE12
int GL_TEXTURE13
int GL_TEXTURE14
int GL_TEXTURE15
int GL_TEXTURE16
int GL_TEXTURE17
int GL_TEXTURE18
int GL_TEXTURE19
int GL_TEXTURE2
int GL_TEXTURE20
int GL_TEXTURE21
int GL_TEXTURE22
int GL_TEXTURE23
int GL_TEXTURE24
int GL_TEXTURE25
int GL_TEXTURE26
int GL_TEXTURE27
int GL_TEXTURE28
int GL_TEXTURE29
int GL_TEXTURE3
int GL_TEXTURE30
int GL_TEXTURE31
int GL_TEXTURE4
int GL_TEXTURE5
int GL_TEXTURE6
int GL_TEXTURE7
int GL_TEXTURE8
int GL_TEXTURE9
int GL_TEXTURE_2D
int GL_TEXTURE_BINDING_2D
int GL_TEXTURE_BINDING_CUBE_MAP
int GL_TEXTURE_CUBE_MAP
int GL_TEXTURE_CUBE_MAP_NEGATIVE_X
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
int GL_TEXTURE_CUBE_MAP_POSITIVE_X
int GL_TEXTURE_CUBE_MAP_POSITIVE_Y
int GL_TEXTURE_CUBE_MAP_POSITIVE_Z
int GL_TEXTURE_MAG_FILTER
int GL_TEXTURE_MIN_FILTER
int GL_TEXTURE_WRAP_S
int GL_TEXTURE_WRAP_T
int GL_TRIANGLES
int GL_TRIANGLE_FAN
int GL_TRIANGLE_STRIP
int GL_TRUE
int GL_UNPACK_ALIGNMENT
int GL_UNSIGNED_BYTE
int GL_UNSIGNED_INT
int GL_UNSIGNED_SHORT
int GL_UNSIGNED_SHORT_4_4_4_4
int GL_UNSIGNED_SHORT_5_5_5_1
int GL_UNSIGNED_SHORT_5_6_5
int GL_VALIDATE_STATUS
int GL_VENDOR
int GL_VERSION
int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
int GL_VERTEX_ATTRIB_ARRAY_ENABLED
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
int GL_VERTEX_ATTRIB_ARRAY_POINTER
int GL_VERTEX_ATTRIB_ARRAY_SIZE
int GL_VERTEX_ATTRIB_ARRAY_STRIDE
int GL_VERTEX_ATTRIB_ARRAY_TYPE
int GL_VERTEX_SHADER
int GL_VIEWPORT
int GL_ZERO
Public Constructors
GLES20()
Public Methods
static void glActiveTexture(int texture)
static void glAttachShader(int program, int shader)
static void glBindAttribLocation(int program, int index, String name)
static void glBindBuffer(int target, int buffer)
static void glBindFramebuffer(int target, int framebuffer)
static void glBindRenderbuffer(int target, int renderbuffer)
static void glBindTexture(int target, int texture)
static void glBlendColor(float red, float green, float blue, float alpha)
static void glBlendEquation(int mode)
static void glBlendEquationSeparate(int modeRGB, int modeAlpha)
static void glBlendFunc(int sfactor, int dfactor)
static void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
static void glBufferData(int target, int size, Buffer data, int usage)
static void glBufferSubData(int target, int offset, int size, Buffer data)
static int glCheckFramebufferStatus(int target)
static void glClear(int mask)
static void glClearColor(float red, float green, float blue, float alpha)
static void glClearDepthf(float depth)
static void glClearStencil(int s)
static void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
static void glCompileShader(int shader)
static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)
static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)
static void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
static void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
static int glCreateProgram()
static int glCreateShader(int type)
static void glCullFace(int mode)
static void glDeleteBuffers(int n, int[] buffers, int offset)
static void glDeleteBuffers(int n, IntBuffer buffers)
static void glDeleteFramebuffers(int n, int[] framebuffers, int offset)
static void glDeleteFramebuffers(int n, IntBuffer framebuffers)
static void glDeleteProgram(int program)
static void glDeleteRenderbuffers(int n, IntBuffer renderbuffers)
static void glDeleteRenderbuffers(int n, int[] renderbuffers, int offset)
static void glDeleteShader(int shader)
static void glDeleteTextures(int n, int[] textures, int offset)
static void glDeleteTextures(int n, IntBuffer textures)
static void glDepthFunc(int func)
static void glDepthMask(boolean flag)
static void glDepthRangef(float zNear, float zFar)
static void glDetachShader(int program, int shader)
static void glDisable(int cap)
static void glDisableVertexAttribArray(int index)
static void glDrawArrays(int mode, int first, int count)
static void glDrawElements(int mode, int count, int type, Buffer indices)
static void glDrawElements(int mode, int count, int type, int offset)
static void glEnable(int cap)
static void glEnableVertexAttribArray(int index)
static void glFinish()
static void glFlush()
static void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
static void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
static void glFrontFace(int mode)
static void glGenBuffers(int n, IntBuffer buffers)
static void glGenBuffers(int n, int[] buffers, int offset)
static void glGenFramebuffers(int n, IntBuffer framebuffers)
static void glGenFramebuffers(int n, int[] framebuffers, int offset)
static void glGenRenderbuffers(int n, IntBuffer renderbuffers)
static void glGenRenderbuffers(int n, int[] renderbuffers, int offset)
static void glGenTextures(int n, IntBuffer textures)
static void glGenTextures(int n, int[] textures, int offset)
static void glGenerateMipmap(int target)
static String glGetActiveAttrib(int program, int index, IntBuffer size, IntBuffer type)
static String glGetActiveAttrib(int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)
static void glGetActiveAttrib(int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset)
static String glGetActiveUniform(int program, int index, IntBuffer size, IntBuffer type)
static void glGetActiveUniform(int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset)
static String glGetActiveUniform(int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)
static void glGetAttachedShaders(int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset)
static void glGetAttachedShaders(int program, int maxcount, IntBuffer count, IntBuffer shaders)
static int glGetAttribLocation(int program, String name)
static void glGetBooleanv(int pname, boolean[] params, int offset)
static void glGetBooleanv(int pname, IntBuffer params)
static void glGetBufferParameteriv(int target, int pname, IntBuffer params)
static void glGetBufferParameteriv(int target, int pname, int[] params, int offset)
static int glGetError()
static void glGetFloatv(int pname, FloatBuffer params)
static void glGetFloatv(int pname, float[] params, int offset)
static void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params)
static void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, int[] params, int offset)
static void glGetIntegerv(int pname, IntBuffer params)
static void glGetIntegerv(int pname, int[] params, int offset)
static String glGetProgramInfoLog(int program)
static void glGetProgramiv(int program, int pname, IntBuffer params)
static void glGetProgramiv(int program, int pname, int[] params, int offset)
static void glGetRenderbufferParameteriv(int target, int pname, int[] params, int offset)
static void glGetRenderbufferParameteriv(int target, int pname, IntBuffer params)
static String glGetShaderInfoLog(int shader)
static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision)
static void glGetShaderPrecisionFormat(int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset)
static void glGetShaderSource(int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset)
static String glGetShaderSource(int shader)
static void glGetShaderiv(int shader, int pname, IntBuffer params)
static void glGetShaderiv(int shader, int pname, int[] params, int offset)
static String glGetString(int name)
static void glGetTexParameterfv(int target, int pname, float[] params, int offset)
static void glGetTexParameterfv(int target, int pname, FloatBuffer params)
static void glGetTexParameteriv(int target, int pname, int[] params, int offset)
static void glGetTexParameteriv(int target, int pname, IntBuffer params)
static int glGetUniformLocation(int program, String name)
static void glGetUniformfv(int program, int location, FloatBuffer params)
static void glGetUniformfv(int program, int location, float[] params, int offset)
static void glGetUniformiv(int program, int location, IntBuffer params)
static void glGetUniformiv(int program, int location, int[] params, int offset)
static void glGetVertexAttribfv(int index, int pname, float[] params, int offset)
static void glGetVertexAttribfv(int index, int pname, FloatBuffer params)
static void glGetVertexAttribiv(int index, int pname, int[] params, int offset)
static void glGetVertexAttribiv(int index, int pname, IntBuffer params)
static void glHint(int target, int mode)
static boolean glIsBuffer(int buffer)
static boolean glIsEnabled(int cap)
static boolean glIsFramebuffer(int framebuffer)
static boolean glIsProgram(int program)
static boolean glIsRenderbuffer(int renderbuffer)
static boolean glIsShader(int shader)
static boolean glIsTexture(int texture)
static void glLineWidth(float width)
static void glLinkProgram(int program)
static void glPixelStorei(int pname, int param)
static void glPolygonOffset(float factor, float units)
static void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels)
static void glReleaseShaderCompiler()
static void glRenderbufferStorage(int target, int internalformat, int width, int height)
static void glSampleCoverage(float value, boolean invert)
static void glScissor(int x, int y, int width, int height)
static void glShaderBinary(int n, IntBuffer shaders, int binaryformat, Buffer binary, int length)
static void glShaderBinary(int n, int[] shaders, int offset, int binaryformat, Buffer binary, int length)
static void glShaderSource(int shader, String string)
static void glStencilFunc(int func, int ref, int mask)
static void glStencilFuncSeparate(int face, int func, int ref, int mask)
static void glStencilMask(int mask)
static void glStencilMaskSeparate(int face, int mask)
static void glStencilOp(int fail, int zfail, int zpass)
static void glStencilOpSeparate(int face, int fail, int zfail, int zpass)
static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)
static void glTexParameterf(int target, int pname, float param)
static void glTexParameterfv(int target, int pname, float[] params, int offset)
static void glTexParameterfv(int target, int pname, FloatBuffer params)
static void glTexParameteri(int target, int pname, int param)
static void glTexParameteriv(int target, int pname, IntBuffer params)
static void glTexParameteriv(int target, int pname, int[] params, int offset)
static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)
static void glUniform1f(int location, float x)
static void glUniform1fv(int location, int count, float[] v, int offset)
static void glUniform1fv(int location, int count, FloatBuffer v)
static void glUniform1i(int location, int x)
static void glUniform1iv(int location, int count, IntBuffer v)
static void glUniform1iv(int location, int count, int[] v, int offset)
static void glUniform2f(int location, float x, float y)
static void glUniform2fv(int location, int count, FloatBuffer v)
static void glUniform2fv(int location, int count, float[] v, int offset)
static void glUniform2i(int location, int x, int y)
static void glUniform2iv(int location, int count, IntBuffer v)
static void glUniform2iv(int location, int count, int[] v, int offset)
static void glUniform3f(int location, float x, float y, float z)
static void glUniform3fv(int location, int count, float[] v, int offset)
static void glUniform3fv(int location, int count, FloatBuffer v)
static void glUniform3i(int location, int x, int y, int z)
static void glUniform3iv(int location, int count, IntBuffer v)
static void glUniform3iv(int location, int count, int[] v, int offset)
static void glUniform4f(int location, float x, float y, float z, float w)
static void glUniform4fv(int location, int count, FloatBuffer v)
static void glUniform4fv(int location, int count, float[] v, int offset)
static void glUniform4i(int location, int x, int y, int z, int w)
static void glUniform4iv(int location, int count, int[] v, int offset)
static void glUniform4iv(int location, int count, IntBuffer v)
static void glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value)
static void glUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset)
static void glUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset)
static void glUniformMatrix3fv(int location, int count, boolean transpose, FloatBuffer value)
static void glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset)
static void glUniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer value)
static void glUseProgram(int program)
static void glValidateProgram(int program)
static void glVertexAttrib1f(int indx, float x)
static void glVertexAttrib1fv(int indx, FloatBuffer values)
static void glVertexAttrib1fv(int indx, float[] values, int offset)
static void glVertexAttrib2f(int indx, float x, float y)
static void glVertexAttrib2fv(int indx, float[] values, int offset)
static void glVertexAttrib2fv(int indx, FloatBuffer values)
static void glVertexAttrib3f(int indx, float x, float y, float z)
static void glVertexAttrib3fv(int indx, FloatBuffer values)
static void glVertexAttrib3fv(int indx, float[] values, int offset)
static void glVertexAttrib4f(int indx, float x, float y, float z, float w)
static void glVertexAttrib4fv(int indx, FloatBuffer values)
static void glVertexAttrib4fv(int indx, float[] values, int offset)
static void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr)
static void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int offset)
static void glViewport(int x, int y, int width, int height)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int GL_ACTIVE_ATTRIBUTES

Added in API level 8

Constant Value: 35721 (0x00008b89)

public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH

Added in API level 8

Constant Value: 35722 (0x00008b8a)

public static final int GL_ACTIVE_TEXTURE

Added in API level 8

Constant Value: 34016 (0x000084e0)

public static final int GL_ACTIVE_UNIFORMS

Added in API level 8

Constant Value: 35718 (0x00008b86)

public static final int GL_ACTIVE_UNIFORM_MAX_LENGTH

Added in API level 8

Constant Value: 35719 (0x00008b87)

public static final int GL_ALIASED_LINE_WIDTH_RANGE

Added in API level 8

Constant Value: 33902 (0x0000846e)

public static final int GL_ALIASED_POINT_SIZE_RANGE

Added in API level 8

Constant Value: 33901 (0x0000846d)

public static final int GL_ALPHA

Added in API level 8

Constant Value: 6406 (0x00001906)

public static final int GL_ALPHA_BITS

Added in API level 8

Constant Value: 3413 (0x00000d55)

public static final int GL_ALWAYS

Added in API level 8

Constant Value: 519 (0x00000207)

public static final int GL_ARRAY_BUFFER

Added in API level 8

Constant Value: 34962 (0x00008892)

public static final int GL_ARRAY_BUFFER_BINDING

Added in API level 8

Constant Value: 34964 (0x00008894)

public static final int GL_ATTACHED_SHADERS

Added in API level 8

Constant Value: 35717 (0x00008b85)

public static final int GL_BACK

Added in API level 8

Constant Value: 1029 (0x00000405)

public static final int GL_BLEND

Added in API level 8

Constant Value: 3042 (0x00000be2)

public static final int GL_BLEND_COLOR

Added in API level 8

Constant Value: 32773 (0x00008005)

public static final int GL_BLEND_DST_ALPHA

Added in API level 8

Constant Value: 32970 (0x000080ca)

public static final int GL_BLEND_DST_RGB

Added in API level 8

Constant Value: 32968 (0x000080c8)

public static final int GL_BLEND_EQUATION

Added in API level 8

Constant Value: 32777 (0x00008009)

public static final int GL_BLEND_EQUATION_ALPHA

Added in API level 8

Constant Value: 34877 (0x0000883d)

public static final int GL_BLEND_EQUATION_RGB

Added in API level 8

Constant Value: 32777 (0x00008009)

public static final int GL_BLEND_SRC_ALPHA

Added in API level 8

Constant Value: 32971 (0x000080cb)

public static final int GL_BLEND_SRC_RGB

Added in API level 8

Constant Value: 32969 (0x000080c9)

public static final int GL_BLUE_BITS

Added in API level 8

Constant Value: 3412 (0x00000d54)

public static final int GL_BOOL

Added in API level 8

Constant Value: 35670 (0x00008b56)

public static final int GL_BOOL_VEC2

Added in API level 8

Constant Value: 35671 (0x00008b57)

public static final int GL_BOOL_VEC3

Added in API level 8

Constant Value: 35672 (0x00008b58)

public static final int GL_BOOL_VEC4

Added in API level 8

Constant Value: 35673 (0x00008b59)

public static final int GL_BUFFER_SIZE

Added in API level 8

Constant Value: 34660 (0x00008764)

public static final int GL_BUFFER_USAGE

Added in API level 8

Constant Value: 34661 (0x00008765)

public static final int GL_BYTE

Added in API level 8

Constant Value: 5120 (0x00001400)

public static final int GL_CCW

Added in API level 8

Constant Value: 2305 (0x00000901)

public static final int GL_CLAMP_TO_EDGE

Added in API level 8

Constant Value: 33071 (0x0000812f)

public static final int GL_COLOR_ATTACHMENT0

Added in API level 8

Constant Value: 36064 (0x00008ce0)

public static final int GL_COLOR_BUFFER_BIT

Added in API level 8

Constant Value: 16384 (0x00004000)

public static final int GL_COLOR_CLEAR_VALUE

Added in API level 8

Constant Value: 3106 (0x00000c22)

public static final int GL_COLOR_WRITEMASK

Added in API level 8

Constant Value: 3107 (0x00000c23)

public static final int GL_COMPILE_STATUS

Added in API level 8

Constant Value: 35713 (0x00008b81)

public static final int GL_COMPRESSED_TEXTURE_FORMATS

Added in API level 8

Constant Value: 34467 (0x000086a3)

public static final int GL_CONSTANT_ALPHA

Added in API level 8

Constant Value: 32771 (0x00008003)

public static final int GL_CONSTANT_COLOR

Added in API level 8

Constant Value: 32769 (0x00008001)

public static final int GL_CULL_FACE

Added in API level 8

Constant Value: 2884 (0x00000b44)

public static final int GL_CULL_FACE_MODE

Added in API level 8

Constant Value: 2885 (0x00000b45)

public static final int GL_CURRENT_PROGRAM

Added in API level 8

Constant Value: 35725 (0x00008b8d)

public static final int GL_CURRENT_VERTEX_ATTRIB

Added in API level 8

Constant Value: 34342 (0x00008626)

public static final int GL_CW

Added in API level 8

Constant Value: 2304 (0x00000900)

public static final int GL_DECR

Added in API level 8

Constant Value: 7683 (0x00001e03)

public static final int GL_DECR_WRAP

Added in API level 8

Constant Value: 34056 (0x00008508)

public static final int GL_DELETE_STATUS

Added in API level 8

Constant Value: 35712 (0x00008b80)

public static final int GL_DEPTH_ATTACHMENT

Added in API level 8

Constant Value: 36096 (0x00008d00)

public static final int GL_DEPTH_BITS

Added in API level 8

Constant Value: 3414 (0x00000d56)

public static final int GL_DEPTH_BUFFER_BIT

Added in API level 8

Constant Value: 256 (0x00000100)

public static final int GL_DEPTH_CLEAR_VALUE

Added in API level 8

Constant Value: 2931 (0x00000b73)

public static final int GL_DEPTH_COMPONENT

Added in API level 8

Constant Value: 6402 (0x00001902)

public static final int GL_DEPTH_COMPONENT16

Added in API level 8

Constant Value: 33189 (0x000081a5)

public static final int GL_DEPTH_FUNC

Added in API level 8

Constant Value: 2932 (0x00000b74)

public static final int GL_DEPTH_RANGE

Added in API level 8

Constant Value: 2928 (0x00000b70)

public static final int GL_DEPTH_TEST

Added in API level 8

Constant Value: 2929 (0x00000b71)

public static final int GL_DEPTH_WRITEMASK

Added in API level 8

Constant Value: 2930 (0x00000b72)

public static final int GL_DITHER

Added in API level 8

Constant Value: 3024 (0x00000bd0)

public static final int GL_DONT_CARE

Added in API level 8

Constant Value: 4352 (0x00001100)

public static final int GL_DST_ALPHA

Added in API level 8

Constant Value: 772 (0x00000304)

public static final int GL_DST_COLOR

Added in API level 8

Constant Value: 774 (0x00000306)

public static final int GL_DYNAMIC_DRAW

Added in API level 8

Constant Value: 35048 (0x000088e8)

public static final int GL_ELEMENT_ARRAY_BUFFER

Added in API level 8

Constant Value: 34963 (0x00008893)

public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING

Added in API level 8

Constant Value: 34965 (0x00008895)

public static final int GL_EQUAL

Added in API level 8

Constant Value: 514 (0x00000202)

public static final int GL_EXTENSIONS

Added in API level 8

Constant Value: 7939 (0x00001f03)

public static final int GL_FALSE

Added in API level 8

Constant Value: 0 (0x00000000)

public static final int GL_FASTEST

Added in API level 8

Constant Value: 4353 (0x00001101)

public static final int GL_FIXED

Added in API level 8

Constant Value: 5132 (0x0000140c)

public static final int GL_FLOAT

Added in API level 8

Constant Value: 5126 (0x00001406)

public static final int GL_FLOAT_MAT2

Added in API level 8

Constant Value: 35674 (0x00008b5a)

public static final int GL_FLOAT_MAT3

Added in API level 8

Constant Value: 35675 (0x00008b5b)

public static final int GL_FLOAT_MAT4

Added in API level 8

Constant Value: 35676 (0x00008b5c)

public static final int GL_FLOAT_VEC2

Added in API level 8

Constant Value: 35664 (0x00008b50)

public static final int GL_FLOAT_VEC3

Added in API level 8

Constant Value: 35665 (0x00008b51)

public static final int GL_FLOAT_VEC4

Added in API level 8

Constant Value: 35666 (0x00008b52)

public static final int GL_FRAGMENT_SHADER

Added in API level 8

Constant Value: 35632 (0x00008b30)

public static final int GL_FRAMEBUFFER

Added in API level 8

Constant Value: 36160 (0x00008d40)

public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

Added in API level 8

Constant Value: 36049 (0x00008cd1)

public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

Added in API level 8

Constant Value: 36048 (0x00008cd0)

public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

Added in API level 8

Constant Value: 36051 (0x00008cd3)

public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

Added in API level 8

Constant Value: 36050 (0x00008cd2)

public static final int GL_FRAMEBUFFER_BINDING

Added in API level 8

Constant Value: 36006 (0x00008ca6)

public static final int GL_FRAMEBUFFER_COMPLETE

Added in API level 8

Constant Value: 36053 (0x00008cd5)

public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Added in API level 8

Constant Value: 36054 (0x00008cd6)

public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Added in API level 8

Constant Value: 36057 (0x00008cd9)

public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

Added in API level 8

Constant Value: 36055 (0x00008cd7)

public static final int GL_FRAMEBUFFER_UNSUPPORTED

Added in API level 8

Constant Value: 36061 (0x00008cdd)

public static final int GL_FRONT

Added in API level 8

Constant Value: 1028 (0x00000404)

public static final int GL_FRONT_AND_BACK

Added in API level 8

Constant Value: 1032 (0x00000408)

public static final int GL_FRONT_FACE

Added in API level 8

Constant Value: 2886 (0x00000b46)

public static final int GL_FUNC_ADD

Added in API level 8

Constant Value: 32774 (0x00008006)

public static final int GL_FUNC_REVERSE_SUBTRACT

Added in API level 8

Constant Value: 32779 (0x0000800b)

public static final int GL_FUNC_SUBTRACT

Added in API level 8

Constant Value: 32778 (0x0000800a)

public static final int GL_GENERATE_MIPMAP_HINT

Added in API level 8

Constant Value: 33170 (0x00008192)

public static final int GL_GEQUAL

Added in API level 8

Constant Value: 518 (0x00000206)

public static final int GL_GREATER

Added in API level 8

Constant Value: 516 (0x00000204)

public static final int GL_GREEN_BITS

Added in API level 8

Constant Value: 3411 (0x00000d53)

public static final int GL_HIGH_FLOAT

Added in API level 8

Constant Value: 36338 (0x00008df2)

public static final int GL_HIGH_INT

Added in API level 8

Constant Value: 36341 (0x00008df5)

public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT

Added in API level 8

Constant Value: 35739 (0x00008b9b)

public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE

Added in API level 8

Constant Value: 35738 (0x00008b9a)

public static final int GL_INCR

Added in API level 8

Constant Value: 7682 (0x00001e02)

public static final int GL_INCR_WRAP

Added in API level 8

Constant Value: 34055 (0x00008507)

public static final int GL_INFO_LOG_LENGTH

Added in API level 8

Constant Value: 35716 (0x00008b84)

public static final int GL_INT

Added in API level 8

Constant Value: 5124 (0x00001404)

public static final int GL_INT_VEC2

Added in API level 8

Constant Value: 35667 (0x00008b53)

public static final int GL_INT_VEC3

Added in API level 8

Constant Value: 35668 (0x00008b54)

public static final int GL_INT_VEC4

Added in API level 8

Constant Value: 35669 (0x00008b55)

public static final int GL_INVALID_ENUM

Added in API level 8

Constant Value: 1280 (0x00000500)

public static final int GL_INVALID_FRAMEBUFFER_OPERATION

Added in API level 8

Constant Value: 1286 (0x00000506)

public static final int GL_INVALID_OPERATION

Added in API level 8

Constant Value: 1282 (0x00000502)

public static final int GL_INVALID_VALUE

Added in API level 8

Constant Value: 1281 (0x00000501)

public static final int GL_INVERT

Added in API level 8

Constant Value: 5386 (0x0000150a)

public static final int GL_KEEP

Added in API level 8

Constant Value: 7680 (0x00001e00)

public static final int GL_LEQUAL

Added in API level 8

Constant Value: 515 (0x00000203)

public static final int GL_LESS

Added in API level 8

Constant Value: 513 (0x00000201)

public static final int GL_LINEAR

Added in API level 8

Constant Value: 9729 (0x00002601)

public static final int GL_LINEAR_MIPMAP_LINEAR

Added in API level 8

Constant Value: 9987 (0x00002703)

public static final int GL_LINEAR_MIPMAP_NEAREST

Added in API level 8

Constant Value: 9985 (0x00002701)

public static final int GL_LINES

Added in API level 8

Constant Value: 1 (0x00000001)

public static final int GL_LINE_LOOP

Added in API level 8

Constant Value: 2 (0x00000002)

public static final int GL_LINE_STRIP

Added in API level 8

Constant Value: 3 (0x00000003)

public static final int GL_LINE_WIDTH

Added in API level 8

Constant Value: 2849 (0x00000b21)

public static final int GL_LINK_STATUS

Added in API level 8

Constant Value: 35714 (0x00008b82)

public static final int GL_LOW_FLOAT

Added in API level 8

Constant Value: 36336 (0x00008df0)

public static final int GL_LOW_INT

Added in API level 8

Constant Value: 36339 (0x00008df3)

public static final int GL_LUMINANCE

Added in API level 8

Constant Value: 6409 (0x00001909)

public static final int GL_LUMINANCE_ALPHA

Added in API level 8

Constant Value: 6410 (0x0000190a)

public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

Added in API level 8

Constant Value: 35661 (0x00008b4d)

public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE

Added in API level 8

Constant Value: 34076 (0x0000851c)

public static final int GL_MAX_FRAGMENT_UNIFORM_VECTORS

Added in API level 8

Constant Value: 36349 (0x00008dfd)

public static final int GL_MAX_RENDERBUFFER_SIZE

Added in API level 8

Constant Value: 34024 (0x000084e8)

public static final int GL_MAX_TEXTURE_IMAGE_UNITS

Added in API level 8

Constant Value: 34930 (0x00008872)

public static final int GL_MAX_TEXTURE_SIZE

Added in API level 8

Constant Value: 3379 (0x00000d33)

public static final int GL_MAX_VARYING_VECTORS

Added in API level 8

Constant Value: 36348 (0x00008dfc)

public static final int GL_MAX_VERTEX_ATTRIBS

Added in API level 8

Constant Value: 34921 (0x00008869)

public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS

Added in API level 8

Constant Value: 35660 (0x00008b4c)

public static final int GL_MAX_VERTEX_UNIFORM_VECTORS

Added in API level 8

Constant Value: 36347 (0x00008dfb)

public static final int GL_MAX_VIEWPORT_DIMS

Added in API level 8

Constant Value: 3386 (0x00000d3a)

public static final int GL_MEDIUM_FLOAT

Added in API level 8

Constant Value: 36337 (0x00008df1)

public static final int GL_MEDIUM_INT

Added in API level 8

Constant Value: 36340 (0x00008df4)

public static final int GL_MIRRORED_REPEAT

Added in API level 8

Constant Value: 33648 (0x00008370)

public static final int GL_NEAREST

Added in API level 8

Constant Value: 9728 (0x00002600)

public static final int GL_NEAREST_MIPMAP_LINEAR

Added in API level 8

Constant Value: 9986 (0x00002702)

public static final int GL_NEAREST_MIPMAP_NEAREST

Added in API level 8

Constant Value: 9984 (0x00002700)

public static final int GL_NEVER

Added in API level 8

Constant Value: 512 (0x00000200)

public static final int GL_NICEST

Added in API level 8

Constant Value: 4354 (0x00001102)

public static final int GL_NONE

Added in API level 8

Constant Value: 0 (0x00000000)

public static final int GL_NOTEQUAL

Added in API level 8

Constant Value: 517 (0x00000205)

public static final int GL_NO_ERROR

Added in API level 8

Constant Value: 0 (0x00000000)

public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS

Added in API level 8

Constant Value: 34466 (0x000086a2)

public static final int GL_NUM_SHADER_BINARY_FORMATS

Added in API level 8

Constant Value: 36345 (0x00008df9)

public static final int GL_ONE

Added in API level 8

Constant Value: 1 (0x00000001)

public static final int GL_ONE_MINUS_CONSTANT_ALPHA

Added in API level 8

Constant Value: 32772 (0x00008004)

public static final int GL_ONE_MINUS_CONSTANT_COLOR

Added in API level 8

Constant Value: 32770 (0x00008002)

public static final int GL_ONE_MINUS_DST_ALPHA

Added in API level 8

Constant Value: 773 (0x00000305)

public static final int GL_ONE_MINUS_DST_COLOR

Added in API level 8

Constant Value: 775 (0x00000307)

public static final int GL_ONE_MINUS_SRC_ALPHA

Added in API level 8

Constant Value: 771 (0x00000303)

public static final int GL_ONE_MINUS_SRC_COLOR

Added in API level 8

Constant Value: 769 (0x00000301)

public static final int GL_OUT_OF_MEMORY

Added in API level 8

Constant Value: 1285 (0x00000505)

public static final int GL_PACK_ALIGNMENT

Added in API level 8

Constant Value: 3333 (0x00000d05)

public static final int GL_POINTS

Added in API level 8

Constant Value: 0 (0x00000000)

public static final int GL_POLYGON_OFFSET_FACTOR

Added in API level 8

Constant Value: 32824 (0x00008038)

public static final int GL_POLYGON_OFFSET_FILL

Added in API level 8

Constant Value: 32823 (0x00008037)

public static final int GL_POLYGON_OFFSET_UNITS

Added in API level 8

Constant Value: 10752 (0x00002a00)

public static final int GL_RED_BITS

Added in API level 8

Constant Value: 3410 (0x00000d52)

public static final int GL_RENDERBUFFER

Added in API level 8

Constant Value: 36161 (0x00008d41)

public static final int GL_RENDERBUFFER_ALPHA_SIZE

Added in API level 8

Constant Value: 36179 (0x00008d53)

public static final int GL_RENDERBUFFER_BINDING

Added in API level 8

Constant Value: 36007 (0x00008ca7)

public static final int GL_RENDERBUFFER_BLUE_SIZE

Added in API level 8

Constant Value: 36178 (0x00008d52)

public static final int GL_RENDERBUFFER_DEPTH_SIZE

Added in API level 8

Constant Value: 36180 (0x00008d54)

public static final int GL_RENDERBUFFER_GREEN_SIZE

Added in API level 8

Constant Value: 36177 (0x00008d51)

public static final int GL_RENDERBUFFER_HEIGHT

Added in API level 8

Constant Value: 36163 (0x00008d43)

public static final int GL_RENDERBUFFER_INTERNAL_FORMAT

Added in API level 8

Constant Value: 36164 (0x00008d44)

public static final int GL_RENDERBUFFER_RED_SIZE

Added in API level 8

Constant Value: 36176 (0x00008d50)

public static final int GL_RENDERBUFFER_STENCIL_SIZE

Added in API level 8

Constant Value: 36181 (0x00008d55)

public static final int GL_RENDERBUFFER_WIDTH

Added in API level 8

Constant Value: 36162 (0x00008d42)

public static final int GL_RENDERER

Added in API level 8

Constant Value: 7937 (0x00001f01)

public static final int GL_REPEAT

Added in API level 8

Constant Value: 10497 (0x00002901)

public static final int GL_REPLACE

Added in API level 8

Constant Value: 7681 (0x00001e01)

public static final int GL_RGB

Added in API level 8

Constant Value: 6407 (0x00001907)

public static final int GL_RGB565

Added in API level 8

Constant Value: 36194 (0x00008d62)

public static final int GL_RGB5_A1

Added in API level 8

Constant Value: 32855 (0x00008057)

public static final int GL_RGBA

Added in API level 8

Constant Value: 6408 (0x00001908)

public static final int GL_RGBA4

Added in API level 8

Constant Value: 32854 (0x00008056)

public static final int GL_SAMPLER_2D

Added in API level 8

Constant Value: 35678 (0x00008b5e)

public static final int GL_SAMPLER_CUBE

Added in API level 8

Constant Value: 35680 (0x00008b60)

public static final int GL_SAMPLES

Added in API level 8

Constant Value: 32937 (0x000080a9)

public static final int GL_SAMPLE_ALPHA_TO_COVERAGE

Added in API level 8

Constant Value: 32926 (0x0000809e)

public static final int GL_SAMPLE_BUFFERS

Added in API level 8

Constant Value: 32936 (0x000080a8)

public static final int GL_SAMPLE_COVERAGE

Added in API level 8

Constant Value: 32928 (0x000080a0)

public static final int GL_SAMPLE_COVERAGE_INVERT

Added in API level 8

Constant Value: 32939 (0x000080ab)

public static final int GL_SAMPLE_COVERAGE_VALUE

Added in API level 8

Constant Value: 32938 (0x000080aa)

public static final int GL_SCISSOR_BOX

Added in API level 8

Constant Value: 3088 (0x00000c10)

public static final int GL_SCISSOR_TEST

Added in API level 8

Constant Value: 3089 (0x00000c11)

public static final int GL_SHADER_BINARY_FORMATS

Added in API level 8

Constant Value: 36344 (0x00008df8)

public static final int GL_SHADER_COMPILER

Added in API level 8

Constant Value: 36346 (0x00008dfa)

public static final int GL_SHADER_SOURCE_LENGTH

Added in API level 8

Constant Value: 35720 (0x00008b88)

public static final int GL_SHADER_TYPE

Added in API level 8

Constant Value: 35663 (0x00008b4f)

public static final int GL_SHADING_LANGUAGE_VERSION

Added in API level 8

Constant Value: 35724 (0x00008b8c)

public static final int GL_SHORT

Added in API level 8

Constant Value: 5122 (0x00001402)

public static final int GL_SRC_ALPHA

Added in API level 8

Constant Value: 770 (0x00000302)

public static final int GL_SRC_ALPHA_SATURATE

Added in API level 8

Constant Value: 776 (0x00000308)

public static final int GL_SRC_COLOR

Added in API level 8

Constant Value: 768 (0x00000300)

public static final int GL_STATIC_DRAW

Added in API level 8

Constant Value: 35044 (0x000088e4)

public static final int GL_STENCIL_ATTACHMENT

Added in API level 8

Constant Value: 36128 (0x00008d20)

public static final int GL_STENCIL_BACK_FAIL

Added in API level 8

Constant Value: 34817 (0x00008801)

public static final int GL_STENCIL_BACK_FUNC

Added in API level 8

Constant Value: 34816 (0x00008800)

public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL

Added in API level 8

Constant Value: 34818 (0x00008802)

public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS

Added in API level 8

Constant Value: 34819 (0x00008803)

public static final int GL_STENCIL_BACK_REF

Added in API level 8

Constant Value: 36003 (0x00008ca3)

public static final int GL_STENCIL_BACK_VALUE_MASK

Added in API level 8

Constant Value: 36004 (0x00008ca4)

public static final int GL_STENCIL_BACK_WRITEMASK

Added in API level 8

Constant Value: 36005 (0x00008ca5)

public static final int GL_STENCIL_BITS

Added in API level 8

Constant Value: 3415 (0x00000d57)

public static final int GL_STENCIL_BUFFER_BIT

Added in API level 8

Constant Value: 1024 (0x00000400)

public static final int GL_STENCIL_CLEAR_VALUE

Added in API level 8

Constant Value: 2961 (0x00000b91)

public static final int GL_STENCIL_FAIL

Added in API level 8

Constant Value: 2964 (0x00000b94)

public static final int GL_STENCIL_FUNC

Added in API level 8

Constant Value: 2962 (0x00000b92)

public static final int GL_STENCIL_INDEX

Added in API level 8

Constant Value: 6401 (0x00001901)

public static final int GL_STENCIL_INDEX8

Added in API level 8

Constant Value: 36168 (0x00008d48)

public static final int GL_STENCIL_PASS_DEPTH_FAIL

Added in API level 8

Constant Value: 2965 (0x00000b95)

public static final int GL_STENCIL_PASS_DEPTH_PASS

Added in API level 8

Constant Value: 2966 (0x00000b96)

public static final int GL_STENCIL_REF

Added in API level 8

Constant Value: 2967 (0x00000b97)

public static final int GL_STENCIL_TEST

Added in API level 8

Constant Value: 2960 (0x00000b90)

public static final int GL_STENCIL_VALUE_MASK

Added in API level 8

Constant Value: 2963 (0x00000b93)

public static final int GL_STENCIL_WRITEMASK

Added in API level 8

Constant Value: 2968 (0x00000b98)

public static final int GL_STREAM_DRAW

Added in API level 8

Constant Value: 35040 (0x000088e0)

public static final int GL_SUBPIXEL_BITS

Added in API level 8

Constant Value: 3408 (0x00000d50)

public static final int GL_TEXTURE

Added in API level 8

Constant Value: 5890 (0x00001702)

public static final int GL_TEXTURE0

Added in API level 8

Constant Value: 33984 (0x000084c0)

public static final int GL_TEXTURE1

Added in API level 8

Constant Value: 33985 (0x000084c1)

public static final int GL_TEXTURE10

Added in API level 8

Constant Value: 33994 (0x000084ca)

public static final int GL_TEXTURE11

Added in API level 8

Constant Value: 33995 (0x000084cb)

public static final int GL_TEXTURE12

Added in API level 8

Constant Value: 33996 (0x000084cc)

public static final int GL_TEXTURE13

Added in API level 8

Constant Value: 33997 (0x000084cd)

public static final int GL_TEXTURE14

Added in API level 8

Constant Value: 33998 (0x000084ce)

public static final int GL_TEXTURE15

Added in API level 8

Constant Value: 33999 (0x000084cf)

public static final int GL_TEXTURE16

Added in API level 8

Constant Value: 34000 (0x000084d0)

public static final int GL_TEXTURE17

Added in API level 8

Constant Value: 34001 (0x000084d1)

public static final int GL_TEXTURE18

Added in API level 8

Constant Value: 34002 (0x000084d2)

public static final int GL_TEXTURE19

Added in API level 8

Constant Value: 34003 (0x000084d3)

public static final int GL_TEXTURE2

Added in API level 8

Constant Value: 33986 (0x000084c2)

public static final int GL_TEXTURE20

Added in API level 8

Constant Value: 34004 (0x000084d4)

public static final int GL_TEXTURE21

Added in API level 8

Constant Value: 34005 (0x000084d5)

public static final int GL_TEXTURE22

Added in API level 8

Constant Value: 34006 (0x000084d6)

public static final int GL_TEXTURE23

Added in API level 8

Constant Value: 34007 (0x000084d7)

public static final int GL_TEXTURE24

Added in API level 8

Constant Value: 34008 (0x000084d8)

public static final int GL_TEXTURE25

Added in API level 8

Constant Value: 34009 (0x000084d9)

public static final int GL_TEXTURE26

Added in API level 8

Constant Value: 34010 (0x000084da)

public static final int GL_TEXTURE27

Added in API level 8

Constant Value: 34011 (0x000084db)

public static final int GL_TEXTURE28

Added in API level 8

Constant Value: 34012 (0x000084dc)

public static final int GL_TEXTURE29

Added in API level 8

Constant Value: 34013 (0x000084dd)

public static final int GL_TEXTURE3

Added in API level 8

Constant Value: 33987 (0x000084c3)

public static final int GL_TEXTURE30

Added in API level 8

Constant Value: 34014 (0x000084de)

public static final int GL_TEXTURE31

Added in API level 8

Constant Value: 34015 (0x000084df)

public static final int GL_TEXTURE4

Added in API level 8

Constant Value: 33988 (0x000084c4)

public static final int GL_TEXTURE5

Added in API level 8

Constant Value: 33989 (0x000084c5)

public static final int GL_TEXTURE6

Added in API level 8

Constant Value: 33990 (0x000084c6)

public static final int GL_TEXTURE7

Added in API level 8

Constant Value: 33991 (0x000084c7)

public static final int GL_TEXTURE8

Added in API level 8

Constant Value: 33992 (0x000084c8)

public static final int GL_TEXTURE9

Added in API level 8

Constant Value: 33993 (0x000084c9)

public static final int GL_TEXTURE_2D

Added in API level 8

Constant Value: 3553 (0x00000de1)

public static final int GL_TEXTURE_BINDING_2D

Added in API level 8

Constant Value: 32873 (0x00008069)

public static final int GL_TEXTURE_BINDING_CUBE_MAP

Added in API level 8

Constant Value: 34068 (0x00008514)

public static final int GL_TEXTURE_CUBE_MAP

Added in API level 8

Constant Value: 34067 (0x00008513)

public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X

Added in API level 8

Constant Value: 34070 (0x00008516)

public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

Added in API level 8

Constant Value: 34072 (0x00008518)

public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

Added in API level 8

Constant Value: 34074 (0x0000851a)

public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X

Added in API level 8

Constant Value: 34069 (0x00008515)

public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y

Added in API level 8

Constant Value: 34071 (0x00008517)

public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z

Added in API level 8

Constant Value: 34073 (0x00008519)

public static final int GL_TEXTURE_MAG_FILTER

Added in API level 8

Constant Value: 10240 (0x00002800)

public static final int GL_TEXTURE_MIN_FILTER

Added in API level 8

Constant Value: 10241 (0x00002801)

public static final int GL_TEXTURE_WRAP_S

Added in API level 8

Constant Value: 10242 (0x00002802)

public static final int GL_TEXTURE_WRAP_T

Added in API level 8

Constant Value: 10243 (0x00002803)

public static final int GL_TRIANGLES

Added in API level 8

Constant Value: 4 (0x00000004)

public static final int GL_TRIANGLE_FAN

Added in API level 8

Constant Value: 6 (0x00000006)

public static final int GL_TRIANGLE_STRIP

Added in API level 8

Constant Value: 5 (0x00000005)

public static final int GL_TRUE

Added in API level 8

Constant Value: 1 (0x00000001)

public static final int GL_UNPACK_ALIGNMENT

Added in API level 8

Constant Value: 3317 (0x00000cf5)

public static final int GL_UNSIGNED_BYTE

Added in API level 8

Constant Value: 5121 (0x00001401)

public static final int GL_UNSIGNED_INT

Added in API level 8

Constant Value: 5125 (0x00001405)

public static final int GL_UNSIGNED_SHORT

Added in API level 8

Constant Value: 5123 (0x00001403)

public static final int GL_UNSIGNED_SHORT_4_4_4_4

Added in API level 8

Constant Value: 32819 (0x00008033)

public static final int GL_UNSIGNED_SHORT_5_5_5_1

Added in API level 8

Constant Value: 32820 (0x00008034)

public static final int GL_UNSIGNED_SHORT_5_6_5

Added in API level 8

Constant Value: 33635 (0x00008363)

public static final int GL_VALIDATE_STATUS

Added in API level 8

Constant Value: 35715 (0x00008b83)

public static final int GL_VENDOR

Added in API level 8

Constant Value: 7936 (0x00001f00)

public static final int GL_VERSION

Added in API level 8

Constant Value: 7938 (0x00001f02)

public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

Added in API level 8

Constant Value: 34975 (0x0000889f)

public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED

Added in API level 8

Constant Value: 34338 (0x00008622)

public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

Added in API level 8

Constant Value: 34922 (0x0000886a)

public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER

Added in API level 8

Constant Value: 34373 (0x00008645)

public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE

Added in API level 8

Constant Value: 34339 (0x00008623)

public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE

Added in API level 8

Constant Value: 34340 (0x00008624)

public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE

Added in API level 8

Constant Value: 34341 (0x00008625)

public static final int GL_VERTEX_SHADER

Added in API level 8

Constant Value: 35633 (0x00008b31)

public static final int GL_VIEWPORT

Added in API level 8

Constant Value: 2978 (0x00000ba2)

public static final int GL_ZERO

Added in API level 8

Constant Value: 0 (0x00000000)

Public Constructors

public GLES20 ()

Added in API level 8

Public Methods

public static void glActiveTexture (int texture)

Added in API level 8

Parameters
texture int

public static void glAttachShader (int program, int shader)

Added in API level 8

Parameters
program int
shader int

public static void glBindAttribLocation (int program, int index, String name)

Added in API level 8

Parameters
program int
index int
name String

public static void glBindBuffer (int target, int buffer)

Added in API level 8

Parameters
target int
buffer int

public static void glBindFramebuffer (int target, int framebuffer)

Added in API level 8

Parameters
target int
framebuffer int

public static void glBindRenderbuffer (int target, int renderbuffer)

Added in API level 8

Parameters
target int
renderbuffer int

public static void glBindTexture (int target, int texture)

Added in API level 8

Parameters
target int
texture int

public static void glBlendColor (float red, float green, float blue, float alpha)

Added in API level 8

Parameters
red float
green float
blue float
alpha float

public static void glBlendEquation (int mode)

Added in API level 8

Parameters
mode int

public static void glBlendEquationSeparate (int modeRGB, int modeAlpha)

Added in API level 8

Parameters
modeRGB int
modeAlpha int

public static void glBlendFunc (int sfactor, int dfactor)

Added in API level 8

Parameters
sfactor int
dfactor int

public static void glBlendFuncSeparate (int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)

Added in API level 8

Parameters
srcRGB int
dstRGB int
srcAlpha int
dstAlpha int

public static void glBufferData (int target, int size, Buffer data, int usage)

Added in API level 8

Parameters
target int
size int
data Buffer
usage int

public static void glBufferSubData (int target, int offset, int size, Buffer data)

Added in API level 8

Parameters
target int
offset int
size int
data Buffer

public static int glCheckFramebufferStatus (int target)

Added in API level 8

Parameters
target int
Returns
int

public static void glClear (int mask)

Added in API level 8

Parameters
mask int

public static void glClearColor (float red, float green, float blue, float alpha)

Added in API level 8

Parameters
red float
green float
blue float
alpha float

public static void glClearDepthf (float depth)

Added in API level 8

Parameters
depth float

public static void glClearStencil (int s)

Added in API level 8

Parameters
s int

public static void glColorMask (boolean red, boolean green, boolean blue, boolean alpha)

Added in API level 8

Parameters
red boolean
green boolean
blue boolean
alpha boolean

public static void glCompileShader (int shader)

Added in API level 8

Parameters
shader int

public static void glCompressedTexImage2D (int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)

Added in API level 8

Parameters
target int
level int
internalformat int
width int
height int
border int
imageSize int
data Buffer

public static void glCompressedTexSubImage2D (int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)

Added in API level 8

Parameters
target int
level int
xoffset int
yoffset int
width int
height int
format int
imageSize int
data Buffer

public static void glCopyTexImage2D (int target, int level, int internalformat, int x, int y, int width, int height, int border)

Added in API level 8

Parameters
target int
level int
internalformat int
x int
y int
width int
height int
border int

public static void glCopyTexSubImage2D (int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)

Added in API level 8

Parameters
target int
level int
xoffset int
yoffset int
x int
y int
width int
height int

public static int glCreateProgram ()

Added in API level 8

Returns
int

public static int glCreateShader (int type)

Added in API level 8

Parameters
type int
Returns
int

public static void glCullFace (int mode)

Added in API level 8

Parameters
mode int

public static void glDeleteBuffers (int n, int[] buffers, int offset)

Added in API level 8

Parameters
n int
buffers int
offset int

public static void glDeleteBuffers (int n, IntBuffer buffers)

Added in API level 8

Parameters
n int
buffers IntBuffer

public static void glDeleteFramebuffers (int n, int[] framebuffers, int offset)

Added in API level 8

Parameters
n int
framebuffers int
offset int

public static void glDeleteFramebuffers (int n, IntBuffer framebuffers)

Added in API level 8

Parameters
n int
framebuffers IntBuffer

public static void glDeleteProgram (int program)

Added in API level 8

Parameters
program int

public static void glDeleteRenderbuffers (int n, IntBuffer renderbuffers)

Added in API level 8

Parameters
n int
renderbuffers IntBuffer

public static void glDeleteRenderbuffers (int n, int[] renderbuffers, int offset)

Added in API level 8

Parameters
n int
renderbuffers int
offset int

public static void glDeleteShader (int shader)

Added in API level 8

Parameters
shader int

public static void glDeleteTextures (int n, int[] textures, int offset)

Added in API level 8

Parameters
n int
textures int
offset int

public static void glDeleteTextures (int n, IntBuffer textures)

Added in API level 8

Parameters
n int
textures IntBuffer

public static void glDepthFunc (int func)

Added in API level 8

Parameters
func int

public static void glDepthMask (boolean flag)

Added in API level 8

Parameters
flag boolean

public static void glDepthRangef (float zNear, float zFar)

Added in API level 8

Parameters
zNear float
zFar float

public static void glDetachShader (int program, int shader)

Added in API level 8

Parameters
program int
shader int

public static void glDisable (int cap)

Added in API level 8

Parameters
cap int

public static void glDisableVertexAttribArray (int index)

Added in API level 8

Parameters
index int

public static void glDrawArrays (int mode, int first, int count)

Added in API level 8

Parameters
mode int
first int
count int

public static void glDrawElements (int mode, int count, int type, Buffer indices)

Added in API level 8

Parameters
mode int
count int
type int
indices Buffer

public static void glDrawElements (int mode, int count, int type, int offset)

Added in API level 9

Parameters
mode int
count int
type int
offset int

public static void glEnable (int cap)

Added in API level 8

Parameters
cap int

public static void glEnableVertexAttribArray (int index)

Added in API level 8

Parameters
index int

public static void glFinish ()

Added in API level 8

public static void glFlush ()

Added in API level 8

public static void glFramebufferRenderbuffer (int target, int attachment, int renderbuffertarget, int renderbuffer)

Added in API level 8

Parameters
target int
attachment int
renderbuffertarget int
renderbuffer int

public static void glFramebufferTexture2D (int target, int attachment, int textarget, int texture, int level)

Added in API level 8

Parameters
target int
attachment int
textarget int
texture int
level int

public static void glFrontFace (int mode)

Added in API level 8

Parameters
mode int

public static void glGenBuffers (int n, IntBuffer buffers)

Added in API level 8

Parameters
n int
buffers IntBuffer

public static void glGenBuffers (int n, int[] buffers, int offset)

Added in API level 8

Parameters
n int
buffers int
offset int

public static void glGenFramebuffers (int n, IntBuffer framebuffers)

Added in API level 8

Parameters
n int
framebuffers IntBuffer

public static void glGenFramebuffers (int n, int[] framebuffers, int offset)

Added in API level 8

Parameters
n int
framebuffers int
offset int

public static void glGenRenderbuffers (int n, IntBuffer renderbuffers)

Added in API level 8

Parameters
n int
renderbuffers IntBuffer

public static void glGenRenderbuffers (int n, int[] renderbuffers, int offset)

Added in API level 8

Parameters
n int
renderbuffers int
offset int

public static void glGenTextures (int n, IntBuffer textures)

Added in API level 8

Parameters
n int
textures IntBuffer

public static void glGenTextures (int n, int[] textures, int offset)

Added in API level 8

Parameters
n int
textures int
offset int

public static void glGenerateMipmap (int target)

Added in API level 8

Parameters
target int

public static String glGetActiveAttrib (int program, int index, IntBuffer size, IntBuffer type)

Added in API level 17

Parameters
program int
index int
size IntBuffer
type IntBuffer
Returns
String

public static String glGetActiveAttrib (int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)

Added in API level 17

Parameters
program int
index int
size int
sizeOffset int
type int
typeOffset int
Returns
String

public static void glGetActiveAttrib (int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset)

Added in API level 8

Parameters
program int
index int
bufsize int
length int
lengthOffset int
size int
sizeOffset int
type int
typeOffset int
name byte
nameOffset int

public static String glGetActiveUniform (int program, int index, IntBuffer size, IntBuffer type)

Added in API level 17

Parameters
program int
index int
size IntBuffer
type IntBuffer
Returns
String

public static void glGetActiveUniform (int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset)

Added in API level 8

Parameters
program int
index int
bufsize int
length int
lengthOffset int
size int
sizeOffset int
type int
typeOffset int
name byte
nameOffset int

public static String glGetActiveUniform (int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)

Added in API level 17

Parameters
program int
index int
size int
sizeOffset int
type int
typeOffset int
Returns
String

public static void glGetAttachedShaders (int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset)

Added in API level 8

Parameters
program int
maxcount int
count int
countOffset int
shaders int
shadersOffset int

public static void glGetAttachedShaders (int program, int maxcount, IntBuffer count, IntBuffer shaders)

Added in API level 8

Parameters
program int
maxcount int
count IntBuffer
shaders IntBuffer

public static int glGetAttribLocation (int program, String name)

Added in API level 8

Parameters
program int
name String
Returns
int

public static void glGetBooleanv (int pname, boolean[] params, int offset)

Added in API level 8

Parameters
pname int
params boolean
offset int

public static void glGetBooleanv (int pname, IntBuffer params)

Added in API level 8

Parameters
pname int
params IntBuffer

public static void glGetBufferParameteriv (int target, int pname, IntBuffer params)

Added in API level 8

Parameters
target int
pname int
params IntBuffer

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

Added in API level 8

Parameters
target int
pname int
params int
offset int

public static int glGetError ()

Added in API level 8

Returns
int

public static void glGetFloatv (int pname, FloatBuffer params)

Added in API level 8

Parameters
pname int
params FloatBuffer

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

Added in API level 8

Parameters
pname int
params float
offset int

public static void glGetFramebufferAttachmentParameteriv (int target, int attachment, int pname, IntBuffer params)

Added in API level 8

Parameters
target int
attachment int
pname int
params IntBuffer

public static void glGetFramebufferAttachmentParameteriv (int target, int attachment, int pname, int[] params, int offset)

Added in API level 8

Parameters
target int
attachment int
pname int
params int
offset int

public static void glGetIntegerv (int pname, IntBuffer params)

Added in API level 8

Parameters
pname int
params IntBuffer

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

Added in API level 8

Parameters
pname int
params int
offset int

public static String glGetProgramInfoLog (int program)

Added in API level 8

Parameters
program int
Returns
String

public static void glGetProgramiv (int program, int pname, IntBuffer params)

Added in API level 8

Parameters
program int
pname int
params IntBuffer

public static void glGetProgramiv (int program, int pname, int[] params, int offset)

Added in API level 8

Parameters
program int
pname int
params int
offset int

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

Added in API level 8

Parameters
target int
pname int
params int
offset int

public static void glGetRenderbufferParameteriv (int target, int pname, IntBuffer params)

Added in API level 8

Parameters
target int
pname int
params IntBuffer

public static String glGetShaderInfoLog (int shader)

Added in API level 8

Parameters
shader int
Returns
String

public static void glGetShaderPrecisionFormat (int shadertype, int precisiontype, IntBuffer range, IntBuffer precision)

Added in API level 8

Parameters
shadertype int
precisiontype int
range IntBuffer
precision IntBuffer

public static void glGetShaderPrecisionFormat (int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset)

Added in API level 8

Parameters
shadertype int
precisiontype int
range int
rangeOffset int
precision int
precisionOffset int

public static void glGetShaderSource (int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset)

Added in API level 8

Parameters
shader int
bufsize int
length int
lengthOffset int
source byte
sourceOffset int

public static String glGetShaderSource (int shader)

Added in API level 17

Parameters
shader int
Returns
String

public static void glGetShaderiv (int shader, int pname, IntBuffer params)

Added in API level 8

Parameters
shader int
pname int
params IntBuffer

public static void glGetShaderiv (int shader, int pname, int[] params, int offset)

Added in API level 8

Parameters
shader int
pname int
params int
offset int

public static String glGetString (int name)

Added in API level 8

Parameters
name int
Returns
String

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

Added in API level 8

Parameters
target int
pname int
params float
offset int

public static void glGetTexParameterfv (int target, int pname, FloatBuffer params)

Added in API level 8

Parameters
target int
pname int
params FloatBuffer

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

Added in API level 8

Parameters
target int
pname int
params int
offset int

public static void glGetTexParameteriv (int target, int pname, IntBuffer params)

Added in API level 8

Parameters
target int
pname int
params IntBuffer

public static int glGetUniformLocation (int program, String name)

Added in API level 8

Parameters
program int
name String
Returns
int

public static void glGetUniformfv (int program, int location, FloatBuffer params)

Added in API level 8

Parameters
program int
location int
params FloatBuffer

public static void glGetUniformfv (int program, int location, float[] params, int offset)

Added in API level 8

Parameters
program int
location int
params float
offset int

public static void glGetUniformiv (int program, int location, IntBuffer params)

Added in API level 8

Parameters
program int
location int
params IntBuffer

public static void glGetUniformiv (int program, int location, int[] params, int offset)

Added in API level 8

Parameters
program int
location int
params int
offset int

public static void glGetVertexAttribfv (int index, int pname, float[] params, int offset)

Added in API level 8

Parameters
index int
pname int
params float
offset int

public static void glGetVertexAttribfv (int index, int pname, FloatBuffer params)

Added in API level 8

Parameters
index int
pname int
params FloatBuffer

public static void glGetVertexAttribiv (int index, int pname, int[] params, int offset)

Added in API level 8

Parameters
index int
pname int
params int
offset int

public static void glGetVertexAttribiv (int index, int pname, IntBuffer params)

Added in API level 8

Parameters
index int
pname int
params IntBuffer

public static void glHint (int target, int mode)

Added in API level 8

Parameters
target int
mode int

public static boolean glIsBuffer (int buffer)

Added in API level 8

Parameters
buffer int
Returns
boolean

public static boolean glIsEnabled (int cap)

Added in API level 8

Parameters
cap int
Returns
boolean

public static boolean glIsFramebuffer (int framebuffer)

Added in API level 8

Parameters
framebuffer int
Returns
boolean

public static boolean glIsProgram (int program)

Added in API level 8

Parameters
program int
Returns
boolean

public static boolean glIsRenderbuffer (int renderbuffer)

Added in API level 8

Parameters
renderbuffer int
Returns
boolean

public static boolean glIsShader (int shader)

Added in API level 8

Parameters
shader int
Returns
boolean

public static boolean glIsTexture (int texture)

Added in API level 8

Parameters
texture int
Returns
boolean

public static void glLineWidth (float width)

Added in API level 8

Parameters
width float

public static void glLinkProgram (int program)

Added in API level 8

Parameters
program int

public static void glPixelStorei (int pname, int param)

Added in API level 8

Parameters
pname int
param int

public static void glPolygonOffset (float factor, float units)

Added in API level 8

Parameters
factor float
units float

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

Added in API level 8

Parameters
x int
y int
width int
height int
format int
type int
pixels Buffer

public static void glReleaseShaderCompiler ()

Added in API level 8

public static void glRenderbufferStorage (int target, int internalformat, int width, int height)

Added in API level 8

Parameters
target int
internalformat int
width int
height int

public static void glSampleCoverage (float value, boolean invert)

Added in API level 8

Parameters
value float
invert boolean

public static void glScissor (int x, int y, int width, int height)

Added in API level 8

Parameters
x int
y int
width int
height int

public static void glShaderBinary (int n, IntBuffer shaders, int binaryformat, Buffer binary, int length)

Added in API level 8

Parameters
n int
shaders IntBuffer
binaryformat int
binary Buffer
length int

public static void glShaderBinary (int n, int[] shaders, int offset, int binaryformat, Buffer binary, int length)

Added in API level 8

Parameters
n int
shaders int
offset int
binaryformat int
binary Buffer
length int

public static void glShaderSource (int shader, String string)

Added in API level 8

Parameters
shader int
string String

public static void glStencilFunc (int func, int ref, int mask)

Added in API level 8

Parameters
func int
ref int
mask int

public static void glStencilFuncSeparate (int face, int func, int ref, int mask)

Added in API level 8

Parameters
face int
func int
ref int
mask int

public static void glStencilMask (int mask)

Added in API level 8

Parameters
mask int

public static void glStencilMaskSeparate (int face, int mask)

Added in API level 8

Parameters
face int
mask int

public static void glStencilOp (int fail, int zfail, int zpass)

Added in API level 8

Parameters
fail int
zfail int
zpass int

public static void glStencilOpSeparate (int face, int fail, int zfail, int zpass)

Added in API level 8

Parameters
face int
fail int
zfail int
zpass int

public static void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)

Added in API level 8

Parameters
target int
level int
internalformat int
width int
height int
border int
format int
type int
pixels Buffer

public static void glTexParameterf (int target, int pname, float param)

Added in API level 8

Parameters
target int
pname int
param float

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

Added in API level 8

Parameters
target int
pname int
params float
offset int

public static void glTexParameterfv (int target, int pname, FloatBuffer params)

Added in API level 8

Parameters
target int
pname int
params FloatBuffer

public static void glTexParameteri (int target, int pname, int param)

Added in API level 8

Parameters
target int
pname int
param int

public static void glTexParameteriv (int target, int pname, IntBuffer params)

Added in API level 8

Parameters
target int
pname int
params IntBuffer

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

Added in API level 8

Parameters
target int
pname int
params int
offset int

public static void glTexSubImage2D (int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)

Added in API level 8

Parameters
target int
level int
xoffset int
yoffset int
width int
height int
format int
type int
pixels Buffer

public static void glUniform1f (int location, float x)

Added in API level 8

Parameters
location int
x float

public static void glUniform1fv (int location, int count, float[] v, int offset)

Added in API level 8

Parameters
location int
count int
v float
offset int

public static void glUniform1fv (int location, int count, FloatBuffer v)

Added in API level 8

Parameters
location int
count int
v FloatBuffer

public static void glUniform1i (int location, int x)

Added in API level 8

Parameters
location int
x int

public static void glUniform1iv (int location, int count, IntBuffer v)

Added in API level 8

Parameters
location int
count int
v IntBuffer

public static void glUniform1iv (int location, int count, int[] v, int offset)

Added in API level 8

Parameters
location int
count int
v int
offset int

public static void glUniform2f (int location, float x, float y)

Added in API level 8

Parameters
location int
x float
y float

public static void glUniform2fv (int location, int count, FloatBuffer v)

Added in API level 8

Parameters
location int
count int
v FloatBuffer

public static void glUniform2fv (int location, int count, float[] v, int offset)

Added in API level 8

Parameters
location int
count int
v float
offset int

public static void glUniform2i (int location, int x, int y)

Added in API level 8

Parameters
location int
x int
y int

public static void glUniform2iv (int location, int count, IntBuffer v)

Added in API level 8

Parameters
location int
count int
v IntBuffer

public static void glUniform2iv (int location, int count, int[] v, int offset)

Added in API level 8

Parameters
location int
count int
v int
offset int

public static void glUniform3f (int location, float x, float y, float z)

Added in API level 8

Parameters
location int
x float
y float
z float

public static void glUniform3fv (int location, int count, float[] v, int offset)

Added in API level 8

Parameters
location int
count int
v float
offset int

public static void glUniform3fv (int location, int count, FloatBuffer v)

Added in API level 8

Parameters
location int
count int
v FloatBuffer

public static void glUniform3i (int location, int x, int y, int z)

Added in API level 8

Parameters
location int
x int
y int
z int

public static void glUniform3iv (int location, int count, IntBuffer v)

Added in API level 8

Parameters
location int
count int
v IntBuffer

public static void glUniform3iv (int location, int count, int[] v, int offset)

Added in API level 8

Parameters
location int
count int
v int
offset int

public static void glUniform4f (int location, float x, float y, float z, float w)

Added in API level 8

Parameters
location int
x float
y float
z float
w float

public static void glUniform4fv (int location, int count, FloatBuffer v)

Added in API level 8

Parameters
location int
count int
v FloatBuffer

public static void glUniform4fv (int location, int count, float[] v, int offset)

Added in API level 8

Parameters
location int
count int
v float
offset int

public static void glUniform4i (int location, int x, int y, int z, int w)

Added in API level 8

Parameters
location int
x int
y int
z int
w int

public static void glUniform4iv (int location, int count, int[] v, int offset)

Added in API level 8

Parameters
location int
count int
v int
offset int

public static void glUniform4iv (int location, int count, IntBuffer v)

Added in API level 8

Parameters
location int
count int
v IntBuffer

public static void glUniformMatrix2fv (int location, int count, boolean transpose, FloatBuffer value)

Added in API level 8

Parameters
location int
count int
transpose boolean
value FloatBuffer

public static void glUniformMatrix2fv (int location, int count, boolean transpose, float[] value, int offset)

Added in API level 8

Parameters
location int
count int
transpose boolean
value float
offset int

public static void glUniformMatrix3fv (int location, int count, boolean transpose, float[] value, int offset)

Added in API level 8

Parameters
location int
count int
transpose boolean
value float
offset int

public static void glUniformMatrix3fv (int location, int count, boolean transpose, FloatBuffer value)

Added in API level 8

Parameters
location int
count int
transpose boolean
value FloatBuffer

public static void glUniformMatrix4fv (int location, int count, boolean transpose, float[] value, int offset)

Added in API level 8

Parameters
location int
count int
transpose boolean
value float
offset int

public static void glUniformMatrix4fv (int location, int count, boolean transpose, FloatBuffer value)

Added in API level 8

Parameters
location int
count int
transpose boolean
value FloatBuffer

public static void glUseProgram (int program)

Added in API level 8

Parameters
program int

public static void glValidateProgram (int program)

Added in API level 8

Parameters
program int

public static void glVertexAttrib1f (int indx, float x)

Added in API level 8

Parameters
indx int
x float

public static void glVertexAttrib1fv (int indx, FloatBuffer values)

Added in API level 8

Parameters
indx int
values FloatBuffer

public static void glVertexAttrib1fv (int indx, float[] values, int offset)

Added in API level 8

Parameters
indx int
values float
offset int

public static void glVertexAttrib2f (int indx, float x, float y)

Added in API level 8

Parameters
indx int
x float
y float

public static void glVertexAttrib2fv (int indx, float[] values, int offset)

Added in API level 8

Parameters
indx int
values float
offset int

public static void glVertexAttrib2fv (int indx, FloatBuffer values)

Added in API level 8

Parameters
indx int
values FloatBuffer

public static void glVertexAttrib3f (int indx, float x, float y, float z)

Added in API level 8

Parameters
indx int
x float
y float
z float

public static void glVertexAttrib3fv (int indx, FloatBuffer values)

Added in API level 8

Parameters
indx int
values FloatBuffer

public static void glVertexAttrib3fv (int indx, float[] values, int offset)

Added in API level 8

Parameters
indx int
values float
offset int

public static void glVertexAttrib4f (int indx, float x, float y, float z, float w)

Added in API level 8

Parameters
indx int
x float
y float
z float
w float

public static void glVertexAttrib4fv (int indx, FloatBuffer values)

Added in API level 8

Parameters
indx int
values FloatBuffer

public static void glVertexAttrib4fv (int indx, float[] values, int offset)

Added in API level 8

Parameters
indx int
values float
offset int

public static void glVertexAttribPointer (int indx, int size, int type, boolean normalized, int stride, Buffer ptr)

Added in API level 8

Parameters
indx int
size int
type int
normalized boolean
stride int
ptr Buffer

public static void glVertexAttribPointer (int indx, int size, int type, boolean normalized, int stride, int offset)

Added in API level 9

Parameters
indx int
size int
type int
normalized boolean
stride int
offset int

public static void glViewport (int x, int y, int width, int height)

Added in API level 8

Parameters
x int
y int
width int
height int