Most visited

Recently visited

Added in API level 8

GLES20

public class GLES20
extends Object

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


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

From class java.lang.Object

Constants

GL_ACTIVE_ATTRIBUTES

Added in API level 8
int GL_ACTIVE_ATTRIBUTES

常量值:35721(0x00008b89)

GL_ACTIVE_ATTRIBUTE_MAX_LENGTH

Added in API level 8
int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH

常量值:35722(0x00008b8a)

GL_ACTIVE_TEXTURE

Added in API level 8
int GL_ACTIVE_TEXTURE

常量值:34016(0x000084e0)

GL_ACTIVE_UNIFORMS

Added in API level 8
int GL_ACTIVE_UNIFORMS

常量值:35718(0x00008b86)

GL_ACTIVE_UNIFORM_MAX_LENGTH

Added in API level 8
int GL_ACTIVE_UNIFORM_MAX_LENGTH

常量值:35719(0x00008b87)

GL_ALIASED_LINE_WIDTH_RANGE

Added in API level 8
int GL_ALIASED_LINE_WIDTH_RANGE

常量值:33902(0x0000846e)

GL_ALIASED_POINT_SIZE_RANGE

Added in API level 8
int GL_ALIASED_POINT_SIZE_RANGE

常量值:33901(0x0000846d)

GL_ALPHA

Added in API level 8
int GL_ALPHA

常量值:6406(0x00001906)

GL_ALPHA_BITS

Added in API level 8
int GL_ALPHA_BITS

常量值:3413(0x00000d55)

GL_ALWAYS

Added in API level 8
int GL_ALWAYS

常量值:519(0x00000207)

GL_ARRAY_BUFFER

Added in API level 8
int GL_ARRAY_BUFFER

常量值:34962(0x00008892)

GL_ARRAY_BUFFER_BINDING

Added in API level 8
int GL_ARRAY_BUFFER_BINDING

常量值:34964(0x00008894)

GL_ATTACHED_SHADERS

Added in API level 8
int GL_ATTACHED_SHADERS

常量值:35717(0x00008b85)

GL_BACK

Added in API level 8
int GL_BACK

常量值:1029(0x00000405)

GL_BLEND

Added in API level 8
int GL_BLEND

常量值:3042(0x00000be2)

GL_BLEND_COLOR

Added in API level 8
int GL_BLEND_COLOR

常量值:32773(0x00008005)

GL_BLEND_DST_ALPHA

Added in API level 8
int GL_BLEND_DST_ALPHA

常量值:32970(0x000080ca)

GL_BLEND_DST_RGB

Added in API level 8
int GL_BLEND_DST_RGB

常量值:32968(0x000080c8)

GL_BLEND_EQUATION

Added in API level 8
int GL_BLEND_EQUATION

常量值:32777(0x00008009)

GL_BLEND_EQUATION_ALPHA

Added in API level 8
int GL_BLEND_EQUATION_ALPHA

常量值:34877(0x0000883d)

GL_BLEND_EQUATION_RGB

Added in API level 8
int GL_BLEND_EQUATION_RGB

常量值:32777(0x00008009)

GL_BLEND_SRC_ALPHA

Added in API level 8
int GL_BLEND_SRC_ALPHA

常量值:32971(0x000080cb)

GL_BLEND_SRC_RGB

Added in API level 8
int GL_BLEND_SRC_RGB

常量值:32969(0x000080c9)

GL_BLUE_BITS

Added in API level 8
int GL_BLUE_BITS

常量值:3412(0x00000d54)

GL_BOOL

Added in API level 8
int GL_BOOL

常量值:35670(0x00008b56)

GL_BOOL_VEC2

Added in API level 8
int GL_BOOL_VEC2

常量值:35671(0x00008b57)

GL_BOOL_VEC3

Added in API level 8
int GL_BOOL_VEC3

常量值:35672(0x00008b58)

GL_BOOL_VEC4

Added in API level 8
int GL_BOOL_VEC4

常量值:35673(0x00008b59)

GL_BUFFER_SIZE

Added in API level 8
int GL_BUFFER_SIZE

常量值:34660(0x00008764)

GL_BUFFER_USAGE

Added in API level 8
int GL_BUFFER_USAGE

常量值:34661(0x00008765)

GL_BYTE

Added in API level 8
int GL_BYTE

常量值:5120(0x00001400)

GL_CCW

Added in API level 8
int GL_CCW

常量值:2305(0x00000901)

GL_CLAMP_TO_EDGE

Added in API level 8
int GL_CLAMP_TO_EDGE

常量值:33071(0x0000812f)

GL_COLOR_ATTACHMENT0

Added in API level 8
int GL_COLOR_ATTACHMENT0

常量值:36064(0x00008ce0)

GL_COLOR_BUFFER_BIT

Added in API level 8
int GL_COLOR_BUFFER_BIT

常量值:16384(0x00004000)

GL_COLOR_CLEAR_VALUE

Added in API level 8
int GL_COLOR_CLEAR_VALUE

常量值:3106(0x00000c22)

GL_COLOR_WRITEMASK

Added in API level 8
int GL_COLOR_WRITEMASK

常量值:3107(0x00000c23)

GL_COMPILE_STATUS

Added in API level 8
int GL_COMPILE_STATUS

常量值:35713(0x00008b81)

GL_COMPRESSED_TEXTURE_FORMATS

Added in API level 8
int GL_COMPRESSED_TEXTURE_FORMATS

常量值:34467(0x000086a3)

GL_CONSTANT_ALPHA

Added in API level 8
int GL_CONSTANT_ALPHA

常量值:32771(0x00008003)

GL_CONSTANT_COLOR

Added in API level 8
int GL_CONSTANT_COLOR

常量值:32769(0x00008001)

GL_CULL_FACE

Added in API level 8
int GL_CULL_FACE

常量值:2884(0x00000b44)

GL_CULL_FACE_MODE

Added in API level 8
int GL_CULL_FACE_MODE

常量值:2885(0x00000b45)

GL_CURRENT_PROGRAM

Added in API level 8
int GL_CURRENT_PROGRAM

常量值:35725(0x00008b8d)

GL_CURRENT_VERTEX_ATTRIB

Added in API level 8
int GL_CURRENT_VERTEX_ATTRIB

常量值:34342(0x00008626)

GL_CW

Added in API level 8
int GL_CW

常量值:2304(0x00000900)

GL_DECR

Added in API level 8
int GL_DECR

常量值:7683(0x00001e03)

GL_DECR_WRAP

Added in API level 8
int GL_DECR_WRAP

常量值:34056(0x00008508)

GL_DELETE_STATUS

Added in API level 8
int GL_DELETE_STATUS

常量值:35712(0x00008b80)

GL_DEPTH_ATTACHMENT

Added in API level 8
int GL_DEPTH_ATTACHMENT

常量值:36096(0x00008d00)

GL_DEPTH_BITS

Added in API level 8
int GL_DEPTH_BITS

常量值:3414(0x00000d56)

GL_DEPTH_BUFFER_BIT

Added in API level 8
int GL_DEPTH_BUFFER_BIT

常量值:256(0x00000100)

GL_DEPTH_CLEAR_VALUE

Added in API level 8
int GL_DEPTH_CLEAR_VALUE

常量值:2931(0x00000b73)

GL_DEPTH_COMPONENT

Added in API level 8
int GL_DEPTH_COMPONENT

常量值:6402(0x00001902)

GL_DEPTH_COMPONENT16

Added in API level 8
int GL_DEPTH_COMPONENT16

常量值:33189(0x000081a5)

GL_DEPTH_FUNC

Added in API level 8
int GL_DEPTH_FUNC

常量值:2932(0x00000b74)

GL_DEPTH_RANGE

Added in API level 8
int GL_DEPTH_RANGE

常量值:2928(0x00000b70)

GL_DEPTH_TEST

Added in API level 8
int GL_DEPTH_TEST

常量值:2929(0x00000b71)

GL_DEPTH_WRITEMASK

Added in API level 8
int GL_DEPTH_WRITEMASK

常量值:2930(0x00000b72)

GL_DITHER

Added in API level 8
int GL_DITHER

常量值:3024(0x00000bd0)

GL_DONT_CARE

Added in API level 8
int GL_DONT_CARE

常量值:4352(0x00001100)

GL_DST_ALPHA

Added in API level 8
int GL_DST_ALPHA

常量值:772(0x00000304)

GL_DST_COLOR

Added in API level 8
int GL_DST_COLOR

常量值:774(0x00000306)

GL_DYNAMIC_DRAW

Added in API level 8
int GL_DYNAMIC_DRAW

常量值:35048(0x000088e8)

GL_ELEMENT_ARRAY_BUFFER

Added in API level 8
int GL_ELEMENT_ARRAY_BUFFER

常量值:34963(0x00008893)

GL_ELEMENT_ARRAY_BUFFER_BINDING

Added in API level 8
int GL_ELEMENT_ARRAY_BUFFER_BINDING

常量值:34965(0x00008895)

GL_EQUAL

Added in API level 8
int GL_EQUAL

常量值:514(0x00000202)

GL_EXTENSIONS

Added in API level 8
int GL_EXTENSIONS

常量值:7939(0x00001f03)

GL_FALSE

Added in API level 8
int GL_FALSE

常量值:0(0x00000000)

GL_FASTEST

Added in API level 8
int GL_FASTEST

常量值:4353(0x00001101)

GL_FIXED

Added in API level 8
int GL_FIXED

常量值:5132(0x0000140c)

GL_FLOAT

Added in API level 8
int GL_FLOAT

常量值:5126(0x00001406)

GL_FLOAT_MAT2

Added in API level 8
int GL_FLOAT_MAT2

常量值:35674(0x00008b5a)

GL_FLOAT_MAT3

Added in API level 8
int GL_FLOAT_MAT3

常量值:35675(0x00008b5b)

GL_FLOAT_MAT4

Added in API level 8
int GL_FLOAT_MAT4

常量值:35676(0x00008b5c)

GL_FLOAT_VEC2

Added in API level 8
int GL_FLOAT_VEC2

常量值:35664(0x00008b50)

GL_FLOAT_VEC3

Added in API level 8
int GL_FLOAT_VEC3

常量值:35665(0x00008b51)

GL_FLOAT_VEC4

Added in API level 8
int GL_FLOAT_VEC4

常量值:35666(0x00008b52)

GL_FRAGMENT_SHADER

Added in API level 8
int GL_FRAGMENT_SHADER

常量值:35632(0x00008b30)

GL_FRAMEBUFFER

Added in API level 8
int GL_FRAMEBUFFER

常量值:36160(0x00008d40)

GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

Added in API level 8
int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME

常量值:36049(0x00008cd1)

GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

Added in API level 8
int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE

常量值:36048(0x00008cd0)

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

Added in API level 8
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE

常量值:36051(0x00008cd3)

GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

Added in API level 8
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL

常量值:36050(0x00008cd2)

GL_FRAMEBUFFER_BINDING

Added in API level 8
int GL_FRAMEBUFFER_BINDING

常量值:36006(0x00008ca6)

GL_FRAMEBUFFER_COMPLETE

Added in API level 8
int GL_FRAMEBUFFER_COMPLETE

常量值:36053(0x00008cd5)

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

Added in API level 8
int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

常量值:36054(0x00008cd6)

GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Added in API level 8
int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS

常量值:36057(0x00008cd9)

GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

Added in API level 8
int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

常量值:36055(0x00008cd7)

GL_FRAMEBUFFER_UNSUPPORTED

Added in API level 8
int GL_FRAMEBUFFER_UNSUPPORTED

常量值:36061(0x00008cdd)

GL_FRONT

Added in API level 8
int GL_FRONT

常量值:1028(0x00000404)

GL_FRONT_AND_BACK

Added in API level 8
int GL_FRONT_AND_BACK

常量值:1032(0x00000408)

GL_FRONT_FACE

Added in API level 8
int GL_FRONT_FACE

常量值:2886(0x00000b46)

GL_FUNC_ADD

Added in API level 8
int GL_FUNC_ADD

常量值:32774(0x00008006)

GL_FUNC_REVERSE_SUBTRACT

Added in API level 8
int GL_FUNC_REVERSE_SUBTRACT

常量值:32779(0x0000800b)

GL_FUNC_SUBTRACT

Added in API level 8
int GL_FUNC_SUBTRACT

常量值:32778(0x0000800a)

GL_GENERATE_MIPMAP_HINT

Added in API level 8
int GL_GENERATE_MIPMAP_HINT

常量值:33170(0x00008192)

GL_GEQUAL

Added in API level 8
int GL_GEQUAL

常量值:518(0x00000206)

GL_GREATER

Added in API level 8
int GL_GREATER

常量值:516(0x00000204)

GL_GREEN_BITS

Added in API level 8
int GL_GREEN_BITS

常量值:3411(0x00000d53)

GL_HIGH_FLOAT

Added in API level 8
int GL_HIGH_FLOAT

常量值:36338(0x00008df2)

GL_HIGH_INT

Added in API level 8
int GL_HIGH_INT

常量值:36341(0x00008df5)

GL_IMPLEMENTATION_COLOR_READ_FORMAT

Added in API level 8
int GL_IMPLEMENTATION_COLOR_READ_FORMAT

常量值:35739(0x00008b9b)

GL_IMPLEMENTATION_COLOR_READ_TYPE

Added in API level 8
int GL_IMPLEMENTATION_COLOR_READ_TYPE

常量值:35738(0x00008b9a)

GL_INCR

Added in API level 8
int GL_INCR

常量值:7682(0x00001e02)

GL_INCR_WRAP

Added in API level 8
int GL_INCR_WRAP

常量值:34055(0x00008507)

GL_INFO_LOG_LENGTH

Added in API level 8
int GL_INFO_LOG_LENGTH

常量值:35716(0x00008b84)

GL_INT

Added in API level 8
int GL_INT

常量值:5124(0x00001404)

GL_INT_VEC2

Added in API level 8
int GL_INT_VEC2

常量值:35667(0x00008b53)

GL_INT_VEC3

Added in API level 8
int GL_INT_VEC3

常量值:35668(0x00008b54)

GL_INT_VEC4

Added in API level 8
int GL_INT_VEC4

常量值:35669(0x00008b55)

GL_INVALID_ENUM

Added in API level 8
int GL_INVALID_ENUM

常数值:1280(0x00000500)

GL_INVALID_FRAMEBUFFER_OPERATION

Added in API level 8
int GL_INVALID_FRAMEBUFFER_OPERATION

常量值:1286(0x00000506)

GL_INVALID_OPERATION

Added in API level 8
int GL_INVALID_OPERATION

常量值:1282(0x00000502)

GL_INVALID_VALUE

Added in API level 8
int GL_INVALID_VALUE

常量值:1281(0x00000501)

GL_INVERT

Added in API level 8
int GL_INVERT

常量值:5386(0x0000150a)

GL_KEEP

Added in API level 8
int GL_KEEP

常量值:7680(0x00001e00)

GL_LEQUAL

Added in API level 8
int GL_LEQUAL

常量值:515(0x00000203)

GL_LESS

Added in API level 8
int GL_LESS

常量值:513(0x00000201)

GL_LINEAR

Added in API level 8
int GL_LINEAR

常量值:9729(0x00002601)

GL_LINEAR_MIPMAP_LINEAR

Added in API level 8
int GL_LINEAR_MIPMAP_LINEAR

常量值:9987(0x00002703)

GL_LINEAR_MIPMAP_NEAREST

Added in API level 8
int GL_LINEAR_MIPMAP_NEAREST

常量值:9985(0x00002701)

GL_LINES

Added in API level 8
int GL_LINES

常数值:1(0x00000001)

GL_LINE_LOOP

Added in API level 8
int GL_LINE_LOOP

常量值:2(0x00000002)

GL_LINE_STRIP

Added in API level 8
int GL_LINE_STRIP

常量值:3(0x00000003)

GL_LINE_WIDTH

Added in API level 8
int GL_LINE_WIDTH

常量值:2849(0x00000b21)

GL_LINK_STATUS

Added in API level 8
int GL_LINK_STATUS

常量值:35714(0x00008b82)

GL_LOW_FLOAT

Added in API level 8
int GL_LOW_FLOAT

常量值:36336(0x00008df0)

GL_LOW_INT

Added in API level 8
int GL_LOW_INT

常量值:36339(0x00008df3)

GL_LUMINANCE

Added in API level 8
int GL_LUMINANCE

常量值:6409(0x00001909)

GL_LUMINANCE_ALPHA

Added in API level 8
int GL_LUMINANCE_ALPHA

常量值:6410(0x0000190a)

GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

Added in API level 8
int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS

常量值:35661(0x00008b4d)

GL_MAX_CUBE_MAP_TEXTURE_SIZE

Added in API level 8
int GL_MAX_CUBE_MAP_TEXTURE_SIZE

常量值:34076(0x0000851c)

GL_MAX_FRAGMENT_UNIFORM_VECTORS

Added in API level 8
int GL_MAX_FRAGMENT_UNIFORM_VECTORS

常量值:36349(0x00008dfd)

GL_MAX_RENDERBUFFER_SIZE

Added in API level 8
int GL_MAX_RENDERBUFFER_SIZE

常量值:34024(0x000084e8)

GL_MAX_TEXTURE_IMAGE_UNITS

Added in API level 8
int GL_MAX_TEXTURE_IMAGE_UNITS

常量值:34930(0x00008872)

GL_MAX_TEXTURE_SIZE

Added in API level 8
int GL_MAX_TEXTURE_SIZE

常量值:3379(0x00000d33)

GL_MAX_VARYING_VECTORS

Added in API level 8
int GL_MAX_VARYING_VECTORS

常量值:36348(0x00008dfc)

GL_MAX_VERTEX_ATTRIBS

Added in API level 8
int GL_MAX_VERTEX_ATTRIBS

常量值:34921(0x00008869)

GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS

Added in API level 8
int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS

常量值:35660(0x00008b4c)

GL_MAX_VERTEX_UNIFORM_VECTORS

Added in API level 8
int GL_MAX_VERTEX_UNIFORM_VECTORS

常量值:36347(0x00008dfb)

GL_MAX_VIEWPORT_DIMS

Added in API level 8
int GL_MAX_VIEWPORT_DIMS

常量值:3386(0x00000d3a)

GL_MEDIUM_FLOAT

Added in API level 8
int GL_MEDIUM_FLOAT

常量值:36337(0x00008df1)

GL_MEDIUM_INT

Added in API level 8
int GL_MEDIUM_INT

常量值:36340(0x00008df4)

GL_MIRRORED_REPEAT

Added in API level 8
int GL_MIRRORED_REPEAT

常量值:33648(0x00008370)

GL_NEAREST

Added in API level 8
int GL_NEAREST

常量值:9728(0x00002600)

GL_NEAREST_MIPMAP_LINEAR

Added in API level 8
int GL_NEAREST_MIPMAP_LINEAR

常量值:9986(0x00002702)

GL_NEAREST_MIPMAP_NEAREST

Added in API level 8
int GL_NEAREST_MIPMAP_NEAREST

常量值:9984(0x00002700)

GL_NEVER

Added in API level 8
int GL_NEVER

常量值:512(0x00000200)

GL_NICEST

Added in API level 8
int GL_NICEST

常量值:4354(0x00001102)

GL_NONE

Added in API level 8
int GL_NONE

常量值:0(0x00000000)

GL_NOTEQUAL

Added in API level 8
int GL_NOTEQUAL

常量值:517(0x00000205)

GL_NO_ERROR

Added in API level 8
int GL_NO_ERROR

常量值:0(0x00000000)

GL_NUM_COMPRESSED_TEXTURE_FORMATS

Added in API level 8
int GL_NUM_COMPRESSED_TEXTURE_FORMATS

常量值:34466(0x000086a2)

GL_NUM_SHADER_BINARY_FORMATS

Added in API level 8
int GL_NUM_SHADER_BINARY_FORMATS

常量值:36345(0x00008df9)

GL_ONE

Added in API level 8
int GL_ONE

常数值:1(0x00000001)

GL_ONE_MINUS_CONSTANT_ALPHA

Added in API level 8
int GL_ONE_MINUS_CONSTANT_ALPHA

常量值:32772(0x00008004)

GL_ONE_MINUS_CONSTANT_COLOR

Added in API level 8
int GL_ONE_MINUS_CONSTANT_COLOR

常量值:32770(0x00008002)

GL_ONE_MINUS_DST_ALPHA

Added in API level 8
int GL_ONE_MINUS_DST_ALPHA

常量值:773(0x00000305)

GL_ONE_MINUS_DST_COLOR

Added in API level 8
int GL_ONE_MINUS_DST_COLOR

常量值:775(0x00000307)

GL_ONE_MINUS_SRC_ALPHA

Added in API level 8
int GL_ONE_MINUS_SRC_ALPHA

常量值:771(0x00000303)

GL_ONE_MINUS_SRC_COLOR

Added in API level 8
int GL_ONE_MINUS_SRC_COLOR

常量值:769(0x00000301)

GL_OUT_OF_MEMORY

Added in API level 8
int GL_OUT_OF_MEMORY

常量值:1285(0x00000505)

GL_PACK_ALIGNMENT

Added in API level 8
int GL_PACK_ALIGNMENT

常量值:3333(0x00000d05)

GL_POINTS

Added in API level 8
int GL_POINTS

常量值:0(0x00000000)

GL_POLYGON_OFFSET_FACTOR

Added in API level 8
int GL_POLYGON_OFFSET_FACTOR

常量值:32824(0x00008038)

GL_POLYGON_OFFSET_FILL

Added in API level 8
int GL_POLYGON_OFFSET_FILL

常量值:32823(0x00008037)

GL_POLYGON_OFFSET_UNITS

Added in API level 8
int GL_POLYGON_OFFSET_UNITS

常量值:10752(0x00002a00)

GL_RED_BITS

Added in API level 8
int GL_RED_BITS

常量值:3410(0x00000d52)

GL_RENDERBUFFER

Added in API level 8
int GL_RENDERBUFFER

常量值:36161(0x00008d41)

GL_RENDERBUFFER_ALPHA_SIZE

Added in API level 8
int GL_RENDERBUFFER_ALPHA_SIZE

常量值:36179(0x00008d53)

GL_RENDERBUFFER_BINDING

Added in API level 8
int GL_RENDERBUFFER_BINDING

常量值:36007(0x00008ca7)

GL_RENDERBUFFER_BLUE_SIZE

Added in API level 8
int GL_RENDERBUFFER_BLUE_SIZE

常量值:36178(0x00008d52)

GL_RENDERBUFFER_DEPTH_SIZE

Added in API level 8
int GL_RENDERBUFFER_DEPTH_SIZE

常量值:36180(0x00008d54)

GL_RENDERBUFFER_GREEN_SIZE

Added in API level 8
int GL_RENDERBUFFER_GREEN_SIZE

常量值:36177(0x00008d51)

GL_RENDERBUFFER_HEIGHT

Added in API level 8
int GL_RENDERBUFFER_HEIGHT

常量值:36163(0x00008d43)

GL_RENDERBUFFER_INTERNAL_FORMAT

Added in API level 8
int GL_RENDERBUFFER_INTERNAL_FORMAT

常量值:36164(0x00008d44)

GL_RENDERBUFFER_RED_SIZE

Added in API level 8
int GL_RENDERBUFFER_RED_SIZE

常量值:36176(0x00008d50)

GL_RENDERBUFFER_STENCIL_SIZE

Added in API level 8
int GL_RENDERBUFFER_STENCIL_SIZE

常量值:36181(0x00008d55)

GL_RENDERBUFFER_WIDTH

Added in API level 8
int GL_RENDERBUFFER_WIDTH

常量值:36162(0x00008d42)

GL_RENDERER

Added in API level 8
int GL_RENDERER

常量值:7937(0x00001f01)

GL_REPEAT

Added in API level 8
int GL_REPEAT

常量值:10497(0x00002901)

GL_REPLACE

Added in API level 8
int GL_REPLACE

常量值:7681(0x00001e01)

GL_RGB

Added in API level 8
int GL_RGB

常量值:6407(0x00001907)

GL_RGB565

Added in API level 8
int GL_RGB565

常量值:36194(0x00008d62)

GL_RGB5_A1

Added in API level 8
int GL_RGB5_A1

常量值:32855(0x00008057)

GL_RGBA

Added in API level 8
int GL_RGBA

常量值:6408(0x00001908)

GL_RGBA4

Added in API level 8
int GL_RGBA4

常量值:32854(0x00008056)

GL_SAMPLER_2D

Added in API level 8
int GL_SAMPLER_2D

常量值:35678(0x00008b5e)

GL_SAMPLER_CUBE

Added in API level 8
int GL_SAMPLER_CUBE

常量值:35680(0x00008b60)

GL_SAMPLES

Added in API level 8
int GL_SAMPLES

常量值:32937(0x000080a9)

GL_SAMPLE_ALPHA_TO_COVERAGE

Added in API level 8
int GL_SAMPLE_ALPHA_TO_COVERAGE

常量值:32926(0x0000809e)

GL_SAMPLE_BUFFERS

Added in API level 8
int GL_SAMPLE_BUFFERS

常量值:32936(0x000080a8)

GL_SAMPLE_COVERAGE

Added in API level 8
int GL_SAMPLE_COVERAGE

常量值:32928(0x000080a0)

GL_SAMPLE_COVERAGE_INVERT

Added in API level 8
int GL_SAMPLE_COVERAGE_INVERT

常量值:32939(0x000080ab)

GL_SAMPLE_COVERAGE_VALUE

Added in API level 8
int GL_SAMPLE_COVERAGE_VALUE

常量值:32938(0x000080aa)

GL_SCISSOR_BOX

Added in API level 8
int GL_SCISSOR_BOX

常量值:3088(0x00000c10)

GL_SCISSOR_TEST

Added in API level 8
int GL_SCISSOR_TEST

常量值:3089(0x00000c11)

GL_SHADER_BINARY_FORMATS

Added in API level 8
int GL_SHADER_BINARY_FORMATS

常量值:36344(0x00008df8)

GL_SHADER_COMPILER

Added in API level 8
int GL_SHADER_COMPILER

常量值:36346(0x00008dfa)

GL_SHADER_SOURCE_LENGTH

Added in API level 8
int GL_SHADER_SOURCE_LENGTH

常量值:35720(0x00008b88)

GL_SHADER_TYPE

Added in API level 8
int GL_SHADER_TYPE

常量值:35663(0x00008b4f)

GL_SHADING_LANGUAGE_VERSION

Added in API level 8
int GL_SHADING_LANGUAGE_VERSION

常量值:35724(0x00008b8c)

GL_SHORT

Added in API level 8
int GL_SHORT

常量值:5122(0x00001402)

GL_SRC_ALPHA

Added in API level 8
int GL_SRC_ALPHA

常量值:770(0x00000302)

GL_SRC_ALPHA_SATURATE

Added in API level 8
int GL_SRC_ALPHA_SATURATE

常量值:776(0x00000308)

GL_SRC_COLOR

Added in API level 8
int GL_SRC_COLOR

常量值:768(0x00000300)

GL_STATIC_DRAW

Added in API level 8
int GL_STATIC_DRAW

常量值:35044(0x000088e4)

GL_STENCIL_ATTACHMENT

Added in API level 8
int GL_STENCIL_ATTACHMENT

常量值:36128(0x00008d20)

GL_STENCIL_BACK_FAIL

Added in API level 8
int GL_STENCIL_BACK_FAIL

常量值:34817(0x00008801)

GL_STENCIL_BACK_FUNC

Added in API level 8
int GL_STENCIL_BACK_FUNC

常量值:34816(0x00008800)

GL_STENCIL_BACK_PASS_DEPTH_FAIL

Added in API level 8
int GL_STENCIL_BACK_PASS_DEPTH_FAIL

常量值:34818(0x00008802)

GL_STENCIL_BACK_PASS_DEPTH_PASS

Added in API level 8
int GL_STENCIL_BACK_PASS_DEPTH_PASS

常量值:34819(0x00008803)

GL_STENCIL_BACK_REF

Added in API level 8
int GL_STENCIL_BACK_REF

常量值:36003(0x00008ca3)

GL_STENCIL_BACK_VALUE_MASK

Added in API level 8
int GL_STENCIL_BACK_VALUE_MASK

常量值:36004(0x00008ca4)

GL_STENCIL_BACK_WRITEMASK

Added in API level 8
int GL_STENCIL_BACK_WRITEMASK

常量值:36005(0x00008ca5)

GL_STENCIL_BITS

Added in API level 8
int GL_STENCIL_BITS

常量值:3415(0x00000d57)

GL_STENCIL_BUFFER_BIT

Added in API level 8
int GL_STENCIL_BUFFER_BIT

常量值:1024(0x00000400)

GL_STENCIL_CLEAR_VALUE

Added in API level 8
int GL_STENCIL_CLEAR_VALUE

常量值:2961(0x00000b91)

GL_STENCIL_FAIL

Added in API level 8
int GL_STENCIL_FAIL

常量值:2964(0x00000b94)

GL_STENCIL_FUNC

Added in API level 8
int GL_STENCIL_FUNC

常量值:2962(0x00000b92)

GL_STENCIL_INDEX

Added in API level 8
int GL_STENCIL_INDEX

常量值:6401(0x00001901)

GL_STENCIL_INDEX8

Added in API level 8
int GL_STENCIL_INDEX8

常量值:36168(0x00008d48)

GL_STENCIL_PASS_DEPTH_FAIL

Added in API level 8
int GL_STENCIL_PASS_DEPTH_FAIL

常量值:2965(0x00000b95)

GL_STENCIL_PASS_DEPTH_PASS

Added in API level 8
int GL_STENCIL_PASS_DEPTH_PASS

常量值:2966(0x00000b96)

GL_STENCIL_REF

Added in API level 8
int GL_STENCIL_REF

常量值:2967(0x00000b97)

GL_STENCIL_TEST

Added in API level 8
int GL_STENCIL_TEST

常量值:2960(0x00000b90)

GL_STENCIL_VALUE_MASK

Added in API level 8
int GL_STENCIL_VALUE_MASK

常量值:2963(0x00000b93)

GL_STENCIL_WRITEMASK

Added in API level 8
int GL_STENCIL_WRITEMASK

常量值:2968(0x00000b98)

GL_STREAM_DRAW

Added in API level 8
int GL_STREAM_DRAW

常量值:35040(0x000088e0)

GL_SUBPIXEL_BITS

Added in API level 8
int GL_SUBPIXEL_BITS

常量值:3408(0x00000d50)

GL_TEXTURE

Added in API level 8
int GL_TEXTURE

常量值:5890(0x00001702)

GL_TEXTURE0

Added in API level 8
int GL_TEXTURE0

常量值:33984(0x000084c0)

GL_TEXTURE1

Added in API level 8
int GL_TEXTURE1

常量值:33985(0x000084c1)

GL_TEXTURE10

Added in API level 8
int GL_TEXTURE10

常量值:33994(0x000084ca)

GL_TEXTURE11

Added in API level 8
int GL_TEXTURE11

常量值:33995(0x000084cb)

GL_TEXTURE12

Added in API level 8
int GL_TEXTURE12

常量值:33996(0x000084cc)

GL_TEXTURE13

Added in API level 8
int GL_TEXTURE13

常量值:33997(0x000084cd)

GL_TEXTURE14

Added in API level 8
int GL_TEXTURE14

常量值:33998(0x000084ce)

GL_TEXTURE15

Added in API level 8
int GL_TEXTURE15

常量值:33999(0x000084cf)

GL_TEXTURE16

Added in API level 8
int GL_TEXTURE16

常量值:34000(0x000084d0)

GL_TEXTURE17

Added in API level 8
int GL_TEXTURE17

常量值:34001(0x000084d1)

GL_TEXTURE18

Added in API level 8
int GL_TEXTURE18

常量值:34002(0x000084d2)

GL_TEXTURE19

Added in API level 8
int GL_TEXTURE19

常量值:34003(0x000084d3)

GL_TEXTURE2

Added in API level 8
int GL_TEXTURE2

常量值:33986(0x000084c2)

GL_TEXTURE20

Added in API level 8
int GL_TEXTURE20

常量值:34004(0x000084d4)

GL_TEXTURE21

Added in API level 8
int GL_TEXTURE21

常量值:34005(0x000084d5)

GL_TEXTURE22

Added in API level 8
int GL_TEXTURE22

常量值:34006(0x000084d6)

GL_TEXTURE23

Added in API level 8
int GL_TEXTURE23

常量值:34007(0x000084d7)

GL_TEXTURE24

Added in API level 8
int GL_TEXTURE24

常量值:34008(0x000084d8)

GL_TEXTURE25

Added in API level 8
int GL_TEXTURE25

常量值:34009(0x000084d9)

GL_TEXTURE26

Added in API level 8
int GL_TEXTURE26

常量值:34010(0x000084da)

GL_TEXTURE27

Added in API level 8
int GL_TEXTURE27

常量值:34011(0x000084db)

GL_TEXTURE28

Added in API level 8
int GL_TEXTURE28

常量值:34012(0x000084dc)

GL_TEXTURE29

Added in API level 8
int GL_TEXTURE29

常量值:34013(0x000084dd)

GL_TEXTURE3

Added in API level 8
int GL_TEXTURE3

常量值:33987(0x000084c3)

GL_TEXTURE30

Added in API level 8
int GL_TEXTURE30

常量值:34014(0x000084de)

GL_TEXTURE31

Added in API level 8
int GL_TEXTURE31

常量值:34015(0x000084df)

GL_TEXTURE4

Added in API level 8
int GL_TEXTURE4

常量值:33988(0x000084c4)

GL_TEXTURE5

Added in API level 8
int GL_TEXTURE5

常量值:33989(0x000084c5)

GL_TEXTURE6

Added in API level 8
int GL_TEXTURE6

常量值:33990(0x000084c6)

GL_TEXTURE7

Added in API level 8
int GL_TEXTURE7

常量值:33991(0x000084c7)

GL_TEXTURE8

Added in API level 8
int GL_TEXTURE8

常量值:33992(0x000084c8)

GL_TEXTURE9

Added in API level 8
int GL_TEXTURE9

常量值:33993(0x000084c9)

GL_TEXTURE_2D

Added in API level 8
int GL_TEXTURE_2D

常量值:3553(0x00000de1)

GL_TEXTURE_BINDING_2D

Added in API level 8
int GL_TEXTURE_BINDING_2D

常量值:32873(0x00008069)

GL_TEXTURE_BINDING_CUBE_MAP

Added in API level 8
int GL_TEXTURE_BINDING_CUBE_MAP

常量值:34068(0x00008514)

GL_TEXTURE_CUBE_MAP

Added in API level 8
int GL_TEXTURE_CUBE_MAP

常量值:34067(0x00008513)

GL_TEXTURE_CUBE_MAP_NEGATIVE_X

Added in API level 8
int GL_TEXTURE_CUBE_MAP_NEGATIVE_X

常量值:34070(0x00008516)

GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

Added in API level 8
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y

常量值:34072(0x00008518)

GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

Added in API level 8
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z

常量值:34074(0x0000851a)

GL_TEXTURE_CUBE_MAP_POSITIVE_X

Added in API level 8
int GL_TEXTURE_CUBE_MAP_POSITIVE_X

常量值:34069(0x00008515)

GL_TEXTURE_CUBE_MAP_POSITIVE_Y

Added in API level 8
int GL_TEXTURE_CUBE_MAP_POSITIVE_Y

常量值:34071(0x00008517)

GL_TEXTURE_CUBE_MAP_POSITIVE_Z

Added in API level 8
int GL_TEXTURE_CUBE_MAP_POSITIVE_Z

常量值:34073(0x00008519)

GL_TEXTURE_MAG_FILTER

Added in API level 8
int GL_TEXTURE_MAG_FILTER

常量值:10240(0x00002800)

GL_TEXTURE_MIN_FILTER

Added in API level 8
int GL_TEXTURE_MIN_FILTER

常量值:10241(0x00002801)

GL_TEXTURE_WRAP_S

Added in API level 8
int GL_TEXTURE_WRAP_S

常量值:10242(0x00002802)

GL_TEXTURE_WRAP_T

Added in API level 8
int GL_TEXTURE_WRAP_T

常量值:10243(0x00002803)

GL_TRIANGLES

Added in API level 8
int GL_TRIANGLES

常量值:4(0x00000004)

GL_TRIANGLE_FAN

Added in API level 8
int GL_TRIANGLE_FAN

常数值:6(0x00000006)

GL_TRIANGLE_STRIP

Added in API level 8
int GL_TRIANGLE_STRIP

常量值:5(0x00000005)

GL_TRUE

Added in API level 8
int GL_TRUE

常数值:1(0x00000001)

GL_UNPACK_ALIGNMENT

Added in API level 8
int GL_UNPACK_ALIGNMENT

常量值:3317(0x00000cf5)

GL_UNSIGNED_BYTE

Added in API level 8
int GL_UNSIGNED_BYTE

常量值:5121(0x00001401)

GL_UNSIGNED_INT

Added in API level 8
int GL_UNSIGNED_INT

常量值:5125(0x00001405)

GL_UNSIGNED_SHORT

Added in API level 8
int GL_UNSIGNED_SHORT

常量值:5123(0x00001403)

GL_UNSIGNED_SHORT_4_4_4_4

Added in API level 8
int GL_UNSIGNED_SHORT_4_4_4_4

常量值:32819(0x00008033)

GL_UNSIGNED_SHORT_5_5_5_1

Added in API level 8
int GL_UNSIGNED_SHORT_5_5_5_1

常量值:32820(0x00008034)

GL_UNSIGNED_SHORT_5_6_5

Added in API level 8
int GL_UNSIGNED_SHORT_5_6_5

常量值:33635(0x00008363)

GL_VALIDATE_STATUS

Added in API level 8
int GL_VALIDATE_STATUS

常量值:35715(0x00008b83)

GL_VENDOR

Added in API level 8
int GL_VENDOR

常量值:7936(0x00001f00)

GL_VERSION

Added in API level 8
int GL_VERSION

常量值:7938(0x00001f02)

GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

Added in API level 8
int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING

常量值:34975(0x0000889f)

GL_VERTEX_ATTRIB_ARRAY_ENABLED

Added in API level 8
int GL_VERTEX_ATTRIB_ARRAY_ENABLED

常量值:34338(0x00008622)

GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

Added in API level 8
int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED

常量值:34922(0x0000886a)

GL_VERTEX_ATTRIB_ARRAY_POINTER

Added in API level 8
int GL_VERTEX_ATTRIB_ARRAY_POINTER

常量值:34373(0x00008645)

GL_VERTEX_ATTRIB_ARRAY_SIZE

Added in API level 8
int GL_VERTEX_ATTRIB_ARRAY_SIZE

常量值:34339(0x00008623)

GL_VERTEX_ATTRIB_ARRAY_STRIDE

Added in API level 8
int GL_VERTEX_ATTRIB_ARRAY_STRIDE

常量值:34340(0x00008624)

GL_VERTEX_ATTRIB_ARRAY_TYPE

Added in API level 8
int GL_VERTEX_ATTRIB_ARRAY_TYPE

常量值:34341(0x00008625)

GL_VERTEX_SHADER

Added in API level 8
int GL_VERTEX_SHADER

常量值:35633(0x00008b31)

GL_VIEWPORT

Added in API level 8
int GL_VIEWPORT

常量值:2978(0x00000ba2)

GL_ZERO

Added in API level 8
int GL_ZERO

常量值:0(0x00000000)

Public constructors

GLES20

Added in API level 8
GLES20 ()

Public methods

glActiveTexture

Added in API level 8
void glActiveTexture (int texture)

Parameters
texture int

glAttachShader

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

Parameters
program int
shader int

glBindAttribLocation

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

Parameters
program int
index int
name String

glBindBuffer

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

Parameters
target int
buffer int

glBindFramebuffer

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

Parameters
target int
framebuffer int

glBindRenderbuffer

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

Parameters
target int
renderbuffer int

glBindTexture

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

Parameters
target int
texture int

glBlendColor

Added in API level 8
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
void glBlendEquation (int mode)

Parameters
mode int

glBlendEquationSeparate

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

Parameters
modeRGB int
modeAlpha int

glBlendFunc

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

Parameters
sfactor int
dfactor int

glBlendFuncSeparate

Added in API level 8
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
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
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
int glCheckFramebufferStatus (int target)

Parameters
target int
Returns
int

glClear

Added in API level 8
void glClear (int mask)

Parameters
mask int

glClearColor

Added in API level 8
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
void glClearDepthf (float depth)

Parameters
depth float

glClearStencil

Added in API level 8
void glClearStencil (int s)

Parameters
s int

glColorMask

Added in API level 8
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
void glCompileShader (int shader)

Parameters
shader int

glCompressedTexImage2D

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

Returns
int

glCreateShader

Added in API level 8
int glCreateShader (int type)

Parameters
type int
Returns
int

glCullFace

Added in API level 8
void glCullFace (int mode)

Parameters
mode int

glDeleteBuffers

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

Parameters
n int
buffers int
offset int

glDeleteBuffers

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

Parameters
n int
buffers IntBuffer

glDeleteFramebuffers

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

Parameters
n int
framebuffers int
offset int

glDeleteFramebuffers

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

Parameters
n int
framebuffers IntBuffer

glDeleteProgram

Added in API level 8
void glDeleteProgram (int program)

Parameters
program int

glDeleteRenderbuffers

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

Parameters
n int
renderbuffers int
offset int

glDeleteRenderbuffers

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

Parameters
n int
renderbuffers IntBuffer

glDeleteShader

Added in API level 8
void glDeleteShader (int shader)

Parameters
shader int

glDeleteTextures

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

Parameters
n int
textures IntBuffer

glDeleteTextures

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

Parameters
n int
textures int
offset int

glDepthFunc

Added in API level 8
void glDepthFunc (int func)

Parameters
func int

glDepthMask

Added in API level 8
void glDepthMask (boolean flag)

Parameters
flag boolean

glDepthRangef

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

Parameters
zNear float
zFar float

glDetachShader

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

Parameters
program int
shader int

glDisable

Added in API level 8
void glDisable (int cap)

Parameters
cap int

glDisableVertexAttribArray

Added in API level 8
void glDisableVertexAttribArray (int index)

Parameters
index int

glDrawArrays

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

Parameters
mode int
first int
count int

glDrawElements

Added in API level 9
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
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
void glEnable (int cap)

Parameters
cap int

glEnableVertexAttribArray

Added in API level 8
void glEnableVertexAttribArray (int index)

Parameters
index int

glFinish

Added in API level 8
void glFinish ()

glFlush

Added in API level 8
void glFlush ()

glFramebufferRenderbuffer

Added in API level 8
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
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
void glFrontFace (int mode)

Parameters
mode int

glGenBuffers

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

Parameters
n int
buffers IntBuffer

glGenBuffers

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

Parameters
n int
buffers int
offset int

glGenFramebuffers

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

Parameters
n int
framebuffers int
offset int

glGenFramebuffers

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

Parameters
n int
framebuffers IntBuffer

glGenRenderbuffers

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

Parameters
n int
renderbuffers int
offset int

glGenRenderbuffers

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

Parameters
n int
renderbuffers IntBuffer

glGenTextures

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

Parameters
n int
textures IntBuffer

glGenTextures

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

Parameters
n int
textures int
offset int

glGenerateMipmap

Added in API level 8
void glGenerateMipmap (int target)

Parameters
target int

glGetActiveAttrib

Added in API level 17
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
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
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
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
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
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
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
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
int glGetAttribLocation (int program, 
                String name)

Parameters
program int
name String
Returns
int

glGetBooleanv

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

Parameters
pname int
params IntBuffer

glGetBooleanv

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

Parameters
pname int
params boolean
offset int

glGetBufferParameteriv

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

Parameters
target int
pname int
params IntBuffer

glGetBufferParameteriv

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

Returns
int

glGetFloatv

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

Parameters
pname int
params FloatBuffer

glGetFloatv

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

Parameters
pname int
params float
offset int

glGetFramebufferAttachmentParameteriv

Added in API level 8
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
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
void glGetIntegerv (int pname, 
                int[] params, 
                int offset)

Parameters
pname int
params int
offset int

glGetIntegerv

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

Parameters
pname int
params IntBuffer

glGetProgramInfoLog

Added in API level 8
String glGetProgramInfoLog (int program)

Parameters
program int
Returns
String

glGetProgramiv

Added in API level 8
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
void glGetProgramiv (int program, 
                int pname, 
                IntBuffer params)

Parameters
program int
pname int
params IntBuffer

glGetRenderbufferParameteriv

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

Parameters
target int
pname int
params IntBuffer

glGetRenderbufferParameteriv

Added in API level 8
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
String glGetShaderInfoLog (int shader)

Parameters
shader int
Returns
String

glGetShaderPrecisionFormat

Added in API level 8
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
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
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
String glGetShaderSource (int shader)

Parameters
shader int
Returns
String

glGetShaderiv

Added in API level 8
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
void glGetShaderiv (int shader, 
                int pname, 
                IntBuffer params)

Parameters
shader int
pname int
params IntBuffer

glGetString

Added in API level 8
String glGetString (int name)

Parameters
name int
Returns
String

glGetTexParameterfv

Added in API level 8
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
void glGetTexParameterfv (int target, 
                int pname, 
                FloatBuffer params)

Parameters
target int
pname int
params FloatBuffer

glGetTexParameteriv

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

Parameters
target int
pname int
params IntBuffer

glGetTexParameteriv

Added in API level 8
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
int glGetUniformLocation (int program, 
                String name)

Parameters
program int
name String
Returns
int

glGetUniformfv

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

Parameters
program int
location int
params FloatBuffer

glGetUniformfv

Added in API level 8
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
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
void glGetUniformiv (int program, 
                int location, 
                IntBuffer params)

Parameters
program int
location int
params IntBuffer

glGetVertexAttribfv

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

Parameters
index int
pname int
params FloatBuffer

glGetVertexAttribfv

Added in API level 8
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
void glGetVertexAttribiv (int index, 
                int pname, 
                IntBuffer params)

Parameters
index int
pname int
params IntBuffer

glGetVertexAttribiv

Added in API level 8
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
void glHint (int target, 
                int mode)

Parameters
target int
mode int

glIsBuffer

Added in API level 8
boolean glIsBuffer (int buffer)

Parameters
buffer int
Returns
boolean

glIsEnabled

Added in API level 8
boolean glIsEnabled (int cap)

Parameters
cap int
Returns
boolean

glIsFramebuffer

Added in API level 8
boolean glIsFramebuffer (int framebuffer)

Parameters
framebuffer int
Returns
boolean

glIsProgram

Added in API level 8
boolean glIsProgram (int program)

Parameters
program int
Returns
boolean

glIsRenderbuffer

Added in API level 8
boolean glIsRenderbuffer (int renderbuffer)

Parameters
renderbuffer int
Returns
boolean

glIsShader

Added in API level 8
boolean glIsShader (int shader)

Parameters
shader int
Returns
boolean

glIsTexture

Added in API level 8
boolean glIsTexture (int texture)

Parameters
texture int
Returns
boolean

glLineWidth

Added in API level 8
void glLineWidth (float width)

Parameters
width float

glLinkProgram

Added in API level 8
void glLinkProgram (int program)

Parameters
program int

glPixelStorei

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

Parameters
pname int
param int

glPolygonOffset

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

Parameters
factor float
units float

glReadPixels

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

glRenderbufferStorage

Added in API level 8
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
void glSampleCoverage (float value, 
                boolean invert)

Parameters
value float
invert boolean

glScissor

Added in API level 8
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
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
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
void glShaderSource (int shader, 
                String string)

Parameters
shader int
string String

glStencilFunc

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

Parameters
func int
ref int
mask int

glStencilFuncSeparate

Added in API level 8
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
void glStencilMask (int mask)

Parameters
mask int

glStencilMaskSeparate

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

Parameters
face int
mask int

glStencilOp

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

Parameters
fail int
zfail int
zpass int

glStencilOpSeparate

Added in API level 8
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
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
void glTexParameterf (int target, 
                int pname, 
                float param)

Parameters
target int
pname int
param float

glTexParameterfv

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

Parameters
target int
pname int
params FloatBuffer

glTexParameterfv

Added in API level 8
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
void glTexParameteri (int target, 
                int pname, 
                int param)

Parameters
target int
pname int
param int

glTexParameteriv

Added in API level 8
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
void glTexParameteriv (int target, 
                int pname, 
                IntBuffer params)

Parameters
target int
pname int
params IntBuffer

glTexSubImage2D

Added in API level 8
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
void glUniform1f (int location, 
                float x)

Parameters
location int
x float

glUniform1fv

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

Parameters
location int
count int
v FloatBuffer

glUniform1fv

Added in API level 8
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
void glUniform1i (int location, 
                int x)

Parameters
location int
x int

glUniform1iv

Added in API level 8
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
void glUniform1iv (int location, 
                int count, 
                IntBuffer v)

Parameters
location int
count int
v IntBuffer

glUniform2f

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

Parameters
location int
x float
y float

glUniform2fv

Added in API level 8
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
void glUniform2fv (int location, 
                int count, 
                FloatBuffer v)

Parameters
location int
count int
v FloatBuffer

glUniform2i

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

Parameters
location int
x int
y int

glUniform2iv

Added in API level 8
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
void glUniform2iv (int location, 
                int count, 
                IntBuffer v)

Parameters
location int
count int
v IntBuffer

glUniform3f

Added in API level 8
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
void glUniform3fv (int location, 
                int count, 
                FloatBuffer v)

Parameters
location int
count int
v FloatBuffer

glUniform3fv

Added in API level 8
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
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
void glUniform3iv (int location, 
                int count, 
                IntBuffer v)

Parameters
location int
count int
v IntBuffer

glUniform3iv

Added in API level 8
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
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
void glUniform4fv (int location, 
                int count, 
                FloatBuffer v)

Parameters
location int
count int
v FloatBuffer

glUniform4fv

Added in API level 8
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
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
void glUniform4iv (int location, 
                int count, 
                IntBuffer v)

Parameters
location int
count int
v IntBuffer

glUniform4iv

Added in API level 8
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
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
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
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
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
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
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
void glUseProgram (int program)

Parameters
program int

glValidateProgram

Added in API level 8
void glValidateProgram (int program)

Parameters
program int

glVertexAttrib1f

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

Parameters
indx int
x float

glVertexAttrib1fv

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

Parameters
indx int
values float
offset int

glVertexAttrib1fv

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

Parameters
indx int
values FloatBuffer

glVertexAttrib2f

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

Parameters
indx int
x float
y float

glVertexAttrib2fv

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

Parameters
indx int
values float
offset int

glVertexAttrib2fv

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

Parameters
indx int
values FloatBuffer

glVertexAttrib3f

Added in API level 8
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
void glVertexAttrib3fv (int indx, 
                float[] values, 
                int offset)

Parameters
indx int
values float
offset int

glVertexAttrib3fv

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

Parameters
indx int
values FloatBuffer

glVertexAttrib4f

Added in API level 8
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
void glVertexAttrib4fv (int indx, 
                float[] values, 
                int offset)

Parameters
indx int
values float
offset int

glVertexAttrib4fv

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

Parameters
indx int
values FloatBuffer

glVertexAttribPointer

Added in API level 9
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
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
void glViewport (int x, 
                int y, 
                int width, 
                int height)

Parameters
x int
y int
width int
height int

Hooray!