Blender V5.0
node.cpp File Reference
#include "graph/node.h"
#include "graph/node_type.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>
void copy_array ( const Node * node,
const SocketType & socket,
const Node * other,
const SocketType & other_socket )
static

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

References SocketType::struct_offset.

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

◆ is_array_equal()

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

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

References b, and SocketType::struct_offset.

Referenced by Node::equals_value().

◆ is_socket_array_float3()

bool is_socket_array_float3 ( const SocketType & socket)
static

◆ is_socket_float3()

bool is_socket_float3 ( const SocketType & socket)
static

◆ is_value_equal()

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

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

References b, SocketType::struct_offset, and T.

Referenced by Node::equals_value().