Blender
V3.3
|
#include <shader_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 |
bool | constant_folded_in |
Definition at line 66 of file shader_graph.h.
|
inline |
Definition at line 68 of file shader_graph.h.
void ShaderInput::disconnect | ( | ) |
Definition at line 47 of file shader_graph.cpp.
References link, ShaderOutput::links, NULL, and blender::bke::attribute_accessor_functions::remove().
Referenced by ShaderGraph::disconnect(), PrincipledBsdfNode::expand(), and OutputAOVNode::simplify_settings().
|
inline |
Definition at line 81 of file shader_graph.h.
References SocketType::flags, and socket_type.
Referenced by ShaderNode::attributes(), and ShaderGraph::remove_proxy_nodes().
|
inline |
Definition at line 77 of file shader_graph.h.
References socket_type, and SocketType::ui_name.
Referenced by ShaderGraph::connect(), ShaderGraph::dump_graph(), and ShaderNode::input().
Definition at line 90 of file shader_graph.h.
References parent, and socket_type.
Referenced by ConstantFolder::make_constant(), and CCL_NAMESPACE_BEGIN::ShaderNodeBuilder< T >::set().
Definition at line 94 of file shader_graph.h.
References parent, and socket_type.
|
inline |
Definition at line 85 of file shader_graph.h.
References socket_type, and SocketType::type.
Referenced by TextureMapping::compile_end(), and ShaderGraph::connect().
bool ShaderInput::constant_folded_in |
Definition at line 108 of file shader_graph.h.
Referenced by ConstantFolder::make_constant().
ShaderOutput* ShaderInput::link |
Definition at line 103 of file shader_graph.h.
Referenced by ShaderNode::attributes(), AnisotropicBsdfNode::attributes(), PrincipledBsdfNode::attributes(), PrincipledVolumeNode::attributes(), ShaderGraph::bump_from_displacement(), 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(), FloatCurveNode::constant_fold(), CurvesNode::constant_fold(), ShaderGraph::constant_fold(), ImageTextureNode::cull_tiles(), LightManager::device_update_background(), disconnect(), ShaderOutput::disconnect(), ShaderGraph::disconnect(), ShaderNode::equals(), PrincipledBsdfNode::expand(), MapRangeNode::expand(), ShaderGraph::finalize(), ConstantFolder::fold_mix(), SVMCompiler::generate_closure_node(), SVMCompiler::generate_multi_closure(), ShaderManager::get_kernel_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(), ShaderGraph::refine_bump_nodes(), ShaderGraph::relink(), ShaderNode::remove_input(), Shader::set_graph(), GlossyBsdfNode::simplify_settings(), GlassBsdfNode::simplify_settings(), RefractionBsdfNode::simplify_settings(), ShaderGraph::transform_multi_closure(), ConstantFolder::try_bypass_or_make_constant(), and ShaderGraph::verify_volume_output().
ShaderNode* ShaderInput::parent |
Definition at line 102 of file shader_graph.h.
Referenced by ShaderGraph::connect(), ShaderGraph::relink(), ShaderGraph::remove_proxy_nodes(), and set().
const SocketType& ShaderInput::socket_type |
Definition at line 101 of file shader_graph.h.
Referenced by PrincipledBsdfNode::compile(), VolumeNode::compile(), BsdfNode::compile(), ShaderNode::equals(), flags(), ConstantFolder::fold_mix(), SVMCompiler::generate_closure_node(), name(), UsdToCyclesMapping::parameterName(), ShaderGraph::relink(), ShaderGraph::remove_proxy_nodes(), set(), ShaderGraph::transform_multi_closure(), type(), and xml_read_shader_graph().
int ShaderInput::stack_offset |
Definition at line 104 of file shader_graph.h.
Referenced by SVMCompiler::generate_multi_closure().