|
Blender
V2.93
|
#include <graph.h>
Public Member Functions | |
| ShaderInput (const SocketType &socket_type_, ShaderNode *parent_) | |
| ustring | name () |
| int | flags () |
| SocketType::Type | type () |
| void | set (float f) |
| void | set (float3 f) |
| void | disconnect () |
Public Attributes | |
| const SocketType & | socket_type |
| ShaderNode * | parent |
| ShaderOutput * | link |
| int | stack_offset |
|
inline |
| void ShaderInput::disconnect | ( | ) |
Definition at line 60 of file graph.cpp.
References link, ShaderOutput::links, and NULL.
Referenced by ShaderGraph::disconnect(), PrincipledBsdfNode::expand(), and OutputAOVNode::simplify_settings().
|
inline |
Definition at line 90 of file graph.h.
References SocketType::flags, and socket_type.
Referenced by ShaderNode::attributes(), ShaderGraph::default_inputs(), and ShaderGraph::remove_proxy_nodes().
|
inline |
Definition at line 86 of file graph.h.
References socket_type, and SocketType::ui_name.
Referenced by ShaderGraph::connect(), ShaderGraph::copy_nodes(), ShaderGraph::dump_graph(), ShaderNode::input(), and node_find_input_by_name().
|
inline |
Definition at line 99 of file graph.h.
References parent, and socket_type.
Referenced by ConstantFolder::make_constant(), and CCL_NAMESPACE_BEGIN::ShaderNodeBuilder< T >::set().
|
inline |
Definition at line 103 of file graph.h.
References parent, and socket_type.
|
inline |
Definition at line 94 of file graph.h.
References socket_type, and SocketType::type.
Referenced by ConstantFolder::bypass_or_discard(), TextureMapping::compile_end(), ShaderGraph::connect(), ConstantFolder::is_one(), ConstantFolder::is_zero(), set_default_value(), SVMCompiler::stack_assign(), SVMCompiler::stack_clear_temporary(), and ConstantFolder::try_bypass_or_make_constant().
| ShaderOutput* ShaderInput::link |
Definition at line 112 of file graph.h.
Referenced by ConstantFolder::all_inputs_constant(), ShaderNode::attributes(), AnisotropicBsdfNode::attributes(), PrincipledBsdfNode::attributes(), PrincipledVolumeNode::attributes(), ShaderGraph::break_cycles(), ShaderGraph::bump_from_displacement(), ConstantFolder::bypass_or_discard(), ShaderGraph::clean(), PrincipledBsdfNode::compile(), VolumeNode::compile(), BsdfNode::compile(), SVMCompiler::compile_type(), ShaderGraph::compute_displacement_hash(), ShaderGraph::connect(), ConvertNode::constant_fold(), EmissionNode::constant_fold(), BackgroundNode::constant_fold(), AddClosureNode::constant_fold(), MixClosureNode::constant_fold(), InvertNode::constant_fold(), BumpNode::constant_fold(), CurvesNode::constant_fold(), ShaderGraph::constant_fold(), ShaderGraph::copy_nodes(), ImageTextureNode::cull_tiles(), ShaderGraph::default_inputs(), LightManager::device_update_background(), disconnect(), ShaderOutput::disconnect(), ShaderGraph::disconnect(), ShaderNode::equals(), PrincipledBsdfNode::expand(), MapRangeNode::expand(), ShaderGraph::finalize(), SVMCompiler::find_dependencies(), ShaderGraph::find_dependencies(), ConstantFolder::fold_mix(), SVMCompiler::generate_closure_node(), SVMCompiler::generate_multi_closure(), SVMCompiler::generate_svm_nodes(), ShaderManager::get_requested_features(), SubsurfaceScatteringNode::has_bssrdf_bump(), BsdfBaseNode::has_bump(), PrincipledBsdfNode::has_integrator_dependency(), GlossyBsdfNode::has_integrator_dependency(), GlassBsdfNode::has_integrator_dependency(), RefractionBsdfNode::has_integrator_dependency(), PrincipledBsdfNode::has_surface_bssrdf(), Shader::is_constant_emission(), ConstantFolder::is_one(), ConstantFolder::is_zero(), ShaderGraph::refine_bump_nodes(), ShaderGraph::relink(), ShaderNode::remove_input(), ShaderGraph::remove_proxy_nodes(), Shader::set_graph(), GlossyBsdfNode::simplify_settings(), GlassBsdfNode::simplify_settings(), RefractionBsdfNode::simplify_settings(), SVMCompiler::stack_assign(), SVMCompiler::stack_assign_if_linked(), SVMCompiler::stack_clear_temporary(), SVMCompiler::stack_clear_users(), SVMCompiler::stack_link(), ShaderGraph::transform_multi_closure(), ConstantFolder::try_bypass_or_make_constant(), and ShaderGraph::verify_volume_output().
| ShaderNode* ShaderInput::parent |
Definition at line 111 of file graph.h.
Referenced by ShaderGraph::connect(), ShaderGraph::constant_fold(), ShaderGraph::copy_nodes(), ShaderGraph::deduplicate_nodes(), ShaderGraph::dump_graph(), ShaderGraph::relink(), ShaderGraph::remove_proxy_nodes(), set(), set_default_value(), and SVMCompiler::stack_assign().
| const SocketType& ShaderInput::socket_type |
Definition at line 110 of file graph.h.
Referenced by PrincipledBsdfNode::compile(), VolumeNode::compile(), BsdfNode::compile(), ShaderNode::equals(), flags(), ConstantFolder::fold_mix(), SVMCompiler::generate_closure_node(), ConstantFolder::is_one(), ConstantFolder::is_zero(), name(), ShaderGraph::relink(), ShaderGraph::remove_proxy_nodes(), set(), set_default_value(), SVMCompiler::stack_assign(), ShaderGraph::transform_multi_closure(), ConstantFolder::try_bypass_or_make_constant(), type(), and xml_read_shader_graph().
| int ShaderInput::stack_offset |
Definition at line 113 of file graph.h.
Referenced by SVMCompiler::compile_type(), SVMCompiler::generate_multi_closure(), SVMCompiler::stack_assign(), and SVMCompiler::stack_clear_temporary().