Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/nodes.h
| Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | public: | ||||
| bool has_spatial_varying() { return true; } | bool has_spatial_varying() { return true; } | ||||
| void compile(SVMCompiler& compiler, ShaderInput *param1, ShaderInput *param2, ShaderInput *param3 = NULL, ShaderInput *param4 = NULL); | void compile(SVMCompiler& compiler, ShaderInput *param1, ShaderInput *param2, ShaderInput *param3 = NULL, ShaderInput *param4 = NULL); | ||||
| ClosureType closure; | ClosureType closure; | ||||
| bool scattering; | bool scattering; | ||||
| }; | }; | ||||
| class WardBsdfNode : public BsdfNode { | class AnisotropicBsdfNode : public BsdfNode { | ||||
| public: | public: | ||||
| SHADER_NODE_CLASS(WardBsdfNode) | SHADER_NODE_CLASS(AnisotropicBsdfNode) | ||||
| ustring distribution; | |||||
| static ShaderEnum distribution_enum; | |||||
| void attributes(Shader *shader, AttributeRequestSet *attributes); | void attributes(Shader *shader, AttributeRequestSet *attributes); | ||||
| }; | }; | ||||
| class DiffuseBsdfNode : public BsdfNode { | class DiffuseBsdfNode : public BsdfNode { | ||||
| public: | public: | ||||
| SHADER_NODE_CLASS(DiffuseBsdfNode) | SHADER_NODE_CLASS(DiffuseBsdfNode) | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 410 Lines • Show Last 20 Lines | |||||