Blender  V2.93
Namespaces | Functions | Variables
node_geo_attribute_fill.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_fill_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void geo_node_attribute_fill_init (bNodeTree *UNUSED(tree), bNode *node)
 
static void geo_node_attribute_fill_update (bNodeTree *UNUSED(ntree), bNode *node)
 
static AttributeDomain blender::nodes::get_result_domain (const GeometryComponent &component, StringRef attribute_name)
 
static void blender::nodes::fill_attribute (GeometryComponent &component, const GeoNodeExecParams &params)
 
static void blender::nodes::geo_node_attribute_fill_exec (GeoNodeExecParams params)
 
void register_node_type_geo_attribute_fill ()
 

Variables

static bNodeSocketTemplate geo_node_attribute_fill_in []
 
static bNodeSocketTemplate geo_node_attribute_fill_out []
 

Function Documentation

◆ geo_node_attribute_fill_init()

static void geo_node_attribute_fill_init ( bNodeTree UNUSEDtree,
bNode node 
)
static

Definition at line 46 of file node_geo_attribute_fill.cc.

References ATTR_DOMAIN_AUTO, CD_PROP_FLOAT, and node.

Referenced by register_node_type_geo_attribute_fill().

◆ geo_node_attribute_fill_layout()

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

◆ geo_node_attribute_fill_update()

static void geo_node_attribute_fill_update ( bNodeTree UNUSEDntree,
bNode node 
)
static

◆ register_node_type_geo_attribute_fill()

void register_node_type_geo_attribute_fill ( void  )

Variable Documentation

◆ geo_node_attribute_fill_in

bNodeSocketTemplate geo_node_attribute_fill_in[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{SOCK_STRING, N_("Attribute")},
{SOCK_VECTOR, N_("Value"), 0.0f, 0.0f, 0.0f, 0.0f, -FLT_MAX, FLT_MAX},
{SOCK_FLOAT, N_("Value"), 0.0f, 0.0f, 0.0f, 0.0f, -FLT_MAX, FLT_MAX},
{SOCK_RGBA, N_("Value"), 0.0f, 0.0f, 0.0f, 0.0f, -FLT_MAX, FLT_MAX},
{SOCK_BOOLEAN, N_("Value"), 0.0f, 0.0f, 0.0f, 0.0f, -FLT_MAX, FLT_MAX},
{SOCK_INT, N_("Value"), 0, 0, 0, 0, -10000000.0f, 10000000.0f},
{-1, ""},
}
#define N_(msgid)
@ SOCK_INT
@ SOCK_VECTOR
@ SOCK_BOOLEAN
@ SOCK_FLOAT
@ SOCK_GEOMETRY
@ SOCK_STRING
@ SOCK_RGBA

Definition at line 22 of file node_geo_attribute_fill.cc.

Referenced by register_node_type_geo_attribute_fill().

◆ geo_node_attribute_fill_out

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

Definition at line 33 of file node_geo_attribute_fill.cc.

Referenced by register_node_type_geo_attribute_fill().