Blender V4.5
node_texture_output.cc File Reference
#include <algorithm>
#include "BLI_string.h"
#include "node_texture_util.hh"
#include "node_util.hh"

Go to the source code of this file.

Functions

static void exec (void *data, int, bNode *node, bNodeExecData *, bNodeStack **in, bNodeStack **)
static void unique_name (bNode *node)
static void assign_index (bNode *node)
static void init (bNodeTree *, bNode *node)
static void copy (bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node)
void register_node_type_tex_output ()

Variables

static blender::bke::bNodeSocketTemplate inputs []

Function Documentation

◆ assign_index()

void assign_index ( bNode * node)
static

◆ copy()

void copy ( bNodeTree * dest_ntree,
bNode * dest_node,
const bNode * src_node )
static

◆ exec()

◆ init()

void init ( bNodeTree * ,
bNode * node )
static

◆ register_node_type_tex_output()

◆ unique_name()

void unique_name ( bNode * node)
static

Definition at line 53 of file node_texture_output.cc.

References BLI_snprintf(), i, len(), TexNodeOutput::name, bNode::storage, STREQ, STRNCPY(), and TEX_NODE_OUTPUT.

Referenced by copy(), and init().

Variable Documentation

◆ inputs

Initial value:
= {
{SOCK_RGBA, N_("Color"), 0.0f, 0.0f, 0.0f, 1.0f},
{-1, ""},
}
@ SOCK_RGBA
#define N_(msgid)

Definition at line 17 of file node_texture_output.cc.

Referenced by register_node_type_tex_output().