21 b.add_input<
decl::Color>(
N_(
"Image")).default_value({1.0f, 1.0f, 1.0f, 1.0f});
31 if (first_colorspace && first_colorspace[0]) {
#define NODE_CLASS_CONVERTER
void node_type_init(struct bNodeType *ntype, void(*initfunc)(struct bNodeTree *ntree, struct bNode *node))
void node_type_size_preset(struct bNodeType *ntype, eNodeSizePreset size)
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_CONVERT_COLOR_SPACE
void nodeRegisterType(struct bNodeType *ntype)
#define STRNCPY(dst, src)
@ COLOR_ROLE_SCENE_LINEAR
const char * IMB_colormanagement_role_colorspace_name_get(int role)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
void *(* MEM_callocN)(size_t len, const char *str)
static void node_composit_init_convert_colorspace(bNodeTree *UNUSED(ntree), bNode *node)
static void node_composit_buts_convert_colorspace(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
static void CMP_NODE_CONVERT_COLOR_SPACE_declare(NodeDeclarationBuilder &b)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_cmp_convert_color_space(void)
void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
void node_copy_standard_storage(bNodeTree *UNUSED(dest_ntree), bNode *dest_node, const bNode *src_node)
void node_free_standard_storage(bNode *node)
char from_color_space[64]
void(* draw_buttons)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeDeclareFunction declare