|
Blender
V2.93
|
#include <graph.h>
Public Member Functions | |
| ShaderOutput (const SocketType &socket_type_, ShaderNode *parent_) | |
| ustring | name () |
| SocketType::Type | type () |
| void | disconnect () |
Public Attributes | |
| const SocketType & | socket_type |
| ShaderNode * | parent |
| vector< ShaderInput * > | links |
| int | stack_offset |
|
inline |
| void ShaderOutput::disconnect | ( | ) |
Definition at line 68 of file graph.cpp.
References ShaderInput::link, links, and NULL.
|
inline |
Definition at line 127 of file graph.h.
References socket_type, and SocketType::ui_name.
Referenced by ShaderGraph::bump_from_displacement(), ConstantFolder::bypass(), ShaderGraph::compute_displacement_hash(), ShaderGraph::copy_nodes(), ShaderGraph::dump_graph(), ConstantFolder::make_constant(), node_find_output_by_name(), ShaderNode::output(), and ShaderGraph::refine_bump_nodes().
|
inline |
Definition at line 131 of file graph.h.
References socket_type, and SocketType::type.
Referenced by ConstantFolder::discard(), ConstantFolder::make_one(), ConstantFolder::make_zero(), SVMCompiler::stack_link(), and ConstantFolder::try_bypass_or_make_constant().
| vector<ShaderInput *> ShaderOutput::links |
Definition at line 140 of file graph.h.
Referenced by HairInfoNode::attributes(), AttributeNode::attributes(), ConstantFolder::bypass(), ShaderInput::disconnect(), disconnect(), VolumeInfoNode::expand(), MapRangeNode::expand(), MathNode::expand(), GeometryNode::get_group(), and ConstantFolder::make_constant().
| ShaderNode* ShaderOutput::parent |
Definition at line 139 of file graph.h.
Referenced by ShaderGraph::break_cycles(), ShaderGraph::bump_from_displacement(), ConstantFolder::bypass(), SVMCompiler::compile_type(), ShaderGraph::compute_displacement_hash(), ConvertNode::constant_fold(), ShaderGraph::copy_nodes(), ImageTextureNode::cull_tiles(), LightManager::device_update_background(), ShaderGraph::finalize(), SVMCompiler::find_dependencies(), ShaderGraph::find_dependencies(), SVMCompiler::generate_multi_closure(), SVMCompiler::generate_svm_nodes(), SubsurfaceScatteringNode::has_bssrdf_bump(), BsdfBaseNode::has_bump(), Shader::is_constant_emission(), ShaderGraph::refine_bump_nodes(), ShaderGraph::transform_multi_closure(), and ShaderGraph::verify_volume_output().
| const SocketType& ShaderOutput::socket_type |
Definition at line 138 of file graph.h.
Referenced by name(), type(), and xml_read_shader_graph().
| int ShaderOutput::stack_offset |
Definition at line 141 of file graph.h.
Referenced by SVMCompiler::stack_assign(), and SVMCompiler::stack_link().