20 template_color_picker(&col, ¶ms.
node_ptr,
"value",
true,
false,
false,
false);
46 ntype.
ui_description =
"Output a color value chosen with the color picker widget";
#define FN_NODE_INPUT_COLOR
#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))
@ ITEM_R_SPLIT_EMPTY_NAME
MINLINE void copy_v4_fl4(float v[4], float x, float y, float z, float w)
BMesh const char void * data
void fn_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
void node_copy_standard_storage(bNodeTree *, bNode *dest_node, const bNode *src_node)
ColorSceneLinear4f< eAlpha::Premultiplied > ColorGeometry4f
void node_free_standard_storage(bNode *node)
std::string ui_description
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)
Layout & column(bool align)