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

#include <NOD_geo_repeat.hh>

Public Types

using ItemT = NodeRepeatItem
 

Static Public Member Functions

static socket_items::SocketItemsRef< NodeRepeatItemget_items_from_node (bNode &node)
 
static void copy_item (const NodeRepeatItem &src, NodeRepeatItem &dst)
 
static void destruct_item (NodeRepeatItem *item)
 
static void blend_write (BlendWriter *writer, const bNode &node)
 
static void blend_read_data (BlendDataReader *reader, bNode &node)
 
static eNodeSocketDatatype get_socket_type (const NodeRepeatItem &item)
 
static char ** get_name (NodeRepeatItem &item)
 
static bool supports_socket_type (const eNodeSocketDatatype socket_type)
 
static void init_with_socket_type_and_name (bNode &node, NodeRepeatItem &item, const eNodeSocketDatatype socket_type, const char *name)
 
static std::string socket_identifier_for_item (const NodeRepeatItem &item)
 

Static Public Attributes

static StructRNAitem_srna = &RNA_RepeatItem
 
static int node_type = GEO_NODE_REPEAT_OUTPUT
 
static constexpr const char * node_idname = "GeometryNodeRepeatOutput"
 
static constexpr bool has_type = true
 
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) with repeat items.

Definition at line 18 of file NOD_geo_repeat.hh.

Member Typedef Documentation

◆ ItemT

Member Function Documentation

◆ blend_read_data()

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

Definition at line 332 of file node_geo_repeat.cc.

References BLO_read_string(), and BLO_read_struct_array.

◆ blend_write()

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

Definition at line 323 of file node_geo_repeat.cc.

References BLO_write_string(), and BLO_write_struct_array.

◆ copy_item()

static void blender::nodes::RepeatItemsAccessor::copy_item ( const NodeRepeatItem & src,
NodeRepeatItem & dst )
inlinestatic

Definition at line 32 of file NOD_geo_repeat.hh.

References BLI_strdup_null(), and NodeRepeatItem::name.

◆ destruct_item()

static void blender::nodes::RepeatItemsAccessor::destruct_item ( NodeRepeatItem * item)
inlinestatic

Definition at line 37 of file NOD_geo_repeat.hh.

References MEM_SAFE_FREE, and NodeRepeatItem::name.

◆ get_items_from_node()

static socket_items::SocketItemsRef< NodeRepeatItem > blender::nodes::RepeatItemsAccessor::get_items_from_node ( bNode & node)
inlinestatic

Definition at line 27 of file NOD_geo_repeat.hh.

References NodeGeometryRepeatOutput::items.

◆ get_name()

static char ** blender::nodes::RepeatItemsAccessor::get_name ( NodeRepeatItem & item)
inlinestatic

Definition at line 47 of file NOD_geo_repeat.hh.

References NodeRepeatItem::name.

◆ get_socket_type()

static eNodeSocketDatatype blender::nodes::RepeatItemsAccessor::get_socket_type ( const NodeRepeatItem & item)
inlinestatic

Definition at line 43 of file NOD_geo_repeat.hh.

References NodeRepeatItem::socket_type.

◆ init_with_socket_type_and_name()

static void blender::nodes::RepeatItemsAccessor::init_with_socket_type_and_name ( bNode & node,
NodeRepeatItem & item,
const eNodeSocketDatatype socket_type,
const char * name )
inlinestatic

◆ socket_identifier_for_item()

static std::string blender::nodes::RepeatItemsAccessor::socket_identifier_for_item ( const NodeRepeatItem & item)
inlinestatic

◆ supports_socket_type()

static bool blender::nodes::RepeatItemsAccessor::supports_socket_type ( const eNodeSocketDatatype socket_type)
inlinestatic

Member Data Documentation

◆ has_name

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

Definition at line 24 of file NOD_geo_repeat.hh.

◆ has_single_identifier_str

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

Definition at line 25 of file NOD_geo_repeat.hh.

◆ has_type

bool blender::nodes::RepeatItemsAccessor::has_type = true
staticconstexpr

Definition at line 23 of file NOD_geo_repeat.hh.

◆ item_srna

◆ node_idname

const char* blender::nodes::RepeatItemsAccessor::node_idname = "GeometryNodeRepeatOutput"
staticconstexpr

Definition at line 22 of file NOD_geo_repeat.hh.

◆ node_type

int blender::nodes::RepeatItemsAccessor::node_type = GEO_NODE_REPEAT_OUTPUT
static

Definition at line 21 of file NOD_geo_repeat.hh.


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