Blender V4.3
node_texture_decompose.cc File Reference
#include "node_texture_util.hh"
#include <cmath>

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()

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

◆ register_node_type_tex_decompose()

◆ valuefn_a()

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

Definition at line 42 of file node_texture_decompose.cc.

References tex_input_rgba().

Referenced by exec().

◆ valuefn_b()

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

Definition at line 36 of file node_texture_decompose.cc.

References tex_input_rgba().

Referenced by exec().

◆ valuefn_g()

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

Definition at line 30 of file node_texture_decompose.cc.

References tex_input_rgba().

Referenced by exec().

◆ valuefn_r()

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

Definition at line 24 of file node_texture_decompose.cc.

References tex_input_rgba().

Referenced by 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 12 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 16 of file node_texture_decompose.cc.