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

Go to the source code of this file.

Functions

static void node_shader_init_vertex_color (bNodeTree *UNUSED(ntree), bNode *node)
 
static int node_shader_gpu_vertex_color (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
void register_node_type_sh_vertex_color (void)
 

Variables

static bNodeSocketTemplate sh_node_vertex_color_out []
 

Function Documentation

◆ node_shader_gpu_vertex_color()

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

◆ node_shader_init_vertex_color()

static void node_shader_init_vertex_color ( bNodeTree UNUSEDntree,
bNode node 
)
static

Definition at line 28 of file node_shader_vertex_color.c.

References MEM_callocN, and node.

Referenced by register_node_type_sh_vertex_color().

◆ register_node_type_sh_vertex_color()

void register_node_type_sh_vertex_color ( void  )

Variable Documentation

◆ sh_node_vertex_color_out

bNodeSocketTemplate sh_node_vertex_color_out[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color")},
{SOCK_FLOAT, N_("Alpha")},
{-1, ""},
}
#define N_(msgid)
@ SOCK_FLOAT
@ SOCK_RGBA

Definition at line 22 of file node_shader_vertex_color.c.

Referenced by register_node_type_sh_vertex_color().