Răsfoiți Sursa

Added TesselationEvaluation and TesselationControl enums

michael 10 ani în urmă
părinte
comite
a1146f7676
1 a modificat fișierele cu 9 adăugiri și 1 ștergeri
  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;
     }
 
     /**