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.

Member Function Documentation

◆ disconnect()

void ShaderOutput::disconnect ( )

Definition at line 56 of file shader_graph.cpp.

References ShaderInput::link, links, and NULL.

◆ name()

ustring ShaderOutput::name ( ) const
inline

◆ type()

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

Definition at line 131 of file shader_graph.h.

References socket_type, and SocketType::type.

Member Data Documentation

◆ links

◆ parent

◆ socket_type

const SocketType& ShaderOutput::socket_type

Definition at line 138 of file shader_graph.h.

Referenced by name(), and type().

◆ stack_offset

int ShaderOutput::stack_offset

Definition at line 141 of file shader_graph.h.


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