Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/graph.h
| Show First 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | public: | ||||
| virtual bool has_surface_emission() { return false; } | virtual bool has_surface_emission() { return false; } | ||||
| virtual bool has_surface_transparent() { return false; } | virtual bool has_surface_transparent() { return false; } | ||||
| virtual bool has_surface_bssrdf() { return false; } | virtual bool has_surface_bssrdf() { return false; } | ||||
| virtual bool has_bssrdf_bump() { return false; } | virtual bool has_bssrdf_bump() { return false; } | ||||
| virtual bool has_spatial_varying() { return false; } | virtual bool has_spatial_varying() { return false; } | ||||
| virtual bool has_object_dependency() { return false; } | virtual bool has_object_dependency() { return false; } | ||||
| virtual bool has_integrator_dependency() { return false; } | virtual bool has_integrator_dependency() { return false; } | ||||
| virtual bool has_volume_support() { return false; } | |||||
| vector<ShaderInput*> inputs; | vector<ShaderInput*> inputs; | ||||
| vector<ShaderOutput*> outputs; | vector<ShaderOutput*> outputs; | ||||
| int id; /* index in graph node array */ | int id; /* index in graph node array */ | ||||
| ShaderBump bump; /* for bump mapping utility */ | ShaderBump bump; /* for bump mapping utility */ | ||||
| ShaderNodeSpecialType special_type; /* special node type */ | ShaderNodeSpecialType special_type; /* special node type */ | ||||
| ▲ Show 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | protected: | ||||
| void default_inputs(bool do_osl); | void default_inputs(bool do_osl); | ||||
| void transform_multi_closure(ShaderNode *node, ShaderOutput *weight_out, bool volume); | void transform_multi_closure(ShaderNode *node, ShaderOutput *weight_out, bool volume); | ||||
| /* Graph simplification routines. */ | /* Graph simplification routines. */ | ||||
| void clean(Scene *scene); | void clean(Scene *scene); | ||||
| void constant_fold(); | void constant_fold(); | ||||
| void simplify_settings(Scene *scene); | void simplify_settings(Scene *scene); | ||||
| void deduplicate_nodes(); | void deduplicate_nodes(); | ||||
| void verify_volume_output(); | |||||
| }; | }; | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __GRAPH_H__ */ | #endif /* __GRAPH_H__ */ | ||||