Class Renderer

  • All Implemented Interfaces:
    android.opengl.GLSurfaceView.Renderer

    public class Renderer
    extends java.lang.Object
    implements android.opengl.GLSurfaceView.Renderer
    Default Myna Renderer.
    • Constructor Summary

      Constructors 
      Constructor Description
      Renderer​(Myna myna)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCounter()  
      int getHeight()  
      int getWidth()  
      void onDrawFrame​(javax.microedition.khronos.opengles.GL10 gl10)  
      void onSurfaceChanged​(javax.microedition.khronos.opengles.GL10 gl10, int width, int height)  
      void onSurfaceCreated​(javax.microedition.khronos.opengles.GL10 gl10, javax.microedition.khronos.egl.EGLConfig eglConfig)  
      • Methods inherited from class java.lang.Object

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

      • Renderer

        public Renderer​(Myna myna)
    • Method Detail

      • onSurfaceCreated

        public void onSurfaceCreated​(javax.microedition.khronos.opengles.GL10 gl10,
                                     javax.microedition.khronos.egl.EGLConfig eglConfig)
        Specified by:
        onSurfaceCreated in interface android.opengl.GLSurfaceView.Renderer
      • onSurfaceChanged

        public void onSurfaceChanged​(javax.microedition.khronos.opengles.GL10 gl10,
                                     int width,
                                     int height)
        Specified by:
        onSurfaceChanged in interface android.opengl.GLSurfaceView.Renderer
      • onDrawFrame

        public void onDrawFrame​(javax.microedition.khronos.opengles.GL10 gl10)
        Specified by:
        onDrawFrame in interface android.opengl.GLSurfaceView.Renderer
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getCounter

        public int getCounter()