Blender V4.3
blender::nodes::node_geo_sample_grid_cc Namespace Reference

Enumerations

enum class  InterpolationMode { Nearest = 0 , TriLinear = 1 , TriQuadratic = 2 }
 

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static std::optional< eNodeSocketDatatypenode_type_for_socket_type (const bNodeSocket &socket)
 
static void node_gather_link_search_ops (GatherLinkSearchOpParams &params)
 
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
 
static void node_init (bNodeTree *, bNode *node)
 
static void node_geo_exec (GeoNodeExecParams params)
 
static const EnumPropertyItemdata_type_filter_fn (bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
 
static void node_rna (StructRNA *srna)
 
static void node_register ()
 

Enumeration Type Documentation

◆ InterpolationMode

Enumerator
Nearest 
TriLinear 
TriQuadratic 

Definition at line 25 of file node_geo_sample_grid.cc.

Function Documentation

◆ data_type_filter_fn()

static const EnumPropertyItem * blender::nodes::node_geo_sample_grid_cc::data_type_filter_fn ( bContext * ,
PointerRNA * ,
PropertyRNA * ,
bool * r_free )
static

◆ node_declare()

static void blender::nodes::node_geo_sample_grid_cc::node_declare ( NodeDeclarationBuilder & b)
static

Definition at line 31 of file node_geo_sample_grid.cc.

References b, and blender::nodes::implicit_field_inputs::position().

Referenced by node_register().

◆ node_gather_link_search_ops()

static void blender::nodes::node_geo_sample_grid_cc::node_gather_link_search_ops ( GatherLinkSearchOpParams & params)
static

Definition at line 62 of file node_geo_sample_grid.cc.

References IFACE_, node_type_for_socket_type(), params, SOCK_IN, and SOCK_VECTOR.

Referenced by node_register().

◆ node_geo_exec()

◆ node_init()

static void blender::nodes::node_geo_sample_grid_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 101 of file node_geo_sample_grid.cc.

References SOCK_FLOAT, and TriLinear.

Referenced by node_register().

◆ node_layout()

static void blender::nodes::node_geo_sample_grid_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 95 of file node_geo_sample_grid.cc.

References ptr, UI_ITEM_NONE, and uiItemR().

Referenced by node_register().

◆ node_register()

◆ node_rna()

static void blender::nodes::node_geo_sample_grid_cc::node_rna ( StructRNA * srna)
static

◆ node_type_for_socket_type()

static std::optional< eNodeSocketDatatype > blender::nodes::node_geo_sample_grid_cc::node_type_for_socket_type ( const bNodeSocket & socket)
static