Skip to content

Lwjgl2Backend

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

The backend for LWJGL 2, which draws with OpenGL into the Display and plays sound with the OpenAL of LWJGL 2.

Call Lwjgl2Natives.install before the Display exists, register the backend once it exists, and call Lwjgl2InputForwarder.poll at the start of every frame: LWJGL 2 pushes no input events.

ReturnsSignatureSummary
Lwjgl2Backendcreate() factoryCreates the backend for the Display of LWJGL 2.

Inherited from Backend (3)

audio · dataDir · cacheDir

Inherited from Backend (4)

register · frame · getVersion · isRegistered

Lwjgl2Backend create() factory

Creates the backend for the Display of LWJGL 2.


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