22 b.add_input<
decl::Float>(
N_(
"Value")).supports_field().hide_value();
23 b.add_input<
decl::Vector>(
N_(
"Value"),
"Value_001").supports_field().hide_value();
24 b.add_input<
decl::Color>(
N_(
"Value"),
"Value_002").supports_field().hide_value();
25 b.add_input<
decl::Int>(
N_(
"Value"),
"Value_003").supports_field().hide_value();
26 b.add_input<
decl::Bool>(
N_(
"Value"),
"Value_004").supports_field().hide_value();
39 uiItemR(layout,
ptr,
"data_type", 0,
"", ICON_NONE);
94 params.connect_available_socket(
node,
"Geometry");
102 node_storage(
node).data_type = *
type;
103 params.update_and_connect_available_socket(
node,
"Value");
struct SpaceNode * CTX_wm_space_node(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
#define NODE_CLASS_OUTPUT
void node_type_update(struct bNodeType *ntype, void(*updatefunc)(struct bNodeTree *ntree, struct bNode *node))
#define NODE_STORAGE_FUNCS(StorageT)
void nodeSetSocketAvailability(struct bNodeTree *ntree, struct bNodeSocket *sock, bool is_available)
void node_type_init(struct bNodeType *ntype, void(*initfunc)(struct bNodeTree *ntree, struct bNode *node))
void node_type_storage(struct bNodeType *ntype, const char *storagename, void(*freefunc)(struct bNode *node), void(*copyfunc)(struct bNodeTree *dest_ntree, struct bNode *dest_node, const struct bNode *src_node))
struct bNodeLink * nodeAddLink(struct bNodeTree *ntree, struct bNode *fromnode, struct bNodeSocket *fromsock, struct bNode *tonode, struct bNodeSocket *tosock)
void nodeRegisterType(struct bNodeType *ntype)
#define BLI_assert_unreachable()
#define LISTBASE_FOREACH(type, var, list)
void ED_node_set_active(struct Main *bmain, struct SpaceNode *snode, struct bNodeTree *ntree, struct bNode *node, bool *r_active_texture_changed)
void ED_spreadsheet_context_paths_set_geometry_node(struct Main *bmain, struct SpaceNode *snode, struct bNode *node)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
static void node_update(bNodeTree *ntree, bNode *node)
static eNodeSocketDatatype custom_data_type_to_socket_type(const eCustomDataType type)
static void node_init(bNodeTree *UNUSED(tree), bNode *node)
static void node_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
static void node_declare(NodeDeclarationBuilder &b)
static void node_gather_link_searches(GatherLinkSearchOpParams ¶ms)
std::optional< eCustomDataType > node_socket_to_custom_data_type(const bNodeSocket &socket)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
static void node_init(const struct bContext *C, bNodeTree *ntree, bNode *node)
void register_node_type_geo_viewer()
void geo_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
void node_copy_standard_storage(bNodeTree *UNUSED(dest_ntree), bNode *dest_node, const bNode *src_node)
void node_free_standard_storage(bNode *node)
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
void(* draw_buttons_ex)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeDeclareFunction declare