Blender
V3.3
|
Classes | |
class | ColorBandFunction |
Functions | |
static void | sh_node_valtorgb_declare (NodeDeclarationBuilder &b) |
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_build_multi_function (nodes::NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 29 of file node_shader_color_ramp.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, usdtokens::out(), CBData::pos, CBData::r, size(), tex, and ColorBand::tot.
Referenced by register_node_type_sh_valtorgb().
|
static |
Definition at line 24 of file node_shader_color_ramp.cc.
References BKE_colorband_add(), and node.
Referenced by register_node_type_sh_valtorgb().
|
static |
Definition at line 126 of file node_shader_color_ramp.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), blender::nodes::NodeMultiFunctionBuilder::node(), and bNode::storage.
Referenced by register_node_type_sh_valtorgb().
|
static |
Definition at line 16 of file node_shader_color_ramp.cc.
References usdtokens::b(), N_, and PROP_FACTOR.
Referenced by register_node_type_sh_valtorgb().