@@ -6,8 +6,7 @@ import h3d.Vector4;
typedef ColorStop = {position : Float, color : Int};
-@:enum
-abstract GradientInterpolation(String) from String to String {
+enum abstract GradientInterpolation(String) from String to String {
var Linear;
var Cubic;
var Constant;
@@ -2,8 +2,7 @@ package hrt.impl;
import hrt.impl.Gradient;
-abstract TextureType(String) from String to String {
+enum abstract TextureType(String) from String to String {
var gradient;
var path; // Not used as a type inside the json (the playload is a string), default value
}