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

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_background_in []
 
static bNodeSocketTemplate sh_node_background_out []
 

Function Documentation

◆ node_shader_gpu_background()

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

Definition at line 35 of file node_shader_background.c.

References GPU_stack_link(), and node.

Referenced by register_node_type_sh_background().

◆ register_node_type_sh_background()

void register_node_type_sh_background ( void  )

Variable Documentation

◆ sh_node_background_in

bNodeSocketTemplate sh_node_background_in[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color"), 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{SOCK_FLOAT, N_("Strength"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1000000.0f},
{-1, ""},
}
#define N_(msgid)
@ SOCK_FLOAT
@ SOCK_RGBA

Definition at line 24 of file node_shader_background.c.

Referenced by register_node_type_sh_background().

◆ sh_node_background_out

bNodeSocketTemplate sh_node_background_out[]
static
Initial value:
= {
{SOCK_SHADER, N_("Background")},
{-1, ""},
}
@ SOCK_SHADER

Definition at line 30 of file node_shader_background.c.

Referenced by register_node_type_sh_background().