20 .default_value({0.5f, 0.5f, 0.5f, 1.0f})
24 template_color_picker(
25 &col, ¶ms.
socket_ptr,
"default_value",
true,
false,
false,
false);
43 result.allocate_single_value();
#define NOD_REGISTER_NODE(REGISTER_FUNC)
NodeOperation(Context &context, const bNode &node)
const bNode & node() const
Result & get_result(StringRef identifier)
NodeOperation(Context &context, const bNode &node)
void node_register_type(bNodeType &ntype)
ColorSceneLinear4f< eAlpha::Premultiplied > Color
static NodeOperation * get_compositor_operation(Context &context, const bNode &node)
static void node_register()
static void node_declare(NodeDeclarationBuilder &b)
@ ITEM_R_SPLIT_EMPTY_NAME
void cmp_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
ListBaseT< bNodeSocket > outputs
std::string ui_description
NodeGetCompositorOperationFunction get_compositor_operation
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)