Blender V2.61 - r43446
Functions | Variables

node_texture_output.c File Reference

#include "node_texture_util.h"
#include "NOD_texture.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 (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
static void copy (bNode *orig, bNode *new)
void register_node_type_tex_output (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate inputs []

Detailed Description

Definition in file node_texture_output.c.


Function Documentation

static void assign_index ( struct bNode node) [static]

Definition at line 123 of file node_texture_output.c.

References bNode::custom1, 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 ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]
void register_node_type_tex_output ( bNodeTreeType ttype)
static void unique_name ( bNode node) [static]

Definition at line 80 of file node_texture_output.c.

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

Referenced by copy(), and init().


Variable Documentation

Initial value:
 {
    { SOCK_RGBA,   1, "Color",  0.0f, 0.0f, 0.0f, 1.0f},
    { SOCK_VECTOR, 1, "Normal", 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, PROP_DIRECTION},
    { -1, 0, "" }
}

Definition at line 37 of file node_texture_output.c.