![]() |
Blender V2.61 - r43446
|
#include "node_shader_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 (bNodeTreeType *ttype) |
Variables | |
| static bNodeSocketTemplate | sh_node_invert_in [] |
| static bNodeSocketTemplate | sh_node_invert_out [] |
Definition in file node_shader_invert.c.
| static int gpu_shader_invert | ( | GPUMaterial * | mat, |
| bNode * | UNUSEDnode, | ||
| GPUNodeStack * | in, | ||
| GPUNodeStack * | out | ||
| ) | [static] |
Definition at line 70 of file node_shader_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 49 of file node_shader_invert.c.
References copy_v3_v3(), and bNodeStack::vec.
Referenced by register_node_type_sh_invert().
| void register_node_type_sh_invert | ( | bNodeTreeType * | ttype | ) |
Definition at line 75 of file node_shader_invert.c.
References gpu_shader_invert(), NODE_CLASS_OP_COLOR, NODE_NEW_SHADING, NODE_OLD_SHADING, NODE_OPTIONS, node_shader_exec_invert(), node_type_base(), node_type_compatibility(), node_type_exec(), node_type_gpu(), node_type_size(), node_type_socket_templates(), nodeRegisterType(), and SH_NODE_INVERT.
Referenced by registerShaderNodes().
bNodeSocketTemplate sh_node_invert_in[] [static] |
{
{ SOCK_FLOAT, 1, "Fac", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{ SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 38 of file node_shader_invert.c.
bNodeSocketTemplate sh_node_invert_out[] [static] |
{
{ SOCK_RGBA, 0, "Color"},
{ -1, 0, "" }
}
Definition at line 44 of file node_shader_invert.c.