Forráskód Böngészése

*Added Caps:
GL3.3
GL4.0
GLSL400
TesselationShader

michael 10 éve
szülő
commit
e45d5c093d
1 módosított fájl, 16 hozzáadás és 4 törlés
  1. 16 4
      jme3-core/src/main/java/com/jme3/renderer/Caps.java

+ 16 - 4
jme3-core/src/main/java/com/jme3/renderer/Caps.java

@@ -120,7 +120,14 @@ public enum Caps {
      * Supports OpenGL 3.2
      */
     OpenGL32,
-
+    /**
+     * Supports OpenGL 3.3
+     */
+    OpenGL33,
+    /**
+     * Supports OpenGL 4.0
+     */
+    OpenGL40,
     /**
      * Do not use.
      * 
@@ -163,7 +170,10 @@ public enum Caps {
      * Supports GLSL 3.3
      */
     GLSL330,
-
+    /**
+     * Supports GLSL 4.0
+     */
+    GLSL400,
     /**
      * Supports reading from textures inside the vertex shader.
      */
@@ -173,7 +183,10 @@ public enum Caps {
      * Supports geometry shader.
      */
     GeometryShader,
-
+    /**
+     * Supports Tesselation shader
+     */
+    TesselationShader,
     /**
      * Supports texture arrays
      */
@@ -302,7 +315,6 @@ public enum Caps {
      * Supports 32-bit index buffers.
      */
     IntegerIndexBuffer,
-    
     /**
      * Partial support for non-power-of-2 textures, typically found
      * on OpenGL ES 2 devices.