Blender V2.61 - r43446
Functions | Variables

node_composite_gamma.c File Reference

#include "node_composite_util.h"

Go to the source code of this file.

Functions

static void do_gamma (bNode *UNUSED(node), float *out, float *in, float *fac)
static void node_composit_exec_gamma (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
void register_node_type_cmp_gamma (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_gamma_in []
static bNodeSocketTemplate cmp_node_gamma_out []

Detailed Description

Definition in file node_composite_gamma.c.


Function Documentation

static void do_gamma ( bNode UNUSEDnode,
float *  out,
float *  in,
float *  fac 
) [static]

Definition at line 48 of file node_composite_gamma.c.

References i, and powf.

Referenced by node_composit_exec_gamma().

static void node_composit_exec_gamma ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
void register_node_type_cmp_gamma ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_RGBA, 1, "Image",          1.0f, 1.0f, 1.0f, 1.0f},
    {   SOCK_FLOAT, 1, "Gamma",         1.0f, 0.0f, 0.0f, 0.0f, 0.001f, 10.0f, PROP_UNSIGNED},
    {   -1, 0, ""   }
}

Definition at line 38 of file node_composite_gamma.c.

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

Definition at line 43 of file node_composite_gamma.c.