|
Blender
V3.3
|
#include <shader_nodes.h>
Protected Attributes | |
| ClosureType | closure |
Protected Attributes inherited from Node | |
| const NodeOwner * | owner |
| int | ref_count {0} |
| SocketModifiedFlags | socket_modified |
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) |
Definition at line 775 of file shader_nodes.h.
| VolumeNode::VolumeNode | ( | const NodeType * | node_type | ) |
Definition at line 3290 of file shader_nodes.cpp.
References closure, and CLOSURE_VOLUME_HENYEY_GREENSTEIN_ID.
| void VolumeNode::compile | ( | SVMCompiler & | compiler, |
| ShaderInput * | param1, | ||
| ShaderInput * | param2 | ||
| ) |
Definition at line 3295 of file shader_nodes.cpp.
References __float_as_int(), SVMCompiler::add_node(), closure, SVMCompiler::closure_mix_weight_offset(), color, SVMCompiler::encode_uchar4(), Node::get_float(), ShaderNode::input(), ShaderInput::link, ShaderInput::socket_type, SVMCompiler::stack_assign(), and SVM_STACK_INVALID.
|
inlinevirtual |
Reimplemented from ShaderNode.
Definition at line 802 of file shader_nodes.h.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from ShaderNode.
Definition at line 781 of file shader_nodes.h.
References ShaderNode::get_feature(), and KERNEL_FEATURE_NODE_VOLUME.
|
inlinevirtual |
Reimplemented from ShaderNode.
Definition at line 789 of file shader_nodes.h.
|
protected |
Definition at line 799 of file shader_nodes.h.
Referenced by compile(), get_closure_type(), and VolumeNode().