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

Go to the source code of this file.

Functions

static void colorfn (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread)
static void exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out)
void register_node_type_tex_invert (ListBase *lb)

Variables

static bNodeSocketType inputs []
static bNodeSocketType outputs []

Detailed Description

Definition in file TEX_invert.c.


Function Documentation

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

Definition at line 48 of file TEX_invert.c.

References tex_input_rgba(), and VECCOPY.

Referenced by exec().

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

Definition at line 62 of file TEX_invert.c.

References colorfn(), and tex_output().

Referenced by register_node_type_tex_invert().

void register_node_type_tex_invert ( ListBase lb)

Variable Documentation

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

Definition at line 38 of file TEX_invert.c.

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

Definition at line 43 of file TEX_invert.c.