|
Blender V4.3
|
#include <shader_graph.h>
Public Member Functions | |
| ShaderInput (const SocketType &socket_type_, ShaderNode *parent_) | |
| ustring | name () const |
| int | flags () const |
| SocketType::Type | type () const |
| void | set (float f) |
| void | set (float3 f) |
| void | set (int f) |
| void | disconnect () |
Public Attributes | |
| const SocketType & | socket_type |
| ShaderNode * | parent |
| ShaderOutput * | link |
| int | stack_offset |
| bool | constant_folded_in |
Definition at line 67 of file shader_graph.h.
|
inline |
Definition at line 69 of file shader_graph.h.
| void ShaderInput::disconnect | ( | ) |
Definition at line 48 of file shader_graph.cpp.
References link, ShaderOutput::links, and NULL.
Referenced by GlossyBsdfNode::simplify_settings(), MetallicBsdfNode::simplify_settings(), OutputAOVNode::simplify_settings(), and PrincipledBsdfNode::simplify_settings().
|
inline |
Definition at line 82 of file shader_graph.h.
References SocketType::flags, and socket_type.
Referenced by ShaderGraph::remove_proxy_nodes().
|
inline |
Definition at line 78 of file shader_graph.h.
References socket_type, and SocketType::ui_name.
Referenced by ShaderGraph::dump_graph(), gpu_shader_create_info_compile(), ShaderNode::input(), and ShaderNode::input().
|
inline |
Definition at line 91 of file shader_graph.h.
References parent, and socket_type.
Referenced by ConstantFolder::make_constant(), ConstantFolder::make_constant(), ConstantFolder::make_constant(), and CCL_NAMESPACE_BEGIN::ShaderNodeBuilder< T >::set().
|
inline |
Definition at line 95 of file shader_graph.h.
References parent, and socket_type.
|
inline |
Definition at line 99 of file shader_graph.h.
References parent, and socket_type.
|
inline |
Definition at line 86 of file shader_graph.h.
References socket_type, and SocketType::type.
Referenced by TextureMapping::compile_end().
| bool ShaderInput::constant_folded_in |
Definition at line 113 of file shader_graph.h.
Referenced by ConstantFolder::make_constant(), ConstantFolder::make_constant(), and ConstantFolder::make_constant().
| ShaderOutput* ShaderInput::link |
Definition at line 108 of file shader_graph.h.
Referenced by GlossyBsdfNode::attributes(), MetallicBsdfNode::attributes(), PrincipledBsdfNode::attributes(), PrincipledVolumeNode::attributes(), ShaderGraph::bump_from_displacement(), BsdfNode::compile(), VolumeNode::compile(), SVMCompiler::compile_type(), ShaderGraph::compute_displacement_hash(), AddClosureNode::constant_fold(), BackgroundNode::constant_fold(), BumpNode::constant_fold(), ConvertNode::constant_fold(), CurvesNode::constant_fold(), EmissionNode::constant_fold(), FloatCurveNode::constant_fold(), InvertNode::constant_fold(), MixClosureNode::constant_fold(), ShaderGraph::constant_fold(), ImageTextureNode::cull_tiles(), LightManager::device_update_background(), disconnect(), ShaderOutput::disconnect(), ShaderNode::equals(), Shader::estimate_emission(), MapRangeNode::expand(), ShaderGraph::finalize(), ConstantFolder::fold_mix(), ConstantFolder::fold_mix_color(), ConstantFolder::fold_mix_float(), SVMCompiler::generate_closure_node(), SVMCompiler::generate_multi_closure(), ShaderManager::get_kernel_features(), SubsurfaceScatteringNode::has_bssrdf_bump(), BsdfBaseNode::has_bump(), PrincipledBsdfNode::has_surface_bssrdf(), PrincipledBsdfNode::has_surface_emission(), PrincipledBsdfNode::has_surface_transparent(), GlossyBsdfNode::is_isotropic(), MetallicBsdfNode::is_isotropic(), output_estimate_emission(), ShaderGraph::refine_bump_nodes(), ShaderGraph::relink(), GlossyBsdfNode::simplify_settings(), MetallicBsdfNode::simplify_settings(), PrincipledBsdfNode::simplify_settings(), ShaderGraph::transform_multi_closure(), and ShaderGraph::verify_volume_output().
| ShaderNode* ShaderInput::parent |
Definition at line 107 of file shader_graph.h.
| const SocketType& ShaderInput::socket_type |
Definition at line 106 of file shader_graph.h.
Referenced by BsdfNode::compile(), VolumeNode::compile(), ShaderNode::equals(), flags(), ConstantFolder::fold_mix(), ConstantFolder::fold_mix_color(), ConstantFolder::fold_mix_float(), SVMCompiler::generate_closure_node(), name(), output_estimate_emission(), UsdToCyclesMapping::parameterName(), set(), set(), set(), ShaderGraph::transform_multi_closure(), and type().
| int ShaderInput::stack_offset |
Definition at line 109 of file shader_graph.h.
Referenced by SVMCompiler::generate_multi_closure().