Explorar el Código

Added TesselationEvaluation and TesselationControl enums

michael hace 10 años
padre
commit
a1146f7676
Se han modificado 1 ficheros con 9 adiciones y 1 borrados
  1. 9 1
      jme3-core/src/main/java/com/jme3/shader/Shader.java

+ 9 - 1
jme3-core/src/main/java/com/jme3/shader/Shader.java

@@ -74,7 +74,15 @@ public final class Shader extends NativeObject {
         /**
          * Control geometry assembly. (e.g compile a triangle list from input data)
          */
-        Geometry;
+        Geometry,
+        /**
+         * Controls tesselation factor (e.g how often a input patch should be subdivided)
+         */
+        TesselationControl,
+        /**
+         * Controls tesselation transform (e.g similar to the vertex shader, but required to mix inputs manual)
+         */
+        TesselationEvaluation;
     }
 
     /**