|
Blender
V2.59
|
#include "../SHD_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_exec_invert (void *UNUSED(data), bNode *UNUSED(node), bNodeStack **in, bNodeStack **out) |
| static int | gpu_shader_invert (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_invert (ListBase *lb) |
Variables | |
| static bNodeSocketType | sh_node_invert_in [] |
| static bNodeSocketType | sh_node_invert_out [] |
Definition in file SHD_invert.c.
| static int gpu_shader_invert | ( | GPUMaterial * | mat, |
| bNode * | UNUSEDnode, | ||
| GPUNodeStack * | in, | ||
| GPUNodeStack * | out | ||
| ) | [static] |
Definition at line 72 of file SHD_invert.c.
References GPU_stack_link().
Referenced by register_node_type_sh_invert().
| static void node_shader_exec_invert | ( | void * | UNUSEDdata, |
| bNode * | UNUSEDnode, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 51 of file SHD_invert.c.
References bNodeStack::vec, and VECCOPY.
Referenced by register_node_type_sh_invert().
| void register_node_type_sh_invert | ( | ListBase * | lb | ) |
Definition at line 77 of file SHD_invert.c.
References gpu_shader_invert(), NODE_CLASS_OP_COLOR, NODE_OPTIONS, node_shader_exec_invert(), node_type_base(), node_type_exec(), node_type_gpu(), node_type_size(), nodeRegisterType(), and SH_NODE_INVERT.
Referenced by registerShaderNodes().
bNodeSocketType sh_node_invert_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{ SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 40 of file SHD_invert.c.
bNodeSocketType sh_node_invert_out[] [static] |
{
{ SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 46 of file SHD_invert.c.