Blender V5.3
blender::bke::forward_compat Namespace Reference

Functions

static void update_node_location_legacy (bNodeTree &ntree)
static void write_legacy_properties (bNodeTree &ntree, Map< ID **, ID * > &r_ids_to_restore)
static void initialize_legacy_socket_storage (bNode &node)
static void free_legacy_socket_storage (bNode &node)
static const Map< StringRef, StringRef > & subtype_pixel_to_none ()
template<typename ValueType>
static void write_default_value_none_subtype (BlendWriter *writer, const void *default_value)
static void pixel_subtype_forward_compat (BlendWriter *writer, const bNodeSocket &sock)

Function Documentation

◆ free_legacy_socket_storage()

void blender::bke::forward_compat::free_legacy_socket_storage ( bNode & node)
static

◆ initialize_legacy_socket_storage()

void blender::bke::forward_compat::initialize_legacy_socket_storage ( bNode & node)
static

◆ pixel_subtype_forward_compat()

◆ subtype_pixel_to_none()

const Map< StringRef, StringRef > & blender::bke::forward_compat::subtype_pixel_to_none ( )
static

◆ update_node_location_legacy()

void blender::bke::forward_compat::update_node_location_legacy ( bNodeTree & ntree)
static

◆ write_default_value_none_subtype()

template<typename ValueType>
void blender::bke::forward_compat::write_default_value_none_subtype ( BlendWriter * writer,
const void * default_value )
static

◆ write_legacy_properties()

void blender::bke::forward_compat::write_legacy_properties ( bNodeTree & ntree,
Map< ID **, ID * > & r_ids_to_restore )
static

Definition at line 603 of file node.cc.

References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), CMP_NODE_BLUR, CMP_NODE_CHANNEL_MATTE, blender::CMP_NODE_CHANNEL_MATTE_CS_HSV, blender::CMP_NODE_CHANNEL_MATTE_CS_RGB, blender::CMP_NODE_CHANNEL_MATTE_CS_YCC, blender::CMP_NODE_CHANNEL_MATTE_CS_YUV, CMP_NODE_COLOR_SPILL, CMP_NODE_COLORBALANCE, CMP_NODE_CORNERPIN, CMP_NODE_DENOISE, CMP_NODE_DILATEERODE, CMP_NODE_DISPLACE, CMP_NODE_DIST_MATTE, CMP_NODE_DOUBLEEDGEMASK, CMP_NODE_FILTER, CMP_NODE_GLARE, CMP_NODE_KEYING, CMP_NODE_KUWAHARA, CMP_NODE_LENSDIST, CMP_NODE_MAP_UV, CMP_NODE_MASK, CMP_NODE_MASK_BOX, CMP_NODE_MASK_ELLIPSE, CMP_NODE_MOVIEDISTORTION, CMP_NODE_PREMULKEY, CMP_NODE_ROTATE, CMP_NODE_SCALE, CMP_NODE_SETALPHA, CMP_NODE_STABILIZE2D, CMP_NODE_TONEMAP, CMP_NODE_TRACKPOS, CMP_NODE_TRANSFORM, CMP_NODE_TRANSLATE, CMP_NODE_VIEW_LEVELS, GEO_NODE_DISTRIBUTE_POINTS_IN_VOLUME, GEO_NODE_FILL_CURVE, GEO_NODE_FILLET_CURVE, GEO_NODE_MERGE_BY_DISTANCE, GEO_NODE_MESH_TO_VOLUME, GEO_NODE_POINTS_TO_VOLUME, GEO_NODE_RAYCAST, GEO_NODE_REMOVE_ATTRIBUTE, GEO_NODE_RESAMPLE_CURVE, GEO_NODE_SAMPLE_GRID, GEO_NODE_SCALE_ELEMENTS, GEO_NODE_SET_CURVE_NORMAL, GEO_NODE_STRING_TO_CURVES, GEO_NODE_SUBDIVISION_SURFACE, GEO_NODE_TRANSFORM_GEOMETRY, GEO_NODE_TRIANGULATE, GEO_NODE_UV_PACK_ISLANDS, GEO_NODE_UV_UNWRAP, GEO_NODE_VOLUME_TO_MESH, node, blender::bke::node_find_socket(), blender::NTREE_COMPOSIT, blender::NTREE_GEOMETRY, blender::SOCK_IN, storage, blender::bNodeTree::type, blender::bNodeSocketValueBoolean::value, blender::bNodeSocketValueMenu::value, and write_legacy_properties().

Referenced by blender::bke::node_tree_blend_write(), and write_legacy_properties().