|
Blender
V3.3
|
#include <shader_nodes.h>
Additional Inherited Members | |
Public Attributes inherited from ShaderNode | |
| vector< ShaderInput * > | inputs |
| vector< ShaderOutput * > | outputs |
| int | id |
| ShaderBump | bump |
| ShaderNodeSpecialType | special_type |
Public Attributes inherited from Node | |
| ustring | name |
| const NodeType * | type |
| InternalNode | internal |
| LeafNode | leaf |
Protected Member Functions inherited from Node | |
| template<typename T > | |
| void | set_if_different (const SocketType &input, T value) |
| void | set_if_different (const SocketType &input, Node *value) |
| template<typename T > | |
| void | set_if_different (const SocketType &input, array< T > &value) |
| void | set_if_different (const SocketType &input, array< Node * > &value) |
| void | dereference_all_used_nodes () |
Static Protected Member Functions inherited from Node | |
| template<typename T > | |
| static T & | get_socket_value (const Node *node, const SocketType &socket) |
Protected Attributes inherited from Node | |
| const NodeOwner * | owner |
| int | ref_count {0} |
| SocketModifiedFlags | socket_modified |
Definition at line 423 of file shader_nodes.h.
| ConvertNode::ConvertNode | ( | SocketType::Type | from, |
| SocketType::Type | to, | ||
| bool | autoconvert = false |
||
| ) |
Definition at line 2067 of file shader_nodes.cpp.
References from, SHADER_SPECIAL_TYPE_AUTOCONVERT, SHADER_SPECIAL_TYPE_PROXY, and ShaderNode::special_type.
| ConvertNode::ConvertNode | ( | const ConvertNode & | other | ) |
Definition at line 2080 of file shader_nodes.cpp.
|
virtual |
Reimplemented from ShaderNode.
Definition at line 2089 of file shader_nodes.cpp.
References ConstantFolder::all_inputs_constant(), average(), ConstantFolder::bypass(), SocketType::COLOR, SocketType::FLOAT, from, ShaderNode::inputs, SocketType::is_float3(), ShaderManager::linear_rgb_to_gray(), ShaderInput::link, ConstantFolder::make_constant(), make_float3, ShaderOutput::parent, blender::meshintersect::prev(), ConstantFolder::scene, Scene::shader_manager, SHADER_SPECIAL_TYPE_PROXY, ShaderNode::special_type, value_color, value_float, and value_vector.
| float3 ConvertNode::value_color |
Definition at line 437 of file shader_nodes.h.
Referenced by constant_fold().
| float ConvertNode::value_float |
Definition at line 435 of file shader_nodes.h.
Referenced by constant_fold().
| int ConvertNode::value_int |
Definition at line 436 of file shader_nodes.h.
| float3 ConvertNode::value_normal |
Definition at line 440 of file shader_nodes.h.
| float3 ConvertNode::value_point |
Definition at line 439 of file shader_nodes.h.
| float3 ConvertNode::value_vector |
Definition at line 438 of file shader_nodes.h.
Referenced by constant_fold().