Blender V4.3
ShaderOutput Class Reference

#include <shader_graph.h>

Public Member Functions

 ShaderOutput (const SocketType &socket_type_, ShaderNode *parent_)
ustring name () const
SocketType::Type type () const
void disconnect ()

Public Attributes

const SocketTypesocket_type
ShaderNodeparent
vector< ShaderInput * > links
int stack_offset

Detailed Description

Definition at line 120 of file shader_graph.h.

Constructor & Destructor Documentation

◆ ShaderOutput()

ShaderOutput::ShaderOutput ( const SocketType & socket_type_,
ShaderNode * parent_ )
inline

Definition at line 122 of file shader_graph.h.

References parent, socket_type, stack_offset, and SVM_STACK_INVALID.

Member Function Documentation

◆ disconnect()

void ShaderOutput::disconnect ( )

Definition at line 56 of file shader_graph.cpp.

References ShaderInput::link, links, and NULL.

Referenced by ShaderGraph::disconnect().

◆ name()

◆ type()

SocketType::Type ShaderOutput::type ( ) const
inline

Definition at line 131 of file shader_graph.h.

References socket_type.

Referenced by ShaderGraph::connect(), and SVMCompiler::stack_link().

Member Data Documentation

◆ links

◆ parent

◆ socket_type

const SocketType& ShaderOutput::socket_type

Definition at line 138 of file shader_graph.h.

Referenced by name(), ShaderOutput(), type(), and xml_read_shader_graph().

◆ stack_offset

int ShaderOutput::stack_offset

The documentation for this class was generated from the following files: