|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| static void | colorfn (float *out, TexParams *p, bNode *node, bNodeStack **UNUSED(in), short UNUSED(thread)) |
| static void | exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | init (bNode *node) |
| void | register_node_type_tex_image (ListBase *lb) |
Variables | |
| static bNodeSocketType | outputs [] |
Definition in file TEX_image.c.
| static void colorfn | ( | float * | out, |
| TexParams * | p, | ||
| bNode * | node, | ||
| bNodeStack ** | UNUSEDin, | ||
| short | UNUSEDthread | ||
| ) | [static] |
Definition at line 43 of file TEX_image.c.
References BKE_image_get_ibuf(), BLI_lock_thread(), BLI_unlock_thread(), TexParams::co, bNode::id, IMB_float_from_rect(), LOCK_IMAGE, QUATCOPY, ImBuf::rect_float, bNode::storage, ImBuf::x, and ImBuf::y.
Referenced by exec().
| static void exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 86 of file TEX_image.c.
References colorfn(), and tex_output().
Referenced by register_node_type_tex_image().
| static void init | ( | bNode * | node | ) | [static] |
Definition at line 91 of file TEX_image.c.
References ImageUser::fie_ima, MEM_callocN(), ImageUser::ok, ImageUser::sfra, and bNode::storage.
| void register_node_type_tex_image | ( | ListBase * | lb | ) |
Definition at line 100 of file TEX_image.c.
References exec(), init(), NODE_CLASS_INPUT, node_copy_standard_storage(), node_free_standard_storage(), NODE_OPTIONS, NODE_PREVIEW, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), node_type_storage(), nodeRegisterType(), NULL, and TEX_NODE_IMAGE.
Referenced by registerTextureNodes().
bNodeSocketType outputs[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 38 of file TEX_image.c.