diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-07 20:47:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-22 18:29:24 +0300 |
commit | ec51175f1fd6c91d53b0d24daccfd5cc9bddf59d (patch) | |
tree | 1ad5b06b2318998cc4f03d78a8e7b1ce38e7cbf3 /intern/cycles/render/svm.h | |
parent | 841d008b98de5d0fa106ff3fa4731be63fc29f9a (diff) |
Code refactor: add generic Cycles node infrastructure.
Differential Revision: https://developer.blender.org/D2016
Diffstat (limited to 'intern/cycles/render/svm.h')
-rw-r--r-- | intern/cycles/render/svm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/render/svm.h b/intern/cycles/render/svm.h index c85c866ddbd..dbf1b1de947 100644 --- a/intern/cycles/render/svm.h +++ b/intern/cycles/render/svm.h @@ -103,9 +103,9 @@ public: void stack_clear_offset(ShaderSocketType type, int offset); void stack_link(ShaderInput *input, ShaderOutput *output); - void add_node(NodeType type, int a = 0, int b = 0, int c = 0); + void add_node(ShaderNodeType type, int a = 0, int b = 0, int c = 0); void add_node(int a = 0, int b = 0, int c = 0, int d = 0); - void add_node(NodeType type, const float3& f); + void add_node(ShaderNodeType type, const float3& f); void add_node(const float4& f); uint attribute(ustring name); uint attribute(AttributeStandard std); |