Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/nodes/node_shader_brightness.cc
| Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
| } // namespace blender::nodes::node_shader_brightness_cc | } // namespace blender::nodes::node_shader_brightness_cc | ||||
| void register_node_type_sh_brightcontrast() | void register_node_type_sh_brightcontrast() | ||||
| { | { | ||||
| namespace file_ns = blender::nodes::node_shader_brightness_cc; | namespace file_ns = blender::nodes::node_shader_brightness_cc; | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| sh_node_type_base(&ntype, SH_NODE_BRIGHTCONTRAST, "Bright/Contrast", NODE_CLASS_OP_COLOR, 0); | sh_node_type_base(&ntype, SH_NODE_BRIGHTCONTRAST, "Bright/Contrast", NODE_CLASS_OP_COLOR); | ||||
| node_type_socket_templates( | node_type_socket_templates( | ||||
| &ntype, file_ns::sh_node_brightcontrast_in, file_ns::sh_node_brightcontrast_out); | &ntype, file_ns::sh_node_brightcontrast_in, file_ns::sh_node_brightcontrast_out); | ||||
| node_type_gpu(&ntype, file_ns::gpu_shader_brightcontrast); | node_type_gpu(&ntype, file_ns::gpu_shader_brightcontrast); | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||