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.
Where to start
Section titled “Where to start”| You want to | Read |
|---|---|
| Understand how the modules depend on each other | Architecture and layers |
| Know what JOID asks from a backend, bridge by bridge | The bridges |
| Run JOID on your own engine | Writing a backend, then Testing a backend |
| Forward the mouse and the keyboard of your window | Input forwarding |
| Draw JOID inside an engine that owns the window and the loop | Embedding in a host |
| Reuse the GLFW, OpenAL or OpenGL code of the official backends | Base modules |
| Know what reaches your render bridge | Render pipeline, Shader translation, Framebuffers and depth |
Let Resource.of take the images and textures of your engine | Resource resolvers |
| See how an official backend is put together | LWJGL 3, Vulkan, LWJGL 2 |
| See every feature of JOID running on a backend | Demos |
The reference lists every public type of JOID, member by member, the bridges and the testkit included.
What you need
Section titled “What you need”- 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.mdof the template. - The library of your engine, and a machine where it can open a hidden surface, because the tests render real frames.
