|
Blender
V2.93
|
#include "node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | do_hue_sat_fac (bNode *UNUSED(node), float *out, float hue, float sat, float val, const float in[4], float fac) |
| static void | node_shader_exec_hue_sat (void *UNUSED(data), int UNUSED(thread), bNode *node, bNodeExecData *UNUSED(execdata), bNodeStack **in, bNodeStack **out) |
| static int | gpu_shader_hue_sat (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_hue_sat (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_hue_sat_in [] |
| static bNodeSocketTemplate | sh_node_hue_sat_out [] |
|
static |
Definition at line 41 of file node_shader_hueSatVal.c.
References clamp_f(), col, copy_v4_v4(), fmodf, hsv_to_rgb(), and rgb_to_hsv().
Referenced by node_shader_exec_hue_sat().
|
static |
Definition at line 79 of file node_shader_hueSatVal.c.
References GPU_stack_link(), and node.
Referenced by register_node_type_sh_hue_sat().
|
static |
Definition at line 62 of file node_shader_hueSatVal.c.
References col, do_hue_sat_fac(), node, nodestack_get_vec(), SOCK_FLOAT, and SOCK_RGBA.
Referenced by register_node_type_sh_hue_sat().
| void register_node_type_sh_hue_sat | ( | void | ) |
Definition at line 88 of file node_shader_hueSatVal.c.
References gpu_shader_hue_sat(), NODE_CLASS_OP_COLOR, node_shader_exec_hue_sat(), NODE_SIZE_MIDDLE, node_type_exec(), node_type_gpu(), node_type_size_preset(), node_type_socket_templates(), nodeRegisterType(), NULL, SH_NODE_HUE_SAT, sh_node_hue_sat_in, sh_node_hue_sat_out, and sh_node_type_base().
Referenced by registerShaderNodes().
|
static |
Definition at line 27 of file node_shader_hueSatVal.c.
Referenced by register_node_type_sh_hue_sat().
|
static |
Definition at line 35 of file node_shader_hueSatVal.c.
Referenced by register_node_type_sh_hue_sat().