Blender  V3.3
Public Member Functions | Public Attributes | List of all members
ShaderOutput Class Reference

#include <shader_graph.h>

Public Member Functions

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

Public Attributes

const SocketTypesocket_type
 
ShaderNodeparent
 
vector< ShaderInput * > links
 
int stack_offset
 

Detailed Description

Definition at line 115 of file shader_graph.h.

Constructor & Destructor Documentation

◆ ShaderOutput()

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

Definition at line 117 of file shader_graph.h.

Member Function Documentation

◆ disconnect()

void ShaderOutput::disconnect ( )

Definition at line 55 of file shader_graph.cpp.

References ShaderInput::link, links, and NULL.

◆ name()

ustring ShaderOutput::name ( )
inline

◆ type()

SocketType::Type ShaderOutput::type ( )
inline

Member Data Documentation

◆ links

vector<ShaderInput *> ShaderOutput::links

◆ parent

ShaderNode* ShaderOutput::parent

◆ socket_type

const SocketType& ShaderOutput::socket_type

Definition at line 133 of file shader_graph.h.

Referenced by name(), and type().

◆ stack_offset

int ShaderOutput::stack_offset

Definition at line 136 of file shader_graph.h.


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