Blender V5.0
blender::nodes::IndexSwitchItemsAccessor Struct Reference

#include <NOD_geo_index_switch.hh>

Inherits blender::nodes::socket_items::SocketItemsAccessorDefaults.

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_item (BlendWriter *writer, const ItemT &item)
static void blend_read_data_item (BlendDataReader *reader, ItemT &item)
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
static constexpr StringRefNull node_idname = "GeometryNodeIndexSwitch"
static constexpr bool has_type = false
static constexpr bool has_name = false
Static Public Attributes inherited from blender::nodes::socket_items::SocketItemsAccessorDefaults
static constexpr bool has_single_identifier_str = true
static constexpr bool has_name_validation = false
static constexpr bool has_custom_initial_name = false
static constexpr bool has_vector_dimensions = false
static constexpr bool can_have_empty_name = false
static constexpr char unique_name_separator = '.'

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_item()

void blender::nodes::IndexSwitchItemsAccessor::blend_read_data_item ( BlendDataReader * reader,
ItemT & item )
static

Definition at line 503 of file node_geo_index_switch.cc.

◆ blend_write_item()

void blender::nodes::IndexSwitchItemsAccessor::blend_write_item ( BlendWriter * writer,
const ItemT & item )
static

Definition at line 499 of file node_geo_index_switch.cc.

◆ copy_item()

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()

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

Definition at line 36 of file NOD_geo_index_switch.hh.

◆ get_items_from_node()

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

Definition at line 25 of file NOD_geo_index_switch.hh.

References bNode::storage.

◆ init()

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

Definition at line 41 of file NOD_geo_index_switch.hh.

References IndexSwitchItem::identifier, and bNode::storage.

◆ socket_identifier_for_item()

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_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

StringRefNull 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
static

Definition at line 20 of file NOD_geo_index_switch.hh.


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