Blender  V3.3
Functions | Variables
node_texture_combine_color.c File Reference
#include "BLI_listbase.h"
#include "NOD_texture.h"
#include "node_texture_util.h"

Go to the source code of this file.

Functions

static void colorfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread)
 
static void update (bNodeTree *UNUSED(ntree), bNode *node)
 
static void exec (void *data, int UNUSED(thread), bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
 
void register_node_type_tex_combine_color (void)
 

Variables

static bNodeSocketTemplate inputs []
 
static bNodeSocketTemplate outputs []
 

Function Documentation

◆ colorfn()

static void colorfn ( float out,
TexParams p,
bNode node,
bNodeStack **  in,
short  thread 
)
static

◆ exec()

static void exec ( void data,
int   UNUSEDthread,
bNode node,
bNodeExecData execdata,
bNodeStack **  in,
bNodeStack **  out 
)
static

◆ register_node_type_tex_combine_color()

void register_node_type_tex_combine_color ( void  )

◆ update()

static void update ( bNodeTree UNUSEDntree,
bNode node 
)
static

Definition at line 51 of file node_texture_combine_color.c.

References node, and node_combsep_color_label().

Referenced by register_node_type_tex_combine_color().

Variable Documentation

◆ inputs

bNodeSocketTemplate inputs[]
static
Initial value:
= {
{SOCK_FLOAT, N_("Red"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{SOCK_FLOAT, N_("Green"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{SOCK_FLOAT, N_("Blue"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{SOCK_FLOAT, N_("Alpha"), 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{-1, ""},
}
@ SOCK_FLOAT
@ PROP_FACTOR
Definition: RNA_types.h:144
#define N_(msgid)

Definition at line 12 of file node_texture_combine_color.c.

Referenced by register_node_type_tex_combine_color().

◆ outputs

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

Definition at line 19 of file node_texture_combine_color.c.

Referenced by register_node_type_tex_combine_color().