19 b.add_input<
decl::Color>(
N_(
"Image")).default_value({1.0f, 1.0f, 1.0f, 1.0f});
21 .default_value({0.0f, 0.0f, 0.0f})
25 b.add_input<
decl::Color>(
N_(
"Albedo")).default_value({1.0f, 1.0f, 1.0f, 1.0f}).hide_value();
39 #ifndef WITH_OPENIMAGEDENOISE
40 uiItemL(layout,
IFACE_(
"Disabled, built without OpenImageDenoise"), ICON_ERROR);
45 uiItemL(layout,
IFACE_(
"Disabled, CPU with SSE4.1 is required"), ICON_ERROR);
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 NODE_CLASS_OP_FILTER
void nodeRegisterType(struct bNodeType *ntype)
int BLI_cpu_support_sse41(void)
@ CMP_NODE_DENOISE_PREFILTER_ACCURATE
void uiItemL(uiLayout *layout, const char *name, int icon)
@ 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 node_composit_buts_denoise(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
static void node_composit_init_denonise(bNodeTree *UNUSED(ntree), bNode *node)
static void cmp_node_denoise_declare(NodeDeclarationBuilder &b)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_cmp_denoise()
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)
void(* draw_buttons)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeDeclareFunction declare