Blender V4.3
node.cpp File Reference
#include "graph/node.h"
#include "graph/node_type.h"
#include "util/foreach.h"
#include "util/md5.h"
#include "util/param.h"
#include "util/transform.h"

Go to the source code of this file.

Functions

static bool is_socket_float3 (const SocketType &socket)
 
static bool is_socket_array_float3 (const SocketType &socket)
 
template<typename T >
static void copy_array (const Node *node, const SocketType &socket, const Node *other, const SocketType &other_socket)
 
template<typename T >
static bool is_array_equal (const Node *node, const Node *other, const SocketType &socket)
 
template<typename T >
static bool is_value_equal (const Node *node, const Node *other, const SocketType &socket)
 

Function Documentation

◆ copy_array()

template<typename T >
static void copy_array ( const Node * node,
const SocketType & socket,
const Node * other,
const SocketType & other_socket )
static

Definition at line 320 of file graph/node.cpp.

References node, and SocketType::struct_offset.

Referenced by Node::copy_value(), and ui_but_copy().

◆ is_array_equal()

template<typename T >
static bool is_array_equal ( const Node * node,
const Node * other,
const SocketType & socket )
static

Definition at line 482 of file graph/node.cpp.

References b, and SocketType::struct_offset.

Referenced by Node::equals_value().

◆ is_socket_array_float3()

static bool is_socket_array_float3 ( const SocketType & socket)
static

◆ is_socket_float3()

static bool is_socket_float3 ( const SocketType & socket)
static

◆ is_value_equal()

template<typename T >
static bool is_value_equal ( const Node * node,
const Node * other,
const SocketType & socket )
static

Definition at line 490 of file graph/node.cpp.

References b, and SocketType::struct_offset.

Referenced by Node::equals_value().