Blender  V3.3
Classes | Functions
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 *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)
 

Function Documentation

◆ gpu_shader_valtorgb()

static int blender::nodes::node_shader_color_ramp_cc::gpu_shader_valtorgb ( GPUMaterial *  mat,
bNode *  node,
bNodeExecData *  UNUSEDexecdata,
GPUNodeStack *  in,
GPUNodeStack *  out 
)
static

◆ node_shader_init_valtorgb()

static void blender::nodes::node_shader_color_ramp_cc::node_shader_init_valtorgb ( bNodeTree *  UNUSEDntree,
bNode *  node 
)
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().

◆ sh_node_valtorgb_build_multi_function()

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

◆ sh_node_valtorgb_declare()

static void blender::nodes::node_shader_color_ramp_cc::sh_node_valtorgb_declare ( NodeDeclarationBuilder &  b)
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().