소스 검색

Added TesselationEvaluation and TesselationControl enums

michael 10 년 전
부모
커밋
a1146f7676
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }
 
     /**