Blender V4.5
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 = SVM_STACK_INVALID
 

Detailed Description

Definition at line 117 of file shader_graph.h.

Constructor & Destructor Documentation

◆ ShaderOutput()

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

Definition at line 119 of file shader_graph.h.

Member Function Documentation

◆ disconnect()

void ShaderOutput::disconnect ( )

Definition at line 56 of file shader_graph.cpp.

References links.

◆ name()

ustring ShaderOutput::name ( ) const
inline

◆ type()

Member Data Documentation

◆ links

◆ parent

◆ socket_type

const SocketType& ShaderOutput::socket_type

Definition at line 135 of file shader_graph.h.

Referenced by name(), and type().

◆ stack_offset

int ShaderOutput::stack_offset = SVM_STACK_INVALID

Definition at line 138 of file shader_graph.h.


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