|
Blender V5.3
|
#include <shader_graph.h>
Inherited by ShaderInput, and ShaderOutput.
Public Member Functions | |
| ShaderIO (const SocketType &socket_type_, ShaderNode *parent_) | |
| ustring | name () const |
| SocketType::Type | type () const |
| virtual void | disconnect () |
Public Attributes | |
| const SocketType & | socket_type |
| ShaderNode * | parent |
| int | stack_offset = SVM_STACK_INVALID |
Definition at line 66 of file shader_graph.h.
|
inline |
Definition at line 68 of file shader_graph.h.
References parent, and socket_type.
|
inlinevirtual |
Reimplemented in ShaderInput, and ShaderOutput.
Definition at line 86 of file shader_graph.h.
|
inline |
Definition at line 74 of file shader_graph.h.
References socket_type, and SocketType::ui_name.
Referenced by ConstantFolder::bypass(), CurvesNode::compile(), VolumeNode::compile(), ShaderGraph::compute_displacement_hash(), ShaderGraph::connect(), ShaderGraph::copy_nodes(), ShaderGraph::dump_graph(), ConstantFolder::make_constant(), ConstantFolder::make_constant(), and ConstantFolder::make_constant().
|
inline |
Definition at line 78 of file shader_graph.h.
References socket_type, and SocketType::type.
Referenced by ConstantFolder::bypass_or_discard(), TextureMapping::compile_begin(), ShaderGraph::connect(), ConstantFolder::discard(), ConstantFolder::is_one(), ConstantFolder::is_zero(), ConstantFolder::make_one(), ConstantFolder::make_zero(), set_default_value(), SVMCompiler::stack_assign(), SVMCompiler::stack_link(), SVMCompiler::stack_size(), and ConstantFolder::try_bypass_or_make_constant().
| ShaderNode* ShaderIO::parent |
Definition at line 84 of file shader_graph.h.
Referenced by ShaderGraph::break_cycles(), ConstantFolder::bypass(), SVMCompiler::compile_type(), ShaderGraph::compute_displacement_hash(), ShaderGraph::connect(), ShaderGraph::constant_fold(), ShaderGraph::copy_nodes(), ImageTextureNode::cull_tiles(), ShaderGraph::deduplicate_nodes(), LightManager::device_update_background(), ShaderGraph::dump_graph(), ShaderGraph::finalize(), ShaderGraph::find_dependencies(), SVMCompiler::find_dependencies(), SVMCompiler::generate_multi_closure(), SVMCompiler::generate_svm_nodes(), SubsurfaceScatteringNode::has_bssrdf_bump(), BsdfBaseNode::has_bump(), SVMCompiler::input_float(), SVMCompiler::input_float3(), SVMCompiler::input_int(), mark_nodes_requiring_derivatives(), ShaderGraph::optimize_volume_output(), ShaderGraph::relink(), ShaderInput::set(), ShaderInput::set(), ShaderInput::set(), set_default_value(), ShaderIO(), SVMCompiler::stack_assign(), SVMCompiler::stack_size(), and ShaderGraph::transform_multi_closure().
| const SocketType& ShaderIO::socket_type |
Definition at line 83 of file shader_graph.h.
Referenced by ShaderNode::equals(), ShaderInput::flags(), ConstantFolder::fold_mix(), ConstantFolder::fold_mix_color(), ConstantFolder::fold_mix_float(), SVMCompiler::generate_closure_node(), PrincipledBsdfNode::has_nonzero_weight(), SVMCompiler::input_float(), SVMCompiler::input_float3(), SVMCompiler::input_int(), ConstantFolder::is_one(), ConstantFolder::is_zero(), name(), output_estimate_emission(), UsdToCyclesMapping::parameterName(), ShaderGraph::relink(), ShaderGraph::remove_proxy_nodes(), ShaderInput::set(), ShaderInput::set(), ShaderInput::set(), set_default_value(), ShaderIO(), SVMCompiler::stack_assign(), ShaderGraph::transform_multi_closure(), ConstantFolder::try_bypass_or_make_constant(), and type().
| int ShaderIO::stack_offset = SVM_STACK_INVALID |
Definition at line 88 of file shader_graph.h.
Referenced by SVMCompiler::compile_type(), SVMCompiler::generate_multi_closure(), SVMCompiler::input_link(), SVMCompiler::stack_assign(), SVMCompiler::stack_clear_temporary(), and SVMCompiler::stack_link().