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

Functions

static void cmp_node_mixrgb_declare (NodeDeclarationBuilder &b)
 
static int get_mode (const bNode &node)
 
static bool get_use_alpha (const bNode &node)
 
static bool get_should_clamp (const bNode &node)
 
static const char * get_shader_function_name (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_mixrgb_declare()

static void blender::nodes::node_composite_mixrgb_cc::cmp_node_mixrgb_declare ( NodeDeclarationBuilder & b)
static

Definition at line 34 of file node_composite_mixrgb.cc.

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

◆ get_mode()

static int blender::nodes::node_composite_mixrgb_cc::get_mode ( const bNode & node)
static

Definition at line 53 of file node_composite_mixrgb.cc.

References node.

Referenced by get_shader_function_name(), and node_build_multi_function().

◆ get_shader_function_name()

static const char * blender::nodes::node_composite_mixrgb_cc::get_shader_function_name ( const bNode & node)
static

◆ get_should_clamp()

static bool blender::nodes::node_composite_mixrgb_cc::get_should_clamp ( const bNode & node)
static

Definition at line 63 of file node_composite_mixrgb.cc.

References node, and SHD_MIXRGB_CLAMP.

Referenced by node_build_multi_function(), and node_gpu_material().

◆ get_use_alpha()

static bool blender::nodes::node_composite_mixrgb_cc::get_use_alpha ( const bNode & node)
static

Definition at line 58 of file node_composite_mixrgb.cc.

References node, and SHD_MIXRGB_USE_ALPHA.

Referenced by node_build_multi_function(), and node_gpu_material().

◆ node_build_multi_function()

◆ node_gpu_material()