19 b.add_input<
decl::Color>(
N_(
"Image")).default_value({1.0f, 1.0f, 1.0f, 1.0f});
20 b.add_input<
decl::Vector>(
N_(
"UV")).default_value({1.0f, 0.0f, 0.0f}).
min(0.0f).max(1.0f);
#define NODE_CLASS_DISTORT
void nodeRegisterType(struct bNodeType *ntype)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
static void cmp_node_map_uv_declare(NodeDeclarationBuilder &b)
static void node_composit_buts_map_uv(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_cmp_mapuv()
void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
void(* draw_buttons)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeDeclareFunction declare