|
Blender V4.5
|
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) |
|
static |
Definition at line 34 of file node_composite_mixrgb.cc.
References b, PROP_FACTOR, and blender::nodes::decl::Float::subtype.
|
static |
Definition at line 53 of file node_composite_mixrgb.cc.
References bNode::custom1.
Referenced by get_shader_function_name(), and node_build_multi_function().
|
static |
Definition at line 68 of file node_composite_mixrgb.cc.
References BLI_assert_unreachable, get_mode(), MA_RAMP_ADD, MA_RAMP_BLEND, MA_RAMP_BURN, MA_RAMP_COLOR, MA_RAMP_DARK, MA_RAMP_DIFF, MA_RAMP_DIV, MA_RAMP_DODGE, MA_RAMP_EXCLUSION, MA_RAMP_HUE, MA_RAMP_LIGHT, MA_RAMP_LINEAR, MA_RAMP_MULT, MA_RAMP_OVERLAY, MA_RAMP_SAT, MA_RAMP_SCREEN, MA_RAMP_SOFT, MA_RAMP_SUB, and MA_RAMP_VAL.
Referenced by node_gpu_material().
|
static |
Definition at line 63 of file node_composite_mixrgb.cc.
References bNode::custom2, and SHD_MIXRGB_CLAMP.
Referenced by node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 58 of file node_composite_mixrgb.cc.
References bNode::custom2, and SHD_MIXRGB_USE_ALPHA.
Referenced by node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 146 of file node_composite_mixrgb.cc.
References blender::math::clamp(), blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn_cb(), get_mode(), get_should_clamp(), get_use_alpha(), blender::nodes::NodeMultiFunctionBuilder::node(), ramp_blend(), and result.
|
static |
Definition at line 115 of file node_composite_mixrgb.cc.
References get_shader_function_name(), blender::compositor::get_shader_node_input(), blender::compositor::get_shader_node_input_link(), blender::compositor::get_shader_node_output(), get_should_clamp(), get_use_alpha(), GPU_constant(), GPU_link(), GPU_stack_link(), inputs, max, min, and outputs.