Code refactor: add generic Cycles node infrastructure.

Differential Revision: https://developer.blender.org/D2016
This commit is contained in:
Brecht Van Lommel
2016-05-07 19:47:37 +02:00
parent 841d008b98
commit ec51175f1f
20 changed files with 1000 additions and 18 deletions

View File

@@ -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);