Blender V5.0
node_texture_math.cc File Reference
#include "BLI_math_rotation.h"
#include "node_texture_util.hh"
#include "node_util.hh"

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, bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
void register_node_type_tex_math ()

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 320 of file node_texture_math.cc.

References data, in, out, tex_output(), and valuefn().

◆ register_node_type_tex_math()

◆ valuefn()

Variable Documentation

◆ inputs

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.hh:233
#define N_(msgid)

Definition at line 14 of file node_texture_math.cc.

◆ outputs

Initial value:
= {
{SOCK_FLOAT, N_("Value")},
{-1, ""},
}

Definition at line 21 of file node_texture_math.cc.