Blender V2.61 - r43446
Functions | Variables

node_shader_output.c File Reference

#include "node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_output (void *data, bNode *node, bNodeStack **in, bNodeStack **UNUSED(out))
static int gpu_shader_output (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_output (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_output_in []

Detailed Description

Definition in file node_shader_output.c.


Function Documentation

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

Definition at line 68 of file node_shader_output.c.

References GPU_material_output_link(), and GPU_stack_link().

Referenced by register_node_type_sh_output().

static void node_shader_exec_output ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  UNUSEDout 
) [static]
void register_node_type_sh_output ( bNodeTreeType ttype)

Variable Documentation

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

Definition at line 36 of file node_shader_output.c.