Skip to content

Build on JOID

This documentation is for backend authors. You run JOID on a graphics, window or audio stack that JOID does not ship, or inside an engine that owns the window and the loop.

It assumes that you know how to build an interface with JOID. If you do not, start with Use JOID: every notion of the user API (UIs, nodes, signals, effects) lives there, and the pages here link to it instead of teaching it again.

You want toRead
Understand how the modules depend on each otherArchitecture and layers
Know what JOID asks from a backend, bridge by bridgeThe bridges
Run JOID on your own engineWriting a backend, then Testing a backend
Forward the mouse and the keyboard of your windowInput forwarding
Draw JOID inside an engine that owns the window and the loopEmbedding in a host
Reuse the GLFW, OpenAL or OpenGL code of the official backendsBase modules
Know what reaches your render bridgeRender pipeline, Shader translation, Framebuffers and depth
Let Resource.of take the images and textures of your engineResource resolvers
See how an official backend is put togetherLWJGL 3, Vulkan, LWJGL 2
See every feature of JOID running on a backendDemos

The reference lists every public type of JOID, member by member, the bridges and the testkit included.

  • JDK 8: JOID compiles to Java 8 bytecode, and the Gradle 3.5 wrapper of the backend template runs on it.
  • The JOID jars of the release you target, listed in the libs/README.md of the template.
  • The library of your engine, and a machine where it can open a hidden surface, because the tests render real frames.

Report a problem with this page