23 b.add_input<
decl::Color>(
N_(
"Image")).default_value({0.8f, 0.8f, 0.8f, 1.0f});
29 if (
node->custom1 == 0) {
52 node->storage =
nullptr;
struct Scene * CTX_data_scene(const bContext *C)
void id_us_plus(struct ID *id)
#define CMP_NODE_MOVIEDISTORTION
#define NODE_CLASS_DISTORT
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))
void nodeRegisterType(struct bNodeType *ntype)
struct MovieDistortion * BKE_tracking_distortion_copy(struct MovieDistortion *distortion)
void BKE_tracking_distortion_free(struct MovieDistortion *distortion)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
@ UI_ITEM_R_SPLIT_EMPTY_NAME
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
void uiTemplateID(uiLayout *layout, const struct bContext *C, struct PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int filter, bool live_icon, const char *text)
@ UI_TEMPLATE_ID_FILTER_ALL
static void label(const bNodeTree *UNUSED(ntree), const bNode *node, char *label, int maxlen)
static void init(const bContext *C, PointerRNA *ptr)
static void storage_copy(bNodeTree *UNUSED(dest_ntree), bNode *dest_node, const bNode *src_node)
static void node_composit_buts_moviedistortion(uiLayout *layout, bContext *C, PointerRNA *ptr)
static void storage_free(bNode *node)
static void cmp_node_moviedistortion_declare(NodeDeclarationBuilder &b)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_cmp_moviedistortion()
void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
void(* initfunc_api)(const struct bContext *C, struct PointerRNA *ptr)
void(* labelfunc)(const struct bNodeTree *ntree, const struct bNode *node, char *label, int maxlen)
void(* draw_buttons)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeDeclareFunction declare