Blender V5.0
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_geo_exec (GeoNodeExecParams params)
static void node_init (bNodeTree *, bNode *node)
static void node_rna (StructRNA *srna)
static void node_register ()

Variables

static const EnumPropertyItem interpolation_mode_items []

Enumeration Type Documentation

◆ InterpolationMode

Enumerator
Nearest 
TriLinear 
TriQuadratic 

Definition at line 26 of file node_geo_sample_grid.cc.

Function Documentation

◆ node_declare()

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

◆ node_gather_link_search_ops()

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

Definition at line 75 of file node_geo_sample_grid.cc.

References bNode::custom1, IFACE_, node_type_for_socket_type(), params, SOCK_IN, and SOCK_VECTOR.

Referenced by node_register().

◆ node_geo_exec()

void blender::nodes::node_geo_sample_grid_cc::node_geo_exec ( GeoNodeExecParams params)
static

◆ node_init()

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

Definition at line 259 of file node_geo_sample_grid.cc.

References bNode::custom1, and SOCK_FLOAT.

Referenced by node_register().

◆ node_layout()

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

Definition at line 105 of file node_geo_sample_grid.cc.

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

Referenced by node_register().

◆ node_register()

◆ node_rna()

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

◆ node_type_for_socket_type()

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

Variable Documentation

◆ interpolation_mode_items

const EnumPropertyItem blender::nodes::node_geo_sample_grid_cc::interpolation_mode_items[]
static
Initial value:
= {
{int(InterpolationMode::Nearest), "NEAREST", 0, N_("Nearest Neighbor"), ""},
{int(InterpolationMode::TriLinear), "TRILINEAR", 0, N_("Trilinear"), ""},
{int(InterpolationMode::TriQuadratic), "TRIQUADRATIC", 0, N_("Triquadratic"), ""},
{0, nullptr, 0, nullptr, nullptr},
}
#define N_(msgid)

Definition at line 32 of file node_geo_sample_grid.cc.

Referenced by node_declare().