Blender V4.5
node_texture_decompose.cc File Reference

Go to the source code of this file.

Functions

static void valuefn_r (float *out, TexParams *p, bNode *, bNodeStack **in, short thread)
static void valuefn_g (float *out, TexParams *p, bNode *, bNodeStack **in, short thread)
static void valuefn_b (float *out, TexParams *p, bNode *, bNodeStack **in, short thread)
static void valuefn_a (float *out, TexParams *p, bNode *, bNodeStack **in, short thread)
static void exec (void *data, int, bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
void register_node_type_tex_decompose ()

Variables

static blender::bke::bNodeSocketTemplate inputs []
static blender::bke::bNodeSocketTemplate outputs []

Function Documentation

◆ exec()

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

Definition at line 47 of file node_texture_decompose.cc.

References data, in, out, tex_output(), valuefn_a(), valuefn_b(), valuefn_g(), and valuefn_r().

◆ register_node_type_tex_decompose()

◆ valuefn_a()

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

Definition at line 41 of file node_texture_decompose.cc.

References in, out, and tex_input_rgba().

Referenced by exec(), and exec().

◆ valuefn_b()

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

Definition at line 35 of file node_texture_decompose.cc.

References in, out, and tex_input_rgba().

Referenced by exec(), and exec().

◆ valuefn_g()

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

Definition at line 29 of file node_texture_decompose.cc.

References in, out, and tex_input_rgba().

Referenced by exec(), and exec().

◆ valuefn_r()

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

Definition at line 23 of file node_texture_decompose.cc.

References in, out, and tex_input_rgba().

Referenced by exec(), and exec().

Variable Documentation

◆ inputs

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

Definition at line 11 of file node_texture_decompose.cc.

◆ outputs

Initial value:
= {
{SOCK_FLOAT, N_("Red")},
{SOCK_FLOAT, N_("Green")},
{SOCK_FLOAT, N_("Blue")},
{SOCK_FLOAT, N_("Alpha")},
{-1, ""},
}
@ SOCK_FLOAT

Definition at line 15 of file node_texture_decompose.cc.