Skip to content

2.4. Configuration

Ioannis Tsakpinis edited this page Dec 11, 2016 · 4 revisions

LWJGL supports several options that can be used for customization, troubleshooting or performance tuning.

Some options can be changed at will and some are static. This means that their values will be set to static final constants and cannot be changed after their first use, unless a new JVM is launched. Such options are usually critical for performance.

Options can be set by passing properties to the JVM executable (with the -Doption=value syntax) or programmatically with System.setProperty or the org.lwjgl.system.Configuration class.

Supported options are documented in the Configuration class.