FileDocCategorySizeDatePackage
GLES20.javaAPI DocAndroid 5.1 API67347Thu Mar 12 22:22:40 GMT 2015android.opengl

GLES20

public class GLES20 extends Object
OpenGL ES 2.0

Fields Summary
public static final int
GL_ACTIVE_TEXTURE
public static final int
GL_DEPTH_BUFFER_BIT
public static final int
GL_STENCIL_BUFFER_BIT
public static final int
GL_COLOR_BUFFER_BIT
public static final int
GL_FALSE
public static final int
GL_TRUE
public static final int
GL_POINTS
public static final int
GL_LINES
public static final int
GL_LINE_LOOP
public static final int
GL_LINE_STRIP
public static final int
GL_TRIANGLES
public static final int
GL_TRIANGLE_STRIP
public static final int
GL_TRIANGLE_FAN
public static final int
GL_ZERO
public static final int
GL_ONE
public static final int
GL_SRC_COLOR
public static final int
GL_ONE_MINUS_SRC_COLOR
public static final int
GL_SRC_ALPHA
public static final int
GL_ONE_MINUS_SRC_ALPHA
public static final int
GL_DST_ALPHA
public static final int
GL_ONE_MINUS_DST_ALPHA
public static final int
GL_DST_COLOR
public static final int
GL_ONE_MINUS_DST_COLOR
public static final int
GL_SRC_ALPHA_SATURATE
public static final int
GL_FUNC_ADD
public static final int
GL_BLEND_EQUATION
public static final int
GL_BLEND_EQUATION_RGB
public static final int
GL_BLEND_EQUATION_ALPHA
public static final int
GL_FUNC_SUBTRACT
public static final int
GL_FUNC_REVERSE_SUBTRACT
public static final int
GL_BLEND_DST_RGB
public static final int
GL_BLEND_SRC_RGB
public static final int
GL_BLEND_DST_ALPHA
public static final int
GL_BLEND_SRC_ALPHA
public static final int
GL_CONSTANT_COLOR
public static final int
GL_ONE_MINUS_CONSTANT_COLOR
public static final int
GL_CONSTANT_ALPHA
public static final int
GL_ONE_MINUS_CONSTANT_ALPHA
public static final int
GL_BLEND_COLOR
public static final int
GL_ARRAY_BUFFER
public static final int
GL_ELEMENT_ARRAY_BUFFER
public static final int
GL_ARRAY_BUFFER_BINDING
public static final int
GL_ELEMENT_ARRAY_BUFFER_BINDING
public static final int
GL_STREAM_DRAW
public static final int
GL_STATIC_DRAW
public static final int
GL_DYNAMIC_DRAW
public static final int
GL_BUFFER_SIZE
public static final int
GL_BUFFER_USAGE
public static final int
GL_CURRENT_VERTEX_ATTRIB
public static final int
GL_FRONT
public static final int
GL_BACK
public static final int
GL_FRONT_AND_BACK
public static final int
GL_TEXTURE_2D
public static final int
GL_CULL_FACE
public static final int
GL_BLEND
public static final int
GL_DITHER
public static final int
GL_STENCIL_TEST
public static final int
GL_DEPTH_TEST
public static final int
GL_SCISSOR_TEST
public static final int
GL_POLYGON_OFFSET_FILL
public static final int
GL_SAMPLE_ALPHA_TO_COVERAGE
public static final int
GL_SAMPLE_COVERAGE
public static final int
GL_NO_ERROR
public static final int
GL_INVALID_ENUM
public static final int
GL_INVALID_VALUE
public static final int
GL_INVALID_OPERATION
public static final int
GL_OUT_OF_MEMORY
public static final int
GL_CW
public static final int
GL_CCW
public static final int
GL_LINE_WIDTH
public static final int
GL_ALIASED_POINT_SIZE_RANGE
public static final int
GL_ALIASED_LINE_WIDTH_RANGE
public static final int
GL_CULL_FACE_MODE
public static final int
GL_FRONT_FACE
public static final int
GL_DEPTH_RANGE
public static final int
GL_DEPTH_WRITEMASK
public static final int
GL_DEPTH_CLEAR_VALUE
public static final int
GL_DEPTH_FUNC
public static final int
GL_STENCIL_CLEAR_VALUE
public static final int
GL_STENCIL_FUNC
public static final int
GL_STENCIL_FAIL
public static final int
GL_STENCIL_PASS_DEPTH_FAIL
public static final int
GL_STENCIL_PASS_DEPTH_PASS
public static final int
GL_STENCIL_REF
public static final int
GL_STENCIL_VALUE_MASK
public static final int
GL_STENCIL_WRITEMASK
public static final int
GL_STENCIL_BACK_FUNC
public static final int
GL_STENCIL_BACK_FAIL
public static final int
GL_STENCIL_BACK_PASS_DEPTH_FAIL
public static final int
GL_STENCIL_BACK_PASS_DEPTH_PASS
public static final int
GL_STENCIL_BACK_REF
public static final int
GL_STENCIL_BACK_VALUE_MASK
public static final int
GL_STENCIL_BACK_WRITEMASK
public static final int
GL_VIEWPORT
public static final int
GL_SCISSOR_BOX
public static final int
GL_COLOR_CLEAR_VALUE
public static final int
GL_COLOR_WRITEMASK
public static final int
GL_UNPACK_ALIGNMENT
public static final int
GL_PACK_ALIGNMENT
public static final int
GL_MAX_TEXTURE_SIZE
public static final int
GL_MAX_VIEWPORT_DIMS
public static final int
GL_SUBPIXEL_BITS
public static final int
GL_RED_BITS
public static final int
GL_GREEN_BITS
public static final int
GL_BLUE_BITS
public static final int
GL_ALPHA_BITS
public static final int
GL_DEPTH_BITS
public static final int
GL_STENCIL_BITS
public static final int
GL_POLYGON_OFFSET_UNITS
public static final int
GL_POLYGON_OFFSET_FACTOR
public static final int
GL_TEXTURE_BINDING_2D
public static final int
GL_SAMPLE_BUFFERS
public static final int
GL_SAMPLES
public static final int
GL_SAMPLE_COVERAGE_VALUE
public static final int
GL_SAMPLE_COVERAGE_INVERT
public static final int
GL_NUM_COMPRESSED_TEXTURE_FORMATS
public static final int
GL_COMPRESSED_TEXTURE_FORMATS
public static final int
GL_DONT_CARE
public static final int
GL_FASTEST
public static final int
GL_NICEST
public static final int
GL_GENERATE_MIPMAP_HINT
public static final int
GL_BYTE
public static final int
GL_UNSIGNED_BYTE
public static final int
GL_SHORT
public static final int
GL_UNSIGNED_SHORT
public static final int
GL_INT
public static final int
GL_UNSIGNED_INT
public static final int
GL_FLOAT
public static final int
GL_FIXED
public static final int
GL_DEPTH_COMPONENT
public static final int
GL_ALPHA
public static final int
GL_RGB
public static final int
GL_RGBA
public static final int
GL_LUMINANCE
public static final int
GL_LUMINANCE_ALPHA
public static final int
GL_UNSIGNED_SHORT_4_4_4_4
public static final int
GL_UNSIGNED_SHORT_5_5_5_1
public static final int
GL_UNSIGNED_SHORT_5_6_5
public static final int
GL_FRAGMENT_SHADER
public static final int
GL_VERTEX_SHADER
public static final int
GL_MAX_VERTEX_ATTRIBS
public static final int
GL_MAX_VERTEX_UNIFORM_VECTORS
public static final int
GL_MAX_VARYING_VECTORS
public static final int
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
public static final int
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
public static final int
GL_MAX_TEXTURE_IMAGE_UNITS
public static final int
GL_MAX_FRAGMENT_UNIFORM_VECTORS
public static final int
GL_SHADER_TYPE
public static final int
GL_DELETE_STATUS
public static final int
GL_LINK_STATUS
public static final int
GL_VALIDATE_STATUS
public static final int
GL_ATTACHED_SHADERS
public static final int
GL_ACTIVE_UNIFORMS
public static final int
GL_ACTIVE_UNIFORM_MAX_LENGTH
public static final int
GL_ACTIVE_ATTRIBUTES
public static final int
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
public static final int
GL_SHADING_LANGUAGE_VERSION
public static final int
GL_CURRENT_PROGRAM
public static final int
GL_NEVER
public static final int
GL_LESS
public static final int
GL_EQUAL
public static final int
GL_LEQUAL
public static final int
GL_GREATER
public static final int
GL_NOTEQUAL
public static final int
GL_GEQUAL
public static final int
GL_ALWAYS
public static final int
GL_KEEP
public static final int
GL_REPLACE
public static final int
GL_INCR
public static final int
GL_DECR
public static final int
GL_INVERT
public static final int
GL_INCR_WRAP
public static final int
GL_DECR_WRAP
public static final int
GL_VENDOR
public static final int
GL_RENDERER
public static final int
GL_VERSION
public static final int
GL_EXTENSIONS
public static final int
GL_NEAREST
public static final int
GL_LINEAR
public static final int
GL_NEAREST_MIPMAP_NEAREST
public static final int
GL_LINEAR_MIPMAP_NEAREST
public static final int
GL_NEAREST_MIPMAP_LINEAR
public static final int
GL_LINEAR_MIPMAP_LINEAR
public static final int
GL_TEXTURE_MAG_FILTER
public static final int
GL_TEXTURE_MIN_FILTER
public static final int
GL_TEXTURE_WRAP_S
public static final int
GL_TEXTURE_WRAP_T
public static final int
GL_TEXTURE
public static final int
GL_TEXTURE_CUBE_MAP
public static final int
GL_TEXTURE_BINDING_CUBE_MAP
public static final int
GL_TEXTURE_CUBE_MAP_POSITIVE_X
public static final int
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
public static final int
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
public static final int
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
public static final int
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
public static final int
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
public static final int
GL_MAX_CUBE_MAP_TEXTURE_SIZE
public static final int
GL_TEXTURE0
public static final int
GL_TEXTURE1
public static final int
GL_TEXTURE2
public static final int
GL_TEXTURE3
public static final int
GL_TEXTURE4
public static final int
GL_TEXTURE5
public static final int
GL_TEXTURE6
public static final int
GL_TEXTURE7
public static final int
GL_TEXTURE8
public static final int
GL_TEXTURE9
public static final int
GL_TEXTURE10
public static final int
GL_TEXTURE11
public static final int
GL_TEXTURE12
public static final int
GL_TEXTURE13
public static final int
GL_TEXTURE14
public static final int
GL_TEXTURE15
public static final int
GL_TEXTURE16
public static final int
GL_TEXTURE17
public static final int
GL_TEXTURE18
public static final int
GL_TEXTURE19
public static final int
GL_TEXTURE20
public static final int
GL_TEXTURE21
public static final int
GL_TEXTURE22
public static final int
GL_TEXTURE23
public static final int
GL_TEXTURE24
public static final int
GL_TEXTURE25
public static final int
GL_TEXTURE26
public static final int
GL_TEXTURE27
public static final int
GL_TEXTURE28
public static final int
GL_TEXTURE29
public static final int
GL_TEXTURE30
public static final int
GL_TEXTURE31
public static final int
GL_REPEAT
public static final int
GL_CLAMP_TO_EDGE
public static final int
GL_MIRRORED_REPEAT
public static final int
GL_FLOAT_VEC2
public static final int
GL_FLOAT_VEC3
public static final int
GL_FLOAT_VEC4
public static final int
GL_INT_VEC2
public static final int
GL_INT_VEC3
public static final int
GL_INT_VEC4
public static final int
GL_BOOL
public static final int
GL_BOOL_VEC2
public static final int
GL_BOOL_VEC3
public static final int
GL_BOOL_VEC4
public static final int
GL_FLOAT_MAT2
public static final int
GL_FLOAT_MAT3
public static final int
GL_FLOAT_MAT4
public static final int
GL_SAMPLER_2D
public static final int
GL_SAMPLER_CUBE
public static final int
GL_VERTEX_ATTRIB_ARRAY_ENABLED
public static final int
GL_VERTEX_ATTRIB_ARRAY_SIZE
public static final int
GL_VERTEX_ATTRIB_ARRAY_STRIDE
public static final int
GL_VERTEX_ATTRIB_ARRAY_TYPE
public static final int
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
public static final int
GL_VERTEX_ATTRIB_ARRAY_POINTER
public static final int
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
public static final int
GL_IMPLEMENTATION_COLOR_READ_TYPE
public static final int
GL_IMPLEMENTATION_COLOR_READ_FORMAT
public static final int
GL_COMPILE_STATUS
public static final int
GL_INFO_LOG_LENGTH
public static final int
GL_SHADER_SOURCE_LENGTH
public static final int
GL_SHADER_COMPILER
public static final int
GL_SHADER_BINARY_FORMATS
public static final int
GL_NUM_SHADER_BINARY_FORMATS
public static final int
GL_LOW_FLOAT
public static final int
GL_MEDIUM_FLOAT
public static final int
GL_HIGH_FLOAT
public static final int
GL_LOW_INT
public static final int
GL_MEDIUM_INT
public static final int
GL_HIGH_INT
public static final int
GL_FRAMEBUFFER
public static final int
GL_RENDERBUFFER
public static final int
GL_RGBA4
public static final int
GL_RGB5_A1
public static final int
GL_RGB565
public static final int
GL_DEPTH_COMPONENT16
public static final int
GL_STENCIL_INDEX
public static final int
GL_STENCIL_INDEX8
public static final int
GL_RENDERBUFFER_WIDTH
public static final int
GL_RENDERBUFFER_HEIGHT
public static final int
GL_RENDERBUFFER_INTERNAL_FORMAT
public static final int
GL_RENDERBUFFER_RED_SIZE
public static final int
GL_RENDERBUFFER_GREEN_SIZE
public static final int
GL_RENDERBUFFER_BLUE_SIZE
public static final int
GL_RENDERBUFFER_ALPHA_SIZE
public static final int
GL_RENDERBUFFER_DEPTH_SIZE
public static final int
GL_RENDERBUFFER_STENCIL_SIZE
public static final int
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
public static final int
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
public static final int
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
public static final int
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
public static final int
GL_COLOR_ATTACHMENT0
public static final int
GL_DEPTH_ATTACHMENT
public static final int
GL_STENCIL_ATTACHMENT
public static final int
GL_NONE
public static final int
GL_FRAMEBUFFER_COMPLETE
public static final int
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
public static final int
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
public static final int
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
public static final int
GL_FRAMEBUFFER_UNSUPPORTED
public static final int
GL_FRAMEBUFFER_BINDING
public static final int
GL_RENDERBUFFER_BINDING
public static final int
GL_MAX_RENDERBUFFER_SIZE
public static final int
GL_INVALID_FRAMEBUFFER_OPERATION
Constructors Summary
Methods Summary
private static native void_nativeClassInit()

public static native voidglActiveTexture(int texture)

public static native voidglAttachShader(int program, int shader)

public static native voidglBindAttribLocation(int program, int index, java.lang.String name)

public static native voidglBindBuffer(int target, int buffer)

public static native voidglBindFramebuffer(int target, int framebuffer)

public static native voidglBindRenderbuffer(int target, int renderbuffer)

public static native voidglBindTexture(int target, int texture)

public static native voidglBlendColor(float red, float green, float blue, float alpha)

public static native voidglBlendEquation(int mode)

public static native voidglBlendEquationSeparate(int modeRGB, int modeAlpha)

public static native voidglBlendFunc(int sfactor, int dfactor)

public static native voidglBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)

public static native voidglBufferData(int target, int size, java.nio.Buffer data, int usage)

public static native voidglBufferSubData(int target, int offset, int size, java.nio.Buffer data)

public static native intglCheckFramebufferStatus(int target)

public static native voidglClear(int mask)

public static native voidglClearColor(float red, float green, float blue, float alpha)

public static native voidglClearDepthf(float depth)

public static native voidglClearStencil(int s)

public static native voidglColorMask(boolean red, boolean green, boolean blue, boolean alpha)

public static native voidglCompileShader(int shader)

public static native voidglCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data)

public static native voidglCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data)

public static native voidglCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)

public static native voidglCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)

public static native intglCreateProgram()

public static native intglCreateShader(int type)

public static native voidglCullFace(int mode)

public static native voidglDeleteBuffers(int n, int[] buffers, int offset)

public static native voidglDeleteBuffers(int n, java.nio.IntBuffer buffers)

public static native voidglDeleteFramebuffers(int n, int[] framebuffers, int offset)

public static native voidglDeleteFramebuffers(int n, java.nio.IntBuffer framebuffers)

public static native voidglDeleteProgram(int program)

public static native voidglDeleteRenderbuffers(int n, int[] renderbuffers, int offset)

public static native voidglDeleteRenderbuffers(int n, java.nio.IntBuffer renderbuffers)

public static native voidglDeleteShader(int shader)

public static native voidglDeleteTextures(int n, int[] textures, int offset)

public static native voidglDeleteTextures(int n, java.nio.IntBuffer textures)

public static native voidglDepthFunc(int func)

public static native voidglDepthMask(boolean flag)

public static native voidglDepthRangef(float zNear, float zFar)

public static native voidglDetachShader(int program, int shader)

public static native voidglDisable(int cap)

public static native voidglDisableVertexAttribArray(int index)

public static native voidglDrawArrays(int mode, int first, int count)

public static native voidglDrawElements(int mode, int count, int type, int offset)

public static native voidglDrawElements(int mode, int count, int type, java.nio.Buffer indices)

public static native voidglEnable(int cap)

public static native voidglEnableVertexAttribArray(int index)

public static native voidglFinish()

public static native voidglFlush()

public static native voidglFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)

public static native voidglFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)

public static native voidglFrontFace(int mode)

public static native voidglGenBuffers(int n, int[] buffers, int offset)

public static native voidglGenBuffers(int n, java.nio.IntBuffer buffers)

public static native voidglGenFramebuffers(int n, int[] framebuffers, int offset)

public static native voidglGenFramebuffers(int n, java.nio.IntBuffer framebuffers)

public static native voidglGenRenderbuffers(int n, int[] renderbuffers, int offset)

public static native voidglGenRenderbuffers(int n, java.nio.IntBuffer renderbuffers)

public static native voidglGenTextures(int n, int[] textures, int offset)

public static native voidglGenTextures(int n, java.nio.IntBuffer textures)

public static native voidglGenerateMipmap(int target)

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

public static native voidglGetActiveAttrib(int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name)

hide
Method is broken, but used to be public (b/6006380)

public static native java.lang.StringglGetActiveAttrib(int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)

public static native java.lang.StringglGetActiveAttrib(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)

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

public static native voidglGetActiveUniform(int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name)

hide
Method is broken, but used to be public (b/6006380)

public static native java.lang.StringglGetActiveUniform(int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset)

public static native java.lang.StringglGetActiveUniform(int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type)

public static native voidglGetAttachedShaders(int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset)

public static native voidglGetAttachedShaders(int program, int maxcount, java.nio.IntBuffer count, java.nio.IntBuffer shaders)

public static native intglGetAttribLocation(int program, java.lang.String name)

public static native voidglGetBooleanv(int pname, boolean[] params, int offset)

public static native voidglGetBooleanv(int pname, java.nio.IntBuffer params)

public static native voidglGetBufferParameteriv(int target, int pname, int[] params, int offset)

public static native voidglGetBufferParameteriv(int target, int pname, java.nio.IntBuffer params)

public static native intglGetError()

public static native voidglGetFloatv(int pname, float[] params, int offset)

public static native voidglGetFloatv(int pname, java.nio.FloatBuffer params)

public static native voidglGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, int[] params, int offset)

public static native voidglGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, java.nio.IntBuffer params)

public static native voidglGetIntegerv(int pname, int[] params, int offset)

public static native voidglGetIntegerv(int pname, java.nio.IntBuffer params)

public static native java.lang.StringglGetProgramInfoLog(int program)

public static native voidglGetProgramiv(int program, int pname, int[] params, int offset)

public static native voidglGetProgramiv(int program, int pname, java.nio.IntBuffer params)

public static native voidglGetRenderbufferParameteriv(int target, int pname, int[] params, int offset)

public static native voidglGetRenderbufferParameteriv(int target, int pname, java.nio.IntBuffer params)

public static native java.lang.StringglGetShaderInfoLog(int shader)

public static native voidglGetShaderPrecisionFormat(int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset)

public static native voidglGetShaderPrecisionFormat(int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision)

public static native voidglGetShaderSource(int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset)

public static native voidglGetShaderSource(int shader, int bufsize, java.nio.IntBuffer length, byte source)

hide
Method is broken, but used to be public (b/6006380)

public static native java.lang.StringglGetShaderSource(int shader)

public static native voidglGetShaderiv(int shader, int pname, int[] params, int offset)

public static native voidglGetShaderiv(int shader, int pname, java.nio.IntBuffer params)

public static native java.lang.StringglGetString(int name)

public static native voidglGetTexParameterfv(int target, int pname, float[] params, int offset)

public static native voidglGetTexParameterfv(int target, int pname, java.nio.FloatBuffer params)

public static native voidglGetTexParameteriv(int target, int pname, int[] params, int offset)

public static native voidglGetTexParameteriv(int target, int pname, java.nio.IntBuffer params)

public static native intglGetUniformLocation(int program, java.lang.String name)

public static native voidglGetUniformfv(int program, int location, float[] params, int offset)

public static native voidglGetUniformfv(int program, int location, java.nio.FloatBuffer params)

public static native voidglGetUniformiv(int program, int location, int[] params, int offset)

public static native voidglGetUniformiv(int program, int location, java.nio.IntBuffer params)

public static native voidglGetVertexAttribfv(int index, int pname, float[] params, int offset)

public static native voidglGetVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)

public static native voidglGetVertexAttribiv(int index, int pname, int[] params, int offset)

public static native voidglGetVertexAttribiv(int index, int pname, java.nio.IntBuffer params)

public static native voidglHint(int target, int mode)

public static native booleanglIsBuffer(int buffer)

public static native booleanglIsEnabled(int cap)

public static native booleanglIsFramebuffer(int framebuffer)

public static native booleanglIsProgram(int program)

public static native booleanglIsRenderbuffer(int renderbuffer)

public static native booleanglIsShader(int shader)

public static native booleanglIsTexture(int texture)

public static native voidglLineWidth(float width)

public static native voidglLinkProgram(int program)

public static native voidglPixelStorei(int pname, int param)

public static native voidglPolygonOffset(float factor, float units)

public static native voidglReadPixels(int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels)

public static native voidglReleaseShaderCompiler()

public static native voidglRenderbufferStorage(int target, int internalformat, int width, int height)

public static native voidglSampleCoverage(float value, boolean invert)

public static native voidglScissor(int x, int y, int width, int height)

public static native voidglShaderBinary(int n, int[] shaders, int offset, int binaryformat, java.nio.Buffer binary, int length)

public static native voidglShaderBinary(int n, java.nio.IntBuffer shaders, int binaryformat, java.nio.Buffer binary, int length)

public static native voidglShaderSource(int shader, java.lang.String string)

public static native voidglStencilFunc(int func, int ref, int mask)

public static native voidglStencilFuncSeparate(int face, int func, int ref, int mask)

public static native voidglStencilMask(int mask)

public static native voidglStencilMaskSeparate(int face, int mask)

public static native voidglStencilOp(int fail, int zfail, int zpass)

public static native voidglStencilOpSeparate(int face, int fail, int zfail, int zpass)

public static native voidglTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels)

public static native voidglTexParameterf(int target, int pname, float param)

public static native voidglTexParameterfv(int target, int pname, float[] params, int offset)

public static native voidglTexParameterfv(int target, int pname, java.nio.FloatBuffer params)

public static native voidglTexParameteri(int target, int pname, int param)

public static native voidglTexParameteriv(int target, int pname, int[] params, int offset)

public static native voidglTexParameteriv(int target, int pname, java.nio.IntBuffer params)

public static native voidglTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels)

public static native voidglUniform1f(int location, float x)

public static native voidglUniform1fv(int location, int count, float[] v, int offset)

public static native voidglUniform1fv(int location, int count, java.nio.FloatBuffer v)

public static native voidglUniform1i(int location, int x)

public static native voidglUniform1iv(int location, int count, int[] v, int offset)

public static native voidglUniform1iv(int location, int count, java.nio.IntBuffer v)

public static native voidglUniform2f(int location, float x, float y)

public static native voidglUniform2fv(int location, int count, float[] v, int offset)

public static native voidglUniform2fv(int location, int count, java.nio.FloatBuffer v)

public static native voidglUniform2i(int location, int x, int y)

public static native voidglUniform2iv(int location, int count, int[] v, int offset)

public static native voidglUniform2iv(int location, int count, java.nio.IntBuffer v)

public static native voidglUniform3f(int location, float x, float y, float z)

public static native voidglUniform3fv(int location, int count, float[] v, int offset)

public static native voidglUniform3fv(int location, int count, java.nio.FloatBuffer v)

public static native voidglUniform3i(int location, int x, int y, int z)

public static native voidglUniform3iv(int location, int count, int[] v, int offset)

public static native voidglUniform3iv(int location, int count, java.nio.IntBuffer v)

public static native voidglUniform4f(int location, float x, float y, float z, float w)

public static native voidglUniform4fv(int location, int count, float[] v, int offset)

public static native voidglUniform4fv(int location, int count, java.nio.FloatBuffer v)

public static native voidglUniform4i(int location, int x, int y, int z, int w)

public static native voidglUniform4iv(int location, int count, int[] v, int offset)

public static native voidglUniform4iv(int location, int count, java.nio.IntBuffer v)

public static native voidglUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset)

public static native voidglUniformMatrix2fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset)

public static native voidglUniformMatrix3fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset)

public static native voidglUniformMatrix4fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)

public static native voidglUseProgram(int program)

public static native voidglValidateProgram(int program)

public static native voidglVertexAttrib1f(int indx, float x)

public static native voidglVertexAttrib1fv(int indx, float[] values, int offset)

public static native voidglVertexAttrib1fv(int indx, java.nio.FloatBuffer values)

public static native voidglVertexAttrib2f(int indx, float x, float y)

public static native voidglVertexAttrib2fv(int indx, float[] values, int offset)

public static native voidglVertexAttrib2fv(int indx, java.nio.FloatBuffer values)

public static native voidglVertexAttrib3f(int indx, float x, float y, float z)

public static native voidglVertexAttrib3fv(int indx, float[] values, int offset)

public static native voidglVertexAttrib3fv(int indx, java.nio.FloatBuffer values)

public static native voidglVertexAttrib4f(int indx, float x, float y, float z, float w)

public static native voidglVertexAttrib4fv(int indx, float[] values, int offset)

public static native voidglVertexAttrib4fv(int indx, java.nio.FloatBuffer values)

public static native voidglVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int offset)

public static voidglVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr)


        
     
        _nativeClassInit();
    
        glVertexAttribPointerBounds(
            indx,
            size,
            type,
            normalized,
            stride,
            ptr,
            ptr.remaining()
        );
    
private static native voidglVertexAttribPointerBounds(int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr, int remaining)

public static native voidglViewport(int x, int y, int width, int height)