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

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_bsdf_transparent_in []
 
static bNodeSocketTemplate sh_node_bsdf_transparent_out []
 

Function Documentation

◆ node_shader_gpu_bsdf_transparent()

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

Definition at line 34 of file node_shader_bsdf_transparent.c.

References GPU_stack_link(), and node.

Referenced by register_node_type_sh_bsdf_transparent().

◆ register_node_type_sh_bsdf_transparent()

void register_node_type_sh_bsdf_transparent ( void  )

Variable Documentation

◆ sh_node_bsdf_transparent_in

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

Definition at line 24 of file node_shader_bsdf_transparent.c.

Referenced by register_node_type_sh_bsdf_transparent().

◆ sh_node_bsdf_transparent_out

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

Definition at line 29 of file node_shader_bsdf_transparent.c.

Referenced by register_node_type_sh_bsdf_transparent().