Blender V4.5
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 26 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 32 of file node_geo_sample_grid.cc.

References b, node, and NODE_DEFAULT_INPUT_POSITION_FIELD.

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

◆ node_geo_exec()

◆ node_init()

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

Definition at line 102 of file node_geo_sample_grid.cc.

References node, 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 96 of file node_geo_sample_grid.cc.

References uiLayout::prop(), ptr, and UI_ITEM_NONE.

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