55 b.add_input<
decl::Vector>(
N_(
"Vector")).default_value({0.0f, 0.0f, 0.0f}).
min(-1.0f).max(1.0f);
93 b.add_input<
decl::Float>(
N_(
"Fac")).default_value(1.0f).min(-1.0f).max(1.0f).subtype(
95 b.add_input<
decl::Color>(
N_(
"Image")).default_value({1.0f, 1.0f, 1.0f, 1.0f});
96 b.add_input<
decl::Color>(
N_(
"Black Level")).default_value({0.0f, 0.0f, 0.0f, 1.0f});
97 b.add_input<
decl::Color>(
N_(
"White Level")).default_value({1.0f, 1.0f, 1.0f, 1.0f});
void node_type_size(struct bNodeType *ntype, int width, int minwidth, int maxwidth)
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))
#define CMP_NODE_CURVE_RGB
#define NODE_CLASS_OP_VECTOR
#define NODE_CLASS_OP_COLOR
#define CMP_NODE_CURVE_VEC
void nodeRegisterType(struct bNodeType *ntype)
void uiTemplateCurveMapping(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int type, bool levels, bool brush, bool neg_slope, bool tone)
static void node_composit_init_curve_vec(bNodeTree *UNUSED(ntree), bNode *node)
static void cmp_node_rgbcurves_declare(NodeDeclarationBuilder &b)
static void node_composit_init_curves_time(bNodeTree *UNUSED(ntree), bNode *node)
static void cmp_node_curve_vec_declare(NodeDeclarationBuilder &b)
static void node_composit_init_curve_rgb(bNodeTree *UNUSED(ntree), bNode *node)
static void node_buts_curvevec(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
static void cmp_node_time_declare(NodeDeclarationBuilder &b)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_cmp_curve_rgb()
void register_node_type_cmp_curve_time()
void register_node_type_cmp_curve_vec()
void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
void node_copy_curves(bNodeTree *UNUSED(dest_ntree), bNode *dest_node, const bNode *src_node)
void node_free_curves(bNode *node)
void(* draw_buttons)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeDeclareFunction declare