Class IosApplicationLauncher

java.lang.Object
com.jme3.app.IosApplicationLauncher

public abstract class IosApplicationLauncher extends Object
Base iOS launcher for jME Extend this class and implement createApplication() to return the jME application to run.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.jme3.app.Application
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Creates the application early enough to configure the native iOS window and default framebuffer before libJGLIOS initializes graphics.
    protected void
    configureDefaultFramebuffer(int redBits, int greenBits, int blueBits, int alphaBits, int depthBits, int stencilBits, int samples)
     
    protected void
    configureWindow(boolean highPixelDensity)
     
    protected abstract com.jme3.app.Application
    Creates the jME application hosted by this launcher.
    void
    resize(int width, int height)
     
    void
     
    protected void
    startApplication(com.jme3.app.Application application)
     
    void
    stop(boolean waitFor)
     
    void
     

    Methods inherited from class Object

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

    • app

      protected com.jme3.app.Application app
  • Constructor Details

    • IosApplicationLauncher

      public IosApplicationLauncher()
  • Method Details

    • configure

      public void configure() throws Exception
      Creates the application early enough to configure the native iOS window and default framebuffer before libJGLIOS initializes graphics.
      Throws:
      Exception - if the application or native configuration fails
    • start

      public void start()
    • configureWindow

      protected void configureWindow(boolean highPixelDensity)
    • configureDefaultFramebuffer

      protected void configureDefaultFramebuffer(int redBits, int greenBits, int blueBits, int alphaBits, int depthBits, int stencilBits, int samples)
    • startApplication

      protected void startApplication(com.jme3.app.Application application) throws Exception
      Throws:
      Exception
    • createApplication

      protected abstract com.jme3.app.Application createApplication() throws Exception
      Creates the jME application hosted by this launcher.
      Returns:
      the application instance
      Throws:
      Exception - if the application cannot be created
    • update

      public void update()
    • resize

      public void resize(int width, int height)
    • stop

      public void stop(boolean waitFor)