|
Blender
V2.59
|
#include "../SHD_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_exec_squeeze (void *UNUSED(data), bNode *UNUSED(node), bNodeStack **in, bNodeStack **out) |
| static int | gpu_shader_squeeze (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_squeeze (ListBase *lb) |
Variables | |
| static bNodeSocketType | sh_node_squeeze_in [] |
| static bNodeSocketType | sh_node_squeeze_out [] |
Definition in file SHD_squeeze.c.
| static int gpu_shader_squeeze | ( | GPUMaterial * | mat, |
| bNode * | UNUSEDnode, | ||
| GPUNodeStack * | in, | ||
| GPUNodeStack * | out | ||
| ) | [static] |
Definition at line 62 of file SHD_squeeze.c.
References GPU_stack_link().
Referenced by register_node_type_sh_squeeze().
| static void node_shader_exec_squeeze | ( | void * | UNUSEDdata, |
| bNode * | UNUSEDnode, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 50 of file SHD_squeeze.c.
References nodestack_get_vec(), pow(), SOCK_VALUE, and bNodeStack::vec.
Referenced by register_node_type_sh_squeeze().
| void register_node_type_sh_squeeze | ( | ListBase * | lb | ) |
Definition at line 67 of file SHD_squeeze.c.
References gpu_shader_squeeze(), NODE_CLASS_CONVERTOR, NODE_OPTIONS, node_shader_exec_squeeze(), node_type_base(), node_type_exec(), node_type_gpu(), node_type_size(), node_type_storage(), nodeRegisterType(), NULL, and SH_NODE_SQUEEZE.
Referenced by registerShaderNodes().
bNodeSocketType sh_node_squeeze_in[] [static] |
{
{ SOCK_VALUE, 1, "Value", 0.0f, 0.0f, 0.0f, 0.0f, -100.0f, 100.0f},
{ SOCK_VALUE, 1, "Width", 1.0f, 0.0f, 0.0f, 0.0f, -100.0f, 100.0f},
{ SOCK_VALUE, 1, "Center", 0.0f, 0.0f, 0.0f, 0.0f, -100.0f, 100.0f},
{ -1, 0, "" }
}
Definition at line 38 of file SHD_squeeze.c.
bNodeSocketType sh_node_squeeze_out[] [static] |
{
{ SOCK_VALUE, 0, "Value", 0.5f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 45 of file SHD_squeeze.c.