20 #include "../node_shader_util.h"
36 if (out[0].hasoutput) {
39 if (out[1].hasoutput) {
42 if (out[2].hasoutput) {
45 if (out[3].hasoutput) {
void node_type_gpu(struct bNodeType *ntype, NodeGPUExecFunction gpu_fn)
void node_type_socket_templates(struct bNodeType *ntype, struct bNodeSocketTemplate *inputs, struct bNodeSocketTemplate *outputs)
void nodeRegisterType(struct bNodeType *ntype)
GPUNodeLink * GPU_volume_grid(GPUMaterial *mat, const char *name, eGPUVolumeDefaultValue default_value)
Group RGB to Bright Vector Camera Vector Combine Material Light Line Style Layer Add Ambient Diffuse Glossy Refraction Transparent Toon Principled Hair Volume Principled Light Particle SH_NODE_VOLUME_INFO
void sh_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass, short flag)
static bNodeSocketTemplate sh_node_volume_info_out[]
static int node_shader_gpu_volume_info(GPUMaterial *mat, bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), GPUNodeStack *UNUSED(in), GPUNodeStack *out)
void register_node_type_sh_volume_info(void)
struct GPUNodeLink * link
Compact definition of a node socket.