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

#include <NOD_geo_closure.hh>

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

Classes

struct  operator_idnames
struct  ui_idnames
struct  rna_names

Public Types

using ItemT = NodeClosureOutputItem

Static Public Member Functions

static socket_items::SocketItemsRef< ItemTget_items_from_node (bNode &node)
static void copy_item (const ItemT &src, ItemT &dst)
static void destruct_item (ItemT *item)
static void blend_write_item (BlendWriter *writer, const ItemT &item)
static void blend_read_data_item (BlendDataReader *reader, ItemT &item)
static eNodeSocketDatatype get_socket_type (const ItemT &item)
static char ** get_name (ItemT &item)
static bool supports_socket_type (const eNodeSocketDatatype socket_type, const int ntree_type)
static void init_with_socket_type_and_name (bNode &node, ItemT &item, const eNodeSocketDatatype socket_type, const char *name)
static std::string socket_identifier_for_item (const ItemT &item)

Static Public Attributes

static StructRNAitem_srna = &RNA_NodeClosureOutputItem
static int node_type
static constexpr StringRefNull node_idname = "NodeClosureOutput"
static constexpr bool has_type = true
static constexpr bool has_name = true
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

Definition at line 122 of file NOD_geo_closure.hh.

Member Typedef Documentation

◆ ItemT

Member Function Documentation

◆ blend_read_data_item()

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

Definition at line 317 of file node_geo_closure.cc.

References BLO_read_string(), and NodeClosureOutputItem::name.

◆ blend_write_item()

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

Definition at line 312 of file node_geo_closure.cc.

References BLO_write_string(), and NodeClosureOutputItem::name.

◆ copy_item()

void blender::nodes::ClosureOutputItemsAccessor::copy_item ( const ItemT & src,
ItemT & dst )
inlinestatic

Definition at line 150 of file NOD_geo_closure.hh.

References BLI_strdup_null(), and NodeClosureOutputItem::name.

◆ destruct_item()

void blender::nodes::ClosureOutputItemsAccessor::destruct_item ( ItemT * item)
inlinestatic

Definition at line 156 of file NOD_geo_closure.hh.

References MEM_SAFE_FREE, and NodeClosureOutputItem::name.

◆ get_items_from_node()

socket_items::SocketItemsRef< ItemT > blender::nodes::ClosureOutputItemsAccessor::get_items_from_node ( bNode & node)
inlinestatic

Definition at line 142 of file NOD_geo_closure.hh.

References bNode::storage.

◆ get_name()

char ** blender::nodes::ClosureOutputItemsAccessor::get_name ( ItemT & item)
inlinestatic

Definition at line 169 of file NOD_geo_closure.hh.

References NodeClosureOutputItem::name.

◆ get_socket_type()

eNodeSocketDatatype blender::nodes::ClosureOutputItemsAccessor::get_socket_type ( const ItemT & item)
inlinestatic

Definition at line 164 of file NOD_geo_closure.hh.

References NodeClosureOutputItem::socket_type.

◆ init_with_socket_type_and_name()

void blender::nodes::ClosureOutputItemsAccessor::init_with_socket_type_and_name ( bNode & node,
ItemT & item,
const eNodeSocketDatatype socket_type,
const char * name )
inlinestatic

◆ socket_identifier_for_item()

std::string blender::nodes::ClosureOutputItemsAccessor::socket_identifier_for_item ( const ItemT & item)
inlinestatic

◆ supports_socket_type()

bool blender::nodes::ClosureOutputItemsAccessor::supports_socket_type ( const eNodeSocketDatatype socket_type,
const int ntree_type )
inlinestatic

Member Data Documentation

◆ has_name

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

Definition at line 128 of file NOD_geo_closure.hh.

◆ has_type

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

Definition at line 127 of file NOD_geo_closure.hh.

◆ item_srna

StructRNA * blender::nodes::ClosureOutputItemsAccessor::item_srna = &RNA_NodeClosureOutputItem
static

Definition at line 124 of file NOD_geo_closure.hh.

◆ node_idname

StringRefNull blender::nodes::ClosureOutputItemsAccessor::node_idname = "NodeClosureOutput"
staticconstexpr

Definition at line 126 of file NOD_geo_closure.hh.

◆ node_type

int blender::nodes::ClosureOutputItemsAccessor::node_type
static

Definition at line 125 of file NOD_geo_closure.hh.


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