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

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_rgb_out []
 

Function Documentation

◆ gpu_shader_rgb()

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

Definition at line 32 of file node_shader_rgb.c.

References GPU_stack_link(), GPU_uniformbuf_link_out(), and node.

Referenced by register_node_type_sh_rgb().

◆ register_node_type_sh_rgb()

void register_node_type_sh_rgb ( void  )

Variable Documentation

◆ sh_node_rgb_out

bNodeSocketTemplate sh_node_rgb_out[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color"), 0.5f, 0.5f, 0.5f, 1.0f},
{-1, ""},
}
#define N_(msgid)
@ SOCK_RGBA

Definition at line 27 of file node_shader_rgb.c.

Referenced by register_node_type_sh_rgb().