Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-07 20:48:28 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-06-11 21:32:24 +0300
commit42aec3b355b7692f60369c0d5333f54b029bfcad (patch)
treee849e60af432a102280f9192204ffa9092582430 /intern/cycles/render/osl.h
parent4df6474f01ce6c0db57538f737baead2936e2496 (diff)
Cycles: nodify shader nodes
Differential Revision: https://developer.blender.org/D2038
Diffstat (limited to 'intern/cycles/render/osl.h')
-rw-r--r--intern/cycles/render/osl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/osl.h b/intern/cycles/render/osl.h
index 13b9d6307f9..b131b672b8c 100644
--- a/intern/cycles/render/osl.h
+++ b/intern/cycles/render/osl.h
@@ -125,6 +125,8 @@ public:
void add(ShaderNode *node, const char *name, bool isfilepath = false);
+ void parameter(ShaderNode *node, const char *name);
+
void parameter(const char *name, float f);
void parameter_color(const char *name, float3 f);
void parameter_vector(const char *name, float3 f);