Blender V2.61 - r43446
Functions | Variables

node_shader_mixRgb.c File Reference

#include "node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_mix_rgb (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static int gpu_shader_mix_rgb (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_mix_rgb (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_mix_rgb_in []
static bNodeSocketTemplate sh_node_mix_rgb_out []

Detailed Description

Definition in file node_shader_mixRgb.c.


Function Documentation

static int gpu_shader_mix_rgb ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]

Definition at line 65 of file node_shader_mixRgb.c.

References bNode::custom1, GPU_stack_link(), and names.

Referenced by register_node_type_sh_mix_rgb().

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

Variable Documentation

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

Definition at line 36 of file node_shader_mixRgb.c.

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

Definition at line 42 of file node_shader_mixRgb.c.