|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | texture_procedural (CompBuf *cbuf, float *out, float xco, float yco) |
| static void | node_composit_exec_texture (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_texture (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_texture_in [] |
| static bNodeSocketType | cmp_node_texture_out [] |
Definition in file CMP_texture.c.
| static void node_composit_exec_texture | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 93 of file CMP_texture.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit1_pixel_processor(), bNodeStack::data, do_copy_rgba(), do_copy_value(), free_compbuf(), generate_preview(), bNode::id, CompBuf::node, NULL, CompBuf::procedural_offset, CompBuf::procedural_size, CompBuf::procedural_type, CompBuf::rect_procedural, RenderData::size, texture_procedural(), bNodeStack::vec, VECCOPY, RenderData::xsch, and RenderData::ysch.
Referenced by register_node_type_cmp_texture().
| void register_node_type_cmp_texture | ( | ListBase * | lb | ) |
Definition at line 147 of file CMP_texture.c.
References CMP_NODE_TEXTURE, NODE_CLASS_INPUT, node_composit_exec_texture(), NODE_OPTIONS, NODE_PREVIEW, node_type_base(), node_type_exec(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
| static void texture_procedural | ( | CompBuf * | cbuf, |
| float * | out, | ||
| float | xco, | ||
| float | yco | ||
| ) | [static] |
Definition at line 50 of file CMP_texture.c.
References CB_RGBA, CB_VAL, bNode::id, multitex_ext(), CompBuf::node, NULL, CompBuf::procedural_offset, CompBuf::procedural_size, CompBuf::procedural_type, size(), TexResult::ta, TexResult::talpha, TexResult::tb, TEX_RGB, TexResult::tg, TexResult::tin, TexResult::tr, CompBuf::type, typecheck_compbuf_color(), and VECCOPY.
Referenced by node_composit_exec_texture().
bNodeSocketType cmp_node_texture_in[] [static] |
{
{ SOCK_VECTOR, 1, "Offset", 0.0f, 0.0f, 0.0f, 0.0f, -2.0f, 2.0f},
{ SOCK_VECTOR, 1, "Scale", 1.0f, 1.0f, 1.0f, 1.0f, -10.0f, 10.0f},
{ -1, 0, "" }
}
Definition at line 38 of file CMP_texture.c.
bNodeSocketType cmp_node_texture_out[] [static] |
{
{ SOCK_VALUE, 0, "Value", 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ SOCK_RGBA , 0, "Color", 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 43 of file CMP_texture.c.