Class EngineInstance


  • public class EngineInstance
    extends java.lang.Object
    Store a single Filament Engine instance.
    • Constructor Detail

      • EngineInstance

        public EngineInstance()
    • Method Detail

      • enableHeadlessEngine

        public static void enableHeadlessEngine()
      • disableHeadlessEngine

        public static void disableHeadlessEngine()
      • isHeadlessMode

        public static boolean isHeadlessMode()
      • getEngine

        public static IEngine getEngine()
        Get the Filament Engine instance, creating it if necessary.
        Throws:
        java.lang.IllegalStateException
      • destroyEngine

        public static void destroyEngine()
      • isEngineDestroyed

        public static boolean isEngineDestroyed()