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

Go to the source code of this file.

Functions

static void node_shader_init_tex_gradient (bNodeTree *UNUSED(ntree), bNode *node)
 
static int node_shader_gpu_tex_gradient (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
void register_node_type_sh_tex_gradient (void)
 

Variables

static bNodeSocketTemplate sh_node_tex_gradient_in []
 
static bNodeSocketTemplate sh_node_tex_gradient_out []
 

Function Documentation

◆ node_shader_gpu_tex_gradient()

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

◆ node_shader_init_tex_gradient()

static void node_shader_init_tex_gradient ( bNodeTree UNUSEDntree,
bNode node 
)
static

◆ register_node_type_sh_tex_gradient()

void register_node_type_sh_tex_gradient ( void  )

Variable Documentation

◆ sh_node_tex_gradient_in

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

Definition at line 24 of file node_shader_tex_gradient.c.

Referenced by register_node_type_sh_tex_gradient().

◆ sh_node_tex_gradient_out

bNodeSocketTemplate sh_node_tex_gradient_out[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_NONE, SOCK_NO_INTERNAL_LINK},
N_("Fac"),
0.0f,
0.0f,
0.0f,
0.0f,
0.0f,
1.0f,
{-1, ""},
}
@ SOCK_NO_INTERNAL_LINK
@ SOCK_FLOAT
@ SOCK_RGBA
@ PROP_FACTOR
Definition: RNA_types.h:131

Definition at line 29 of file node_shader_tex_gradient.c.

Referenced by register_node_type_sh_tex_gradient().