# Print output for @column tags ?>
public
class
GLES20
extends Object
java.lang.Object | |
↳ | android.opengl.GLES20 |
OpenGL ES 2.0
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 | |
---|---|
public static final int GL_ACTIVE_ATTRIBUTES
Constant Value: 35721 (0x00008b89)
public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
Constant Value: 35722 (0x00008b8a)
public static final int GL_ACTIVE_TEXTURE
Constant Value: 34016 (0x000084e0)
public static final int GL_ACTIVE_UNIFORMS
Constant Value: 35718 (0x00008b86)
public static final int GL_ACTIVE_UNIFORM_MAX_LENGTH
Constant Value: 35719 (0x00008b87)
public static final int GL_ALIASED_LINE_WIDTH_RANGE
Constant Value: 33902 (0x0000846e)
public static final int GL_ALIASED_POINT_SIZE_RANGE
Constant Value: 33901 (0x0000846d)
public static final int GL_ALPHA
Constant Value: 6406 (0x00001906)
public static final int GL_ALPHA_BITS
Constant Value: 3413 (0x00000d55)
public static final int GL_ALWAYS
Constant Value: 519 (0x00000207)
public static final int GL_ARRAY_BUFFER
Constant Value: 34962 (0x00008892)
public static final int GL_ARRAY_BUFFER_BINDING
Constant Value: 34964 (0x00008894)
public static final int GL_ATTACHED_SHADERS
Constant Value: 35717 (0x00008b85)
public static final int GL_BACK
Constant Value: 1029 (0x00000405)
public static final int GL_BLEND
Constant Value: 3042 (0x00000be2)
public static final int GL_BLEND_COLOR
Constant Value: 32773 (0x00008005)
public static final int GL_BLEND_DST_ALPHA
Constant Value: 32970 (0x000080ca)
public static final int GL_BLEND_DST_RGB
Constant Value: 32968 (0x000080c8)
public static final int GL_BLEND_EQUATION
Constant Value: 32777 (0x00008009)
public static final int GL_BLEND_EQUATION_ALPHA
Constant Value: 34877 (0x0000883d)
public static final int GL_BLEND_EQUATION_RGB
Constant Value: 32777 (0x00008009)
public static final int GL_BLEND_SRC_ALPHA
Constant Value: 32971 (0x000080cb)
public static final int GL_BLEND_SRC_RGB
Constant Value: 32969 (0x000080c9)
public static final int GL_BLUE_BITS
Constant Value: 3412 (0x00000d54)
public static final int GL_BOOL
Constant Value: 35670 (0x00008b56)
public static final int GL_BOOL_VEC2
Constant Value: 35671 (0x00008b57)
public static final int GL_BOOL_VEC3
Constant Value: 35672 (0x00008b58)
public static final int GL_BOOL_VEC4
Constant Value: 35673 (0x00008b59)
public static final int GL_BUFFER_SIZE
Constant Value: 34660 (0x00008764)
public static final int GL_BUFFER_USAGE
Constant Value: 34661 (0x00008765)
public static final int GL_BYTE
Constant Value: 5120 (0x00001400)
public static final int GL_CCW
Constant Value: 2305 (0x00000901)
public static final int GL_CLAMP_TO_EDGE
Constant Value: 33071 (0x0000812f)
public static final int GL_COLOR_ATTACHMENT0
Constant Value: 36064 (0x00008ce0)
public static final int GL_COLOR_BUFFER_BIT
Constant Value: 16384 (0x00004000)
public static final int GL_COLOR_CLEAR_VALUE
Constant Value: 3106 (0x00000c22)
public static final int GL_COLOR_WRITEMASK
Constant Value: 3107 (0x00000c23)
public static final int GL_COMPILE_STATUS
Constant Value: 35713 (0x00008b81)
public static final int GL_COMPRESSED_TEXTURE_FORMATS
Constant Value: 34467 (0x000086a3)
public static final int GL_CONSTANT_ALPHA
Constant Value: 32771 (0x00008003)
public static final int GL_CONSTANT_COLOR
Constant Value: 32769 (0x00008001)
public static final int GL_CULL_FACE
Constant Value: 2884 (0x00000b44)
public static final int GL_CULL_FACE_MODE
Constant Value: 2885 (0x00000b45)
public static final int GL_CURRENT_PROGRAM
Constant Value: 35725 (0x00008b8d)
public static final int GL_CURRENT_VERTEX_ATTRIB
Constant Value: 34342 (0x00008626)
public static final int GL_CW
Constant Value: 2304 (0x00000900)
public static final int GL_DECR
Constant Value: 7683 (0x00001e03)
public static final int GL_DECR_WRAP
Constant Value: 34056 (0x00008508)
public static final int GL_DELETE_STATUS
Constant Value: 35712 (0x00008b80)
public static final int GL_DEPTH_ATTACHMENT
Constant Value: 36096 (0x00008d00)
public static final int GL_DEPTH_BITS
Constant Value: 3414 (0x00000d56)
public static final int GL_DEPTH_BUFFER_BIT
Constant Value: 256 (0x00000100)
public static final int GL_DEPTH_CLEAR_VALUE
Constant Value: 2931 (0x00000b73)
public static final int GL_DEPTH_COMPONENT
Constant Value: 6402 (0x00001902)
public static final int GL_DEPTH_COMPONENT16
Constant Value: 33189 (0x000081a5)
public static final int GL_DEPTH_FUNC
Constant Value: 2932 (0x00000b74)
public static final int GL_DEPTH_RANGE
Constant Value: 2928 (0x00000b70)
public static final int GL_DEPTH_TEST
Constant Value: 2929 (0x00000b71)
public static final int GL_DEPTH_WRITEMASK
Constant Value: 2930 (0x00000b72)
public static final int GL_DITHER
Constant Value: 3024 (0x00000bd0)
public static final int GL_DONT_CARE
Constant Value: 4352 (0x00001100)
public static final int GL_DST_ALPHA
Constant Value: 772 (0x00000304)
public static final int GL_DST_COLOR
Constant Value: 774 (0x00000306)
public static final int GL_DYNAMIC_DRAW
Constant Value: 35048 (0x000088e8)
public static final int GL_ELEMENT_ARRAY_BUFFER
Constant Value: 34963 (0x00008893)
public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING
Constant Value: 34965 (0x00008895)
public static final int GL_EQUAL
Constant Value: 514 (0x00000202)
public static final int GL_EXTENSIONS
Constant Value: 7939 (0x00001f03)
public static final int GL_FALSE
Constant Value: 0 (0x00000000)
public static final int GL_FASTEST
Constant Value: 4353 (0x00001101)
public static final int GL_FIXED
Constant Value: 5132 (0x0000140c)
public static final int GL_FLOAT
Constant Value: 5126 (0x00001406)
public static final int GL_FLOAT_MAT2
Constant Value: 35674 (0x00008b5a)
public static final int GL_FLOAT_MAT3
Constant Value: 35675 (0x00008b5b)
public static final int GL_FLOAT_MAT4
Constant Value: 35676 (0x00008b5c)
public static final int GL_FLOAT_VEC2
Constant Value: 35664 (0x00008b50)
public static final int GL_FLOAT_VEC3
Constant Value: 35665 (0x00008b51)
public static final int GL_FLOAT_VEC4
Constant Value: 35666 (0x00008b52)
public static final int GL_FRAGMENT_SHADER
Constant Value: 35632 (0x00008b30)
public static final int GL_FRAMEBUFFER
Constant Value: 36160 (0x00008d40)
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
Constant Value: 36049 (0x00008cd1)
public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
Constant Value: 36048 (0x00008cd0)
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
Constant Value: 36051 (0x00008cd3)
public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
Constant Value: 36050 (0x00008cd2)
public static final int GL_FRAMEBUFFER_BINDING
Constant Value: 36006 (0x00008ca6)
public static final int GL_FRAMEBUFFER_COMPLETE
Constant Value: 36053 (0x00008cd5)
public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
Constant Value: 36054 (0x00008cd6)
public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
Constant Value: 36057 (0x00008cd9)
public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
Constant Value: 36055 (0x00008cd7)
public static final int GL_FRAMEBUFFER_UNSUPPORTED
Constant Value: 36061 (0x00008cdd)
public static final int GL_FRONT
Constant Value: 1028 (0x00000404)
public static final int GL_FRONT_AND_BACK
Constant Value: 1032 (0x00000408)
public static final int GL_FRONT_FACE
Constant Value: 2886 (0x00000b46)
public static final int GL_FUNC_ADD
Constant Value: 32774 (0x00008006)
public static final int GL_FUNC_REVERSE_SUBTRACT
Constant Value: 32779 (0x0000800b)
public static final int GL_FUNC_SUBTRACT
Constant Value: 32778 (0x0000800a)
public static final int GL_GENERATE_MIPMAP_HINT
Constant Value: 33170 (0x00008192)
public static final int GL_GEQUAL
Constant Value: 518 (0x00000206)
public static final int GL_GREATER
Constant Value: 516 (0x00000204)
public static final int GL_GREEN_BITS
Constant Value: 3411 (0x00000d53)
public static final int GL_HIGH_FLOAT
Constant Value: 36338 (0x00008df2)
public static final int GL_HIGH_INT
Constant Value: 36341 (0x00008df5)
public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT
Constant Value: 35739 (0x00008b9b)
public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE
Constant Value: 35738 (0x00008b9a)
public static final int GL_INCR
Constant Value: 7682 (0x00001e02)
public static final int GL_INCR_WRAP
Constant Value: 34055 (0x00008507)
public static final int GL_INFO_LOG_LENGTH
Constant Value: 35716 (0x00008b84)
public static final int GL_INT
Constant Value: 5124 (0x00001404)
public static final int GL_INT_VEC2
Constant Value: 35667 (0x00008b53)
public static final int GL_INT_VEC3
Constant Value: 35668 (0x00008b54)
public static final int GL_INT_VEC4
Constant Value: 35669 (0x00008b55)
public static final int GL_INVALID_ENUM
Constant Value: 1280 (0x00000500)
public static final int GL_INVALID_FRAMEBUFFER_OPERATION
Constant Value: 1286 (0x00000506)
public static final int GL_INVALID_OPERATION
Constant Value: 1282 (0x00000502)
public static final int GL_INVALID_VALUE
Constant Value: 1281 (0x00000501)
public static final int GL_INVERT
Constant Value: 5386 (0x0000150a)
public static final int GL_KEEP
Constant Value: 7680 (0x00001e00)
public static final int GL_LEQUAL
Constant Value: 515 (0x00000203)
public static final int GL_LESS
Constant Value: 513 (0x00000201)
public static final int GL_LINEAR
Constant Value: 9729 (0x00002601)
public static final int GL_LINEAR_MIPMAP_LINEAR
Constant Value: 9987 (0x00002703)
public static final int GL_LINEAR_MIPMAP_NEAREST
Constant Value: 9985 (0x00002701)
public static final int GL_LINES
Constant Value: 1 (0x00000001)
public static final int GL_LINE_LOOP
Constant Value: 2 (0x00000002)
public static final int GL_LINE_STRIP
Constant Value: 3 (0x00000003)
public static final int GL_LINE_WIDTH
Constant Value: 2849 (0x00000b21)
public static final int GL_LINK_STATUS
Constant Value: 35714 (0x00008b82)
public static final int GL_LOW_FLOAT
Constant Value: 36336 (0x00008df0)
public static final int GL_LOW_INT
Constant Value: 36339 (0x00008df3)
public static final int GL_LUMINANCE
Constant Value: 6409 (0x00001909)
public static final int GL_LUMINANCE_ALPHA
Constant Value: 6410 (0x0000190a)
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
Constant Value: 35661 (0x00008b4d)
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE
Constant Value: 34076 (0x0000851c)
public static final int GL_MAX_FRAGMENT_UNIFORM_VECTORS
Constant Value: 36349 (0x00008dfd)
public static final int GL_MAX_RENDERBUFFER_SIZE
Constant Value: 34024 (0x000084e8)
public static final int GL_MAX_TEXTURE_IMAGE_UNITS
Constant Value: 34930 (0x00008872)
public static final int GL_MAX_TEXTURE_SIZE
Constant Value: 3379 (0x00000d33)
public static final int GL_MAX_VARYING_VECTORS
Constant Value: 36348 (0x00008dfc)
public static final int GL_MAX_VERTEX_ATTRIBS
Constant Value: 34921 (0x00008869)
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
Constant Value: 35660 (0x00008b4c)
public static final int GL_MAX_VERTEX_UNIFORM_VECTORS
Constant Value: 36347 (0x00008dfb)
public static final int GL_MAX_VIEWPORT_DIMS
Constant Value: 3386 (0x00000d3a)
public static final int GL_MEDIUM_FLOAT
Constant Value: 36337 (0x00008df1)
public static final int GL_MEDIUM_INT
Constant Value: 36340 (0x00008df4)
public static final int GL_MIRRORED_REPEAT
Constant Value: 33648 (0x00008370)
public static final int GL_NEAREST
Constant Value: 9728 (0x00002600)
public static final int GL_NEAREST_MIPMAP_LINEAR
Constant Value: 9986 (0x00002702)
public static final int GL_NEAREST_MIPMAP_NEAREST
Constant Value: 9984 (0x00002700)
public static final int GL_NEVER
Constant Value: 512 (0x00000200)
public static final int GL_NICEST
Constant Value: 4354 (0x00001102)
public static final int GL_NONE
Constant Value: 0 (0x00000000)
public static final int GL_NOTEQUAL
Constant Value: 517 (0x00000205)
public static final int GL_NO_ERROR
Constant Value: 0 (0x00000000)
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS
Constant Value: 34466 (0x000086a2)
public static final int GL_NUM_SHADER_BINARY_FORMATS
Constant Value: 36345 (0x00008df9)
public static final int GL_ONE
Constant Value: 1 (0x00000001)
public static final int GL_ONE_MINUS_CONSTANT_ALPHA
Constant Value: 32772 (0x00008004)
public static final int GL_ONE_MINUS_CONSTANT_COLOR
Constant Value: 32770 (0x00008002)
public static final int GL_ONE_MINUS_DST_ALPHA
Constant Value: 773 (0x00000305)
public static final int GL_ONE_MINUS_DST_COLOR
Constant Value: 775 (0x00000307)
public static final int GL_ONE_MINUS_SRC_ALPHA
Constant Value: 771 (0x00000303)
public static final int GL_ONE_MINUS_SRC_COLOR
Constant Value: 769 (0x00000301)
public static final int GL_OUT_OF_MEMORY
Constant Value: 1285 (0x00000505)
public static final int GL_PACK_ALIGNMENT
Constant Value: 3333 (0x00000d05)
public static final int GL_POINTS
Constant Value: 0 (0x00000000)
public static final int GL_POLYGON_OFFSET_FACTOR
Constant Value: 32824 (0x00008038)
public static final int GL_POLYGON_OFFSET_FILL
Constant Value: 32823 (0x00008037)
public static final int GL_POLYGON_OFFSET_UNITS
Constant Value: 10752 (0x00002a00)
public static final int GL_RED_BITS
Constant Value: 3410 (0x00000d52)
public static final int GL_RENDERBUFFER
Constant Value: 36161 (0x00008d41)
public static final int GL_RENDERBUFFER_ALPHA_SIZE
Constant Value: 36179 (0x00008d53)
public static final int GL_RENDERBUFFER_BINDING
Constant Value: 36007 (0x00008ca7)
public static final int GL_RENDERBUFFER_BLUE_SIZE
Constant Value: 36178 (0x00008d52)
public static final int GL_RENDERBUFFER_DEPTH_SIZE
Constant Value: 36180 (0x00008d54)
public static final int GL_RENDERBUFFER_GREEN_SIZE
Constant Value: 36177 (0x00008d51)
public static final int GL_RENDERBUFFER_HEIGHT
Constant Value: 36163 (0x00008d43)
public static final int GL_RENDERBUFFER_INTERNAL_FORMAT
Constant Value: 36164 (0x00008d44)
public static final int GL_RENDERBUFFER_RED_SIZE
Constant Value: 36176 (0x00008d50)
public static final int GL_RENDERBUFFER_STENCIL_SIZE
Constant Value: 36181 (0x00008d55)
public static final int GL_RENDERBUFFER_WIDTH
Constant Value: 36162 (0x00008d42)
public static final int GL_RENDERER
Constant Value: 7937 (0x00001f01)
public static final int GL_REPEAT
Constant Value: 10497 (0x00002901)
public static final int GL_REPLACE
Constant Value: 7681 (0x00001e01)
public static final int GL_RGB
Constant Value: 6407 (0x00001907)
public static final int GL_RGB565
Constant Value: 36194 (0x00008d62)
public static final int GL_RGB5_A1
Constant Value: 32855 (0x00008057)
public static final int GL_RGBA
Constant Value: 6408 (0x00001908)
public static final int GL_RGBA4
Constant Value: 32854 (0x00008056)
public static final int GL_SAMPLER_2D
Constant Value: 35678 (0x00008b5e)
public static final int GL_SAMPLER_CUBE
Constant Value: 35680 (0x00008b60)
public static final int GL_SAMPLES
Constant Value: 32937 (0x000080a9)
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE
Constant Value: 32926 (0x0000809e)
public static final int GL_SAMPLE_BUFFERS
Constant Value: 32936 (0x000080a8)
public static final int GL_SAMPLE_COVERAGE
Constant Value: 32928 (0x000080a0)
public static final int GL_SAMPLE_COVERAGE_INVERT
Constant Value: 32939 (0x000080ab)
public static final int GL_SAMPLE_COVERAGE_VALUE
Constant Value: 32938 (0x000080aa)
public static final int GL_SCISSOR_BOX
Constant Value: 3088 (0x00000c10)
public static final int GL_SCISSOR_TEST
Constant Value: 3089 (0x00000c11)
public static final int GL_SHADER_BINARY_FORMATS
Constant Value: 36344 (0x00008df8)
public static final int GL_SHADER_COMPILER
Constant Value: 36346 (0x00008dfa)
public static final int GL_SHADER_SOURCE_LENGTH
Constant Value: 35720 (0x00008b88)
public static final int GL_SHADER_TYPE
Constant Value: 35663 (0x00008b4f)
public static final int GL_SHADING_LANGUAGE_VERSION
Constant Value: 35724 (0x00008b8c)
public static final int GL_SHORT
Constant Value: 5122 (0x00001402)
public static final int GL_SRC_ALPHA
Constant Value: 770 (0x00000302)
public static final int GL_SRC_ALPHA_SATURATE
Constant Value: 776 (0x00000308)
public static final int GL_SRC_COLOR
Constant Value: 768 (0x00000300)
public static final int GL_STATIC_DRAW
Constant Value: 35044 (0x000088e4)
public static final int GL_STENCIL_ATTACHMENT
Constant Value: 36128 (0x00008d20)
public static final int GL_STENCIL_BACK_FAIL
Constant Value: 34817 (0x00008801)
public static final int GL_STENCIL_BACK_FUNC
Constant Value: 34816 (0x00008800)
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL
Constant Value: 34818 (0x00008802)
public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS
Constant Value: 34819 (0x00008803)
public static final int GL_STENCIL_BACK_REF
Constant Value: 36003 (0x00008ca3)
public static final int GL_STENCIL_BACK_VALUE_MASK
Constant Value: 36004 (0x00008ca4)
public static final int GL_STENCIL_BACK_WRITEMASK
Constant Value: 36005 (0x00008ca5)
public static final int GL_STENCIL_BITS
Constant Value: 3415 (0x00000d57)
public static final int GL_STENCIL_BUFFER_BIT
Constant Value: 1024 (0x00000400)
public static final int GL_STENCIL_CLEAR_VALUE
Constant Value: 2961 (0x00000b91)
public static final int GL_STENCIL_FAIL
Constant Value: 2964 (0x00000b94)
public static final int GL_STENCIL_FUNC
Constant Value: 2962 (0x00000b92)
public static final int GL_STENCIL_INDEX
Constant Value: 6401 (0x00001901)
public static final int GL_STENCIL_INDEX8
Constant Value: 36168 (0x00008d48)
public static final int GL_STENCIL_PASS_DEPTH_FAIL
Constant Value: 2965 (0x00000b95)
public static final int GL_STENCIL_PASS_DEPTH_PASS
Constant Value: 2966 (0x00000b96)
public static final int GL_STENCIL_REF
Constant Value: 2967 (0x00000b97)
public static final int GL_STENCIL_TEST
Constant Value: 2960 (0x00000b90)
public static final int GL_STENCIL_VALUE_MASK
Constant Value: 2963 (0x00000b93)
public static final int GL_STENCIL_WRITEMASK
Constant Value: 2968 (0x00000b98)
public static final int GL_STREAM_DRAW
Constant Value: 35040 (0x000088e0)
public static final int GL_SUBPIXEL_BITS
Constant Value: 3408 (0x00000d50)
public static final int GL_TEXTURE
Constant Value: 5890 (0x00001702)
public static final int GL_TEXTURE0
Constant Value: 33984 (0x000084c0)
public static final int GL_TEXTURE1
Constant Value: 33985 (0x000084c1)
public static final int GL_TEXTURE10
Constant Value: 33994 (0x000084ca)
public static final int GL_TEXTURE11
Constant Value: 33995 (0x000084cb)
public static final int GL_TEXTURE12
Constant Value: 33996 (0x000084cc)
public static final int GL_TEXTURE13
Constant Value: 33997 (0x000084cd)
public static final int GL_TEXTURE14
Constant Value: 33998 (0x000084ce)
public static final int GL_TEXTURE15
Constant Value: 33999 (0x000084cf)
public static final int GL_TEXTURE16
Constant Value: 34000 (0x000084d0)
public static final int GL_TEXTURE17
Constant Value: 34001 (0x000084d1)
public static final int GL_TEXTURE18
Constant Value: 34002 (0x000084d2)
public static final int GL_TEXTURE19
Constant Value: 34003 (0x000084d3)
public static final int GL_TEXTURE2
Constant Value: 33986 (0x000084c2)
public static final int GL_TEXTURE20
Constant Value: 34004 (0x000084d4)
public static final int GL_TEXTURE21
Constant Value: 34005 (0x000084d5)
public static final int GL_TEXTURE22
Constant Value: 34006 (0x000084d6)
public static final int GL_TEXTURE23
Constant Value: 34007 (0x000084d7)
public static final int GL_TEXTURE24
Constant Value: 34008 (0x000084d8)
public static final int GL_TEXTURE25
Constant Value: 34009 (0x000084d9)
public static final int GL_TEXTURE26
Constant Value: 34010 (0x000084da)
public static final int GL_TEXTURE27
Constant Value: 34011 (0x000084db)
public static final int GL_TEXTURE28
Constant Value: 34012 (0x000084dc)
public static final int GL_TEXTURE29
Constant Value: 34013 (0x000084dd)
public static final int GL_TEXTURE3
Constant Value: 33987 (0x000084c3)
public static final int GL_TEXTURE30
Constant Value: 34014 (0x000084de)
public static final int GL_TEXTURE31
Constant Value: 34015 (0x000084df)
public static final int GL_TEXTURE4
Constant Value: 33988 (0x000084c4)
public static final int GL_TEXTURE5
Constant Value: 33989 (0x000084c5)
public static final int GL_TEXTURE6
Constant Value: 33990 (0x000084c6)
public static final int GL_TEXTURE7
Constant Value: 33991 (0x000084c7)
public static final int GL_TEXTURE8
Constant Value: 33992 (0x000084c8)
public static final int GL_TEXTURE9
Constant Value: 33993 (0x000084c9)
public static final int GL_TEXTURE_2D
Constant Value: 3553 (0x00000de1)
public static final int GL_TEXTURE_BINDING_2D
Constant Value: 32873 (0x00008069)
public static final int GL_TEXTURE_BINDING_CUBE_MAP
Constant Value: 34068 (0x00008514)
public static final int GL_TEXTURE_CUBE_MAP
Constant Value: 34067 (0x00008513)
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X
Constant Value: 34070 (0x00008516)
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
Constant Value: 34072 (0x00008518)
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
Constant Value: 34074 (0x0000851a)
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X
Constant Value: 34069 (0x00008515)
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y
Constant Value: 34071 (0x00008517)
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z
Constant Value: 34073 (0x00008519)
public static final int GL_TEXTURE_MAG_FILTER
Constant Value: 10240 (0x00002800)
public static final int GL_TEXTURE_MIN_FILTER
Constant Value: 10241 (0x00002801)
public static final int GL_TEXTURE_WRAP_S
Constant Value: 10242 (0x00002802)
public static final int GL_TEXTURE_WRAP_T
Constant Value: 10243 (0x00002803)
public static final int GL_TRIANGLES
Constant Value: 4 (0x00000004)
public static final int GL_TRIANGLE_FAN
Constant Value: 6 (0x00000006)
public static final int GL_TRIANGLE_STRIP
Constant Value: 5 (0x00000005)
public static final int GL_TRUE
Constant Value: 1 (0x00000001)
public static final int GL_UNPACK_ALIGNMENT
Constant Value: 3317 (0x00000cf5)
public static final int GL_UNSIGNED_BYTE
Constant Value: 5121 (0x00001401)
public static final int GL_UNSIGNED_INT
Constant Value: 5125 (0x00001405)
public static final int GL_UNSIGNED_SHORT
Constant Value: 5123 (0x00001403)
public static final int GL_UNSIGNED_SHORT_4_4_4_4
Constant Value: 32819 (0x00008033)
public static final int GL_UNSIGNED_SHORT_5_5_5_1
Constant Value: 32820 (0x00008034)
public static final int GL_UNSIGNED_SHORT_5_6_5
Constant Value: 33635 (0x00008363)
public static final int GL_VALIDATE_STATUS
Constant Value: 35715 (0x00008b83)
public static final int GL_VENDOR
Constant Value: 7936 (0x00001f00)
public static final int GL_VERSION
Constant Value: 7938 (0x00001f02)
public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
Constant Value: 34975 (0x0000889f)
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED
Constant Value: 34338 (0x00008622)
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
Constant Value: 34922 (0x0000886a)
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER
Constant Value: 34373 (0x00008645)
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE
Constant Value: 34339 (0x00008623)
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE
Constant Value: 34340 (0x00008624)
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE
Constant Value: 34341 (0x00008625)
public static final int GL_VERTEX_SHADER
Constant Value: 35633 (0x00008b31)
public static final int GL_VIEWPORT
Constant Value: 2978 (0x00000ba2)
public static final int GL_ZERO
Constant Value: 0 (0x00000000)
public GLES20 ()
public static void glActiveTexture (int texture)
Parameters | |
---|---|
texture |
int |
public static void glAttachShader (int program, int shader)
Parameters | |
---|---|
program |
int |
shader |
int |
public static void glBindAttribLocation (int program, int index, String name)
Parameters | |
---|---|
program |
int |
index |
int |
name |
String |
public static void glBindBuffer (int target, int buffer)
Parameters | |
---|---|
target |
int |
buffer |
int |
public static void glBindFramebuffer (int target, int framebuffer)
Parameters | |
---|---|
target |
int |
framebuffer |
int |
public static void glBindRenderbuffer (int target, int renderbuffer)
Parameters | |
---|---|
target |
int |
renderbuffer |
int |
public static void glBindTexture (int target, int texture)
Parameters | |
---|---|
target |
int |
texture |
int |
public static void glBlendColor (float red, float green, float blue, float alpha)
Parameters | |
---|---|
red |
float |
green |
float |
blue |
float |
alpha |
float |
public static void glBlendEquation (int mode)
Parameters | |
---|---|
mode |
int |
public static void glBlendEquationSeparate (int modeRGB, int modeAlpha)
Parameters | |
---|---|
modeRGB |
int |
modeAlpha |
int |
public static void glBlendFunc (int sfactor, int dfactor)
Parameters | |
---|---|
sfactor |
int |
dfactor |
int |
public static void glBlendFuncSeparate (int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
Parameters | |
---|---|
srcRGB |
int |
dstRGB |
int |
srcAlpha |
int |
dstAlpha |
int |
public static void glBufferData (int target, int size, Buffer data, int usage)
Parameters | |
---|---|
target |
int |
size |
int |
data |
Buffer |
usage |
int |
public static void glBufferSubData (int target, int offset, int size, Buffer data)
Parameters | |
---|---|
target |
int |
offset |
int |
size |
int |
data |
Buffer |
public static int glCheckFramebufferStatus (int target)
Parameters | |
---|---|
target |
int |
Returns | |
---|---|
int |
public static void glClear (int mask)
Parameters | |
---|---|
mask |
int |
public static void glClearColor (float red, float green, float blue, float alpha)
Parameters | |
---|---|
red |
float |
green |
float |
blue |
float |
alpha |
float |
public static void glClearDepthf (float depth)
Parameters | |
---|---|
depth |
float |
public static void glClearStencil (int s)
Parameters | |
---|---|
s |
int |
public static void glColorMask (boolean red, boolean green, boolean blue, boolean alpha)
Parameters | |
---|---|
red |
boolean |
green |
boolean |
blue |
boolean |
alpha |
boolean |
public static void glCompileShader (int shader)
Parameters | |
---|---|
shader |
int |
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 |
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 |
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 |
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 |
public static int glCreateProgram ()
Returns | |
---|---|
int |
public static int glCreateShader (int type)
Parameters | |
---|---|
type |
int |
Returns | |
---|---|
int |
public static void glCullFace (int mode)
Parameters | |
---|---|
mode |
int |
public static void glDeleteBuffers (int n, int[] buffers, int offset)
Parameters | |
---|---|
n |
int |
buffers |
int |
offset |
int |
public static void glDeleteBuffers (int n, IntBuffer buffers)
Parameters | |
---|---|
n |
int |
buffers |
IntBuffer |
public static void glDeleteFramebuffers (int n, int[] framebuffers, int offset)
Parameters | |
---|---|
n |
int |
framebuffers |
int |
offset |
int |
public static void glDeleteFramebuffers (int n, IntBuffer framebuffers)
Parameters | |
---|---|
n |
int |
framebuffers |
IntBuffer |
public static void glDeleteProgram (int program)
Parameters | |
---|---|
program |
int |
public static void glDeleteRenderbuffers (int n, int[] renderbuffers, int offset)
Parameters | |
---|---|
n |
int |
renderbuffers |
int |
offset |
int |
public static void glDeleteRenderbuffers (int n, IntBuffer renderbuffers)
Parameters | |
---|---|
n |
int |
renderbuffers |
IntBuffer |
public static void glDeleteShader (int shader)
Parameters | |
---|---|
shader |
int |
public static void glDeleteTextures (int n, IntBuffer textures)
Parameters | |
---|---|
n |
int |
textures |
IntBuffer |
public static void glDeleteTextures (int n, int[] textures, int offset)
Parameters | |
---|---|
n |
int |
textures |
int |
offset |
int |
public static void glDepthFunc (int func)
Parameters | |
---|---|
func |
int |
public static void glDepthMask (boolean flag)
Parameters | |
---|---|
flag |
boolean |
public static void glDepthRangef (float zNear, float zFar)
Parameters | |
---|---|
zNear |
float |
zFar |
float |
public static void glDetachShader (int program, int shader)
Parameters | |
---|---|
program |
int |
shader |
int |
public static void glDisable (int cap)
Parameters | |
---|---|
cap |
int |
public static void glDisableVertexAttribArray (int index)
Parameters | |
---|---|
index |
int |
public static void glDrawArrays (int mode, int first, int count)
Parameters | |
---|---|
mode |
int |
first |
int |
count |
int |
public static void glDrawElements (int mode, int count, int type, int offset)
Parameters | |
---|---|
mode |
int |
count |
int |
type |
int |
offset |
int |
public static void glDrawElements (int mode, int count, int type, Buffer indices)
Parameters | |
---|---|
mode |
int |
count |
int |
type |
int |
indices |
Buffer |
public static void glEnable (int cap)
Parameters | |
---|---|
cap |
int |
public static void glEnableVertexAttribArray (int index)
Parameters | |
---|---|
index |
int |
public static void glFinish ()
public static void glFlush ()
public static void glFramebufferRenderbuffer (int target, int attachment, int renderbuffertarget, int renderbuffer)
Parameters | |
---|---|
target |
int |
attachment |
int |
renderbuffertarget |
int |
renderbuffer |
int |
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 |
public static void glFrontFace (int mode)
Parameters | |
---|---|
mode |
int |
public static void glGenBuffers (int n, IntBuffer buffers)
Parameters | |
---|---|
n |
int |
buffers |
IntBuffer |
public static void glGenBuffers (int n, int[] buffers, int offset)
Parameters | |
---|---|
n |
int |
buffers |
int |
offset |
int |
public static void glGenFramebuffers (int n, int[] framebuffers, int offset)
Parameters | |
---|---|
n |
int |
framebuffers |
int |
offset |
int |
public static void glGenFramebuffers (int n, IntBuffer framebuffers)
Parameters | |
---|---|
n |
int |
framebuffers |
IntBuffer |
public static void glGenRenderbuffers (int n, int[] renderbuffers, int offset)
Parameters | |
---|---|
n |
int |
renderbuffers |
int |
offset |
int |
public static void glGenRenderbuffers (int n, IntBuffer renderbuffers)
Parameters | |
---|---|
n |
int |
renderbuffers |
IntBuffer |
public static void glGenTextures (int n, IntBuffer textures)
Parameters | |
---|---|
n |
int |
textures |
IntBuffer |
public static void glGenTextures (int n, int[] textures, int offset)
Parameters | |
---|---|
n |
int |
textures |
int |
offset |
int |
public static void glGenerateMipmap (int target)
Parameters | |
---|---|
target |
int |
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 |
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 |
public static String glGetActiveAttrib (int program, int index, IntBuffer size, IntBuffer type)
Parameters | |
---|---|
program |
int |
index |
int |
size |
IntBuffer |
type |
IntBuffer |
Returns | |
---|---|
String |
public static void glGetActiveUniform (int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset)
Parameters | |
---|---|
program |
int |
index |
int |
bufsize |
int |
length |
int |
lengthOffset |
int |
size |
int |
sizeOffset |
int |
type |
int |
typeOffset |
int |
name |
byte |
nameOffset |
int |
public static String glGetActiveUniform (int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)
Parameters | |
---|---|
program |
int |
index |
int |
size |
int |
sizeOffset |
int |
type |
int |
typeOffset |
int |
Returns | |
---|---|
String |
public static String glGetActiveUniform (int program, int index, IntBuffer size, IntBuffer type)
Parameters | |
---|---|
program |
int |
index |
int |
size |
IntBuffer |
type |
IntBuffer |
Returns | |
---|---|
String |
public static void glGetAttachedShaders (int program, int maxcount, IntBuffer count, IntBuffer shaders)
Parameters | |
---|---|
program |
int |
maxcount |
int |
count |
IntBuffer |
shaders |
IntBuffer |
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 |
public static int glGetAttribLocation (int program, String name)
Parameters | |
---|---|
program |
int |
name |
String |
Returns | |
---|---|
int |
public static void glGetBooleanv (int pname, IntBuffer params)
Parameters | |
---|---|
pname |
int |
params |
IntBuffer |
public static void glGetBooleanv (int pname, boolean[] params, int offset)
Parameters | |
---|---|
pname |
int |
params |
boolean |
offset |
int |
public static void glGetBufferParameteriv (int target, int pname, IntBuffer params)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
IntBuffer |
public static void glGetBufferParameteriv (int target, int pname, int[] params, int offset)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
int |
offset |
int |
public static int glGetError ()
Returns | |
---|---|
int |
public static void glGetFloatv (int pname, FloatBuffer params)
Parameters | |
---|---|
pname |
int |
params |
FloatBuffer |
public static void glGetFloatv (int pname, float[] params, int offset)
Parameters | |
---|---|
pname |
int |
params |
float |
offset |
int |
public static void glGetFramebufferAttachmentParameteriv (int target, int attachment, int pname, IntBuffer params)
Parameters | |
---|---|
target |
int |
attachment |
int |
pname |
int |
params |
IntBuffer |
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 |
public static void glGetIntegerv (int pname, int[] params, int offset)
Parameters | |
---|---|
pname |
int |
params |
int |
offset |
int |
public static void glGetIntegerv (int pname, IntBuffer params)
Parameters | |
---|---|
pname |
int |
params |
IntBuffer |
public static String glGetProgramInfoLog (int program)
Parameters | |
---|---|
program |
int |
Returns | |
---|---|
String |
public static void glGetProgramiv (int program, int pname, int[] params, int offset)
Parameters | |
---|---|
program |
int |
pname |
int |
params |
int |
offset |
int |
public static void glGetProgramiv (int program, int pname, IntBuffer params)
Parameters | |
---|---|
program |
int |
pname |
int |
params |
IntBuffer |
public static void glGetRenderbufferParameteriv (int target, int pname, IntBuffer params)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
IntBuffer |
public static void glGetRenderbufferParameteriv (int target, int pname, int[] params, int offset)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
int |
offset |
int |
public static String glGetShaderInfoLog (int shader)
Parameters | |
---|---|
shader |
int |
Returns | |
---|---|
String |
public static void glGetShaderPrecisionFormat (int shadertype, int precisiontype, IntBuffer range, IntBuffer precision)
Parameters | |
---|---|
shadertype |
int |
precisiontype |
int |
range |
IntBuffer |
precision |
IntBuffer |
public static void glGetShaderPrecisionFormat (int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset)
Parameters | |
---|---|
shadertype |
int |
precisiontype |
int |
range |
int |
rangeOffset |
int |
precision |
int |
precisionOffset |
int |
public static void glGetShaderSource (int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset)
Parameters | |
---|---|
shader |
int |
bufsize |
int |
length |
int |
lengthOffset |
int |
source |
byte |
sourceOffset |
int |
public static String glGetShaderSource (int shader)
Parameters | |
---|---|
shader |
int |
Returns | |
---|---|
String |
public static void glGetShaderiv (int shader, int pname, int[] params, int offset)
Parameters | |
---|---|
shader |
int |
pname |
int |
params |
int |
offset |
int |
public static void glGetShaderiv (int shader, int pname, IntBuffer params)
Parameters | |
---|---|
shader |
int |
pname |
int |
params |
IntBuffer |
public static void glGetTexParameterfv (int target, int pname, float[] params, int offset)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
float |
offset |
int |
public static void glGetTexParameterfv (int target, int pname, FloatBuffer params)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
FloatBuffer |
public static void glGetTexParameteriv (int target, int pname, IntBuffer params)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
IntBuffer |
public static void glGetTexParameteriv (int target, int pname, int[] params, int offset)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
int |
offset |
int |
public static int glGetUniformLocation (int program, String name)
Parameters | |
---|---|
program |
int |
name |
String |
Returns | |
---|---|
int |
public static void glGetUniformfv (int program, int location, FloatBuffer params)
Parameters | |
---|---|
program |
int |
location |
int |
params |
FloatBuffer |
public static void glGetUniformfv (int program, int location, float[] params, int offset)
Parameters | |
---|---|
program |
int |
location |
int |
params |
float |
offset |
int |
public static void glGetUniformiv (int program, int location, int[] params, int offset)
Parameters | |
---|---|
program |
int |
location |
int |
params |
int |
offset |
int |
public static void glGetUniformiv (int program, int location, IntBuffer params)
Parameters | |
---|---|
program |
int |
location |
int |
params |
IntBuffer |
public static void glGetVertexAttribfv (int index, int pname, FloatBuffer params)
Parameters | |
---|---|
index |
int |
pname |
int |
params |
FloatBuffer |
public static void glGetVertexAttribfv (int index, int pname, float[] params, int offset)
Parameters | |
---|---|
index |
int |
pname |
int |
params |
float |
offset |
int |
public static void glGetVertexAttribiv (int index, int pname, IntBuffer params)
Parameters | |
---|---|
index |
int |
pname |
int |
params |
IntBuffer |
public static void glGetVertexAttribiv (int index, int pname, int[] params, int offset)
Parameters | |
---|---|
index |
int |
pname |
int |
params |
int |
offset |
int |
public static void glHint (int target, int mode)
Parameters | |
---|---|
target |
int |
mode |
int |
public static boolean glIsBuffer (int buffer)
Parameters | |
---|---|
buffer |
int |
Returns | |
---|---|
boolean |
public static boolean glIsEnabled (int cap)
Parameters | |
---|---|
cap |
int |
Returns | |
---|---|
boolean |
public static boolean glIsFramebuffer (int framebuffer)
Parameters | |
---|---|
framebuffer |
int |
Returns | |
---|---|
boolean |
public static boolean glIsProgram (int program)
Parameters | |
---|---|
program |
int |
Returns | |
---|---|
boolean |
public static boolean glIsRenderbuffer (int renderbuffer)
Parameters | |
---|---|
renderbuffer |
int |
Returns | |
---|---|
boolean |
public static boolean glIsShader (int shader)
Parameters | |
---|---|
shader |
int |
Returns | |
---|---|
boolean |
public static boolean glIsTexture (int texture)
Parameters | |
---|---|
texture |
int |
Returns | |
---|---|
boolean |
public static void glLineWidth (float width)
Parameters | |
---|---|
width |
float |
public static void glLinkProgram (int program)
Parameters | |
---|---|
program |
int |
public static void glPixelStorei (int pname, int param)
Parameters | |
---|---|
pname |
int |
param |
int |
public static void glPolygonOffset (float factor, float units)
Parameters | |
---|---|
factor |
float |
units |
float |
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 |
public static void glReleaseShaderCompiler ()
public static void glRenderbufferStorage (int target, int internalformat, int width, int height)
Parameters | |
---|---|
target |
int |
internalformat |
int |
width |
int |
height |
int |
public static void glSampleCoverage (float value, boolean invert)
Parameters | |
---|---|
value |
float |
invert |
boolean |
public static void glScissor (int x, int y, int width, int height)
Parameters | |
---|---|
x |
int |
y |
int |
width |
int |
height |
int |
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 |
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 |
public static void glShaderSource (int shader, String string)
Parameters | |
---|---|
shader |
int |
string |
String |
public static void glStencilFunc (int func, int ref, int mask)
Parameters | |
---|---|
func |
int |
ref |
int |
mask |
int |
public static void glStencilFuncSeparate (int face, int func, int ref, int mask)
Parameters | |
---|---|
face |
int |
func |
int |
ref |
int |
mask |
int |
public static void glStencilMask (int mask)
Parameters | |
---|---|
mask |
int |
public static void glStencilMaskSeparate (int face, int mask)
Parameters | |
---|---|
face |
int |
mask |
int |
public static void glStencilOp (int fail, int zfail, int zpass)
Parameters | |
---|---|
fail |
int |
zfail |
int |
zpass |
int |
public static void glStencilOpSeparate (int face, int fail, int zfail, int zpass)
Parameters | |
---|---|
face |
int |
fail |
int |
zfail |
int |
zpass |
int |
public static void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)
Parameters | |
---|---|
target |
int |
level |
int |
internalformat |
int |
width |
int |
height |
int |
border |
int |
format |
int |
type |
int |
pixels |
Buffer |
public static void glTexParameterf (int target, int pname, float param)
Parameters | |
---|---|
target |
int |
pname |
int |
param |
float |
public static void glTexParameterfv (int target, int pname, FloatBuffer params)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
FloatBuffer |
public static void glTexParameterfv (int target, int pname, float[] params, int offset)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
float |
offset |
int |
public static void glTexParameteri (int target, int pname, int param)
Parameters | |
---|---|
target |
int |
pname |
int |
param |
int |
public static void glTexParameteriv (int target, int pname, int[] params, int offset)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
int |
offset |
int |
public static void glTexParameteriv (int target, int pname, IntBuffer params)
Parameters | |
---|---|
target |
int |
pname |
int |
params |
IntBuffer |
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 |
public static void glUniform1f (int location, float x)
Parameters | |
---|---|
location |
int |
x |
float |
public static void glUniform1fv (int location, int count, FloatBuffer v)
Parameters | |
---|---|
location |
int |
count |
int |
v |
FloatBuffer |
public static void glUniform1fv (int location, int count, float[] v, int offset)
Parameters | |
---|---|
location |
int |
count |
int |
v |
float |
offset |
int |
public static void glUniform1i (int location, int x)
Parameters | |
---|---|
location |
int |
x |
int |
public static void glUniform1iv (int location, int count, int[] v, int offset)
Parameters | |
---|---|
location |
int |
count |
int |
v |
int |
offset |
int |
public static void glUniform1iv (int location, int count, IntBuffer v)
Parameters | |
---|---|
location |
int |
count |
int |
v |
IntBuffer |
public static void glUniform2f (int location, float x, float y)
Parameters | |
---|---|
location |
int |
x |
float |
y |
float |
public static void glUniform2fv (int location, int count, float[] v, int offset)
Parameters | |
---|---|
location |
int |
count |
int |
v |
float |
offset |
int |
public static void glUniform2fv (int location, int count, FloatBuffer v)
Parameters | |
---|---|
location |
int |
count |
int |
v |
FloatBuffer |
public static void glUniform2i (int location, int x, int y)
Parameters | |
---|---|
location |
int |
x |
int |
y |
int |
public static void glUniform2iv (int location, int count, int[] v, int offset)
Parameters | |
---|---|
location |
int |
count |
int |
v |
int |
offset |
int |
public static void glUniform2iv (int location, int count, IntBuffer v)
Parameters | |
---|---|
location |
int |
count |
int |
v |
IntBuffer |
public static void glUniform3f (int location, float x, float y, float z)
Parameters | |
---|---|
location |
int |
x |
float |
y |
float |
z |
float |
public static void glUniform3fv (int location, int count, FloatBuffer v)
Parameters | |
---|---|
location |
int |
count |
int |
v |
FloatBuffer |
public static void glUniform3fv (int location, int count, float[] v, int offset)
Parameters | |
---|---|
location |
int |
count |
int |
v |
float |
offset |
int |
public static void glUniform3i (int location, int x, int y, int z)
Parameters | |
---|---|
location |
int |
x |
int |
y |
int |
z |
int |
public static void glUniform3iv (int location, int count, IntBuffer v)
Parameters | |
---|---|
location |
int |
count |
int |
v |
IntBuffer |
public static void glUniform3iv (int location, int count, int[] v, int offset)
Parameters | |
---|---|
location |
int |
count |
int |
v |
int |
offset |
int |
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 |
public static void glUniform4fv (int location, int count, FloatBuffer v)
Parameters | |
---|---|
location |
int |
count |
int |
v |
FloatBuffer |
public static void glUniform4fv (int location, int count, float[] v, int offset)
Parameters | |
---|---|
location |
int |
count |
int |
v |
float |
offset |
int |
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 |
public static void glUniform4iv (int location, int count, IntBuffer v)
Parameters | |
---|---|
location |
int |
count |
int |
v |
IntBuffer |
public static void glUniform4iv (int location, int count, int[] v, int offset)
Parameters | |
---|---|
location |
int |
count |
int |
v |
int |
offset |
int |
public static void glUniformMatrix2fv (int location, int count, boolean transpose, FloatBuffer value)
Parameters | |
---|---|
location |
int |
count |
int |
transpose |
boolean |
value |
FloatBuffer |
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 |
public static void glUniformMatrix3fv (int location, int count, boolean transpose, FloatBuffer value)
Parameters | |
---|---|
location |
int |
count |
int |
transpose |
boolean |
value |
FloatBuffer |
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 |
public static void glUniformMatrix4fv (int location, int count, boolean transpose, FloatBuffer value)
Parameters | |
---|---|
location |
int |
count |
int |
transpose |
boolean |
value |
FloatBuffer |
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 |
public static void glUseProgram (int program)
Parameters | |
---|---|
program |
int |
public static void glValidateProgram (int program)
Parameters | |
---|---|
program |
int |
public static void glVertexAttrib1f (int indx, float x)
Parameters | |
---|---|
indx |
int |
x |
float |
public static void glVertexAttrib1fv (int indx, float[] values, int offset)
Parameters | |
---|---|
indx |
int |
values |
float |
offset |
int |
public static void glVertexAttrib1fv (int indx, FloatBuffer values)
Parameters | |
---|---|
indx |
int |
values |
FloatBuffer |
public static void glVertexAttrib2f (int indx, float x, float y)
Parameters | |
---|---|
indx |
int |
x |
float |
y |
float |
public static void glVertexAttrib2fv (int indx, float[] values, int offset)
Parameters | |
---|---|
indx |
int |
values |
float |
offset |
int |
public static void glVertexAttrib2fv (int indx, FloatBuffer values)
Parameters | |
---|---|
indx |
int |
values |
FloatBuffer |
public static void glVertexAttrib3f (int indx, float x, float y, float z)
Parameters | |
---|---|
indx |
int |
x |
float |
y |
float |
z |
float |
public static void glVertexAttrib3fv (int indx, float[] values, int offset)
Parameters | |
---|---|
indx |
int |
values |
float |
offset |
int |
public static void glVertexAttrib3fv (int indx, FloatBuffer values)
Parameters | |
---|---|
indx |
int |
values |
FloatBuffer |
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 |
public static void glVertexAttrib4fv (int indx, float[] values, int offset)
Parameters | |
---|---|
indx |
int |
values |
float |
offset |
int |
public static void glVertexAttrib4fv (int indx, FloatBuffer values)
Parameters | |
---|---|
indx |
int |
values |
FloatBuffer |
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 |
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 |
public static void glViewport (int x, int y, int width, int height)
Parameters | |
---|---|
x |
int |
y |
int |
width |
int |
height |
int |