|
Blender
V2.93
|
#include "IMB_colormanagement.h"#include "DNA_texture_types.h"#include "BLI_color.hh"#include "node_shader_util.h"Go to the source code of this file.
Classes | |
| class | ColorBandFunction |
Functions | |
| static void | node_shader_exec_valtorgb (void *UNUSED(data), int UNUSED(thread), bNode *node, bNodeExecData *UNUSED(execdata), bNodeStack **in, bNodeStack **out) |
| static void | node_shader_init_valtorgb (bNodeTree *UNUSED(ntree), bNode *node) |
| static int | gpu_shader_valtorgb (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| static void | sh_node_valtorgb_expand_in_mf_network (blender::nodes::NodeMFNetworkBuilder &builder) |
| void | register_node_type_sh_valtorgb (void) |
| static void | node_shader_exec_rgbtobw (void *UNUSED(data), int UNUSED(thread), bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), bNodeStack **in, bNodeStack **out) |
| static int | gpu_shader_rgbtobw (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_rgbtobw (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_valtorgb_in [] |
| static bNodeSocketTemplate | sh_node_valtorgb_out [] |
| static bNodeSocketTemplate | sh_node_rgbtobw_in [] |
| static bNodeSocketTemplate | sh_node_rgbtobw_out [] |
|
static |
Definition at line 210 of file node_shader_valToRgb.cc.
References GPU_stack_link(), and node.
Referenced by register_node_type_sh_rgbtobw().
|
static |
Definition at line 67 of file node_shader_valToRgb.cc.
References BKE_colorband_evaluate_table_rgba(), COLBAND_BLEND_RGB, COLBAND_INTERP_CONSTANT, COLBAND_INTERP_EASE, COLBAND_INTERP_LINEAR, ColorBand::color_mode, ColorBand::data, GPU_color_band(), GPU_constant(), GPU_stack_link(), GPU_uniform(), if(), ColorBand::ipotype, max_ff(), node, CBData::pos, CBData::r, size(), tex, and ColorBand::tot.
Referenced by register_node_type_sh_valtorgb().
|
static |
Definition at line 195 of file node_shader_valToRgb.cc.
References col, IMB_colormanagement_get_luminance(), nodestack_get_vec(), SOCK_VECTOR, and bNodeStack::vec.
Referenced by register_node_type_sh_rgbtobw().
|
static |
Definition at line 43 of file node_shader_valToRgb.cc.
References BKE_colorband_evaluate(), node, nodestack_get_vec(), SOCK_FLOAT, and bNodeStack::vec.
Referenced by register_node_type_sh_valtorgb().
Definition at line 62 of file node_shader_valToRgb.cc.
References BKE_colorband_add(), and node.
Referenced by register_node_type_sh_valtorgb().
| void register_node_type_sh_rgbtobw | ( | void | ) |
Definition at line 219 of file node_shader_valToRgb.cc.
References gpu_shader_rgbtobw(), NODE_CLASS_CONVERTOR, node_shader_exec_rgbtobw(), node_type_exec(), node_type_gpu(), node_type_socket_templates(), nodeRegisterType(), SH_NODE_RGBTOBW, sh_node_rgbtobw_in, sh_node_rgbtobw_out, and sh_node_type_base().
Referenced by registerShaderNodes().
| void register_node_type_sh_valtorgb | ( | void | ) |
Definition at line 173 of file node_shader_valToRgb.cc.
References bNodeType::expand_in_mf_network, gpu_shader_valtorgb(), NODE_CLASS_CONVERTOR, node_copy_standard_storage(), node_free_standard_storage(), node_shader_exec_valtorgb(), node_shader_init_valtorgb(), NODE_SIZE_LARGE, node_type_exec(), node_type_gpu(), node_type_init(), node_type_size_preset(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), sh_fn_node_type_base(), SH_NODE_VALTORGB, sh_node_valtorgb_expand_in_mf_network(), sh_node_valtorgb_in, and sh_node_valtorgb_out.
Referenced by registerShaderNodes().
|
static |
Definition at line 166 of file node_shader_valToRgb.cc.
References blender::nodes::NodeMFNetworkBuilder::bnode(), blender::nodes::NodeMFNetworkBuilder::construct_and_set_matching_fn(), and bNode::storage.
Referenced by register_node_type_sh_valtorgb().
|
static |
Definition at line 190 of file node_shader_valToRgb.cc.
Referenced by register_node_type_sh_rgbtobw().
|
static |
Definition at line 192 of file node_shader_valToRgb.cc.
Referenced by register_node_type_sh_rgbtobw().
|
static |
Definition at line 33 of file node_shader_valToRgb.cc.
Referenced by register_node_type_sh_valtorgb().
|
static |
Definition at line 37 of file node_shader_valToRgb.cc.
Referenced by register_node_type_sh_valtorgb().