Blender
V3.3
|
#include <shader_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 |
Definition at line 115 of file shader_graph.h.
|
inline |
Definition at line 117 of file shader_graph.h.
void ShaderOutput::disconnect | ( | ) |
Definition at line 55 of file shader_graph.cpp.
References ShaderInput::link, links, and NULL.
|
inline |
Definition at line 122 of file shader_graph.h.
References socket_type, and SocketType::ui_name.
Referenced by ConstantFolder::bypass(), ShaderGraph::dump_graph(), ConstantFolder::make_constant(), and ShaderNode::output().
|
inline |
Definition at line 126 of file shader_graph.h.
References socket_type, and SocketType::type.
Referenced by ConstantFolder::discard(), ConstantFolder::make_one(), ConstantFolder::make_zero(), and ConstantFolder::try_bypass_or_make_constant().
vector<ShaderInput *> ShaderOutput::links |
Definition at line 135 of file shader_graph.h.
Referenced by HairInfoNode::attributes(), AttributeNode::attributes(), ConstantFolder::bypass(), ShaderInput::disconnect(), disconnect(), VolumeInfoNode::expand(), MapRangeNode::expand(), MathNode::expand(), and ConstantFolder::make_constant().
ShaderNode* ShaderOutput::parent |
Definition at line 134 of file shader_graph.h.
Referenced by ConstantFolder::bypass(), SVMCompiler::compile_type(), ConvertNode::constant_fold(), ImageTextureNode::cull_tiles(), LightManager::device_update_background(), ShaderGraph::finalize(), SVMCompiler::generate_multi_closure(), SubsurfaceScatteringNode::has_bssrdf_bump(), BsdfBaseNode::has_bump(), Shader::is_constant_emission(), ShaderGraph::transform_multi_closure(), and ShaderGraph::verify_volume_output().
const SocketType& ShaderOutput::socket_type |
Definition at line 133 of file shader_graph.h.
int ShaderOutput::stack_offset |
Definition at line 136 of file shader_graph.h.