Package com.jme3.system
Enum Class NativeLibraries
- All Implemented Interfaces:
Serializable
,Comparable<NativeLibraries>
,Constable
Defines default native libraries that are loaded by
NativeLibraryLoader
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A helper class that defines a native library by name, list of its native variants for target platforms and a load function used to load library from an absolute path after extracted byNativeLibraryLoader
.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNative bullet physics libraries required by Minie library.Native JInput joystick libraries required by jme3-lwjgl backend.Native JInput DirectX 8 auxiliary libraries required by jme3-lwjgl backend.Native lwjgl libraries for LWJGL 2 required by jme3-lwjgl backend.Native OpenAL audio libraries for LWJGL 2 required by jme3-lwjgl backend. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static void
Register native libraries onNativeLibraryLoader
so we can load them later on viaNativeLibraryLoader.loadNativeLibrary(String, boolean)
.static NativeLibraries
Returns the enum constant of this class with the specified name.static NativeLibraries[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Lwjgl
Native lwjgl libraries for LWJGL 2 required by jme3-lwjgl backend. -
OpenAL
Native OpenAL audio libraries for LWJGL 2 required by jme3-lwjgl backend. -
BulletJme
Native bullet physics libraries required by Minie library. -
JInput
Native JInput joystick libraries required by jme3-lwjgl backend. -
JInputDX8
Native JInput DirectX 8 auxiliary libraries required by jme3-lwjgl backend. (only required on Windows)
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
registerDefaultLibraries
public static void registerDefaultLibraries()Register native libraries onNativeLibraryLoader
so we can load them later on viaNativeLibraryLoader.loadNativeLibrary(String, boolean)
. -
getLibrary
-
getName
- Returns:
- the library name. This is effectively equivalent to the
call
NativeLibraries.LibraryInfo.getName()
-