Blender V5.0
blender::nodes::node_shader_color_ramp_cc Namespace Reference

Classes

class  ColorBandFunction

Functions

static void sh_node_valtorgb_declare (NodeDeclarationBuilder &b)
static void node_shader_init_valtorgb (bNodeTree *, bNode *node)
static int gpu_shader_valtorgb (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
static void sh_node_valtorgb_build_multi_function (nodes::NodeMultiFunctionBuilder &builder)

Function Documentation

◆ gpu_shader_valtorgb()

◆ node_shader_init_valtorgb()

void blender::nodes::node_shader_color_ramp_cc::node_shader_init_valtorgb ( bNodeTree * ,
bNode * node )
static

Definition at line 37 of file node_shader_color_ramp.cc.

References BKE_colorband_add(), and bNode::storage.

◆ sh_node_valtorgb_build_multi_function()

void blender::nodes::node_shader_color_ramp_cc::sh_node_valtorgb_build_multi_function ( nodes::NodeMultiFunctionBuilder & builder)
static

◆ sh_node_valtorgb_declare()

void blender::nodes::node_shader_color_ramp_cc::sh_node_valtorgb_declare ( NodeDeclarationBuilder & b)
static

Definition at line 22 of file node_shader_color_ramp.cc.

References b, PROP_FACTOR, and blender::nodes::decl::Float::subtype.