26 .compositor_domain_priority(1);
28 .default_value({1.0f, 1.0f, 1.0f, 1.0f})
29 .compositor_domain_priority(0);
41 for (
int c = 0; c < 3; c++) {
71 float range_minimums[
CM_TOT];
73 float range_dividers[
CM_TOT];
78 "node_composite_hue_correct",
107 ntype.
declare = file_ns::cmp_node_huecorrect_declare;
109 ntype.
initfunc = file_ns::node_composit_init_huecorrect;
#define NODE_CLASS_OP_COLOR
bool GPU_stack_link(GPUMaterial *mat, const bNode *node, const char *name, GPUNodeStack *in, GPUNodeStack *out,...)
GPUNodeLink * GPU_constant(const float *num)
GPUNodeLink * GPU_color_band(GPUMaterial *mat, int size, float *pixels, float *r_row)
GPUNodeLink * GPU_uniform(const float *num)
void compile(GPUMaterial *material) override
const CurveMapping * get_curve_mapping()
GPUNodeStack * get_inputs_array()
GPUNodeStack * get_outputs_array()
const bNode & bnode() const
local_group_size(16, 16) .push_constant(Type b
void node_type_size(bNodeType *ntype, int width, int minwidth, int maxwidth)
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 ShaderNode * get_compositor_shader_node(DNode node)
static void node_composit_init_huecorrect(bNodeTree *, bNode *node)
static void cmp_node_huecorrect_declare(NodeDeclarationBuilder &b)
void register_node_type_cmp_huecorrect()
void cmp_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
void node_copy_curves(bNodeTree *, bNode *dest_node, const bNode *src_node)
void node_free_curves(bNode *node)
void(* initfunc)(bNodeTree *ntree, bNode *node)
NodeDeclareFunction declare
NodeGetCompositorShaderNodeFunction get_compositor_shader_node