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

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_blackbody_in []
 
static bNodeSocketTemplate sh_node_blackbody_out []
 

Function Documentation

◆ node_shader_gpu_blackbody()

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

◆ register_node_type_sh_blackbody()

void register_node_type_sh_blackbody ( void  )

Variable Documentation

◆ sh_node_blackbody_in

bNodeSocketTemplate sh_node_blackbody_in[]
static
Initial value:
= {
{SOCK_FLOAT, N_("Temperature"), 1500.0f, 0.0f, 0.0f, 0.0f, 800.0f, 12000.0f},
{-1, ""},
}
#define N_(msgid)
@ SOCK_FLOAT

Definition at line 23 of file node_shader_blackbody.c.

Referenced by register_node_type_sh_blackbody().

◆ sh_node_blackbody_out

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

Definition at line 28 of file node_shader_blackbody.c.

Referenced by register_node_type_sh_blackbody().