Class ShadowGLES20


  • @Implements(android.opengl.GLES20.class)
    public class ShadowGLES20
    extends java.lang.Object
    Fake implementation of GLES20
    • Constructor Summary

      Constructors 
      Constructor Description
      ShadowGLES20()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static int glCheckFramebufferStatus​(int target)
      Always returns GLES20.GL_FRAMEBUFFER_COMPLETE.
      protected static int glCreateProgram()  
      protected static int glCreateShader​(int type)  
      protected static void glGenFramebuffers​(int n, int[] framebuffers, int offset)  
      protected static void glGenTextures​(int n, int[] textures, int offset)  
      protected static void glGetProgramiv​(int program, int pname, int[] params, int offset)  
      protected static void glGetShaderiv​(int shader, int pname, int[] params, int offset)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowGLES20

        public ShadowGLES20()
    • Method Detail

      • glGenFramebuffers

        @Implementation
        protected static void glGenFramebuffers​(int n,
                                                int[] framebuffers,
                                                int offset)
      • glGenTextures

        @Implementation
        protected static void glGenTextures​(int n,
                                            int[] textures,
                                            int offset)
      • glCreateShader

        @Implementation
        protected static int glCreateShader​(int type)
      • glCreateProgram

        @Implementation
        protected static int glCreateProgram()
      • glGetShaderiv

        @Implementation
        protected static void glGetShaderiv​(int shader,
                                            int pname,
                                            int[] params,
                                            int offset)
      • glGetProgramiv

        @Implementation
        protected static void glGetProgramiv​(int program,
                                             int pname,
                                             int[] params,
                                             int offset)
      • glCheckFramebufferStatus

        @Implementation
        protected static int glCheckFramebufferStatus​(int target)
        Always returns GLES20.GL_FRAMEBUFFER_COMPLETE.