Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/nodes/node_shader_hueSatVal.cc
| Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
| } // namespace blender::nodes::node_shader_hueSatVal_cc | } // namespace blender::nodes::node_shader_hueSatVal_cc | ||||
| void register_node_type_sh_hue_sat() | void register_node_type_sh_hue_sat() | ||||
| { | { | ||||
| namespace file_ns = blender::nodes::node_shader_hueSatVal_cc; | namespace file_ns = blender::nodes::node_shader_hueSatVal_cc; | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| sh_node_type_base(&ntype, SH_NODE_HUE_SAT, "Hue Saturation Value", NODE_CLASS_OP_COLOR, 0); | sh_node_type_base(&ntype, SH_NODE_HUE_SAT, "Hue Saturation Value", NODE_CLASS_OP_COLOR); | ||||
| node_type_socket_templates(&ntype, file_ns::sh_node_hue_sat_in, file_ns::sh_node_hue_sat_out); | node_type_socket_templates(&ntype, file_ns::sh_node_hue_sat_in, file_ns::sh_node_hue_sat_out); | ||||
| node_type_size_preset(&ntype, NODE_SIZE_MIDDLE); | node_type_size_preset(&ntype, NODE_SIZE_MIDDLE); | ||||
| node_type_exec(&ntype, nullptr, nullptr, file_ns::node_shader_exec_hue_sat); | node_type_exec(&ntype, nullptr, nullptr, file_ns::node_shader_exec_hue_sat); | ||||
| node_type_gpu(&ntype, file_ns::gpu_shader_hue_sat); | node_type_gpu(&ntype, file_ns::gpu_shader_hue_sat); | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||