Blender V4.3
node_texture_texture.cc File Reference
#include "node_texture_util.hh"
#include "BKE_material.h"
#include "BKE_node_runtime.hh"
#include "BLI_math_vector.h"
#include "DNA_material_types.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, bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
 
void register_node_type_tex_texture ()
 

Variables

static blender::bke::bNodeSocketTemplate inputs []
 
static blender::bke::bNodeSocketTemplate outputs []
 

Function Documentation

◆ colorfn()

◆ exec()

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

Definition at line 73 of file node_texture_texture.cc.

References colorfn(), and tex_output().

Referenced by register_node_type_tex_texture().

◆ register_node_type_tex_texture()

Variable Documentation

◆ inputs

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 20 of file node_texture_texture.cc.

◆ outputs

Initial value:
= {
{SOCK_RGBA, N_("Color")},
{-1, ""},
}

Definition at line 26 of file node_texture_texture.cc.