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:
Diffstat (limited to 'intern/cycles/render/shader.h')
-rw-r--r--intern/cycles/render/shader.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/intern/cycles/render/shader.h b/intern/cycles/render/shader.h
index de19048d8e1..897b0984a7e 100644
--- a/intern/cycles/render/shader.h
+++ b/intern/cycles/render/shader.h
@@ -81,25 +81,22 @@ class Shader : public Node {
public:
NODE_DECLARE
+ int pass_id;
+
/* shader graph */
ShaderGraph *graph;
- NODE_SOCKET_API(int, pass_id)
-
/* sampling */
- NODE_SOCKET_API(bool, use_mis)
- NODE_SOCKET_API(bool, use_transparent_shadow)
- NODE_SOCKET_API(bool, heterogeneous_volume)
- NODE_SOCKET_API(VolumeSampling, volume_sampling_method)
- NODE_SOCKET_API(int, volume_interpolation_method)
- NODE_SOCKET_API(float, volume_step_rate)
-
- /* displacement */
- NODE_SOCKET_API(DisplacementMethod, displacement_method)
-
+ bool use_mis;
+ bool use_transparent_shadow;
+ bool heterogeneous_volume;
+ VolumeSampling volume_sampling_method;
+ int volume_interpolation_method;
+ float volume_step_rate;
float prev_volume_step_rate;
/* synchronization */
+ bool need_update;
bool need_update_geometry;
/* If the shader has only volume components, the surface is assumed to
@@ -125,6 +122,9 @@ class Shader : public Node {
bool has_volume_attribute_dependency;
bool has_integrator_dependency;
+ /* displacement */
+ DisplacementMethod displacement_method;
+
/* requested mesh attributes */
AttributeRequestSet attributes;