Enum Class NativeLibraries

java.lang.Object
java.lang.Enum<NativeLibraries>
com.jme3.system.NativeLibraries
All Implemented Interfaces:
Serializable, Comparable<NativeLibraries>, Constable

public enum NativeLibraries extends Enum<NativeLibraries>
Defines default native libraries that are loaded by NativeLibraryLoader.
  • Enum Constant Details

    • Lwjgl

      public static final NativeLibraries Lwjgl
      Native lwjgl libraries for LWJGL 2 required by jme3-lwjgl backend.
    • OpenAL

      public static final NativeLibraries OpenAL
      Native OpenAL audio libraries for LWJGL 2 required by jme3-lwjgl backend.
    • BulletJme

      public static final NativeLibraries BulletJme
      Native bullet physics libraries required by Minie library.
    • JInput

      public static final NativeLibraries JInput
      Native JInput joystick libraries required by jme3-lwjgl backend.
    • JInputDX8

      public static final NativeLibraries JInputDX8
      Native JInput DirectX 8 auxiliary libraries required by jme3-lwjgl backend. (only required on Windows)
  • Method Details

    • values

      public static NativeLibraries[] 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 NativeLibraries 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
    • registerDefaultLibraries

      public static void registerDefaultLibraries()
      Register native libraries on NativeLibraryLoader so we can load them later on via NativeLibraryLoader.loadNativeLibrary(String, boolean).
    • getLibrary

      public NativeLibraries.LibraryInfo getLibrary()
    • getName

      public String getName()
      Returns:
      the library name. This is effectively equivalent to the call NativeLibraries.LibraryInfo.getName()