Class AndroidConfigChooser

java.lang.Object
com.jme3.system.android.AndroidConfigChooser
All Implemented Interfaces:
android.opengl.GLSurfaceView.EGLConfigChooser

public class AndroidConfigChooser extends 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
     
  • Constructor Summary

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

    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 Details

    • settings

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

    • AndroidConfigChooser

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

    • 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