|
@@ -70,6 +70,19 @@ public final class AppSettings extends HashMap<String, Object> {
|
|
|
*/
|
|
|
public static final String LWJGL_OPENGL2 = "LWJGL-OpenGL2";
|
|
|
|
|
|
+ /**
|
|
|
+ * Use LWJGL as the display system and force using the core OpenGL3.0 renderer.
|
|
|
+ * <p>
|
|
|
+ * If the underlying system does not support OpenGL3.0, then the context
|
|
|
+ * initialization will throw an exception. Note that currently jMonkeyEngine
|
|
|
+ * does not have any shaders that support OpenGL3.0 therefore this
|
|
|
+ * option is not useful.
|
|
|
+ * <p>
|
|
|
+ *
|
|
|
+ * @see AppSettings#setRenderer(java.lang.String)
|
|
|
+ */
|
|
|
+ public static final String LWJGL_OPENGL30 = "LWJGL-OpenGL30";
|
|
|
+
|
|
|
/**
|
|
|
* Use LWJGL as the display system and force using the core OpenGL3.2 renderer.
|
|
|
* <p>
|
|
@@ -80,10 +93,26 @@ public final class AppSettings extends HashMap<String, Object> {
|
|
|
* <p>
|
|
|
* Note: OpenGL 3.2 is used to give 3.x support to Mac users.
|
|
|
*
|
|
|
+ * @deprecated Previously meant 3.2, use LWJGL_OPENGL32 or LWJGL_OPENGL30
|
|
|
* @see AppSettings#setRenderer(java.lang.String)
|
|
|
*/
|
|
|
+ @Deprecated
|
|
|
public static final String LWJGL_OPENGL3 = "LWJGL-OpenGL3";
|
|
|
|
|
|
+ /**
|
|
|
+ * Use LWJGL as the display system and force using the core OpenGL3.2 renderer.
|
|
|
+ * <p>
|
|
|
+ * If the underlying system does not support OpenGL3.2, then the context
|
|
|
+ * initialization will throw an exception. Note that currently jMonkeyEngine
|
|
|
+ * does not have any shaders that support OpenGL3.2 therefore this
|
|
|
+ * option is not useful.
|
|
|
+ * <p>
|
|
|
+ * Note: OpenGL 3.2 is used to give 3.x support to Mac users.
|
|
|
+ *
|
|
|
+ * @see AppSettings#setRenderer(java.lang.String)
|
|
|
+ */
|
|
|
+ public static final String LWJGL_OPENGL32 = LWJGL_OPENGL3;
|
|
|
+
|
|
|
/**
|
|
|
* Use LWJGL as the display system and force using the OpenGL3.3 renderer.
|
|
|
* <p>
|
|
@@ -100,10 +129,22 @@ public final class AppSettings extends HashMap<String, Object> {
|
|
|
* If the underlying system does not support OpenGL4.0, then the context
|
|
|
* initialization will throw an exception.
|
|
|
*
|
|
|
+ * @deprecated Use LWJGL_OPENGL40
|
|
|
* @see AppSettings#setRenderer(java.lang.String)
|
|
|
*/
|
|
|
+ @Deprecated
|
|
|
public static final String LWJGL_OPENGL4 = "LWJGL-OpenGL4";
|
|
|
|
|
|
+ /**
|
|
|
+ * Use LWJGL as the display system and force using the OpenGL4.0 renderer.
|
|
|
+ * <p>
|
|
|
+ * If the underlying system does not support OpenGL4.0, then the context
|
|
|
+ * initialization will throw an exception.
|
|
|
+ *
|
|
|
+ * @see AppSettings#setRenderer(java.lang.String)
|
|
|
+ */
|
|
|
+ public static final String LWJGL_OPENGL40 = LWJGL_OPENGL4;
|
|
|
+
|
|
|
/**
|
|
|
* Use LWJGL as the display system and force using the OpenGL4.1 renderer.
|
|
|
* <p>
|