Skip to main content

FlixelGraalFeature

View source

class

org.flixelgdx.backend.lwjgl3.graal.FlixelGraalFeature

public class FlixelGraalFeature implements Feature

GraalVM native image Feature that registers all JNI entries for FlixelGDX's built-in native libraries: imgui-java and gdx-miniaudio.

Activated automatically when the framework JAR is on the native-image classpath, via META-INF/native-image/org.flixelgdx/native-image.properties. Game projects do not need to configure anything.

If you add a third-party library that also uses JNI or reflection, run the tracing agent to capture configuration for those additional registrations. See your project README for the generateNativeConfig task instructions.

Versioning note: This class registers against imgui-java 1.90.x and gdx-miniaudio 0.7. If the framework upgrades either dependency, the registration lists here must be re-validated with the tracing agent.

Constructors

FlixelGraalFeature()

public FlixelGraalFeature()

Methods

beforeAnalysis(BeforeAnalysisAccess)

public void beforeAnalysis(BeforeAnalysisAccess access)