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

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_volume_absorption_in []
 
static bNodeSocketTemplate sh_node_volume_absorption_out []
 

Function Documentation

◆ node_shader_gpu_volume_absorption()

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

Definition at line 35 of file node_shader_volume_absorption.c.

References GPU_stack_link(), and node.

Referenced by register_node_type_sh_volume_absorption().

◆ register_node_type_sh_volume_absorption()

void register_node_type_sh_volume_absorption ( void  )

Variable Documentation

◆ sh_node_volume_absorption_in

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

Definition at line 24 of file node_shader_volume_absorption.c.

Referenced by register_node_type_sh_volume_absorption().

◆ sh_node_volume_absorption_out

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

Definition at line 30 of file node_shader_volume_absorption.c.

Referenced by register_node_type_sh_volume_absorption().