Blender V4.3
blender::nodes::node_sh_mix_cc Namespace Reference

Classes

class  MixColorFunction
 
class  SocketSearchOp
 

Functions

static void sh_node_mix_declare (NodeDeclarationBuilder &b)
 
static void sh_node_mix_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
 
static void sh_node_mix_label (const bNodeTree *, const bNode *node, char *label, int label_maxncpy)
 
static int sh_node_mix_ui_class (const bNode *node)
 
static void sh_node_mix_update (bNodeTree *ntree, bNode *node)
 
static void node_mix_gather_link_searches (GatherLinkSearchOpParams &params)
 
static void node_mix_init (bNodeTree *, bNode *node)
 
static const char * gpu_shader_get_name (eNodeSocketDatatype data_type, const bool non_uniform, const int blend_type)
 
static int gpu_shader_mix (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out)
 
static const mf::MultiFunctionget_multi_function (const bNode &node)
 
static void sh_node_mix_build_multi_function (NodeMultiFunctionBuilder &builder)
 

Function Documentation

◆ get_multi_function()

static const mf::MultiFunction * blender::nodes::node_sh_mix_cc::get_multi_function ( const bNode & node)
static

◆ gpu_shader_get_name()

static const char * blender::nodes::node_sh_mix_cc::gpu_shader_get_name ( eNodeSocketDatatype data_type,
const bool non_uniform,
const int blend_type )
static

◆ gpu_shader_mix()

◆ node_mix_gather_link_searches()

static void blender::nodes::node_sh_mix_cc::node_mix_gather_link_searches ( GatherLinkSearchOpParams & params)
static

◆ node_mix_init()

static void blender::nodes::node_sh_mix_cc::node_mix_init ( bNodeTree * ,
bNode * node )
static

Definition at line 278 of file node_shader_mix.cc.

References data, MA_RAMP_BLEND, NODE_MIX_MODE_UNIFORM, and SOCK_FLOAT.

◆ sh_node_mix_build_multi_function()

◆ sh_node_mix_declare()

◆ sh_node_mix_label()

static void blender::nodes::node_sh_mix_cc::sh_node_mix_label ( const bNodeTree * ,
const bNode * node,
char * label,
int label_maxncpy )
static

◆ sh_node_mix_layout()

static void blender::nodes::node_sh_mix_cc::sh_node_mix_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

◆ sh_node_mix_ui_class()

static int blender::nodes::node_sh_mix_cc::sh_node_mix_ui_class ( const bNode * node)
static

◆ sh_node_mix_update()

static void blender::nodes::node_sh_mix_cc::sh_node_mix_update ( bNodeTree * ntree,
bNode * node )
static