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

Go to the source code of this file.

Functions

static void node_shader_exec_value (void *UNUSED(data), bNode *node, bNodeStack **UNUSED(in), bNodeStack **out)
static int gpu_shader_value (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_value (ListBase *lb)

Variables

static bNodeSocketType sh_node_value_out []

Detailed Description

Definition in file SHD_value.c.


Function Documentation

static int gpu_shader_value ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static void node_shader_exec_value ( void *  UNUSEDdata,
bNode node,
bNodeStack **  UNUSEDin,
bNodeStack **  out 
) [static]

Definition at line 43 of file SHD_value.c.

References ListBase::first, bNodeSocket::ns, bNode::outputs, and bNodeStack::vec.

Referenced by register_node_type_sh_value().

void register_node_type_sh_value ( ListBase lb)

Variable Documentation

Initial value:
 {
        {       SOCK_VALUE, 0, "Value",         0.5f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f},
        {       -1, 0, ""       }
}

Definition at line 38 of file SHD_value.c.