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

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_output_material_in []
 

Function Documentation

◆ node_shader_gpu_output_material()

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

◆ register_node_type_sh_output_material()

void register_node_type_sh_output_material ( void  )

Variable Documentation

◆ sh_node_output_material_in

bNodeSocketTemplate sh_node_output_material_in[]
static
Initial value:
= {
{SOCK_SHADER, N_("Surface")},
{SOCK_SHADER, N_("Volume")},
N_("Displacement"),
0.0f,
0.0f,
0.0f,
0.0f,
0.0f,
1.0f,
{-1, ""},
}
#define N_(msgid)
@ SOCK_HIDE_VALUE
@ SOCK_VECTOR
@ SOCK_SHADER
@ PROP_NONE
Definition: RNA_types.h:113

Definition at line 26 of file node_shader_output_material.c.

Referenced by register_node_type_sh_output_material().