Blender V2.61 - r43446
Functions | Variables

node_shader_mix_shader.c File Reference

#include "../node_shader_util.h"

Go to the source code of this file.

Functions

static int node_shader_gpu_mix_shader (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_mix_shader (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_mix_shader_in []
static bNodeSocketTemplate sh_node_mix_shader_out []

Function Documentation

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

Definition at line 44 of file node_shader_mix_shader.c.

References GPU_stack_link().

Referenced by register_node_type_sh_mix_shader().

void register_node_type_sh_mix_shader ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_FLOAT,  1, "Fac",      0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_SHADER, 1, "Shader"},
    {   SOCK_SHADER, 1, "Shader"},
    {   -1, 0, ""   }
}

Definition at line 32 of file node_shader_mix_shader.c.

Initial value:
 {
    {   SOCK_SHADER, 0, "Shader"},
    {   -1, 0, ""   }
}

Definition at line 39 of file node_shader_mix_shader.c.