Enum Class ApplicationMode

java.lang.Object
java.lang.Enum<ApplicationMode>
dev.prozilla.pine.core.ApplicationMode
All Implemented Interfaces:
Serializable, Comparable<ApplicationMode>, Constable

public enum ApplicationMode extends Enum<ApplicationMode>
  • Enum Constant Details

    • STANDALONE

      public static final ApplicationMode STANDALONE
      A standalone application renders inside its own window.
    • EMBEDDED

      public static final ApplicationMode EMBEDDED
      An embedded application is rendered inside a frame buffer in another application.
    • HEADLESS

      public static final ApplicationMode HEADLESS
      A headless application does not render anywhere.
  • Field Details

    • usesOpenGL

      public final boolean usesOpenGL
    • renders

      public final boolean renders
  • Method Details

    • values

      public static ApplicationMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ApplicationMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • createWindow

      public Window createWindow(Application application)
    • createTimer

      public Timer createTimer()
    • createRenderer

      public Renderer createRenderer(Application application)
    • createAudioDevice

      public AudioDevice createAudioDevice(Application application)
    • createInput

      public Input createInput(Application application)