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.
Description
Section titled “Description”Create the window and make its context current, then register the backend; it attaches the GLFW input callbacks of the window itself.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
Lwjgl3Backend | create(long window) factory | Creates the backend for the GLFW window of that handle. |
Properties
Section titled “Properties”| Property | Type | Default | Summary |
|---|---|---|---|
| binding | IGlBinding | Lwjgl3GlBinding.inst() | The OpenGL binding that the render bridge calls; set another one before register() to wrap or replace the OpenGL calls. |
Methods
Section titled “Methods”Inherited from Backend (4)
register · frame · getVersion · isRegistered
Creation details
Section titled “Creation details”create
Section titled “create”Lwjgl3Backend create(long window) factory
Creates the backend for the GLFW window of that handle.
Property details
Section titled “Property details”binding
Section titled “binding”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
