Blender V4.3
blender::nodes::MenuSwitchItemsAccessor Struct Reference

#include <NOD_geo_menu_switch.hh>

Public Types

using ItemT = NodeEnumItem
 

Static Public Member Functions

static socket_items::SocketItemsRef< NodeEnumItemget_items_from_node (bNode &node)
 
static void copy_item (const NodeEnumItem &src, NodeEnumItem &dst)
 
static void destruct_item (NodeEnumItem *item)
 
static void blend_write (BlendWriter *writer, const bNode &node)
 
static void blend_read_data (BlendDataReader *reader, bNode &node)
 
static char ** get_name (NodeEnumItem &item)
 
static void init_with_name (bNode &node, NodeEnumItem &item, const char *name)
 
static std::string socket_identifier_for_item (const NodeEnumItem &item)
 

Static Public Attributes

static StructRNAitem_srna = &RNA_NodeEnumItem
 
static int node_type = GEO_NODE_MENU_SWITCH
 
static constexpr const char * node_idname = "GeometryNodeMenuSwitch"
 
static constexpr bool has_type = false
 
static constexpr bool has_name = true
 
static constexpr bool has_single_identifier_str = true
 

Detailed Description

Makes it possible to use various functions (e.g. the ones in NOD_socket_items.hh) for menu switch node items.

Definition at line 18 of file NOD_geo_menu_switch.hh.

Member Typedef Documentation

◆ ItemT

Member Function Documentation

◆ blend_read_data()

void blender::nodes::MenuSwitchItemsAccessor::blend_read_data ( BlendDataReader * reader,
bNode & node )
static

◆ blend_write()

void blender::nodes::MenuSwitchItemsAccessor::blend_write ( BlendWriter * writer,
const bNode & node )
static

◆ copy_item()

static void blender::nodes::MenuSwitchItemsAccessor::copy_item ( const NodeEnumItem & src,
NodeEnumItem & dst )
inlinestatic

◆ destruct_item()

static void blender::nodes::MenuSwitchItemsAccessor::destruct_item ( NodeEnumItem * item)
inlinestatic

◆ get_items_from_node()

static socket_items::SocketItemsRef< NodeEnumItem > blender::nodes::MenuSwitchItemsAccessor::get_items_from_node ( bNode & node)
inlinestatic

◆ get_name()

static char ** blender::nodes::MenuSwitchItemsAccessor::get_name ( NodeEnumItem & item)
inlinestatic

Definition at line 51 of file NOD_geo_menu_switch.hh.

References NodeEnumItem::name.

◆ init_with_name()

static void blender::nodes::MenuSwitchItemsAccessor::init_with_name ( bNode & node,
NodeEnumItem & item,
const char * name )
inlinestatic

◆ socket_identifier_for_item()

static std::string blender::nodes::MenuSwitchItemsAccessor::socket_identifier_for_item ( const NodeEnumItem & item)
inlinestatic

Member Data Documentation

◆ has_name

bool blender::nodes::MenuSwitchItemsAccessor::has_name = true
staticconstexpr

Definition at line 24 of file NOD_geo_menu_switch.hh.

◆ has_single_identifier_str

bool blender::nodes::MenuSwitchItemsAccessor::has_single_identifier_str = true
staticconstexpr

Definition at line 25 of file NOD_geo_menu_switch.hh.

◆ has_type

bool blender::nodes::MenuSwitchItemsAccessor::has_type = false
staticconstexpr

Definition at line 23 of file NOD_geo_menu_switch.hh.

◆ item_srna

StructRNA * blender::nodes::MenuSwitchItemsAccessor::item_srna = &RNA_NodeEnumItem
static

◆ node_idname

const char* blender::nodes::MenuSwitchItemsAccessor::node_idname = "GeometryNodeMenuSwitch"
staticconstexpr

Definition at line 22 of file NOD_geo_menu_switch.hh.

◆ node_type

int blender::nodes::MenuSwitchItemsAccessor::node_type = GEO_NODE_MENU_SWITCH
static

Definition at line 21 of file NOD_geo_menu_switch.hh.


The documentation for this struct was generated from the following files: