Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/nodes/node_shader_hair_info.cc
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| /* node type definition */ | /* node type definition */ | ||||
| void register_node_type_sh_hair_info() | void register_node_type_sh_hair_info() | ||||
| { | { | ||||
| namespace file_ns = blender::nodes::node_shader_hair_info_cc; | namespace file_ns = blender::nodes::node_shader_hair_info_cc; | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| sh_node_type_base(&ntype, SH_NODE_HAIR_INFO, "Hair Info", NODE_CLASS_INPUT, 0); | sh_node_type_base(&ntype, SH_NODE_HAIR_INFO, "Hair Info", NODE_CLASS_INPUT); | ||||
| node_type_socket_templates(&ntype, nullptr, file_ns::outputs); | node_type_socket_templates(&ntype, nullptr, file_ns::outputs); | ||||
| node_type_gpu(&ntype, file_ns::node_shader_gpu_hair_info); | node_type_gpu(&ntype, file_ns::node_shader_gpu_hair_info); | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||