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

Go to the source code of this file.

Functions

static void colorfn (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_texture (void)
 

Variables

static bNodeSocketTemplate inputs []
 
static bNodeSocketTemplate outputs []
 

Function Documentation

◆ colorfn()

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

Definition at line 24 of file node_texture_texture.c.

References node, and red.

Referenced by exec().

◆ exec()

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

Definition at line 65 of file node_texture_texture.c.

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

Referenced by register_node_type_tex_texture().

◆ register_node_type_tex_texture()

void register_node_type_tex_texture ( void  )

Variable Documentation

◆ inputs

bNodeSocketTemplate inputs[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color1"), 1.0f, 1.0f, 1.0f, 1.0f},
{SOCK_RGBA, N_("Color2"), 0.0f, 0.0f, 0.0f, 1.0f},
{-1, ""},
}
@ SOCK_RGBA
#define N_(msgid)

Definition at line 13 of file node_texture_texture.c.

Referenced by register_node_type_tex_texture().

◆ outputs

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

Definition at line 19 of file node_texture_texture.c.

Referenced by register_node_type_tex_texture().