Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/nodes/node_shader_output_linestyle.c
| Show All 28 Lines | static bNodeSocketTemplate sh_node_output_linestyle_in[] = { | ||||
| {-1, ""}, | {-1, ""}, | ||||
| }; | }; | ||||
| /* node type definition */ | /* node type definition */ | ||||
| void register_node_type_sh_output_linestyle(void) | void register_node_type_sh_output_linestyle(void) | ||||
| { | { | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| sh_node_type_base(&ntype, SH_NODE_OUTPUT_LINESTYLE, "Line Style Output", NODE_CLASS_OUTPUT, 0); | sh_node_type_base(&ntype, SH_NODE_OUTPUT_LINESTYLE, "Line Style Output", NODE_CLASS_OUTPUT); | ||||
| node_type_socket_templates(&ntype, sh_node_output_linestyle_in, NULL); | node_type_socket_templates(&ntype, sh_node_output_linestyle_in, NULL); | ||||
| ntype.no_muting = true; | ntype.no_muting = true; | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||