GLES20


public class GLES20
extends Object

java.lang.Object
   ↳ android.opengl.GLES20


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, int[] renderbuffers, int offset)
static void glDeleteRenderbuffers(int n, IntBuffer renderbuffers)
static void glDeleteShader(int shader)
static void glDeleteTextures(int n, IntBuffer textures)
static void glDeleteTextures(int n, int[] textures, int offset)
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, int offset)
static void glDrawElements(int mode, int count, int type, Buffer indices)
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, int[] framebuffers, int offset)
static void glGenFramebuffers(int n, IntBuffer framebuffers)
static void glGenRenderbuffers(int n, int[] renderbuffers, int offset)
static void glGenRenderbuffers(int n, IntBuffer renderbuffers)
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, 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 glGetActiveAttrib(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 String glGetActiveUniform(int program, int index, IntBuffer size, IntBuffer type)
static void glGetAttachedShaders(int program, int maxcount, IntBuffer count, IntBuffer shaders)
static void glGetAttachedShaders(int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset)
static int glGetAttribLocation(int program, String name)
static void glGetBooleanv(int pname, IntBuffer params)
static void glGetBooleanv(int pname, boolean[] params, int offset)
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, int[] params, int offset)
static void glGetIntegerv(int pname, IntBuffer params)
static String glGetProgramInfoLog(int program)
static void glGetProgramiv(int program, int pname, int[] params, int offset)
static void glGetProgramiv(int program, int pname, IntBuffer params)
static void glGetRenderbufferParameteriv(int target, int pname, IntBuffer params)
static void glGetRenderbufferParameteriv(int target, int pname, int[] params, int offset)
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, int[] params, int offset)
static void glGetShaderiv(int shader, int pname, IntBuffer params)
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, IntBuffer params)
static void glGetTexParameteriv(int target, int pname, int[] params, int offset)
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, int[] params, int offset)
static void glGetUniformiv(int program, int location, IntBuffer params)
static void glGetVertexAttribfv(int index, int pname, FloatBuffer params)
static void glGetVertexAttribfv(int index, int pname, float[] params, int offset)
static void glGetVertexAttribiv(int index, int pname, IntBuffer params)
static void glGetVertexAttribiv(int index, int pname, int[] params, int offset)
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, int[] shaders, int offset, int binaryformat, Buffer binary, int length)
static void glShaderBinary(int n, IntBuffer shaders, 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, FloatBuffer params)
static void glTexParameterfv(int target, int pname, float[] params, int offset)
static void glTexParameteri(int target, int pname, int param)
static void glTexParameteriv(int target, int pname, int[] params, int offset)
static void glTexParameteriv(int target, int pname, IntBuffer params)
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, FloatBuffer v)
static void glUniform1fv(int location, int count, float[] v, int offset)
static void glUniform1i(int location, int x)
static void glUniform1iv(int location, int count, int[] v, int offset)
static void glUniform1iv(int location, int count, IntBuffer v)
static void glUniform2f(int location, float x, float y)
static void glUniform2fv(int location, int count, float[] v, int offset)
static void glUniform2fv(int location, int count, FloatBuffer v)
static void glUniform2i(int location, int x, int y)
static void glUniform2iv(int location, int count, int[] v, int offset)
static void glUniform2iv(int location, int count, IntBuffer v)
static void glUniform3f(int location, float x, float y, float z)
static void glUniform3fv(int location, int count, FloatBuffer v)
static void glUniform3fv(int location, int count, float[] v, int offset)
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, IntBuffer v)
static void glUniform4iv(int location, int count, int[] v, int offset)
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, FloatBuffer value)
static void glUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset)
static void glUniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer value)
static void glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset)
static void glUseProgram(int program)
static void glValidateProgram(int program)
static void glVertexAttrib1f(int indx, float x)
static void glVertexAttrib1fv(int indx, float[] values, int offset)
static void glVertexAttrib1fv(int indx, FloatBuffer values)
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, float[] values, int offset)
static void glVertexAttrib3fv(int indx, FloatBuffer values)
static void glVertexAttrib4f(int indx, float x, float y, float z, float w)
static void glVertexAttrib4fv(int indx, float[] values, int offset)
static void glVertexAttrib4fv(int indx, FloatBuffer values)
static void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int offset)
static void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr)
static void glViewport(int x, int y, int width, int height)

Inherited methods

Constants

GL_ACTIVE_ATTRIBUTES

Added in API level 8
public static final int GL_ACTIVE_ATTRIBUTES

Constant Value: 35721 (0x00008b89)

GL_ACTIVE_ATTRIBUTE_MAX_LENGTH

Added in API level 8
public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH

Constant Value: 35722 (0x00008b8a)

GL_ACTIVE_TEXTURE

Added in API level 8
public static final int GL_ACTIVE_TEXTURE

Constant Value: 34016 (0x000084e0)

GL_ACTIVE_UNIFORMS

Added in API level 8
public static final int GL_ACTIVE_UNIFORMS

Constant Value: 35718 (0x00008b86)

GL_ACTIVE_UNIFORM_MAX_LENGTH

Added in API level 8
public static final int GL_ACTIVE_UNIFORM_MAX_LENGTH

Constant Value: 35719 (0x00008b87)

GL_ALIASED_LINE_WIDTH_RANGE

Added in API level 8
public static final int GL_ALIASED_LINE_WIDTH_RANGE

Constant Value: 33902 (0x0000846e)

GL_ALIASED_POINT_SIZE_RANGE

Added in API level 8
public static final int GL_ALIASED_POINT_SIZE_RANGE

Constant Value: 33901 (0x0000846d)

GL_ALPHA

Added in API level 8
public static final int GL_ALPHA

Constant Value: 6406 (0x00001906)

GL_ALPHA_BITS

Added in API level 8
public static final int GL_ALPHA_BITS

Constant Value: 3413 (0x00000d55)

GL_ALWAYS

Added in API level 8
public static final int GL_ALWAYS

Constant Value: 519 (0x00000207)

GL_ARRAY_BUFFER

Added in API level 8
public static final int GL_ARRAY_BUFFER

Constant Value: 34962 (0x00008892)

GL_ARRAY_BUFFER_BINDING

Added in API level 8
public static final int GL_ARRAY_BUFFER_BINDING

Constant Value: 34964 (0x00008894)

GL_ATTACHED_SHADERS

Added in API level 8
public static final int GL_ATTACHED_SHADERS

Constant Value: 35717 (0x00008b85)

GL_BACK

Added in API level 8
public static final int GL_BACK

Constant Value: 1029 (0x00000405)

GL_BLEND

Added in API level 8
public static final int GL_BLEND

Constant Value: 3042 (0x00000be2)

GL_BLEND_COLOR

Added in API level 8
public static final int GL_BLEND_COLOR

Constant Value: 32773 (0x00008005)

GL_BLEND_DST_ALPHA

Added in API level 8
public static final int GL_BLEND_DST_ALPHA

Constant Value: 32970 (0x000080ca)

GL_BLEND_DST_RGB

Added in API level 8
public static final int GL_BLEND_DST_RGB

Constant Value: 32968 (0x000080c8)

GL_BLEND_EQUATION

Added in API level 8
public static final int GL_BLEND_EQUATION

Constant Value: 32777 (0x00008009)

GL_BLEND_EQUATION_ALPHA

Added in API level 8
public static final int GL_BLEND_EQUATION_ALPHA

Constant Value: 34877 (0x0000883d)

GL_BLEND_EQUATION_RGB

Added in API level 8
public static final int GL_BLEND_EQUATION_RGB

Constant Value: 32777 (0x00008009)

GL_BLEND_SRC_ALPHA

Added in API level 8
public static final int GL_BLEND_SRC_ALPHA

Constant Value: 32971 (0x000080cb)

GL_BLEND_SRC_RGB

Added in API level 8
public static final int GL_BLEND_SRC_RGB

Constant Value: 32969 (0x000080c9)

GL_BLUE_BITS

Added in API level 8
public static final int GL_BLUE_BITS

Constant Value: 3412 (0x00000d54)

GL_BOOL

Added in API level 8
public static final int GL_BOOL

Constant Value: 35670 (0x00008b56)

GL_BOOL_VEC2

Added in API level 8
public static final int GL_BOOL_VEC2

Constant Value: 35671 (0x00008b57)

GL_BOOL_VEC3

Added in API level 8
public static final int GL_BOOL_VEC3

Constant Value: 35672 (0x00008b58)

GL_BOOL_VEC4

Added in API level 8
public static final int GL_BOOL_VEC4

Constant Value: 35673 (0x00008b59)

GL_BUFFER_SIZE

Added in API level 8
public static final int GL_BUFFER_SIZE

Constant Value: 34660 (0x00008764)

GL_BUFFER_USAGE

Added in API level 8
public static final int GL_BUFFER_USAGE

Constant Value: 34661 (0x00008765)

GL_BYTE

Added in API level 8
public static final int GL_BYTE

Constant Value: 5120 (0x00001400)

GL_CCW

Added in API level 8
public static final int GL_CCW

Constant Value: 2305 (0x00000901)

GL_CLAMP_TO_EDGE

Added in API level 8
public static final int GL_CLAMP_TO_EDGE

Constant Value: 33071 (0x0000812f)

GL_COLOR_ATTACHMENT0

Added in API level 8
public static final int GL_COLOR_ATTACHMENT0

Constant Value: 36064 (0x00008ce0)

GL_COLOR_BUFFER_BIT

Added in API level 8
public static final int GL_COLOR_BUFFER_BIT

Constant Value: 16384 (0x00004000)

GL_COLOR_CLEAR_VALUE

Added in API level 8
public static final int GL_COLOR_CLEAR_VALUE

Constant Value: 3106 (0x00000c22)

GL_COLOR_WRITEMASK

Added in API level 8
public static final int GL_COLOR_WRITEMASK

Constant Value: 3107 (0x00000c23)

GL_COMPILE_STATUS

Added in API level 8
public static final int GL_COMPILE_STATUS

Constant Value: 35713 (0x00008b81)

GL_COMPRESSED_TEXTURE_FORMATS

Added in API level 8
public static final int GL_COMPRESSED_TEXTURE_FORMATS

Constant Value: 34467 (0x000086a3)

GL_CONSTANT_ALPHA

Added in API level 8
public static final int GL_CONSTANT_ALPHA

Constant Value: 32771 (0x00008003)

GL_CONSTANT_COLOR

Added in API level 8
public static final int GL_CONSTANT_COLOR

Constant Value: 32769 (0x00008001)

GL_CULL_FACE

Added in API level 8
public static final int GL_CULL_FACE

Constant Value: 2884 (0x00000b44)

GL_CULL_FACE_MODE

Added in API level 8
public static final int GL_CULL_FACE_MODE

Constant Value: 2885 (0x00000b45)

GL_CURRENT_PROGRAM

Added in API level 8
public static final int GL_CURRENT_PROGRAM

Constant Value: 35725 (0x00008b8d)

GL_CURRENT_VERTEX_ATTRIB

Added in API level 8
public static final int GL_CURRENT_VERTEX_ATTRIB

Constant Value: 34342 (0x00008626)

GL_CW

Added in API level 8
public static final int GL_CW

Constant Value: 2304 (0x00000900)

GL_DECR

Added in API level 8
public static final int GL_DECR

Constant Value: 7683 (0x00001e03)

GL_DECR_WRAP

Added in API level 8
public static final int GL_DECR_WRAP

Constant Value: 34056 (0x00008508)

GL_DELETE_STATUS

Added in API level 8
public static final int GL_DELETE_STATUS

Constant Value: 35712 (0x00008b80)

GL_DEPTH_ATTACHMENT

Added in API level 8
public static final int GL_DEPTH_ATTACHMENT

Constant Value: 36096 (0x00008d00)

GL_DEPTH_BITS

Added in API level 8
public static final int GL_DEPTH_BITS

Constant Value: 3414 (0x00000d56)

GL_DEPTH_BUFFER_BIT

Added in API level 8
public static final int GL_DEPTH_BUFFER_BIT

Constant Value: 256 (0x00000100)

GL_DEPTH_CLEAR_VALUE

Added in API level 8
public static final int GL_DEPTH_CLEAR_VALUE

Constant Value: 2931 (0x00000b73)

GL_DEPTH_COMPONENT

Added in API level 8
public static final int GL_DEPTH_COMPONENT

Constant Value: 6402 (0x00001902)

GL_DEPTH_COMPONENT16

Added in API level 8
public static final int GL_DEPTH_COMPONENT16

Constant Value: 33189 (0x000081a5)

GL_DEPTH_FUNC

Added in API level 8
public static final int GL_DEPTH_FUNC

Constant Value: 2932 (0x00000b74)

GL_DEPTH_RANGE

Added in API level 8
public static final int GL_DEPTH_RANGE

Constant Value: 2928 (0x00000b70)

GL_DEPTH_TEST

Added in API level 8
public static final int GL_DEPTH_TEST

Constant Value: 2929 (0x00000b71)

GL_DEPTH_WRITEMASK

Added in API level 8
public static final int GL_DEPTH_WRITEMASK

Constant Value: 2930 (0x00000b72)

GL_DITHER

Added in API level 8
public static final int GL_DITHER

Constant Value: 3024 (0x00000bd0)

GL_DONT_CARE

Added in API level 8
public static final int GL_DONT_CARE

Constant Value: 4352 (0x00001100)

GL_DST_ALPHA

Added in API level 8
public static final int GL_DST_ALPHA

Constant Value: 772 (0x00000304)

GL_DST_COLOR

Added in API level 8
public static final int GL_DST_COLOR

Constant Value: 774 (0x00000306)

GL_DYNAMIC_DRAW

Added in API level 8
public static final int GL_DYNAMIC_DRAW

Constant Value: 35048 (0x000088e8)

GL_ELEMENT_ARRAY_BUFFER

Added in API level 8
public static final int GL_ELEMENT_ARRAY_BUFFER

Constant Value: 34963 (0x00008893)

GL_ELEMENT_ARRAY_BUFFER_BINDING

Added in API level 8
public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING

Constant Value: 34965 (0x00008895)

GL_EQUAL

Added in API level 8
public static final int GL_EQUAL

Constant Value: 514 (0x00000202)

GL_EXTENSIONS

Added in API level 8
public static final int GL_EXTENSIONS

Constant Value: 7939 (0x00001f03)

GL_FALSE

Added in API level 8
public static final int GL_FALSE

Constant Value: 0 (0x00000000)

GL_FASTEST

Added in API level 8
public static final int GL_FASTEST

Constant Value: 4353 (0x00001101)

GL_FIXED

Added in API level 8
public static final int GL_FIXED

Constant Value: 5132 (0x0000140c)

GL_FLOAT

Added in API level 8
public static final int GL_FLOAT

Constant Value: 5126 (0x00001406)

GL_FLOAT_MAT2

Added in API level 8
public static final int GL_FLOAT_MAT2

Constant Value: 35674 (0x00008b5a)

GL_FLOAT_MAT3

Added in API level 8
public static final int GL_FLOAT_MAT3

Constant Value: 35675 (0x00008b5b)

GL_FLOAT_MAT4

Added in API level 8
public static final int GL_FLOAT_MAT4

Constant Value: 35676 (0x00008b5c)

GL_FLOAT_VEC2

Added in API level 8
public static final int GL_FLOAT_VEC2

Constant Value: 35664 (0x00008b50)

GL_FLOAT_VEC3

Added in API level 8
public static final int GL_FLOAT_VEC3

Constant Value: 35665 (0x00008b51)

GL_FLOAT_VEC4

Added in API level 8
public static final int GL_FLOAT_VEC4

Constant Value: 35666 (0x00008b52)

GL_FRAGMENT_SHADER

Added in API level 8
public static final int GL_FRAGMENT_SHADER

Constant Value: 35632 (0x00008b30)

GL_FRAMEBUFFER

Added in API level 8
public static final int GL_FRAMEBUFFER

Constant Value: 36160 (0x00008d40)

GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

Added in API level 8
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

Constant Value: 36049 (0x00008cd1)

GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

Added in API level 8
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

Constant Value: 36048 (0x00008cd0)

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

Added in API level 8
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

Constant Value: 36051 (0x00008cd3)

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

Added in API level 8
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

Constant Value: 36050 (0x00008cd2)

GL_FRAMEBUFFER_BINDING

Added in API level 8
public static final int GL_FRAMEBUFFER_BINDING

Constant Value: 36006 (0x00008ca6)

GL_FRAMEBUFFER_COMPLETE

Added in API level 8
public static final int GL_FRAMEBUFFER_COMPLETE

Constant Value: 36053 (0x00008cd5)

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Added in API level 8
public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Constant Value: 36054 (0x00008cd6)

GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Added in API level 8
public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Constant Value: 36057 (0x00008cd9)

GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

Added in API level 8
public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

Constant Value: 36055 (0x00008cd7)

GL_FRAMEBUFFER_UNSUPPORTED

Added in API level 8
public static final int GL_FRAMEBUFFER_UNSUPPORTED

Constant Value: 36061 (0x00008cdd)

GL_FRONT

Added in API level 8
public static final int GL_FRONT

Constant Value: 1028 (0x00000404)

GL_FRONT_AND_BACK

Added in API level 8
public static final int GL_FRONT_AND_BACK

Constant Value: 1032 (0x00000408)

GL_FRONT_FACE

Added in API level 8
public static final int GL_FRONT_FACE

Constant Value: 2886 (0x00000b46)

GL_FUNC_ADD

Added in API level 8
public static final int GL_FUNC_ADD

Constant Value: 32774 (0x00008006)

GL_FUNC_REVERSE_SUBTRACT

Added in API level 8
public static final int GL_FUNC_REVERSE_SUBTRACT

Constant Value: 32779 (0x0000800b)

GL_FUNC_SUBTRACT

Added in API level 8
public static final int GL_FUNC_SUBTRACT

Constant Value: 32778 (0x0000800a)

GL_GENERATE_MIPMAP_HINT

Added in API level 8
public static final int GL_GENERATE_MIPMAP_HINT

Constant Value: 33170 (0x00008192)

GL_GEQUAL

Added in API level 8
public static final int GL_GEQUAL

Constant Value: 518 (0x00000206)

GL_GREATER

Added in API level 8
public static final int GL_GREATER

Constant Value: 516 (0x00000204)

GL_GREEN_BITS

Added in API level 8
public static final int GL_GREEN_BITS

Constant Value: 3411 (0x00000d53)

GL_HIGH_FLOAT

Added in API level 8
public static final int GL_HIGH_FLOAT

Constant Value: 36338 (0x00008df2)

GL_HIGH_INT

Added in API level 8
public static final int GL_HIGH_INT

Constant Value: 36341 (0x00008df5)

GL_IMPLEMENTATION_COLOR_READ_FORMAT

Added in API level 8
public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT

Constant Value: 35739 (0x00008b9b)

GL_IMPLEMENTATION_COLOR_READ_TYPE

Added in API level 8
public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE

Constant Value: 35738 (0x00008b9a)

GL_INCR

Added in API level 8
public static final int GL_INCR

Constant Value: 7682 (0x00001e02)

GL_INCR_WRAP

Added in API level 8
public static final int GL_INCR_WRAP

Constant Value: 34055 (0x00008507)

GL_INFO_LOG_LENGTH

Added in API level 8
public static final int GL_INFO_LOG_LENGTH

Constant Value: 35716 (0x00008b84)

GL_INT

Added in API level 8
public static final int GL_INT

Constant Value: 5124 (0x00001404)

GL_INT_VEC2

Added in API level 8
public static final int GL_INT_VEC2

Constant Value: 35667 (0x00008b53)

GL_INT_VEC3

Added in API level 8
public static final int GL_INT_VEC3

Constant Value: 35668 (0x00008b54)

GL_INT_VEC4

Added in API level 8
public static final int GL_INT_VEC4

Constant Value: 35669 (0x00008b55)

GL_INVALID_ENUM

Added in API level 8
public static final int GL_INVALID_ENUM

Constant Value: 1280 (0x00000500)

GL_INVALID_FRAMEBUFFER_OPERATION

Added in API level 8
public static final int GL_INVALID_FRAMEBUFFER_OPERATION

Constant Value: 1286 (0x00000506)

GL_INVALID_OPERATION

Added in API level 8
public static final int GL_INVALID_OPERATION

Constant Value: 1282 (0x00000502)

GL_INVALID_VALUE

Added in API level 8
public static final int GL_INVALID_VALUE

Constant Value: 1281 (0x00000501)

GL_INVERT

Added in API level 8
public static final int GL_INVERT

Constant Value: 5386 (0x0000150a)

GL_KEEP

Added in API level 8
public static final int GL_KEEP

Constant Value: 7680 (0x00001e00)

GL_LEQUAL

Added in API level 8
public static final int GL_LEQUAL

Constant Value: 515 (0x00000203)

GL_LESS

Added in API level 8
public static final int GL_LESS

Constant Value: 513 (0x00000201)

GL_LINEAR

Added in API level 8
public static final int GL_LINEAR

Constant Value: 9729 (0x00002601)

GL_LINEAR_MIPMAP_LINEAR

Added in API level 8
public static final int GL_LINEAR_MIPMAP_LINEAR

Constant Value: 9987 (0x00002703)

GL_LINEAR_MIPMAP_NEAREST

Added in API level 8
public static final int GL_LINEAR_MIPMAP_NEAREST

Constant Value: 9985 (0x00002701)

GL_LINES

Added in API level 8
public static final int GL_LINES

Constant Value: 1 (0x00000001)

GL_LINE_LOOP

Added in API level 8
public static final int GL_LINE_LOOP

Constant Value: 2 (0x00000002)

GL_LINE_STRIP

Added in API level 8
public static final int GL_LINE_STRIP

Constant Value: 3 (0x00000003)

GL_LINE_WIDTH

Added in API level 8
public static final int GL_LINE_WIDTH

Constant Value: 2849 (0x00000b21)

Added in API level 8
public static final int GL_LINK_STATUS

Constant Value: 35714 (0x00008b82)

GL_LOW_FLOAT

Added in API level 8
public static final int GL_LOW_FLOAT

Constant Value: 36336 (0x00008df0)

GL_LOW_INT

Added in API level 8
public static final int GL_LOW_INT

Constant Value: 36339 (0x00008df3)

GL_LUMINANCE

Added in API level 8
public static final int GL_LUMINANCE

Constant Value: 6409 (0x00001909)

GL_LUMINANCE_ALPHA

Added in API level 8
public static final int GL_LUMINANCE_ALPHA

Constant Value: 6410 (0x0000190a)

GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

Added in API level 8
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

Constant Value: 35661 (0x00008b4d)

GL_MAX_CUBE_MAP_TEXTURE_SIZE

Added in API level 8
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE

Constant Value: 34076 (0x0000851c)

GL_MAX_FRAGMENT_UNIFORM_VECTORS

Added in API level 8
public static final int GL_MAX_FRAGMENT_UNIFORM_VECTORS

Constant Value: 36349 (0x00008dfd)

GL_MAX_RENDERBUFFER_SIZE

Added in API level 8
public static final int GL_MAX_RENDERBUFFER_SIZE

Constant Value: 34024 (0x000084e8)

GL_MAX_TEXTURE_IMAGE_UNITS

Added in API level 8
public static final int GL_MAX_TEXTURE_IMAGE_UNITS

Constant Value: 34930 (0x00008872)

GL_MAX_TEXTURE_SIZE

Added in API level 8
public static final int GL_MAX_TEXTURE_SIZE

Constant Value: 3379 (0x00000d33)

GL_MAX_VARYING_VECTORS

Added in API level 8
public static final int GL_MAX_VARYING_VECTORS

Constant Value: 36348 (0x00008dfc)

GL_MAX_VERTEX_ATTRIBS

Added in API level 8
public static final int GL_MAX_VERTEX_ATTRIBS

Constant Value: 34921 (0x00008869)

GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS

Added in API level 8
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS

Constant Value: 35660 (0x00008b4c)

GL_MAX_VERTEX_UNIFORM_VECTORS

Added in API level 8
public static final int GL_MAX_VERTEX_UNIFORM_VECTORS

Constant Value: 36347 (0x00008dfb)

GL_MAX_VIEWPORT_DIMS

Added in API level 8
public static final int GL_MAX_VIEWPORT_DIMS

Constant Value: 3386 (0x00000d3a)

GL_MEDIUM_FLOAT

Added in API level 8
public static final int GL_MEDIUM_FLOAT

Constant Value: 36337 (0x00008df1)

GL_MEDIUM_INT

Added in API level 8
public static final int GL_MEDIUM_INT

Constant Value: 36340 (0x00008df4)

GL_MIRRORED_REPEAT

Added in API level 8
public static final int GL_MIRRORED_REPEAT

Constant Value: 33648 (0x00008370)

GL_NEAREST

Added in API level 8
public static final int GL_NEAREST

Constant Value: 9728 (0x00002600)

GL_NEAREST_MIPMAP_LINEAR

Added in API level 8
public static final int GL_NEAREST_MIPMAP_LINEAR

Constant Value: 9986 (0x00002702)

GL_NEAREST_MIPMAP_NEAREST

Added in API level 8
public static final int GL_NEAREST_MIPMAP_NEAREST

Constant Value: 9984 (0x00002700)

GL_NEVER

Added in API level 8
public static final int GL_NEVER

Constant Value: 512 (0x00000200)

GL_NICEST

Added in API level 8
public static final int GL_NICEST

Constant Value: 4354 (0x00001102)

GL_NONE

Added in API level 8
public static final int GL_NONE

Constant Value: 0 (0x00000000)

GL_NOTEQUAL

Added in API level 8
public static final int GL_NOTEQUAL

Constant Value: 517 (0x00000205)

GL_NO_ERROR

Added in API level 8
public static final int GL_NO_ERROR

Constant Value: 0 (0x00000000)

GL_NUM_COMPRESSED_TEXTURE_FORMATS

Added in API level 8
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS

Constant Value: 34466 (0x000086a2)

GL_NUM_SHADER_BINARY_FORMATS

Added in API level 8
public static final int GL_NUM_SHADER_BINARY_FORMATS

Constant Value: 36345 (0x00008df9)

GL_ONE

Added in API level 8
public static final int GL_ONE

Constant Value: 1 (0x00000001)

GL_ONE_MINUS_CONSTANT_ALPHA

Added in API level 8
public static final int GL_ONE_MINUS_CONSTANT_ALPHA

Constant Value: 32772 (0x00008004)

GL_ONE_MINUS_CONSTANT_COLOR

Added in API level 8
public static final int GL_ONE_MINUS_CONSTANT_COLOR

Constant Value: 32770 (0x00008002)

GL_ONE_MINUS_DST_ALPHA

Added in API level 8
public static final int GL_ONE_MINUS_DST_ALPHA

Constant Value: 773 (0x00000305)

GL_ONE_MINUS_DST_COLOR

Added in API level 8
public static final int GL_ONE_MINUS_DST_COLOR

Constant Value: 775 (0x00000307)

GL_ONE_MINUS_SRC_ALPHA

Added in API level 8
public static final int GL_ONE_MINUS_SRC_ALPHA

Constant Value: 771 (0x00000303)

GL_ONE_MINUS_SRC_COLOR

Added in API level 8
public static final int GL_ONE_MINUS_SRC_COLOR

Constant Value: 769 (0x00000301)

GL_OUT_OF_MEMORY

Added in API level 8
public static final int GL_OUT_OF_MEMORY

Constant Value: 1285 (0x00000505)

GL_PACK_ALIGNMENT

Added in API level 8
public static final int GL_PACK_ALIGNMENT

Constant Value: 3333 (0x00000d05)

GL_POINTS

Added in API level 8
public static final int GL_POINTS

Constant Value: 0 (0x00000000)

GL_POLYGON_OFFSET_FACTOR

Added in API level 8
public static final int GL_POLYGON_OFFSET_FACTOR

Constant Value: 32824 (0x00008038)

GL_POLYGON_OFFSET_FILL

Added in API level 8
public static final int GL_POLYGON_OFFSET_FILL

Constant Value: 32823 (0x00008037)

GL_POLYGON_OFFSET_UNITS

Added in API level 8
public static final int GL_POLYGON_OFFSET_UNITS

Constant Value: 10752 (0x00002a00)

GL_RED_BITS

Added in API level 8
public static final int GL_RED_BITS

Constant Value: 3410 (0x00000d52)

GL_RENDERBUFFER

Added in API level 8
public static final int GL_RENDERBUFFER

Constant Value: 36161 (0x00008d41)

GL_RENDERBUFFER_ALPHA_SIZE

Added in API level 8
public static final int GL_RENDERBUFFER_ALPHA_SIZE

Constant Value: 36179 (0x00008d53)

GL_RENDERBUFFER_BINDING

Added in API level 8
public static final int GL_RENDERBUFFER_BINDING

Constant Value: 36007 (0x00008ca7)

GL_RENDERBUFFER_BLUE_SIZE

Added in API level 8
public static final int GL_RENDERBUFFER_BLUE_SIZE

Constant Value: 36178 (0x00008d52)

GL_RENDERBUFFER_DEPTH_SIZE

Added in API level 8
public static final int GL_RENDERBUFFER_DEPTH_SIZE

Constant Value: 36180 (0x00008d54)

GL_RENDERBUFFER_GREEN_SIZE

Added in API level 8
public static final int GL_RENDERBUFFER_GREEN_SIZE

Constant Value: 36177 (0x00008d51)

GL_RENDERBUFFER_HEIGHT

Added in API level 8
public static final int GL_RENDERBUFFER_HEIGHT

Constant Value: 36163 (0x00008d43)

GL_RENDERBUFFER_INTERNAL_FORMAT

Added in API level 8
public static final int GL_RENDERBUFFER_INTERNAL_FORMAT

Constant Value: 36164 (0x00008d44)

GL_RENDERBUFFER_RED_SIZE

Added in API level 8
public static final int GL_RENDERBUFFER_RED_SIZE

Constant Value: 36176 (0x00008d50)

GL_RENDERBUFFER_STENCIL_SIZE

Added in API level 8
public static final int GL_RENDERBUFFER_STENCIL_SIZE

Constant Value: 36181 (0x00008d55)

GL_RENDERBUFFER_WIDTH

Added in API level 8
public static final int GL_RENDERBUFFER_WIDTH

Constant Value: 36162 (0x00008d42)

GL_RENDERER

Added in API level 8
public static final int GL_RENDERER

Constant Value: 7937 (0x00001f01)

GL_REPEAT

Added in API level 8
public static final int GL_REPEAT

Constant Value: 10497 (0x00002901)

GL_REPLACE

Added in API level 8
public static final int GL_REPLACE

Constant Value: 7681 (0x00001e01)

GL_RGB

Added in API level 8
public static final int GL_RGB

Constant Value: 6407 (0x00001907)

GL_RGB565

Added in API level 8
public static final int GL_RGB565

Constant Value: 36194 (0x00008d62)

GL_RGB5_A1

Added in API level 8
public static final int GL_RGB5_A1

Constant Value: 32855 (0x00008057)

GL_RGBA

Added in API level 8
public static final int GL_RGBA

Constant Value: 6408 (0x00001908)

GL_RGBA4

Added in API level 8
public static final int GL_RGBA4

Constant Value: 32854 (0x00008056)

GL_SAMPLER_2D

Added in API level 8
public static final int GL_SAMPLER_2D

Constant Value: 35678 (0x00008b5e)

GL_SAMPLER_CUBE

Added in API level 8
public static final int GL_SAMPLER_CUBE

Constant Value: 35680 (0x00008b60)

GL_SAMPLES

Added in API level 8
public static final int GL_SAMPLES

Constant Value: 32937 (0x000080a9)

GL_SAMPLE_ALPHA_TO_COVERAGE

Added in API level 8
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE

Constant Value: 32926 (0x0000809e)

GL_SAMPLE_BUFFERS

Added in API level 8
public static final int GL_SAMPLE_BUFFERS

Constant Value: 32936 (0x000080a8)

GL_SAMPLE_COVERAGE

Added in API level 8
public static final int GL_SAMPLE_COVERAGE

Constant Value: 32928 (0x000080a0)

GL_SAMPLE_COVERAGE_INVERT

Added in API level 8
public static final int GL_SAMPLE_COVERAGE_INVERT

Constant Value: 32939 (0x000080ab)

GL_SAMPLE_COVERAGE_VALUE

Added in API level 8
public static final int GL_SAMPLE_COVERAGE_VALUE

Constant Value: 32938 (0x000080aa)

GL_SCISSOR_BOX

Added in API level 8
public static final int GL_SCISSOR_BOX

Constant Value: 3088 (0x00000c10)

GL_SCISSOR_TEST

Added in API level 8
public static final int GL_SCISSOR_TEST

Constant Value: 3089 (0x00000c11)

GL_SHADER_BINARY_FORMATS

Added in API level 8
public static final int GL_SHADER_BINARY_FORMATS

Constant Value: 36344 (0x00008df8)

GL_SHADER_COMPILER

Added in API level 8
public static final int GL_SHADER_COMPILER

Constant Value: 36346 (0x00008dfa)

GL_SHADER_SOURCE_LENGTH

Added in API level 8
public static final int GL_SHADER_SOURCE_LENGTH

Constant Value: 35720 (0x00008b88)

GL_SHADER_TYPE

Added in API level 8
public static final int GL_SHADER_TYPE

Constant Value: 35663 (0x00008b4f)

GL_SHADING_LANGUAGE_VERSION

Added in API level 8
public static final int GL_SHADING_LANGUAGE_VERSION

Constant Value: 35724 (0x00008b8c)

GL_SHORT

Added in API level 8
public static final int GL_SHORT

Constant Value: 5122 (0x00001402)

GL_SRC_ALPHA

Added in API level 8
public static final int GL_SRC_ALPHA

Constant Value: 770 (0x00000302)

GL_SRC_ALPHA_SATURATE

Added in API level 8
public static final int GL_SRC_ALPHA_SATURATE

Constant Value: 776 (0x00000308)

GL_SRC_COLOR

Added in API level 8
public static final int GL_SRC_COLOR

Constant Value: 768 (0x00000300)

GL_STATIC_DRAW

Added in API level 8
public static final int GL_STATIC_DRAW

Constant Value: 35044 (0x000088e4)

GL_STENCIL_ATTACHMENT

Added in API level 8
public static final int GL_STENCIL_ATTACHMENT

Constant Value: 36128 (0x00008d20)

GL_STENCIL_BACK_FAIL

Added in API level 8
public static final int GL_STENCIL_BACK_FAIL

Constant Value: 34817 (0x00008801)

GL_STENCIL_BACK_FUNC

Added in API level 8
public static final int GL_STENCIL_BACK_FUNC

Constant Value: 34816 (0x00008800)

GL_STENCIL_BACK_PASS_DEPTH_FAIL

Added in API level 8
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL

Constant Value: 34818 (0x00008802)

GL_STENCIL_BACK_PASS_DEPTH_PASS

Added in API level 8
public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS

Constant Value: 34819 (0x00008803)

GL_STENCIL_BACK_REF

Added in API level 8
public static final int GL_STENCIL_BACK_REF

Constant Value: 36003 (0x00008ca3)

GL_STENCIL_BACK_VALUE_MASK

Added in API level 8
public static final int GL_STENCIL_BACK_VALUE_MASK

Constant Value: 36004 (0x00008ca4)

GL_STENCIL_BACK_WRITEMASK

Added in API level 8
public static final int GL_STENCIL_BACK_WRITEMASK

Constant Value: 36005 (0x00008ca5)

GL_STENCIL_BITS

Added in API level 8
public static final int GL_STENCIL_BITS

Constant Value: 3415 (0x00000d57)

GL_STENCIL_BUFFER_BIT

Added in API level 8
public static final int GL_STENCIL_BUFFER_BIT

Constant Value: 1024 (0x00000400)

GL_STENCIL_CLEAR_VALUE

Added in API level 8
public static final int GL_STENCIL_CLEAR_VALUE

Constant Value: 2961 (0x00000b91)

GL_STENCIL_FAIL

Added in API level 8
public static final int GL_STENCIL_FAIL

Constant Value: 2964 (0x00000b94)

GL_STENCIL_FUNC

Added in API level 8
public static final int GL_STENCIL_FUNC

Constant Value: 2962 (0x00000b92)

GL_STENCIL_INDEX

Added in API level 8
Deprecated in API level 18
public static final int GL_STENCIL_INDEX

Constant Value: 6401 (0x00001901)

GL_STENCIL_INDEX8

Added in API level 8
public static final int GL_STENCIL_INDEX8

Constant Value: 36168 (0x00008d48)

GL_STENCIL_PASS_DEPTH_FAIL

Added in API level 8
public static final int GL_STENCIL_PASS_DEPTH_FAIL

Constant Value: 2965 (0x00000b95)

GL_STENCIL_PASS_DEPTH_PASS

Added in API level 8
public static final int GL_STENCIL_PASS_DEPTH_PASS

Constant Value: 2966 (0x00000b96)

GL_STENCIL_REF

Added in API level 8
public static final int GL_STENCIL_REF

Constant Value: 2967 (0x00000b97)

GL_STENCIL_TEST

Added in API level 8
public static final int GL_STENCIL_TEST

Constant Value: 2960 (0x00000b90)

GL_STENCIL_VALUE_MASK

Added in API level 8
public static final int GL_STENCIL_VALUE_MASK

Constant Value: 2963 (0x00000b93)

GL_STENCIL_WRITEMASK

Added in API level 8
public static final int GL_STENCIL_WRITEMASK

Constant Value: 2968 (0x00000b98)

GL_STREAM_DRAW

Added in API level 8
public static final int GL_STREAM_DRAW

Constant Value: 35040 (0x000088e0)

GL_SUBPIXEL_BITS

Added in API level 8
public static final int GL_SUBPIXEL_BITS

Constant Value: 3408 (0x00000d50)

GL_TEXTURE

Added in API level 8
public static final int GL_TEXTURE

Constant Value: 5890 (0x00001702)

GL_TEXTURE0

Added in API level 8
public static final int GL_TEXTURE0

Constant Value: 33984 (0x000084c0)

GL_TEXTURE1

Added in API level 8
public static final int GL_TEXTURE1

Constant Value: 33985 (0x000084c1)

GL_TEXTURE10

Added in API level 8
public static final int GL_TEXTURE10

Constant Value: 33994 (0x000084ca)

GL_TEXTURE11

Added in API level 8
public static final int GL_TEXTURE11

Constant Value: 33995 (0x000084cb)

GL_TEXTURE12

Added in API level 8
public static final int GL_TEXTURE12

Constant Value: 33996 (0x000084cc)

GL_TEXTURE13

Added in API level 8
public static final int GL_TEXTURE13

Constant Value: 33997 (0x000084cd)

GL_TEXTURE14

Added in API level 8
public static final int GL_TEXTURE14

Constant Value: 33998 (0x000084ce)

GL_TEXTURE15

Added in API level 8
public static final int GL_TEXTURE15

Constant Value: 33999 (0x000084cf)

GL_TEXTURE16

Added in API level 8
public static final int GL_TEXTURE16

Constant Value: 34000 (0x000084d0)

GL_TEXTURE17

Added in API level 8
public static final int GL_TEXTURE17

Constant Value: 34001 (0x000084d1)

GL_TEXTURE18

Added in API level 8
public static final int GL_TEXTURE18

Constant Value: 34002 (0x000084d2)

GL_TEXTURE19

Added in API level 8
public static final int GL_TEXTURE19

Constant Value: 34003 (0x000084d3)

GL_TEXTURE2

Added in API level 8
public static final int GL_TEXTURE2

Constant Value: 33986 (0x000084c2)

GL_TEXTURE20

Added in API level 8
public static final int GL_TEXTURE20

Constant Value: 34004 (0x000084d4)

GL_TEXTURE21

Added in API level 8
public static final int GL_TEXTURE21

Constant Value: 34005 (0x000084d5)

GL_TEXTURE22

Added in API level 8
public static final int GL_TEXTURE22

Constant Value: 34006 (0x000084d6)

GL_TEXTURE23

Added in API level 8
public static final int GL_TEXTURE23

Constant Value: 34007 (0x000084d7)

GL_TEXTURE24

Added in API level 8
public static final int GL_TEXTURE24

Constant Value: 34008 (0x000084d8)

GL_TEXTURE25

Added in API level 8
public static final int GL_TEXTURE25

Constant Value: 34009 (0x000084d9)

GL_TEXTURE26

Added in API level 8
public static final int GL_TEXTURE26

Constant Value: 34010 (0x000084da)

GL_TEXTURE27

Added in API level 8
public static final int GL_TEXTURE27

Constant Value: 34011 (0x000084db)

GL_TEXTURE28

Added in API level 8
public static final int GL_TEXTURE28

Constant Value: 34012 (0x000084dc)

GL_TEXTURE29

Added in API level 8
public static final int GL_TEXTURE29

Constant Value: 34013 (0x000084dd)

GL_TEXTURE3

Added in API level 8
public static final int GL_TEXTURE3

Constant Value: 33987 (0x000084c3)

GL_TEXTURE30

Added in API level 8
public static final int GL_TEXTURE30

Constant Value: 34014 (0x000084de)

GL_TEXTURE31

Added in API level 8
public static final int GL_TEXTURE31

Constant Value: 34015 (0x000084df)

GL_TEXTURE4

Added in API level 8
public static final int GL_TEXTURE4

Constant Value: 33988 (0x000084c4)

GL_TEXTURE5

Added in API level 8
public static final int GL_TEXTURE5

Constant Value: 33989 (0x000084c5)

GL_TEXTURE6

Added in API level 8
public static final int GL_TEXTURE6

Constant Value: 33990 (0x000084c6)

GL_TEXTURE7

Added in API level 8
public static final int GL_TEXTURE7

Constant Value: 33991 (0x000084c7)

GL_TEXTURE8

Added in API level 8
public static final int GL_TEXTURE8

Constant Value: 33992 (0x000084c8)

GL_TEXTURE9

Added in API level 8
public static final int GL_TEXTURE9

Constant Value: 33993 (0x000084c9)

GL_TEXTURE_2D

Added in API level 8
public static final int GL_TEXTURE_2D

Constant Value: 3553 (0x00000de1)

GL_TEXTURE_BINDING_2D

Added in API level 8
public static final int GL_TEXTURE_BINDING_2D

Constant Value: 32873 (0x00008069)

GL_TEXTURE_BINDING_CUBE_MAP

Added in API level 8
public static final int GL_TEXTURE_BINDING_CUBE_MAP

Constant Value: 34068 (0x00008514)

GL_TEXTURE_CUBE_MAP

Added in API level 8
public static final int GL_TEXTURE_CUBE_MAP

Constant Value: 34067 (0x00008513)

GL_TEXTURE_CUBE_MAP_NEGATIVE_X

Added in API level 8
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X

Constant Value: 34070 (0x00008516)

GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

Added in API level 8
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

Constant Value: 34072 (0x00008518)

GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

Added in API level 8
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

Constant Value: 34074 (0x0000851a)

GL_TEXTURE_CUBE_MAP_POSITIVE_X

Added in API level 8
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X

Constant Value: 34069 (0x00008515)

GL_TEXTURE_CUBE_MAP_POSITIVE_Y

Added in API level 8
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y

Constant Value: 34071 (0x00008517)

GL_TEXTURE_CUBE_MAP_POSITIVE_Z

Added in API level 8
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z

Constant Value: 34073 (0x00008519)

GL_TEXTURE_MAG_FILTER

Added in API level 8
public static final int GL_TEXTURE_MAG_FILTER

Constant Value: 10240 (0x00002800)

GL_TEXTURE_MIN_FILTER

Added in API level 8
public static final int GL_TEXTURE_MIN_FILTER

Constant Value: 10241 (0x00002801)

GL_TEXTURE_WRAP_S

Added in API level 8
public static final int GL_TEXTURE_WRAP_S

Constant Value: 10242 (0x00002802)

GL_TEXTURE_WRAP_T

Added in API level 8
public static final int GL_TEXTURE_WRAP_T

Constant Value: 10243 (0x00002803)

GL_TRIANGLES

Added in API level 8
public static final int GL_TRIANGLES

Constant Value: 4 (0x00000004)

GL_TRIANGLE_FAN

Added in API level 8
public static final int GL_TRIANGLE_FAN

Constant Value: 6 (0x00000006)

GL_TRIANGLE_STRIP

Added in API level 8
public static final int GL_TRIANGLE_STRIP

Constant Value: 5 (0x00000005)

GL_TRUE

Added in API level 8
public static final int GL_TRUE

Constant Value: 1 (0x00000001)

GL_UNPACK_ALIGNMENT

Added in API level 8
public static final int GL_UNPACK_ALIGNMENT

Constant Value: 3317 (0x00000cf5)

GL_UNSIGNED_BYTE

Added in API level 8
public static final int GL_UNSIGNED_BYTE

Constant Value: 5121 (0x00001401)

GL_UNSIGNED_INT

Added in API level 8
public static final int GL_UNSIGNED_INT

Constant Value: 5125 (0x00001405)

GL_UNSIGNED_SHORT

Added in API level 8
public static final int GL_UNSIGNED_SHORT

Constant Value: 5123 (0x00001403)

GL_UNSIGNED_SHORT_4_4_4_4

Added in API level 8
public static final int GL_UNSIGNED_SHORT_4_4_4_4

Constant Value: 32819 (0x00008033)

GL_UNSIGNED_SHORT_5_5_5_1

Added in API level 8
public static final int GL_UNSIGNED_SHORT_5_5_5_1

Constant Value: 32820 (0x00008034)

GL_UNSIGNED_SHORT_5_6_5

Added in API level 8
public static final int GL_UNSIGNED_SHORT_5_6_5

Constant Value: 33635 (0x00008363)

GL_VALIDATE_STATUS

Added in API level 8
public static final int GL_VALIDATE_STATUS

Constant Value: 35715 (0x00008b83)

GL_VENDOR

Added in API level 8
public static final int GL_VENDOR

Constant Value: 7936 (0x00001f00)

GL_VERSION

Added in API level 8
public static final int GL_VERSION

Constant Value: 7938 (0x00001f02)

GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

Added in API level 8
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

Constant Value: 34975 (0x0000889f)

GL_VERTEX_ATTRIB_ARRAY_ENABLED

Added in API level 8
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED

Constant Value: 34338 (0x00008622)

GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

Added in API level 8
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

Constant Value: 34922 (0x0000886a)

GL_VERTEX_ATTRIB_ARRAY_POINTER

Added in API level 8
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER

Constant Value: 34373 (0x00008645)

GL_VERTEX_ATTRIB_ARRAY_SIZE

Added in API level 8
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE

Constant Value: 34339 (0x00008623)

GL_VERTEX_ATTRIB_ARRAY_STRIDE

Added in API level 8
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE

Constant Value: 34340 (0x00008624)

GL_VERTEX_ATTRIB_ARRAY_TYPE

Added in API level 8
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE

Constant Value: 34341 (0x00008625)

GL_VERTEX_SHADER

Added in API level 8
public static final int GL_VERTEX_SHADER

Constant Value: 35633 (0x00008b31)

GL_VIEWPORT

Added in API level 8
public static final int GL_VIEWPORT

Constant Value: 2978 (0x00000ba2)

GL_ZERO

Added in API level 8
public static final int GL_ZERO

Constant Value: 0 (0x00000000)

Public constructors

GLES20

public GLES20 ()

Public methods

glActiveTexture

Added in API level 8
public static void glActiveTexture (int texture)

Parameters
texture int

glAttachShader

Added in API level 8
public static void glAttachShader (int program, 
                int shader)

Parameters
program int

shader int

glBindAttribLocation

Added in API level 8
public static void glBindAttribLocation (int program, 
                int index, 
                String name)

Parameters
program int

index int

name String

glBindBuffer

Added in API level 8
public static void glBindBuffer (int target, 
                int buffer)

Parameters
target int

buffer int

glBindFramebuffer

Added in API level 8
public static void glBindFramebuffer (int target, 
                int framebuffer)

Parameters
target int

framebuffer int

glBindRenderbuffer

Added in API level 8
public static void glBindRenderbuffer (int target, 
                int renderbuffer)

Parameters
target int

renderbuffer int

glBindTexture

Added in API level 8
public static void glBindTexture (int target, 
                int texture)

Parameters
target int

texture int

glBlendColor

Added in API level 8
public static void glBlendColor (float red, 
                float green, 
                float blue, 
                float alpha)

Parameters
red float

green float

blue float

alpha float

glBlendEquation

Added in API level 8
public static void glBlendEquation (int mode)

Parameters
mode int

glBlendEquationSeparate

Added in API level 8
public static void glBlendEquationSeparate (int modeRGB, 
                int modeAlpha)

Parameters
modeRGB int

modeAlpha int

glBlendFunc

Added in API level 8
public static void glBlendFunc (int sfactor, 
                int dfactor)

Parameters
sfactor int

dfactor int

glBlendFuncSeparate

Added in API level 8
public static void glBlendFuncSeparate (int srcRGB, 
                int dstRGB, 
                int srcAlpha, 
                int dstAlpha)

Parameters
srcRGB int

dstRGB int

srcAlpha int

dstAlpha int

glBufferData

Added in API level 8
public static void glBufferData (int target, 
                int size, 
                Buffer data, 
                int usage)

Parameters
target int

size int

data Buffer

usage int

glBufferSubData

Added in API level 8
public static void glBufferSubData (int target, 
                int offset, 
                int size, 
                Buffer data)

Parameters
target int

offset int

size int

data Buffer

glCheckFramebufferStatus

Added in API level 8
public static int glCheckFramebufferStatus (int target)

Parameters
target int

Returns
int

glClear

Added in API level 8
public static void glClear (int mask)

Parameters
mask int

glClearColor

Added in API level 8
public static void glClearColor (float red, 
                float green, 
                float blue, 
                float alpha)

Parameters
red float

green float

blue float

alpha float

glClearDepthf

Added in API level 8
public static void glClearDepthf (float depth)

Parameters
depth float

glClearStencil

Added in API level 8
public static void glClearStencil (int s)

Parameters
s int

glColorMask

Added in API level 8
public static void glColorMask (boolean red, 
                boolean green, 
                boolean blue, 
                boolean alpha)

Parameters
red boolean

green boolean

blue boolean

alpha boolean

glCompileShader

Added in API level 8
public static void glCompileShader (int shader)

Parameters
shader int

glCompressedTexImage2D

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

Parameters
target int

level int

internalformat int

width int

height int

border int

imageSize int

data Buffer

glCompressedTexSubImage2D

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

Parameters
target int

level int

xoffset int

yoffset int

width int

height int

format int

imageSize int

data Buffer

glCopyTexImage2D

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

Parameters
target int

level int

internalformat int

x int

y int

width int

height int

border int

glCopyTexSubImage2D

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

Parameters
target int

level int

xoffset int

yoffset int

x int

y int

width int

height int

glCreateProgram

Added in API level 8
public static int glCreateProgram ()

Returns
int

glCreateShader

Added in API level 8
public static int glCreateShader (int type)

Parameters
type int

Returns
int

glCullFace

Added in API level 8
public static void glCullFace (int mode)

Parameters
mode int

glDeleteBuffers

Added in API level 8
public static void glDeleteBuffers (int n, 
                int[] buffers, 
                int offset)

Parameters
n int

buffers int

offset int

glDeleteBuffers

Added in API level 8
public static void glDeleteBuffers (int n, 
                IntBuffer buffers)

Parameters
n int

buffers IntBuffer

glDeleteFramebuffers

Added in API level 8
public static void glDeleteFramebuffers (int n, 
                int[] framebuffers, 
                int offset)

Parameters
n int

framebuffers int

offset int

glDeleteFramebuffers

Added in API level 8
public static void glDeleteFramebuffers (int n, 
                IntBuffer framebuffers)

Parameters
n int

framebuffers IntBuffer

glDeleteProgram

Added in API level 8
public static void glDeleteProgram (int program)

Parameters
program int

glDeleteRenderbuffers

Added in API level 8
public static void glDeleteRenderbuffers (int n, 
                int[] renderbuffers, 
                int offset)

Parameters
n int

renderbuffers int

offset int

glDeleteRenderbuffers

Added in API level 8
public static void glDeleteRenderbuffers (int n, 
                IntBuffer renderbuffers)

Parameters
n int

renderbuffers IntBuffer

glDeleteShader

Added in API level 8
public static void glDeleteShader (int shader)

Parameters
shader int

glDeleteTextures

Added in API level 8
public static void glDeleteTextures (int n, 
                IntBuffer textures)

Parameters
n int

textures IntBuffer

glDeleteTextures

Added in API level 8
public static void glDeleteTextures (int n, 
                int[] textures, 
                int offset)

Parameters
n int

textures int

offset int

glDepthFunc

Added in API level 8
public static void glDepthFunc (int func)

Parameters
func int

glDepthMask

Added in API level 8
public static void glDepthMask (boolean flag)

Parameters
flag boolean

glDepthRangef

Added in API level 8
public static void glDepthRangef (float zNear, 
                float zFar)

Parameters
zNear float

zFar float

glDetachShader

Added in API level 8
public static void glDetachShader (int program, 
                int shader)

Parameters
program int

shader int

glDisable

Added in API level 8
public static void glDisable (int cap)

Parameters
cap int

glDisableVertexAttribArray

Added in API level 8
public static void glDisableVertexAttribArray (int index)

Parameters
index int

glDrawArrays

Added in API level 8
public static void glDrawArrays (int mode, 
                int first, 
                int count)

Parameters
mode int

first int

count int

glDrawElements

Added in API level 9
public static void glDrawElements (int mode, 
                int count, 
                int type, 
                int offset)

Parameters
mode int

count int

type int

offset int

glDrawElements

Added in API level 8
public static void glDrawElements (int mode, 
                int count, 
                int type, 
                Buffer indices)

Parameters
mode int

count int

type int

indices Buffer

glEnable

Added in API level 8
public static void glEnable (int cap)

Parameters
cap int

glEnableVertexAttribArray

Added in API level 8
public static void glEnableVertexAttribArray (int index)

Parameters
index int

glFinish

Added in API level 8
public static void glFinish ()

glFlush

Added in API level 8
public static void glFlush ()

glFramebufferRenderbuffer

Added in API level 8
public static void glFramebufferRenderbuffer (int target, 
                int attachment, 
                int renderbuffertarget, 
                int renderbuffer)

Parameters
target int

attachment int

renderbuffertarget int

renderbuffer int

glFramebufferTexture2D

Added in API level 8
public static void glFramebufferTexture2D (int target, 
                int attachment, 
                int textarget, 
                int texture, 
                int level)

Parameters
target int

attachment int

textarget int

texture int

level int

glFrontFace

Added in API level 8
public static void glFrontFace (int mode)

Parameters
mode int

glGenBuffers

Added in API level 8
public static void glGenBuffers (int n, 
                IntBuffer buffers)

Parameters
n int

buffers IntBuffer

glGenBuffers

Added in API level 8
public static void glGenBuffers (int n, 
                int[] buffers, 
                int offset)

Parameters
n int

buffers int

offset int

glGenFramebuffers

Added in API level 8
public static void glGenFramebuffers (int n, 
                int[] framebuffers, 
                int offset)

Parameters
n int

framebuffers int

offset int

glGenFramebuffers

Added in API level 8
public static void glGenFramebuffers (int n, 
                IntBuffer framebuffers)

Parameters
n int

framebuffers IntBuffer

glGenRenderbuffers

Added in API level 8
public static void glGenRenderbuffers (int n, 
                int[] renderbuffers, 
                int offset)

Parameters
n int

renderbuffers int

offset int

glGenRenderbuffers

Added in API level 8
public static void glGenRenderbuffers (int n, 
                IntBuffer renderbuffers)

Parameters
n int

renderbuffers IntBuffer

glGenTextures

Added in API level 8
public static void glGenTextures (int n, 
                IntBuffer textures)

Parameters
n int

textures IntBuffer

glGenTextures

Added in API level 8
public static void glGenTextures (int n, 
                int[] textures, 
                int offset)

Parameters
n int

textures int

offset int

glGenerateMipmap

Added in API level 8
public static void glGenerateMipmap (int target)

Parameters
target int

glGetActiveAttrib

Added in API level 17
public static String glGetActiveAttrib (int program, 
                int index, 
                int[] size, 
                int sizeOffset, 
                int[] type, 
                int typeOffset)

Parameters
program int

index int

size int

sizeOffset int

type int

typeOffset int

Returns
String

glGetActiveAttrib

Added in API level 8
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)

Parameters
program int

index int

bufsize int

length int

lengthOffset int

size int

sizeOffset int

type int

typeOffset int

name byte

nameOffset int

glGetActiveAttrib

Added in API level 17
public static String glGetActiveAttrib (int program, 
                int index, 
                IntBuffer size, 
                IntBuffer type)

Parameters
program int

index int

size IntBuffer

type IntBuffer

Returns
String

glGetActiveUniform

Added in API level 8
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)

Parameters
program int

index int

bufsize int

length int

lengthOffset int

size int

sizeOffset int

type int

typeOffset int

name byte

nameOffset int

glGetActiveUniform

Added in API level 17
public static String glGetActiveUniform (int program, 
                int index, 
                int[] size, 
                int sizeOffset, 
                int[] type, 
                int typeOffset)

Parameters
program int

index int

size int

sizeOffset int

type int

typeOffset int

Returns
String

glGetActiveUniform

Added in API level 17
public static String glGetActiveUniform (int program, 
                int index, 
                IntBuffer size, 
                IntBuffer type)

Parameters
program int

index int

size IntBuffer

type IntBuffer

Returns
String

glGetAttachedShaders

Added in API level 8
public static void glGetAttachedShaders (int program, 
                int maxcount, 
                IntBuffer count, 
                IntBuffer shaders)

Parameters
program int

maxcount int

count IntBuffer

shaders IntBuffer

glGetAttachedShaders

Added in API level 8
public static void glGetAttachedShaders (int program, 
                int maxcount, 
                int[] count, 
                int countOffset, 
                int[] shaders, 
                int shadersOffset)

Parameters
program int

maxcount int

count int

countOffset int

shaders int

shadersOffset int

glGetAttribLocation

Added in API level 8
public static int glGetAttribLocation (int program, 
                String name)

Parameters
program int

name String

Returns
int

glGetBooleanv

Added in API level 8
public static void glGetBooleanv (int pname, 
                IntBuffer params)

Parameters
pname int

params IntBuffer

glGetBooleanv

Added in API level 8
public static void glGetBooleanv (int pname, 
                boolean[] params, 
                int offset)

Parameters
pname int

params boolean

offset int

glGetBufferParameteriv

Added in API level 8
public static void glGetBufferParameteriv (int target, 
                int pname, 
                IntBuffer params)

Parameters
target int

pname int

params IntBuffer

glGetBufferParameteriv

Added in API level 8
public static void glGetBufferParameteriv (int target, 
                int pname, 
                int[] params, 
                int offset)

Parameters
target int

pname int

params int

offset int

glGetError

Added in API level 8
public static int glGetError ()

Returns
int

glGetFloatv

Added in API level 8
public static void glGetFloatv (int pname, 
                FloatBuffer params)

Parameters
pname int

params FloatBuffer

glGetFloatv

Added in API level 8
public static void glGetFloatv (int pname, 
                float[] params, 
                int offset)

Parameters
pname int

params float

offset int

glGetFramebufferAttachmentParameteriv

Added in API level 8
public static void glGetFramebufferAttachmentParameteriv (int target, 
                int attachment, 
                int pname, 
                IntBuffer params)

Parameters
target int

attachment int

pname int

params IntBuffer

glGetFramebufferAttachmentParameteriv

Added in API level 8
public static void glGetFramebufferAttachmentParameteriv (int target, 
                int attachment, 
                int pname, 
                int[] params, 
                int offset)

Parameters
target int

attachment int

pname int

params int

offset int

glGetIntegerv

Added in API level 8
public static void glGetIntegerv (int pname, 
                int[] params, 
                int offset)

Parameters
pname int

params int

offset int

glGetIntegerv

Added in API level 8
public static void glGetIntegerv (int pname, 
                IntBuffer params)

Parameters
pname int

params IntBuffer

glGetProgramInfoLog

Added in API level 8
public static String glGetProgramInfoLog (int program)

Parameters
program int

Returns
String

glGetProgramiv

Added in API level 8
public static void glGetProgramiv (int program, 
                int pname, 
                int[] params, 
                int offset)

Parameters
program int

pname int

params int

offset int

glGetProgramiv

Added in API level 8
public static void glGetProgramiv (int program, 
                int pname, 
                IntBuffer params)

Parameters
program int

pname int

params IntBuffer

glGetRenderbufferParameteriv

Added in API level 8
public static void glGetRenderbufferParameteriv (int target, 
                int pname, 
                IntBuffer params)

Parameters
target int

pname int

params IntBuffer

glGetRenderbufferParameteriv

Added in API level 8
public static void glGetRenderbufferParameteriv (int target, 
                int pname, 
                int[] params, 
                int offset)

Parameters
target int

pname int

params int

offset int

glGetShaderInfoLog

Added in API level 8
public static String glGetShaderInfoLog (int shader)

Parameters
shader int

Returns
String

glGetShaderPrecisionFormat

Added in API level 8
public static void glGetShaderPrecisionFormat (int shadertype, 
                int precisiontype, 
                IntBuffer range, 
                IntBuffer precision)

Parameters
shadertype int

precisiontype int

range IntBuffer

precision IntBuffer

glGetShaderPrecisionFormat

Added in API level 8
public static void glGetShaderPrecisionFormat (int shadertype, 
                int precisiontype, 
                int[] range, 
                int rangeOffset, 
                int[] precision, 
                int precisionOffset)

Parameters
shadertype int

precisiontype int

range int

rangeOffset int

precision int

precisionOffset int

glGetShaderSource

Added in API level 8
public static void glGetShaderSource (int shader, 
                int bufsize, 
                int[] length, 
                int lengthOffset, 
                byte[] source, 
                int sourceOffset)

Parameters
shader int

bufsize int

length int

lengthOffset int

source byte

sourceOffset int

glGetShaderSource

Added in API level 17
public static String glGetShaderSource (int shader)

Parameters
shader int

Returns
String

glGetShaderiv

Added in API level 8
public static void glGetShaderiv (int shader, 
                int pname, 
                int[] params, 
                int offset)

Parameters
shader int

pname int

params int

offset int

glGetShaderiv

Added in API level 8
public static void glGetShaderiv (int shader, 
                int pname, 
                IntBuffer params)

Parameters
shader int

pname int

params IntBuffer

glGetString

Added in API level 8
public static String glGetString (int name)

Parameters
name int

Returns
String

glGetTexParameterfv

Added in API level 8
public static void glGetTexParameterfv (int target, 
                int pname, 
                float[] params, 
                int offset)

Parameters
target int

pname int

params float

offset int

glGetTexParameterfv

Added in API level 8
public static void glGetTexParameterfv (int target, 
                int pname, 
                FloatBuffer params)

Parameters
target int

pname int

params FloatBuffer

glGetTexParameteriv

Added in API level 8
public static void glGetTexParameteriv (int target, 
                int pname, 
                IntBuffer params)

Parameters
target int

pname int

params IntBuffer

glGetTexParameteriv

Added in API level 8
public static void glGetTexParameteriv (int target, 
                int pname, 
                int[] params, 
                int offset)

Parameters
target int

pname int

params int

offset int

glGetUniformLocation

Added in API level 8
public static int glGetUniformLocation (int program, 
                String name)

Parameters
program int

name String

Returns
int

glGetUniformfv

Added in API level 8
public static void glGetUniformfv (int program, 
                int location, 
                FloatBuffer params)

Parameters
program int

location int

params FloatBuffer

glGetUniformfv

Added in API level 8
public static void glGetUniformfv (int program, 
                int location, 
                float[] params, 
                int offset)

Parameters
program int

location int

params float

offset int

glGetUniformiv

Added in API level 8
public static void glGetUniformiv (int program, 
                int location, 
                int[] params, 
                int offset)

Parameters
program int

location int

params int

offset int

glGetUniformiv

Added in API level 8
public static void glGetUniformiv (int program, 
                int location, 
                IntBuffer params)

Parameters
program int

location int

params IntBuffer

glGetVertexAttribfv

Added in API level 8
public static void glGetVertexAttribfv (int index, 
                int pname, 
                FloatBuffer params)

Parameters
index int

pname int

params FloatBuffer

glGetVertexAttribfv

Added in API level 8
public static void glGetVertexAttribfv (int index, 
                int pname, 
                float[] params, 
                int offset)

Parameters
index int

pname int

params float

offset int

glGetVertexAttribiv

Added in API level 8
public static void glGetVertexAttribiv (int index, 
                int pname, 
                IntBuffer params)

Parameters
index int

pname int

params IntBuffer

glGetVertexAttribiv

Added in API level 8
public static void glGetVertexAttribiv (int index, 
                int pname, 
                int[] params, 
                int offset)

Parameters
index int

pname int

params int

offset int

glHint

Added in API level 8
public static void glHint (int target, 
                int mode)

Parameters
target int

mode int

glIsBuffer

Added in API level 8
public static boolean glIsBuffer (int buffer)

Parameters
buffer int

Returns
boolean

glIsEnabled

Added in API level 8
public static boolean glIsEnabled (int cap)

Parameters
cap int

Returns
boolean

glIsFramebuffer

Added in API level 8
public static boolean glIsFramebuffer (int framebuffer)

Parameters
framebuffer int

Returns
boolean

glIsProgram

Added in API level 8
public static boolean glIsProgram (int program)

Parameters
program int

Returns
boolean

glIsRenderbuffer

Added in API level 8
public static boolean glIsRenderbuffer (int renderbuffer)

Parameters
renderbuffer int

Returns
boolean

glIsShader

Added in API level 8
public static boolean glIsShader (int shader)

Parameters
shader int

Returns
boolean

glIsTexture

Added in API level 8
public static boolean glIsTexture (int texture)

Parameters
texture int

Returns
boolean

glLineWidth

Added in API level 8
public static void glLineWidth (float width)

Parameters
width float

glLinkProgram

Added in API level 8
public static void glLinkProgram (int program)

Parameters
program int

glPixelStorei

Added in API level 8
public static void glPixelStorei (int pname, 
                int param)

Parameters
pname int

param int

glPolygonOffset

Added in API level 8
public static void glPolygonOffset (float factor, 
                float units)

Parameters
factor float

units float

glReadPixels

Added in API level 8
public static void glReadPixels (int x, 
                int y, 
                int width, 
                int height, 
                int format, 
                int type, 
                Buffer pixels)

Parameters
x int

y int

width int

height int

format int

type int

pixels Buffer

glReleaseShaderCompiler

Added in API level 8
public static void glReleaseShaderCompiler ()

glRenderbufferStorage

Added in API level 8
public static void glRenderbufferStorage (int target, 
                int internalformat, 
                int width, 
                int height)

Parameters
target int

internalformat int

width int

height int

glSampleCoverage

Added in API level 8
public static void glSampleCoverage (float value, 
                boolean invert)

Parameters
value float

invert boolean

glScissor

Added in API level 8
public static void glScissor (int x, 
                int y, 
                int width, 
                int height)

Parameters
x int

y int

width int

height int

glShaderBinary

Added in API level 8
public static void glShaderBinary (int n, 
                int[] shaders, 
                int offset, 
                int binaryformat, 
                Buffer binary, 
                int length)

Parameters
n int

shaders int

offset int

binaryformat int

binary Buffer

length int

glShaderBinary

Added in API level 8
public static void glShaderBinary (int n, 
                IntBuffer shaders, 
                int binaryformat, 
                Buffer binary, 
                int length)

Parameters
n int

shaders IntBuffer

binaryformat int

binary Buffer

length int

glShaderSource

Added in API level 8
public static void glShaderSource (int shader, 
                String string)

Parameters
shader int

string String

glStencilFunc

Added in API level 8
public static void glStencilFunc (int func, 
                int ref, 
                int mask)

Parameters
func int

ref int

mask int

glStencilFuncSeparate

Added in API level 8
public static void glStencilFuncSeparate (int face, 
                int func, 
                int ref, 
                int mask)

Parameters
face int

func int

ref int

mask int

glStencilMask

Added in API level 8
public static void glStencilMask (int mask)

Parameters
mask int

glStencilMaskSeparate

Added in API level 8
public static void glStencilMaskSeparate (int face, 
                int mask)

Parameters
face int

mask int

glStencilOp

Added in API level 8
public static void glStencilOp (int fail, 
                int zfail, 
                int zpass)

Parameters
fail int

zfail int

zpass int

glStencilOpSeparate

Added in API level 8
public static void glStencilOpSeparate (int face, 
                int fail, 
                int zfail, 
                int zpass)

Parameters
face int

fail int

zfail int

zpass int

glTexImage2D

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

Parameters
target int

level int

internalformat int

width int

height int

border int

format int

type int

pixels Buffer

glTexParameterf

Added in API level 8
public static void glTexParameterf (int target, 
                int pname, 
                float param)

Parameters
target int

pname int

param float

glTexParameterfv

Added in API level 8
public static void glTexParameterfv (int target, 
                int pname, 
                FloatBuffer params)

Parameters
target int

pname int

params FloatBuffer

glTexParameterfv

Added in API level 8
public static void glTexParameterfv (int target, 
                int pname, 
                float[] params, 
                int offset)

Parameters
target int

pname int

params float

offset int

glTexParameteri

Added in API level 8
public static void glTexParameteri (int target, 
                int pname, 
                int param)

Parameters
target int

pname int

param int

glTexParameteriv

Added in API level 8
public static void glTexParameteriv (int target, 
                int pname, 
                int[] params, 
                int offset)

Parameters
target int

pname int

params int

offset int

glTexParameteriv

Added in API level 8
public static void glTexParameteriv (int target, 
                int pname, 
                IntBuffer params)

Parameters
target int

pname int

params IntBuffer

glTexSubImage2D

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

Parameters
target int

level int

xoffset int

yoffset int

width int

height int

format int

type int

pixels Buffer

glUniform1f

Added in API level 8
public static void glUniform1f (int location, 
                float x)

Parameters
location int

x float

glUniform1fv

Added in API level 8
public static void glUniform1fv (int location, 
                int count, 
                FloatBuffer v)

Parameters
location int

count int

v FloatBuffer

glUniform1fv

Added in API level 8
public static void glUniform1fv (int location, 
                int count, 
                float[] v, 
                int offset)

Parameters
location int

count int

v float

offset int

glUniform1i

Added in API level 8
public static void glUniform1i (int location, 
                int x)

Parameters
location int

x int

glUniform1iv

Added in API level 8
public static void glUniform1iv (int location, 
                int count, 
                int[] v, 
                int offset)

Parameters
location int

count int

v int

offset int

glUniform1iv

Added in API level 8
public static void glUniform1iv (int location, 
                int count, 
                IntBuffer v)

Parameters
location int

count int

v IntBuffer

glUniform2f

Added in API level 8
public static void glUniform2f (int location, 
                float x, 
                float y)

Parameters
location int

x float

y float

glUniform2fv

Added in API level 8
public static void glUniform2fv (int location, 
                int count, 
                float[] v, 
                int offset)

Parameters
location int

count int

v float

offset int

glUniform2fv

Added in API level 8
public static void glUniform2fv (int location, 
                int count, 
                FloatBuffer v)

Parameters
location int

count int

v FloatBuffer

glUniform2i

Added in API level 8
public static void glUniform2i (int location, 
                int x, 
                int y)

Parameters
location int

x int

y int

glUniform2iv

Added in API level 8
public static void glUniform2iv (int location, 
                int count, 
                int[] v, 
                int offset)

Parameters
location int

count int

v int

offset int

glUniform2iv

Added in API level 8
public static void glUniform2iv (int location, 
                int count, 
                IntBuffer v)

Parameters
location int

count int

v IntBuffer

glUniform3f

Added in API level 8
public static void glUniform3f (int location, 
                float x, 
                float y, 
                float z)

Parameters
location int

x float

y float

z float

glUniform3fv

Added in API level 8
public static void glUniform3fv (int location, 
                int count, 
                FloatBuffer v)

Parameters
location int

count int

v FloatBuffer

glUniform3fv

Added in API level 8
public static void glUniform3fv (int location, 
                int count, 
                float[] v, 
                int offset)

Parameters
location int

count int

v float

offset int

glUniform3i

Added in API level 8
public static void glUniform3i (int location, 
                int x, 
                int y, 
                int z)

Parameters
location int

x int

y int

z int

glUniform3iv

Added in API level 8
public static void glUniform3iv (int location, 
                int count, 
                IntBuffer v)

Parameters
location int

count int

v IntBuffer

glUniform3iv

Added in API level 8
public static void glUniform3iv (int location, 
                int count, 
                int[] v, 
                int offset)

Parameters
location int

count int

v int

offset int

glUniform4f

Added in API level 8
public static void glUniform4f (int location, 
                float x, 
                float y, 
                float z, 
                float w)

Parameters
location int

x float

y float

z float

w float

glUniform4fv

Added in API level 8
public static void glUniform4fv (int location, 
                int count, 
                FloatBuffer v)

Parameters
location int

count int

v FloatBuffer

glUniform4fv

Added in API level 8
public static void glUniform4fv (int location, 
                int count, 
                float[] v, 
                int offset)

Parameters
location int

count int

v float

offset int

glUniform4i

Added in API level 8
public static void glUniform4i (int location, 
                int x, 
                int y, 
                int z, 
                int w)

Parameters
location int

x int

y int

z int

w int

glUniform4iv

Added in API level 8
public static void glUniform4iv (int location, 
                int count, 
                IntBuffer v)

Parameters
location int

count int

v IntBuffer

glUniform4iv

Added in API level 8
public static void glUniform4iv (int location, 
                int count, 
                int[] v, 
                int offset)

Parameters
location int

count int

v int

offset int

glUniformMatrix2fv

Added in API level 8
public static void glUniformMatrix2fv (int location, 
                int count, 
                boolean transpose, 
                FloatBuffer value)

Parameters
location int

count int

transpose boolean

value FloatBuffer

glUniformMatrix2fv

Added in API level 8
public static void glUniformMatrix2fv (int location, 
                int count, 
                boolean transpose, 
                float[] value, 
                int offset)

Parameters
location int

count int

transpose boolean

value float

offset int

glUniformMatrix3fv

Added in API level 8
public static void glUniformMatrix3fv (int location, 
                int count, 
                boolean transpose, 
                FloatBuffer value)

Parameters
location int

count int

transpose boolean

value FloatBuffer

glUniformMatrix3fv

Added in API level 8
public static void glUniformMatrix3fv (int location, 
                int count, 
                boolean transpose, 
                float[] value, 
                int offset)

Parameters
location int

count int

transpose boolean

value float

offset int

glUniformMatrix4fv

Added in API level 8
public static void glUniformMatrix4fv (int location, 
                int count, 
                boolean transpose, 
                FloatBuffer value)

Parameters
location int

count int

transpose boolean

value FloatBuffer

glUniformMatrix4fv

Added in API level 8
public static void glUniformMatrix4fv (int location, 
                int count, 
                boolean transpose, 
                float[] value, 
                int offset)

Parameters
location int

count int

transpose boolean

value float

offset int

glUseProgram

Added in API level 8
public static void glUseProgram (int program)

Parameters
program int

glValidateProgram

Added in API level 8
public static void glValidateProgram (int program)

Parameters
program int

glVertexAttrib1f

Added in API level 8
public static void glVertexAttrib1f (int indx, 
                float x)

Parameters
indx int

x float

glVertexAttrib1fv

Added in API level 8
public static void glVertexAttrib1fv (int indx, 
                float[] values, 
                int offset)

Parameters
indx int

values float

offset int

glVertexAttrib1fv

Added in API level 8
public static void glVertexAttrib1fv (int indx, 
                FloatBuffer values)

Parameters
indx int

values FloatBuffer

glVertexAttrib2f

Added in API level 8
public static void glVertexAttrib2f (int indx, 
                float x, 
                float y)

Parameters
indx int

x float

y float

glVertexAttrib2fv

Added in API level 8
public static void glVertexAttrib2fv (int indx, 
                float[] values, 
                int offset)

Parameters
indx int

values float

offset int

glVertexAttrib2fv

Added in API level 8
public static void glVertexAttrib2fv (int indx, 
                FloatBuffer values)

Parameters
indx int

values FloatBuffer

glVertexAttrib3f

Added in API level 8
public static void glVertexAttrib3f (int indx, 
                float x, 
                float y, 
                float z)

Parameters
indx int

x float

y float

z float

glVertexAttrib3fv

Added in API level 8
public static void glVertexAttrib3fv (int indx, 
                float[] values, 
                int offset)

Parameters
indx int

values float

offset int

glVertexAttrib3fv

Added in API level 8
public static void glVertexAttrib3fv (int indx, 
                FloatBuffer values)

Parameters
indx int

values FloatBuffer

glVertexAttrib4f

Added in API level 8
public static void glVertexAttrib4f (int indx, 
                float x, 
                float y, 
                float z, 
                float w)

Parameters
indx int

x float

y float

z float

w float

glVertexAttrib4fv

Added in API level 8
public static void glVertexAttrib4fv (int indx, 
                float[] values, 
                int offset)

Parameters
indx int

values float

offset int

glVertexAttrib4fv

Added in API level 8
public static void glVertexAttrib4fv (int indx, 
                FloatBuffer values)

Parameters
indx int

values FloatBuffer

glVertexAttribPointer

Added in API level 9
public static void glVertexAttribPointer (int indx, 
                int size, 
                int type, 
                boolean normalized, 
                int stride, 
                int offset)

Parameters
indx int

size int

type int

normalized boolean

stride int

offset int

glVertexAttribPointer

Added in API level 8
public static void glVertexAttribPointer (int indx, 
                int size, 
                int type, 
                boolean normalized, 
                int stride, 
                Buffer ptr)

Parameters
indx int

size int

type int

normalized boolean

stride int

ptr Buffer

glViewport

Added in API level 8
public static void glViewport (int x, 
                int y, 
                int width, 
                int height)

Parameters
x int

y int

width int

height int