Skip to content

Migrate from LWJGL 3

squid233 edited this page Feb 1, 2024 · 4 revisions

Why OverrunGL

OverrunGL uses the FFM API and developers are safe to play with the memory. You can also use a larger memory space.

Migrating

This page introduced how to migrate to OverrunGL.

Supported Bindings

Before migrating, you should make sure that you only used the supported bindings for OverrunGL.

If you are interested in adding your own binding, you can fork this repository and ask for help.

JDK Requirements

OverrunGL requires at least JDK 22 (current), and you need to enable the preview features.

Moving Dependencies

Use the customizer and select the modules you need.

Moving Usages

There are some major changes of invoking native functions. Please check the Basic page.