23 GPU_link(mat,
"node_output_material_surface", in[0].link, &outlink_surface);
void node_type_gpu(struct bNodeType *ntype, NodeGPUExecFunction gpu_fn)
#define NODE_CLASS_OUTPUT
#define SH_NODE_OUTPUT_LIGHT
void nodeRegisterType(struct bNodeType *ntype)
void GPU_material_output_surface(GPUMaterial *material, GPUNodeLink *link)
bool GPU_link(GPUMaterial *mat, const char *name,...)
static int node_shader_gpu_output_light(GPUMaterial *mat, bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *UNUSED(out))
static void node_declare(NodeDeclarationBuilder &b)
static const pxr::TfToken out("out", pxr::TfToken::Immortal)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void register_node_type_sh_output_light()
void sh_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass)
NodeDeclareFunction declare