Blender  V2.93
Functions | Variables
node_shader_add_shader.c File Reference
#include "../node_shader_util.h"

Go to the source code of this file.

Functions

static int node_shader_gpu_add_shader (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
void register_node_type_sh_add_shader (void)
 

Variables

static bNodeSocketTemplate sh_node_add_shader_in []
 
static bNodeSocketTemplate sh_node_add_shader_out []
 

Function Documentation

◆ node_shader_gpu_add_shader()

static int node_shader_gpu_add_shader ( GPUMaterial mat,
bNode node,
bNodeExecData UNUSEDexecdata,
GPUNodeStack in,
GPUNodeStack out 
)
static

Definition at line 35 of file node_shader_add_shader.c.

References GPU_stack_link(), and node.

Referenced by register_node_type_sh_add_shader().

◆ register_node_type_sh_add_shader()

void register_node_type_sh_add_shader ( void  )

Variable Documentation

◆ sh_node_add_shader_in

bNodeSocketTemplate sh_node_add_shader_in[]
static
Initial value:
= {
{SOCK_SHADER, N_("Shader")},
{SOCK_SHADER, N_("Shader")},
{-1, ""},
}
#define N_(msgid)
@ SOCK_SHADER

Definition at line 24 of file node_shader_add_shader.c.

Referenced by register_node_type_sh_add_shader().

◆ sh_node_add_shader_out

bNodeSocketTemplate sh_node_add_shader_out[]
static
Initial value:
= {
{SOCK_SHADER, N_("Shader")},
{-1, ""},
}

Definition at line 30 of file node_shader_add_shader.c.

Referenced by register_node_type_sh_add_shader().