|
Blender
V2.93
|
#include "node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_exec_invert (void *UNUSED(data), int UNUSED(thread), bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), bNodeStack **in, bNodeStack **out) |
| static int | gpu_shader_invert (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_invert (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_invert_in [] |
| static bNodeSocketTemplate | sh_node_invert_out [] = {{SOCK_RGBA, N_("Color")}, {-1, ""}} |
|
static |
Definition at line 59 of file node_shader_invert.c.
References GPU_stack_link(), and node.
Referenced by register_node_type_sh_invert().
|
static |
Definition at line 34 of file node_shader_invert.c.
References col, copy_v3_v3(), interp_v3_v3v3(), nodestack_get_vec(), SOCK_FLOAT, and SOCK_VECTOR.
Referenced by register_node_type_sh_invert().
| void register_node_type_sh_invert | ( | void | ) |
Definition at line 68 of file node_shader_invert.c.
References gpu_shader_invert(), NODE_CLASS_OP_COLOR, node_shader_exec_invert(), node_type_exec(), node_type_gpu(), node_type_socket_templates(), nodeRegisterType(), NULL, SH_NODE_INVERT, sh_node_invert_in, sh_node_invert_out, and sh_node_type_base().
Referenced by registerShaderNodes().
|
static |
Definition at line 27 of file node_shader_invert.c.
Referenced by register_node_type_sh_invert().
|
static |
Definition at line 32 of file node_shader_invert.c.
Referenced by register_node_type_sh_invert().