Blender V2.61 - r43446
Functions | Variables

node_shader_output_material.c File Reference

#include "../node_shader_util.h"

Go to the source code of this file.

Functions

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

Variables

static bNodeSocketTemplate sh_node_output_material_in []

Function Documentation

static int node_shader_gpu_output_material ( GPUMaterial mat,
bNode UNUSEDnode,
GPUNodeStack in,
GPUNodeStack out 
) [static]
void register_node_type_sh_output_material ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_SHADER, 1, "Surface"},
    {   SOCK_SHADER, 1, "Volume"},
    {   SOCK_FLOAT, 1, "Displacement",  0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_NONE, SOCK_HIDE_VALUE},
    {   -1, 0, ""   }
}

Definition at line 32 of file node_shader_output_material.c.