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

Classes

class  SampleIndexFunction
 

Functions

 NODE_STORAGE_FUNCS (NodeGeometrySampleIndex)
 
static void node_declare (NodeDeclarationBuilder &b)
 
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
 
static void node_init (bNodeTree *, bNode *node)
 
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
 
static bool component_is_available (const GeometrySet &geometry, const GeometryComponent::Type type, const AttrDomain domain)
 
static const GeometryComponentfind_source_component (const GeometrySet &geometry, const AttrDomain domain)
 
template<typename T >
void copy_with_clamped_indices (const VArray< T > &src, const VArray< int > &indices, const IndexMask &mask, MutableSpan< T > dst)
 
static void node_geo_exec (GeoNodeExecParams params)
 
static void node_register ()
 

Function Documentation

◆ component_is_available()

static bool blender::nodes::node_geo_sample_index_cc::component_is_available ( const GeometrySet & geometry,
const GeometryComponent::Type type,
const AttrDomain domain )
static

◆ copy_with_clamped_indices()

template<typename T >
void blender::nodes::node_geo_sample_index_cc::copy_with_clamped_indices ( const VArray< T > & src,
const VArray< int > & indices,
const IndexMask & mask,
MutableSpan< T > dst )

◆ find_source_component()

◆ node_declare()

◆ node_gather_link_searches()

static void blender::nodes::node_geo_sample_index_cc::node_gather_link_searches ( GatherLinkSearchOpParams & params)
static

◆ node_geo_exec()

◆ node_init()

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

Definition at line 53 of file node_geo_sample_index.cc.

References CD_PROP_FLOAT, and data.

Referenced by node_register().

◆ node_layout()

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

Definition at line 46 of file node_geo_sample_index.cc.

References ptr, UI_ITEM_NONE, and uiItemR().

Referenced by node_register().

◆ node_register()

◆ NODE_STORAGE_FUNCS()

blender::nodes::node_geo_sample_index_cc::NODE_STORAGE_FUNCS ( NodeGeometrySampleIndex )