Blender V2.61 - r43446
Functions | Variables

node_shader_invert.c File Reference

#include "node_shader_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 (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_invert_in []
static bNodeSocketTemplate sh_node_invert_out []

Detailed Description

Definition in file node_shader_invert.c.


Function Documentation

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

Definition at line 70 of file node_shader_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 49 of file node_shader_invert.c.

References copy_v3_v3(), and bNodeStack::vec.

Referenced by register_node_type_sh_invert().

void register_node_type_sh_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", 0.0f, 0.0f, 0.0f, 1.0f}, 
    { -1, 0, "" } 
}

Definition at line 38 of file node_shader_invert.c.

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

Definition at line 44 of file node_shader_invert.c.