diff options
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r-- | intern/cycles/render/nodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index 8d3e2a58200..40fda070ec4 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -49,12 +49,15 @@ public: enum Type { POINT = 0, TEXTURE = 1, VECTOR = 2, NORMAL = 3 }; Type type; + static ShaderEnum type_enum; enum Mapping { NONE = 0, X = 1, Y = 2, Z = 3 }; Mapping x_mapping, y_mapping, z_mapping; + static ShaderEnum mapping_enum; enum Projection { FLAT, CUBE, TUBE, SPHERE }; Projection projection; + static ShaderEnum projection_enum; bool equals(const TextureMapping& other) { return translation == other.translation && |