Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/texture/nodes/node_texture_hueSatVal.c
| Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| tex_output(node, execdata, in, out[0], &colorfn, data); | tex_output(node, execdata, in, out[0], &colorfn, data); | ||||
| } | } | ||||
| void register_node_type_tex_hue_sat(void) | void register_node_type_tex_hue_sat(void) | ||||
| { | { | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| tex_node_type_base(&ntype, TEX_NODE_HUE_SAT, "Hue Saturation Value", NODE_CLASS_OP_COLOR, 0); | tex_node_type_base(&ntype, TEX_NODE_HUE_SAT, "Hue Saturation Value", NODE_CLASS_OP_COLOR); | ||||
| node_type_socket_templates(&ntype, inputs, outputs); | node_type_socket_templates(&ntype, inputs, outputs); | ||||
| node_type_size_preset(&ntype, NODE_SIZE_MIDDLE); | node_type_size_preset(&ntype, NODE_SIZE_MIDDLE); | ||||
| node_type_exec(&ntype, NULL, NULL, exec); | node_type_exec(&ntype, NULL, NULL, exec); | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||