Blender V5.0
blender::nodes::socket_items::ops Namespace Reference

Enumerations

enum class  MoveDirection { Up = 0 , Down = 1 }

Functions

PointerRNA get_active_node_to_operate_on (bContext *C, wmOperator *op, const StringRef node_idname)
void update_after_node_change (bContext *C, const PointerRNA node_ptr)
template<typename Accessor>
bool editable_node_active_poll (bContext *C)
void add_node_identifier_property (wmOperatorType *ot)
template<typename Accessor>
void remove_active_item (wmOperatorType *ot, const char *name, const char *idname, const char *description)
template<typename Accessor>
void remove_item_by_index (wmOperatorType *ot, const char *name, const char *idname, const char *description)
template<typename Accessor>
void add_item (wmOperatorType *ot, const char *name, const char *idname, const char *description)
template<typename Accessor>
void move_active_item (wmOperatorType *ot, const char *name, const char *idname, const char *description)
template<typename Accessor>
void make_common_operators ()

Enumeration Type Documentation

◆ MoveDirection

Enumerator
Up 
Down 

Definition at line 232 of file NOD_socket_items_ops.hh.

Function Documentation

◆ add_item()

◆ add_node_identifier_property()

void blender::nodes::socket_items::ops::add_node_identifier_property ( wmOperatorType * ot)
inline

Definition at line 98 of file NOD_socket_items_ops.hh.

References INT32_MAX, ot, and RNA_def_int().

Referenced by add_item(), move_active_item(), and remove_active_item().

◆ editable_node_active_poll()

template<typename Accessor>
bool blender::nodes::socket_items::ops::editable_node_active_poll ( bContext * C)
inline

◆ get_active_node_to_operate_on()

◆ make_common_operators()

◆ move_active_item()

◆ remove_active_item()

◆ remove_item_by_index()

◆ update_after_node_change()

void blender::nodes::socket_items::ops::update_after_node_change ( bContext * C,
const PointerRNA node_ptr )
inline