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

Go to the source code of this file.

Functions

static void valuefn (float *out, TexParams *p, bNode *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_math (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

Definition at line 308 of file node_texture_math.c.

References data, node, usdtokens::out(), tex_output(), and valuefn().

Referenced by register_node_type_tex_math().

◆ register_node_type_tex_math()

void register_node_type_tex_math ( void  )

◆ valuefn()

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

Variable Documentation

◆ inputs

bNodeSocketTemplate inputs[]
static
Initial value:
= {
{SOCK_FLOAT, N_("Value"), 0.5f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f, PROP_NONE},
{SOCK_FLOAT, N_("Value"), 0.5f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f, PROP_NONE},
{SOCK_FLOAT, N_("Value"), 0.0f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f, PROP_NONE},
{-1, ""},
}
@ SOCK_FLOAT
@ PROP_NONE
Definition: RNA_types.h:126
#define N_(msgid)

Definition at line 12 of file node_texture_math.c.

Referenced by register_node_type_tex_math().

◆ outputs

bNodeSocketTemplate outputs[]
static
Initial value:
= {
{SOCK_FLOAT, N_("Value")},
{-1, ""},
}

Definition at line 19 of file node_texture_math.c.

Referenced by register_node_type_tex_math().