27 .default_value({1.0f, 1.0f, 1.0f, 1.0f})
28 .compositor_domain_priority(0);
30 .default_value({1.0f, 1.0f, 1.0f, 1.0f})
31 .compositor_domain_priority(1);
38 NodeChroma *c = MEM_cnew<NodeChroma>(__func__);
81 "node_composite_color_matte",
92 return node_storage(
bnode()).t1 / 2.0f;
97 return node_storage(
bnode()).t2;
102 return node_storage(
bnode()).t3;
120 ntype.
declare = file_ns::cmp_node_color_matte_declare;
121 ntype.
draw_buttons = file_ns::node_composit_buts_color_matte;
123 ntype.
initfunc = file_ns::node_composit_init_color_matte;
#define NODE_STORAGE_FUNCS(StorageT)
bool GPU_stack_link(GPUMaterial *mat, const bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
GPUNodeLink * GPU_uniform(const float *num)
uiLayout * uiLayoutColumn(uiLayout *layout, bool align)
void uiItemR(uiLayout *layout, PointerRNA *ptr, const char *propname, eUI_Item_Flag flag, const char *name, int icon)
@ UI_ITEM_R_SPLIT_EMPTY_NAME
float get_value_epsilon()
void compile(GPUMaterial *material) override
float get_saturation_epsilon()
GPUNodeStack * get_inputs_array()
GPUNodeStack * get_outputs_array()
const bNode & bnode() const
local_group_size(16, 16) .push_constant(Type b
void node_type_storage(bNodeType *ntype, const char *storagename, void(*freefunc)(bNode *node), void(*copyfunc)(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node))
void node_register_type(bNodeType *ntype)
static void node_composit_init_color_matte(bNodeTree *, bNode *node)
static void node_composit_buts_color_matte(uiLayout *layout, bContext *, PointerRNA *ptr)
static void cmp_node_color_matte_declare(NodeDeclarationBuilder &b)
static ShaderNode * get_compositor_shader_node(DNode node)
void register_node_type_cmp_color_matte()
void cmp_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
void node_free_standard_storage(bNode *node)
void node_copy_standard_storage(bNodeTree *, bNode *dest_node, const bNode *src_node)
void(* initfunc)(bNodeTree *ntree, bNode *node)
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare
NodeGetCompositorShaderNodeFunction get_compositor_shader_node