|
Blender
V2.59
|
#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 [] |
Definition in file SHD_value.c.
| static int gpu_shader_value | ( | GPUMaterial * | mat, |
| bNode * | node, | ||
| GPUNodeStack * | in, | ||
| GPUNodeStack * | out | ||
| ) | [static] |
Definition at line 50 of file SHD_value.c.
References ListBase::first, GPU_stack_link(), GPU_uniform(), bNodeSocket::ns, bNode::outputs, and bNodeStack::vec.
Referenced by register_node_type_sh_value().
| 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 | ) |
Definition at line 58 of file SHD_value.c.
References gpu_shader_value(), NODE_CLASS_INPUT, NODE_OPTIONS, node_shader_exec_value(), node_type_base(), node_type_exec(), node_type_gpu(), node_type_size(), nodeRegisterType(), NULL, and SH_NODE_VALUE.
Referenced by registerShaderNodes().
bNodeSocketType sh_node_value_out[] [static] |
{
{ 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.