Skip to content

Lwjgl2Natives

final class Lwjgl2Natives
Package: dev.joid.backend.lwjgl2 · Module: backend-lwjgl2 · Source: Lwjgl2Natives.java
Backends: LWJGL 2

Extracts the native libraries of LWJGL 2 and OpenAL into the cache folder, unless the application already provides them.

ReturnsSignatureSummary
voidinstall() staticExtracts the natives of the current system into the lwjgl area of the cache folder, once per run, and points org.lwjgl.librarypath at them.

void install() static

Throws:

  • IllegalStateException: The LWJGL 2 native … is missing from the backend
  • IllegalStateException: Unable to extract the LWJGL 2 natives into …, check that the cache folder can be written

Extracts the natives of the current system into the lwjgl area of the cache folder, once per run, and points org.lwjgl.librarypath at them. Does nothing when org.lwjgl.librarypath is set or when java.library.path already holds every library. Call it before the Display exists; throws an IllegalStateException when the cache folder cannot be written.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page