Blender  V2.59
Functions | Variables
SHD_invert.c File Reference
#include "../SHD_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_invert (void *UNUSED(data), bNode *UNUSED(node), bNodeStack **in, bNodeStack **out)
static int gpu_shader_invert (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_invert (ListBase *lb)

Variables

static bNodeSocketType sh_node_invert_in []
static bNodeSocketType sh_node_invert_out []

Detailed Description

Definition in file SHD_invert.c.


Function Documentation

static int gpu_shader_invert ( GPUMaterial mat,
bNode UNUSEDnode,
GPUNodeStack in,
GPUNodeStack out 
) [static]

Definition at line 72 of file SHD_invert.c.

References GPU_stack_link().

Referenced by register_node_type_sh_invert().

static void node_shader_exec_invert ( void *  UNUSEDdata,
bNode UNUSEDnode,
bNodeStack **  in,
bNodeStack **  out 
) [static]

Definition at line 51 of file SHD_invert.c.

References bNodeStack::vec, and VECCOPY.

Referenced by register_node_type_sh_invert().

void register_node_type_sh_invert ( ListBase lb)

Variable Documentation

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

Definition at line 40 of file SHD_invert.c.

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

Definition at line 46 of file SHD_invert.c.