LWJGL Hidden Switches

From LWJGL
Jump to: navigation, search

Contents

Hidden Switches

Set these by either passing -Dkey=value as a Java VM option or by calling System.setProperty("key","value"); in your code (in most likely a static block).


org.lwjgl.librarypath=<full path to native directory>

  • Set the path to look for the native libraries in. Example:
  • System.setProperty("org.lwjgl.librarypath",System.getProperty("user.dir") + File.separator + "native" + File.separator + "os");


org.lwjgl.opengl.Display.noinput=<true|false>

  • Do not initialize any controls when creating the display


org.lwjgl.opengl.Display.nomouse=<true|false>

  • Do not create the mouse when creating the display


org.lwjgl.opengl.Display.nokeyboard=<true|false>

  • Do not create the keyboard when creating the display


org.lwjgl.util.Debug=<true|false>

  • Whether to output debug info


org.lwjgl.util.NoChecks=<true|false>

  • Whether to disable runtime function/buffer checks and state tracking.


org.lwjgl.opengl.Display.allowSoftwareOpenGL=<true|false>

  • Whether to allow creation of a software only opengl context


org.lwjgl.opengl.Window.undecorated=<true|false>

  • Whether to create an undecorated window (no title bar)


org.lwjgl.input.Mouse.allowNegativeMouseCoords=<true|false>

  • Usually mouse is clamped to 0,0 - setting this to true will cause you to get negative values if dragging outside and below or left of window
Personal tools
Namespaces

Variants
Actions
Navigation
Tools