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

#include <NOD_geo_index_switch.hh>

Public Types

using ItemT = IndexSwitchItem
 

Static Public Member Functions

static socket_items::SocketItemsRef< IndexSwitchItemget_items_from_node (bNode &node)
 
static void copy_item (const IndexSwitchItem &src, IndexSwitchItem &dst)
 
static void destruct_item (IndexSwitchItem *)
 
static void blend_write (BlendWriter *writer, const bNode &node)
 
static void blend_read_data (BlendDataReader *reader, bNode &node)
 
static void init (bNode &node, IndexSwitchItem &item)
 
static std::string socket_identifier_for_item (const IndexSwitchItem &item)
 

Static Public Attributes

static StructRNAitem_srna = &RNA_IndexSwitchItem
 
static int node_type = GEO_NODE_INDEX_SWITCH
 
static constexpr const char * node_idname = "GeometryNodeIndexSwitch"
 
static constexpr bool has_type = false
 
static constexpr bool has_name = false
 
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 index switch items.

Definition at line 17 of file NOD_geo_index_switch.hh.

Member Typedef Documentation

◆ ItemT

Member Function Documentation

◆ blend_read_data()

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

Definition at line 409 of file node_geo_index_switch.cc.

References BLO_read_struct_array.

◆ blend_write()

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

Definition at line 403 of file node_geo_index_switch.cc.

References BLO_write_struct_array.

◆ copy_item()

static void blender::nodes::IndexSwitchItemsAccessor::copy_item ( const IndexSwitchItem & src,
IndexSwitchItem & dst )
inlinestatic

Definition at line 31 of file NOD_geo_index_switch.hh.

◆ destruct_item()

static void blender::nodes::IndexSwitchItemsAccessor::destruct_item ( IndexSwitchItem * )
inlinestatic

Definition at line 35 of file NOD_geo_index_switch.hh.

◆ get_items_from_node()

static socket_items::SocketItemsRef< IndexSwitchItem > blender::nodes::IndexSwitchItemsAccessor::get_items_from_node ( bNode & node)
inlinestatic

Definition at line 26 of file NOD_geo_index_switch.hh.

References NodeIndexSwitch::items.

◆ init()

static void blender::nodes::IndexSwitchItemsAccessor::init ( bNode & node,
IndexSwitchItem & item )
inlinestatic

Definition at line 38 of file NOD_geo_index_switch.hh.

References IndexSwitchItem::identifier.

◆ socket_identifier_for_item()

static std::string blender::nodes::IndexSwitchItemsAccessor::socket_identifier_for_item ( const IndexSwitchItem & item)
inlinestatic

Member Data Documentation

◆ has_name

bool blender::nodes::IndexSwitchItemsAccessor::has_name = false
staticconstexpr

Definition at line 23 of file NOD_geo_index_switch.hh.

◆ has_single_identifier_str

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

Definition at line 24 of file NOD_geo_index_switch.hh.

◆ has_type

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

Definition at line 22 of file NOD_geo_index_switch.hh.

◆ item_srna

StructRNA * blender::nodes::IndexSwitchItemsAccessor::item_srna = &RNA_IndexSwitchItem
static

Definition at line 19 of file NOD_geo_index_switch.hh.

◆ node_idname

const char* blender::nodes::IndexSwitchItemsAccessor::node_idname = "GeometryNodeIndexSwitch"
staticconstexpr

Definition at line 21 of file NOD_geo_index_switch.hh.

◆ node_type

int blender::nodes::IndexSwitchItemsAccessor::node_type = GEO_NODE_INDEX_SWITCH
static

Definition at line 20 of file NOD_geo_index_switch.hh.


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