Skip to content

Lwjgl3Backend

final class Lwjgl3Backend
Extends: Backend
Package: dev.joid.backend.lwjgl3 · Module: backend-lwjgl3 · Source: Lwjgl3Backend.java
Backends: LWJGL 3

The backend for LWJGL 3, which draws with OpenGL into a GLFW window and plays sound with the OpenAL of LWJGL 3.

Create the window and make its context current, then register the backend; it attaches the GLFW input callbacks of the window itself.

ReturnsSignatureSummary
Lwjgl3Backendcreate(long window) factoryCreates the backend for the GLFW window of that handle.

PropertyTypeDefaultSummary
bindingIGlBindingLwjgl3GlBinding.inst()The OpenGL binding that the render bridge calls; set another one before register() to wrap or replace the OpenGL calls.
Inherited from Backend (3)

audio · dataDir · cacheDir

Inherited from Backend (4)

register · frame · getVersion · isRegistered

Lwjgl3Backend create(long window) factory

Creates the backend for the GLFW window of that handle.

  • this binding(IGlBinding binding) fluent

Default: Lwjgl3GlBinding.inst()

The OpenGL binding that the render bridge calls; set another one before register() to wrap or replace the OpenGL calls.


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