35 out[0] = std::clamp(fac, 0.0f, 1.0f);
#define NODE_CLASS_OP_COLOR
#define TEX_NODE_CURVE_TIME
#define TEX_NODE_CURVE_RGB
void node_register_type(bNodeType &ntype)
void node_type_socket_templates(bNodeType *ntype, bNodeSocketTemplate *inputs, bNodeSocketTemplate *outputs)
void node_type_storage(bNodeType &ntype, std::optional< StringRefNull > storagename, void(*freefunc)(bNode *node), void(*copyfunc)(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node))
CurveMapping * BKE_curvemapping_add(int tot, float minx, float miny, float maxx, float maxy)
static bke::bNodeSocketTemplate rgb_inputs[]
void BKE_curvemapping_evaluateRGBF(const CurveMapping *cumap, float vecout[3], const float vecin[3])
static bke::bNodeSocketTemplate rgb_outputs[]
static void rgb_colorfn(float *out, TexParams *p, bNode *node, bNodeStack **in, short thread)
void tex_input_rgba(float *out, bNodeStack *in, TexParams *params, short thread)
static bke::bNodeSocketTemplate time_outputs[]
void register_node_type_tex_curve_rgb()
void BKE_curvemapping_init(CurveMapping *cumap)
static void rgb_init(bNodeTree *, bNode *node)
BMesh const char void * data
void tex_output(bNode *node, bNodeExecData *, bNodeStack **in, bNodeStack *out, TexFn texfn, TexCallData *cdata)
void node_free_curves(bNode *node)
void register_node_type_tex_curve_time()
void node_copy_curves(bNodeTree *, bNode *dest_node, const bNode *src_node)
void tex_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
static void time_exec(void *data, int, bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
void * node_initexec_curves(bNodeExecContext *, bNode *node, bNodeInstanceKey)
static void time_colorfn(float *out, TexParams *p, bNode *node, bNodeStack **, short)
static void time_init(bNodeTree *, bNode *node)
float BKE_curvemapping_evaluateF(const CurveMapping *cumap, int cur, float value)
static void rgb_exec(void *data, int, bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
static constexpr int _240
Compact definition of a node socket.
void(*) initfunc(bNodeTree *ntree, bNode *node)
const char * enum_name_legacy
NodeInitExecFunction init_exec_fn