65
65
/* node type definition */
70
node_type_base(ttype, &ntype, SH_NODE_TEX_CHECKER, "Checker Texture", NODE_CLASS_TEXTURE, 0);
70
sh_node_type_base(&ntype, SH_NODE_TEX_CHECKER, "Checker Texture", NODE_CLASS_TEXTURE, 0);
71
71
node_type_compatibility(&ntype, NODE_NEW_SHADING);
72
72
node_type_socket_templates(&ntype, sh_node_tex_checker_in, sh_node_tex_checker_out);
73
node_type_size(&ntype, 150, 60, 200);
74
73
node_type_init(&ntype, node_shader_init_tex_checker);
75
74
node_type_storage(&ntype, "NodeTexChecker", node_free_standard_storage, node_copy_standard_storage);
77
75
node_type_gpu(&ntype, node_shader_gpu_tex_checker);