Blender V2.61 - r43446
Functions | Variables

node_texture_texture.c File Reference

#include "node_texture_util.h"
#include "NOD_texture.h"
#include "RE_shader_ext.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, bNode *node, bNodeStack **in, bNodeStack **out)
void register_node_type_tex_texture (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate inputs []
static bNodeSocketTemplate outputs []

Detailed Description

Definition in file node_texture_texture.c.


Function Documentation

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

Definition at line 49 of file node_texture_texture.c.

References bNode::id.

Referenced by exec().

static void exec ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]

Definition at line 93 of file node_texture_texture.c.

References colorfn(), and tex_output().

Referenced by register_node_type_tex_texture().

void register_node_type_tex_texture ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    { SOCK_RGBA, 1, "Color1", 1.0f, 1.0f, 1.0f, 1.0f },
    { SOCK_RGBA, 1, "Color2", 0.0f, 0.0f, 0.0f, 1.0f },
    { -1, 0, "" }
}

Definition at line 38 of file node_texture_texture.c.

Initial value:
 {
    { SOCK_RGBA, 0, "Color" },
    { -1, 0, "" }
}

Definition at line 44 of file node_texture_texture.c.