Blender V2.61 - r43446
|
#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 [] |
Definition in file node_texture_decompose.c.
static void exec | ( | void * | data, |
bNode * | node, | ||
bNodeStack ** | in, | ||
bNodeStack ** | out | ||
) | [static] |
Definition at line 73 of file node_texture_decompose.c.
References tex_output(), valuefn_a(), valuefn_b(), valuefn_g(), and valuefn_r().
Referenced by register_node_type_tex_decompose().
void register_node_type_tex_decompose | ( | bNodeTreeType * | ttype | ) |
Definition at line 81 of file node_texture_decompose.c.
References exec(), NODE_CLASS_OP_COLOR, node_type_base(), node_type_exec(), node_type_size(), node_type_socket_templates(), nodeRegisterType(), and TEX_NODE_DECOMPOSE.
Referenced by registerTextureNodes().
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().
bNodeSocketTemplate inputs[] [static] |
{ { SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 1.0f }, { -1, 0, "" } }
Definition at line 37 of file node_texture_decompose.c.
bNodeSocketTemplate outputs[] [static] |
{ { 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.