Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/nodes.h
| Show First 20 Lines • Show All 215 Lines • ▼ Show 20 Lines | public: | ||||
| NODE_SOCKET_API(ustring, name) | NODE_SOCKET_API(ustring, name) | ||||
| /* Don't allow output node de-duplication. */ | /* Don't allow output node de-duplication. */ | ||||
| virtual bool equals(const ShaderNode & /*other*/) | virtual bool equals(const ShaderNode & /*other*/) | ||||
| { | { | ||||
| return false; | return false; | ||||
| } | } | ||||
| int slot; | int offset; | ||||
| bool is_color; | bool is_color; | ||||
| }; | }; | ||||
| class GradientTextureNode : public TextureNode { | class GradientTextureNode : public TextureNode { | ||||
| public: | public: | ||||
| SHADER_NODE_CLASS(GradientTextureNode) | SHADER_NODE_CLASS(GradientTextureNode) | ||||
| NODE_SOCKET_API(NodeGradientType, gradient_type) | NODE_SOCKET_API(NodeGradientType, gradient_type) | ||||
| ▲ Show 20 Lines • Show All 1,321 Lines • Show Last 20 Lines | |||||