Blender V2.61 - r43446
Functions | Variables

node_texture_decompose.c File Reference

#include "node_texture_util.h"
#include "NOD_texture.h"
#include <math.h>

Go to the source code of this file.

Functions

static void valuefn_r (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread)
static void valuefn_g (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread)
static void valuefn_b (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread)
static void valuefn_a (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_decompose (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate inputs []
static bNodeSocketTemplate outputs []

Detailed Description

Definition in file node_texture_decompose.c.


Function Documentation

static void exec ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
void register_node_type_tex_decompose ( bNodeTreeType ttype)
static void valuefn_a ( float *  out,
TexParams p,
bNode UNUSEDnode,
bNodeStack **  in,
short  thread 
) [static]

Definition at line 67 of file node_texture_decompose.c.

References tex_input_rgba().

Referenced by exec().

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

Definition at line 61 of file node_texture_decompose.c.

References tex_input_rgba().

Referenced by exec().

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

Definition at line 55 of file node_texture_decompose.c.

References tex_input_rgba().

Referenced by exec().

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

Definition at line 49 of file node_texture_decompose.c.

References tex_input_rgba().

Referenced by exec().


Variable Documentation

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

Definition at line 37 of file node_texture_decompose.c.

Initial value:
 {
    { SOCK_FLOAT, 0, "Red" },
    { SOCK_FLOAT, 0, "Green" },
    { SOCK_FLOAT, 0, "Blue" },
    { SOCK_FLOAT, 0, "Alpha" },
    { -1, 0, "" }
}

Definition at line 41 of file node_texture_decompose.c.