Blender V2.61 - r43446
Functions | Variables

node_composite_invert.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static void do_invert (bNode *node, float *out, float *in)
static void do_invert_fac (bNode *node, float *out, float *in, float *fac)
static void node_composit_exec_invert (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_composit_init_invert (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
void register_node_type_cmp_invert (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_invert_in []
static bNodeSocketTemplate cmp_node_invert_out []

Detailed Description

Definition in file node_composite_invert.c.


Function Documentation

static void do_invert ( bNode node,
float *  out,
float *  in 
) [static]
static void do_invert_fac ( bNode node,
float *  out,
float *  in,
float *  fac 
) [static]
static void node_composit_exec_invert ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_composit_init_invert ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]

Definition at line 115 of file node_composite_invert.c.

References CMP_CHAN_RGB, and bNode::custom1.

Referenced by register_node_type_cmp_invert().

void register_node_type_cmp_invert ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 { 
    { SOCK_FLOAT, 1, "Fac", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR}, 
    { SOCK_RGBA, 1, "Color", 1.0f, 1.0f, 1.0f, 1.0f}, 
    { -1, 0, "" } 
}

Definition at line 35 of file node_composite_invert.c.

Initial value:
 { 
    { SOCK_RGBA, 0, "Color"}, 
    { -1, 0, "" } 
}

Definition at line 41 of file node_composite_invert.c.