Blender V2.61 - r43446
Functions | Variables

node_composite_image.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

float * node_composit_get_float_buffer (RenderData *rd, ImBuf *ibuf, int *alloc)
static CompBufnode_composit_get_image (RenderData *rd, Image *ima, ImageUser *iuser)
static CompBufnode_composit_get_zimage (bNode *node, RenderData *rd)
static CompBufcompbuf_multilayer_get (RenderData *rd, RenderLayer *rl, Image *ima, ImageUser *iuser, int passtype)
static void outputs_multilayer_get (RenderData *rd, RenderLayer *rl, bNodeStack **out, Image *ima, ImageUser *iuser)
static void node_composit_exec_image (void *data, bNode *node, bNodeStack **UNUSED(in), bNodeStack **out)
static void node_composit_init_image (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_image (bNodeTreeType *ttype)
static CompBufcompbuf_from_pass (RenderData *rd, RenderLayer *rl, int rectx, int recty, int passcode)
static void node_composit_rlayers_out (RenderData *rd, RenderLayer *rl, bNodeStack **out, int rectx, int recty)
static void node_composit_exec_rlayers (void *data, bNode *node, bNodeStack **UNUSED(in), bNodeStack **out)
void register_node_type_cmp_rlayers (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_rlayers_out []

Detailed Description

Definition in file node_composite_image.c.


Function Documentation

static CompBuf* compbuf_from_pass ( RenderData rd,
RenderLayer rl,
int  rectx,
int  recty,
int  passcode 
) [static]
static CompBuf* compbuf_multilayer_get ( RenderData rd,
RenderLayer rl,
Image ima,
ImageUser iuser,
int  passtype 
) [static]
static void node_composit_exec_image ( void *  data,
bNode node,
bNodeStack **  UNUSEDin,
bNodeStack **  out 
) [static]
static void node_composit_exec_rlayers ( void *  data,
bNode node,
bNodeStack **  UNUSEDin,
bNodeStack **  out 
) [static]
float* node_composit_get_float_buffer ( RenderData rd,
ImBuf ibuf,
int *  alloc 
)
static CompBuf* node_composit_get_image ( RenderData rd,
Image ima,
ImageUser iuser 
) [static]
static CompBuf* node_composit_get_zimage ( bNode node,
RenderData rd 
) [static]
static void node_composit_init_image ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]
static void node_composit_rlayers_out ( RenderData rd,
RenderLayer rl,
bNodeStack **  out,
int  rectx,
int  recty 
) [static]
static void outputs_multilayer_get ( RenderData rd,
RenderLayer rl,
bNodeStack **  out,
Image ima,
ImageUser iuser 
) [static]
void register_node_type_cmp_image ( bNodeTreeType ttype)
void register_node_type_cmp_rlayers ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_RGBA, 0, "Image",      0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT, 0, "Alpha",     1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT, 0, "Z",         1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_VECTOR, 0, "Normal",   0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_VECTOR, 0, "UV",       1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_VECTOR, 0, "Speed",    1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Color",      0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Diffuse",    0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Specular",   0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Shadow",     0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "AO",         0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Reflect",    0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Refract",    0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Indirect",   0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT, 0, "IndexOB",   0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT, 0, "IndexMA",   0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT, 0, "Mist",      0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Emit",       0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_RGBA, 0, "Environment",0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   -1, 0, ""   }
}

Definition at line 38 of file node_composite_image.c.