|
Blender
V2.93
|
#include "node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_exec_mix_rgb (void *UNUSED(data), int UNUSED(thread), bNode *node, bNodeExecData *UNUSED(execdata), bNodeStack **in, bNodeStack **out) |
| static int | gpu_shader_mix_rgb (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_mix_rgb (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_mix_rgb_in [] |
| static bNodeSocketTemplate | sh_node_mix_rgb_out [] |
|
static |
Definition at line 64 of file node_shader_mixRgb.c.
References ARRAY_SIZE, GPU_constant(), GPU_link(), GPU_stack_link(), max, min, names, node, ret, and SHD_MIXRGB_CLAMP.
Referenced by register_node_type_sh_mix_rgb().
|
static |
Definition at line 38 of file node_shader_mixRgb.c.
References CLAMP, CLAMP3, col, copy_v3_v3(), node, nodestack_get_vec(), ramp_blend(), SHD_MIXRGB_CLAMP, SOCK_FLOAT, and SOCK_VECTOR.
Referenced by register_node_type_sh_mix_rgb().
| void register_node_type_sh_mix_rgb | ( | void | ) |
Definition at line 105 of file node_shader_mixRgb.c.
References gpu_shader_mix_rgb(), node_blend_label(), NODE_CLASS_OP_COLOR, node_shader_exec_mix_rgb(), node_type_exec(), node_type_gpu(), node_type_label(), node_type_socket_templates(), nodeRegisterType(), NULL, SH_NODE_MIX_RGB, sh_node_mix_rgb_in, sh_node_mix_rgb_out, and sh_node_type_base().
Referenced by registerShaderNodes().
|
static |
Definition at line 27 of file node_shader_mixRgb.c.
Referenced by register_node_type_sh_mix_rgb().
|
static |
Definition at line 33 of file node_shader_mixRgb.c.
Referenced by register_node_type_sh_mix_rgb().