Class AndroidConfigChooser

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

    public class AndroidConfigChooser
    extends java.lang.Object
    implements android.opengl.GLSurfaceView.EGLConfigChooser
    AndroidConfigChooser is used to determine the best suited EGL Config
    Author:
    iwgeric
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.jme3.system.AppSettings settings  
    • Constructor Summary

      Constructors 
      Constructor Description
      AndroidConfigChooser​(com.jme3.system.AppSettings settings)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.microedition.khronos.egl.EGLConfig chooseConfig​(javax.microedition.khronos.egl.EGL10 egl, javax.microedition.khronos.egl.EGLDisplay display)
      Gets called by the GLSurfaceView class to return the best config
      • Methods inherited from class java.lang.Object

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

      • settings

        protected com.jme3.system.AppSettings settings
    • Constructor Detail

      • AndroidConfigChooser

        public AndroidConfigChooser​(com.jme3.system.AppSettings settings)
    • Method Detail

      • chooseConfig

        public javax.microedition.khronos.egl.EGLConfig chooseConfig​(javax.microedition.khronos.egl.EGL10 egl,
                                                                     javax.microedition.khronos.egl.EGLDisplay display)
        Gets called by the GLSurfaceView class to return the best config
        Specified by:
        chooseConfig in interface android.opengl.GLSurfaceView.EGLConfigChooser