Blender  V2.93
Namespaces | Functions | Variables
node_geo_attribute_convert.cc File Reference
#include "UI_interface.h"
#include "UI_resources.h"
#include "node_geometry_util.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::nodes
 

Functions

static void geo_node_attribute_convert_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void geo_node_attribute_convert_init (bNodeTree *UNUSED(tree), bNode *node)
 
static AttributeDomain blender::nodes::get_result_domain (const GeometryComponent &component, StringRef source_name, StringRef result_name)
 
static bool blender::nodes::conversion_can_be_skipped (const GeometryComponent &component, const StringRef source_name, const StringRef result_name, const AttributeDomain result_domain, const CustomDataType result_type)
 
static void blender::nodes::attribute_convert_calc (GeometryComponent &component, const GeoNodeExecParams &params, const StringRef source_name, const StringRef result_name, const CustomDataType result_type, const AttributeDomain domain)
 
static void blender::nodes::geo_node_attribute_convert_exec (GeoNodeExecParams params)
 
void register_node_type_geo_attribute_convert ()
 

Variables

static bNodeSocketTemplate geo_node_attribute_convert_in []
 
static bNodeSocketTemplate geo_node_attribute_convert_out []
 

Function Documentation

◆ geo_node_attribute_convert_init()

static void geo_node_attribute_convert_init ( bNodeTree UNUSEDtree,
bNode node 
)
static

◆ geo_node_attribute_convert_layout()

static void geo_node_attribute_convert_layout ( uiLayout layout,
bContext UNUSEDC,
PointerRNA ptr 
)
static

Definition at line 34 of file node_geo_attribute_convert.cc.

References ptr, and uiItemR().

Referenced by register_node_type_geo_attribute_convert().

◆ register_node_type_geo_attribute_convert()

void register_node_type_geo_attribute_convert ( void  )

Variable Documentation

◆ geo_node_attribute_convert_in

bNodeSocketTemplate geo_node_attribute_convert_in[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{SOCK_STRING, N_("Attribute")},
{SOCK_STRING, N_("Result")},
{-1, ""},
}
#define N_(msgid)
@ SOCK_GEOMETRY
@ SOCK_STRING

Definition at line 22 of file node_geo_attribute_convert.cc.

Referenced by register_node_type_geo_attribute_convert().

◆ geo_node_attribute_convert_out

bNodeSocketTemplate geo_node_attribute_convert_out[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{-1, ""},
}

Definition at line 29 of file node_geo_attribute_convert.cc.

Referenced by register_node_type_geo_attribute_convert().