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

#include <NOD_geo_simulation.hh>

Public Types

using ItemT = NodeSimulationItem

Static Public Member Functions

static socket_items::SocketItemsRef< NodeSimulationItemget_items_from_node (bNode &node)
static void copy_item (const NodeSimulationItem &src, NodeSimulationItem &dst)
static void destruct_item (NodeSimulationItem *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 NodeSimulationItem &item)
static char ** get_name (NodeSimulationItem &item)
static bool supports_socket_type (const eNodeSocketDatatype socket_type)
static void init_with_socket_type_and_name (bNode &node, NodeSimulationItem &item, const eNodeSocketDatatype socket_type, const char *name)
static std::string socket_identifier_for_item (const NodeSimulationItem &item)

Static Public Attributes

static StructRNAitem_srna = &RNA_SimulationStateItem
static int node_type = GEO_NODE_SIMULATION_OUTPUT
static constexpr const char * node_idname = "GeometryNodeSimulationOutput"
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 simulation items.

Definition at line 17 of file NOD_geo_simulation.hh.

Member Typedef Documentation

◆ ItemT

Member Function Documentation

◆ blend_read_data()

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

◆ blend_write()

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

◆ copy_item()

void blender::nodes::SimulationItemsAccessor::copy_item ( const NodeSimulationItem & src,
NodeSimulationItem & dst )
inlinestatic

Definition at line 31 of file NOD_geo_simulation.hh.

References BLI_strdup_null(), and NodeSimulationItem::name.

◆ destruct_item()

void blender::nodes::SimulationItemsAccessor::destruct_item ( NodeSimulationItem * item)
inlinestatic

Definition at line 36 of file NOD_geo_simulation.hh.

References MEM_SAFE_FREE, and NodeSimulationItem::name.

◆ get_items_from_node()

socket_items::SocketItemsRef< NodeSimulationItem > blender::nodes::SimulationItemsAccessor::get_items_from_node ( bNode & node)
inlinestatic

Definition at line 26 of file NOD_geo_simulation.hh.

References bNode::storage.

◆ get_name()

char ** blender::nodes::SimulationItemsAccessor::get_name ( NodeSimulationItem & item)
inlinestatic

Definition at line 46 of file NOD_geo_simulation.hh.

References NodeSimulationItem::name.

◆ get_socket_type()

eNodeSocketDatatype blender::nodes::SimulationItemsAccessor::get_socket_type ( const NodeSimulationItem & item)
inlinestatic

Definition at line 42 of file NOD_geo_simulation.hh.

References NodeSimulationItem::socket_type.

◆ init_with_socket_type_and_name()

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

◆ socket_identifier_for_item()

std::string blender::nodes::SimulationItemsAccessor::socket_identifier_for_item ( const NodeSimulationItem & item)
inlinestatic

◆ supports_socket_type()

bool blender::nodes::SimulationItemsAccessor::supports_socket_type ( const eNodeSocketDatatype socket_type)
inlinestatic

Member Data Documentation

◆ has_name

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

Definition at line 23 of file NOD_geo_simulation.hh.

◆ has_single_identifier_str

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

Definition at line 24 of file NOD_geo_simulation.hh.

◆ has_type

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

Definition at line 22 of file NOD_geo_simulation.hh.

◆ item_srna

◆ node_idname

const char* blender::nodes::SimulationItemsAccessor::node_idname = "GeometryNodeSimulationOutput"
staticconstexpr

Definition at line 21 of file NOD_geo_simulation.hh.

◆ node_type

int blender::nodes::SimulationItemsAccessor::node_type = GEO_NODE_SIMULATION_OUTPUT
static

Definition at line 20 of file NOD_geo_simulation.hh.


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