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