Blender  V3.3
Functions | Variables
node_texture_decompose.c File Reference
#include "NOD_texture.h"
#include "node_texture_util.h"
#include <math.h>

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate inputs []
 
static bNodeSocketTemplate outputs []
 

Function Documentation

◆ exec()

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

◆ register_node_type_tex_decompose()

void register_node_type_tex_decompose ( void  )

◆ valuefn_a()

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

Definition at line 42 of file node_texture_decompose.c.

References usdtokens::out(), and tex_input_rgba().

Referenced by exec().

◆ valuefn_b()

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

Definition at line 36 of file node_texture_decompose.c.

References usdtokens::out(), and tex_input_rgba().

Referenced by exec().

◆ valuefn_g()

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

Definition at line 30 of file node_texture_decompose.c.

References usdtokens::out(), and tex_input_rgba().

Referenced by exec().

◆ valuefn_r()

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

Definition at line 24 of file node_texture_decompose.c.

References usdtokens::out(), and tex_input_rgba().

Referenced by exec().

Variable Documentation

◆ inputs

bNodeSocketTemplate inputs[]
static
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.c.

Referenced by register_node_type_tex_decompose().

◆ outputs

bNodeSocketTemplate outputs[]
static
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.c.

Referenced by register_node_type_tex_decompose().