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

Go to the source code of this file.

Functions

static void node_shader_exec_seprgb (void *UNUSED(data), bNode *UNUSED(node), bNodeStack **in, bNodeStack **out)
static int gpu_shader_seprgb (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_seprgb (ListBase *lb)
static void node_shader_exec_combrgb (void *UNUSED(data), bNode *UNUSED(node), bNodeStack **in, bNodeStack **out)
static int gpu_shader_combrgb (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_combrgb (ListBase *lb)

Variables

static bNodeSocketType sh_node_seprgb_in []
static bNodeSocketType sh_node_seprgb_out []
static bNodeSocketType sh_node_combrgb_in []
static bNodeSocketType sh_node_combrgb_out []

Detailed Description

Definition in file SHD_sepcombRGB.c.


Function Documentation

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

Definition at line 95 of file SHD_sepcombRGB.c.

References GPU_stack_link().

Referenced by register_node_type_sh_combrgb().

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

Definition at line 56 of file SHD_sepcombRGB.c.

References GPU_stack_link().

Referenced by register_node_type_sh_seprgb().

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

Definition at line 88 of file SHD_sepcombRGB.c.

References bNodeStack::vec.

Referenced by register_node_type_sh_combrgb().

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

Definition at line 49 of file SHD_sepcombRGB.c.

References bNodeStack::vec.

Referenced by register_node_type_sh_seprgb().

void register_node_type_sh_combrgb ( ListBase lb)
void register_node_type_sh_seprgb ( ListBase lb)

Variable Documentation

Initial value:
 {
        {       SOCK_VALUE, 1, "R",                     0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       SOCK_VALUE, 1, "G",                     0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       SOCK_VALUE, 1, "B",                     0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       -1, 0, ""       }
}

Definition at line 77 of file SHD_sepcombRGB.c.

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

Definition at line 83 of file SHD_sepcombRGB.c.

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

Definition at line 38 of file SHD_sepcombRGB.c.

Initial value:
 {
        {       SOCK_VALUE, 0, "R",                     0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       SOCK_VALUE, 0, "G",                     0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       SOCK_VALUE, 0, "B",                     0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       -1, 0, ""       }
}

Definition at line 42 of file SHD_sepcombRGB.c.