Blender V4.5
blender::nodes::node_composite_color_ramp_cc Namespace Reference

Functions

static void cmp_node_valtorgb_declare (NodeDeclarationBuilder &b)
 
static void node_composit_init_valtorgb (bNodeTree *, bNode *node)
 
static ColorBandget_color_band (const bNode &node)
 
static int node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs)
 
static void node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder)
 

Function Documentation

◆ cmp_node_valtorgb_declare()

static void blender::nodes::node_composite_color_ramp_cc::cmp_node_valtorgb_declare ( NodeDeclarationBuilder & b)
static

Definition at line 29 of file node_composite_val_to_rgb.cc.

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

◆ get_color_band()

static ColorBand * blender::nodes::node_composite_color_ramp_cc::get_color_band ( const bNode & node)
static

Definition at line 48 of file node_composite_val_to_rgb.cc.

References node.

Referenced by node_build_multi_function(), and node_gpu_material().

◆ node_build_multi_function()

static void blender::nodes::node_composite_color_ramp_cc::node_build_multi_function ( blender::nodes::NodeMultiFunctionBuilder & builder)
static

◆ node_composit_init_valtorgb()

static void blender::nodes::node_composite_color_ramp_cc::node_composit_init_valtorgb ( bNodeTree * ,
bNode * node )
static

Definition at line 41 of file node_composite_val_to_rgb.cc.

References BKE_colorband_add(), and node.

◆ node_gpu_material()