24 GPU_link(mat,
"node_output_material_surface", in[0].link, &outlink_surface);
40 ntype.
declare = file_ns::node_declare;
42 ntype.
gpu_fn = file_ns::node_shader_gpu_output_light;
#define NODE_CLASS_OUTPUT
#define SH_NODE_OUTPUT_LIGHT
void GPU_material_output_surface(GPUMaterial *material, GPUNodeLink *link)
bool GPU_link(GPUMaterial *mat, const char *name,...)
local_group_size(16, 16) .push_constant(Type b
void node_register_type(bNodeType *ntype)
static int node_shader_gpu_output_light(GPUMaterial *mat, bNode *, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *)
static void node_declare(NodeDeclarationBuilder &b)
void register_node_type_sh_output_light()
void sh_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
bool object_cycles_shader_nodes_poll(const bContext *C)
bool(* add_ui_poll)(const bContext *C)
NodeGPUExecFunction gpu_fn
NodeDeclareFunction declare