Blender  V3.3
Functions
graph/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 311 of file graph/node.cpp.

References node, src, and SocketType::struct_offset.

Referenced by 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 470 of file graph/node.cpp.

References Freestyle::a, usdtokens::b(), node, and SocketType::struct_offset.

◆ 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 478 of file graph/node.cpp.

References Freestyle::a, usdtokens::b(), node, SocketType::struct_offset, and T.