27 for (i = 0; i < 4; i++) {
31 switch (
node->custom1) {
void node_type_socket_templates(struct bNodeType *ntype, struct bNodeSocketTemplate *inputs, struct bNodeSocketTemplate *outputs)
void node_type_update(struct bNodeType *ntype, void(*updatefunc)(struct bNodeTree *ntree, struct bNode *node))
#define TEX_NODE_COMBINE_COLOR
#define NODE_CLASS_OP_COLOR
void node_type_exec(struct bNodeType *ntype, NodeInitExecFunction init_exec_fn, NodeFreeExecFunction free_exec_fn, NodeExecFunction exec_fn)
void nodeRegisterType(struct bNodeType *ntype)
#define BLI_assert_unreachable()
void hsv_to_rgb_v(const float hsv[3], float r_rgb[3])
void hsl_to_rgb_v(const float hsl[3], float r_rgb[3])
static const pxr::TfToken out("out", pxr::TfToken::Immortal)
void register_node_type_tex_combine_color(void)
static bNodeSocketTemplate outputs[]
static void update(bNodeTree *UNUSED(ntree), bNode *node)
static bNodeSocketTemplate inputs[]
static void exec(void *data, int UNUSED(thread), bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
static void colorfn(float *out, TexParams *p, bNode *node, bNodeStack **in, short thread)
float tex_input_value(bNodeStack *in, TexParams *params, short thread)
void tex_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass)
void tex_output(bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack *out, TexFn texfn, TexCallData *cdata)
void node_combsep_color_label(const ListBase *sockets, NodeCombSepColorMode mode)
Compact definition of a node socket.