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

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_shadertorgb_in []
 
static bNodeSocketTemplate sh_node_shadertorgb_out []
 

Function Documentation

◆ node_shader_gpu_shadertorgb()

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

◆ register_node_type_sh_shadertorgb()

void register_node_type_sh_shadertorgb ( void  )

Variable Documentation

◆ sh_node_shadertorgb_in

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

Definition at line 24 of file node_shader_shaderToRgb.c.

Referenced by register_node_type_sh_shadertorgb().

◆ sh_node_shadertorgb_out

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

Definition at line 29 of file node_shader_shaderToRgb.c.

Referenced by register_node_type_sh_shadertorgb().