|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| static void | time_colorfn (float *out, TexParams *p, bNode *node, bNodeStack **UNUSED(in), short UNUSED(thread)) |
| static void | time_exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | time_init (bNode *node) |
| void | register_node_type_tex_curve_time (ListBase *lb) |
| static void | rgb_colorfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread) |
| static void | rgb_exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | rgb_init (bNode *node) |
| void | register_node_type_tex_curve_rgb (ListBase *lb) |
Variables | |
| static bNodeSocketType | time_outputs [] |
| static bNodeSocketType | rgb_inputs [] |
| static bNodeSocketType | rgb_outputs [] |
Definition in file TEX_curves.c.
| void register_node_type_tex_curve_rgb | ( | ListBase * | lb | ) |
Definition at line 114 of file TEX_curves.c.
References NODE_CLASS_OP_COLOR, node_copy_curves(), node_free_curves(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), node_type_storage(), nodeRegisterType(), rgb_exec(), rgb_init(), and TEX_NODE_CURVE_RGB.
Referenced by registerTextureNodes().
| void register_node_type_tex_curve_time | ( | ListBase * | lb | ) |
Definition at line 70 of file TEX_curves.c.
References NODE_CLASS_INPUT, node_copy_curves(), node_free_curves(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), node_type_storage(), nodeRegisterType(), NULL, TEX_NODE_CURVE_TIME, time_exec(), and time_init().
Referenced by registerTextureNodes().
| static void rgb_colorfn | ( | float * | out, |
| TexParams * | p, | ||
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| short | thread | ||
| ) | [static] |
Definition at line 95 of file TEX_curves.c.
References curvemapping_evaluateRGBF(), bNode::storage, and tex_input_rgba().
Referenced by rgb_exec().
| static void rgb_exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 104 of file TEX_curves.c.
References rgb_colorfn(), and tex_output().
Referenced by register_node_type_tex_curve_rgb().
| static void rgb_init | ( | bNode * | node | ) | [static] |
Definition at line 109 of file TEX_curves.c.
References curvemapping_add(), and bNode::storage.
Referenced by register_node_type_tex_curve_rgb().
| static void time_colorfn | ( | float * | out, |
| TexParams * | p, | ||
| bNode * | node, | ||
| bNodeStack ** | UNUSEDin, | ||
| short | UNUSEDthread | ||
| ) | [static] |
Definition at line 45 of file TEX_curves.c.
References TexParams::cfra, CLAMPIS, curvemapping_evaluateF(), bNode::custom1, bNode::custom2, and bNode::storage.
Referenced by time_exec().
| static void time_exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 57 of file TEX_curves.c.
References tex_output(), and time_colorfn().
Referenced by register_node_type_tex_curve_time().
| static void time_init | ( | bNode * | node | ) | [static] |
Definition at line 63 of file TEX_curves.c.
References curvemapping_add(), bNode::custom1, bNode::custom2, and bNode::storage.
Referenced by register_node_type_tex_curve_time().
bNodeSocketType rgb_inputs[] [static] |
{
{ SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 85 of file TEX_curves.c.
bNodeSocketType rgb_outputs[] [static] |
{
{ SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 90 of file TEX_curves.c.
bNodeSocketType time_outputs[] [static] |
{
{ SOCK_VALUE, 0, "Value", 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f },
{ -1, 0, "" }
}
Definition at line 40 of file TEX_curves.c.