Blender  V2.59
Functions | Variables
TEX_output.c File Reference
#include "../TEX_util.h"
#include "TEX_node.h"

Go to the source code of this file.

Functions

static void exec (void *data, bNode *node, bNodeStack **in, bNodeStack **UNUSED(out))
static void unique_name (bNode *node)
static void assign_index (struct bNode *node)
static void init (bNode *node)
static void copy (bNode *orig, bNode *new)
void register_node_type_tex_output (ListBase *lb)

Variables

static bNodeSocketType inputs []

Detailed Description

Definition in file TEX_output.c.


Function Documentation

static void assign_index ( struct bNode node) [static]

Definition at line 124 of file TEX_output.c.

References bNode::custom1, ImBuf::index, bNode::next, bNode::prev, TEX_NODE_OUTPUT, and bNode::type.

Referenced by copy(), and init().

static void copy ( bNode orig,
bNode new 
) [static]
static void exec ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  UNUSEDout 
) [static]
static void init ( bNode node) [static]
void register_node_type_tex_output ( ListBase lb)
static void unique_name ( bNode node) [static]

Definition at line 81 of file TEX_output.c.

References i, MEM_freeN(), MEM_mallocN(), ImBuf::name, TexNodeOutput::name, NULL, bNode::storage, and TEX_NODE_OUTPUT.

Referenced by copy(), and init().


Variable Documentation

bNodeSocketType inputs[] [static]
Initial value:
 {
        { SOCK_RGBA,   1, "Color",  0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        { SOCK_VECTOR, 1, "Normal", 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f},
        { -1, 0, ""     }
}

Definition at line 38 of file TEX_output.c.