35 int integer = node_storage->
integer;
49 NodeItem integer = get_output_default(
"Integer", NodeItem::Type::Integer);
50 return create_node(
"constant", NodeItem::Type::Integer, {{
"value", integer}});
68 "Provide an integer value that can be connected to other nodes in the tree";
#define FN_NODE_INPUT_INT
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void construct_and_set_matching_fn(Args &&...args)
void node_register_type(bNodeType &ntype)
void node_type_storage(bNodeType &ntype, std::optional< StringRefNull > storagename, void(*freefunc)(bNode *node), void(*copyfunc)(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node))
bool value_node_has_gizmo(const bNodeTree &tree, const bNode &node)
@ ITEM_R_SPLIT_EMPTY_NAME
GPUNodeLink * GPU_uniform(const float *num)
bool GPU_link(GPUMaterial *mat, const char *name,...)
BMesh const char void * data
void node_copy_standard_storage(bNodeTree *, bNode *dest_node, const bNode *src_node)
void node_free_standard_storage(bNode *node)
void common_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
#define NODE_SHADER_MATERIALX_BEGIN
#define NODE_SHADER_MATERIALX_END
NodeMaterialXFunction materialx_fn
std::string ui_description
NodeGPUExecFunction gpu_fn
NodeMultiFunctionBuildFunction build_multi_function
void(*) initfunc(bNodeTree *ntree, bNode *node)
const char * enum_name_legacy
NodeDeclareFunction declare
void alignment_set(LayoutAlign alignment)
void prop(PointerRNA *ptr, PropertyRNA *prop, int index, int value, eUI_Item_Flag flag, std::optional< StringRef > name_opt, int icon, std::optional< StringRef > placeholder=std::nullopt)