|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs) |
| static float4 | preprocess_foreground (const float4 &foreground, const bool straight_alpha) |
| static float4 | alpha_over (const float4 &background, const float4 &foreground, const float factor, const bool straight_alpha) |
| static float4 | alpha_over_disjoint (const float4 &background, const float4 &foreground, const float factor, const bool straight_alpha) |
| static float4 | alpha_over_conjoint (const float4 &background, const float4 &foreground, const float factor, const bool straight_alpha) |
| static void | node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder) |
| static void | register_node_type_cmp_alphaover () |
Variables | |
| static const EnumPropertyItem | type_items [] |
|
static |
Definition at line 84 of file node_composite_alpha_over.cc.
References blender::math::clamp(), blender::math::interpolate(), and preprocess_foreground().
Referenced by node_build_multi_function().
|
static |
Definition at line 126 of file node_composite_alpha_over.cc.
References blender::math::clamp(), blender::math::interpolate(), preprocess_foreground(), and blender::math::safe_divide().
Referenced by node_build_multi_function().
|
static |
Definition at line 101 of file node_composite_alpha_over.cc.
References blender::math::clamp(), blender::math::interpolate(), preprocess_foreground(), and blender::math::safe_divide().
Referenced by node_build_multi_function().
|
static |
Definition at line 147 of file node_composite_alpha_over.cc.
References alpha_over(), alpha_over_conjoint(), alpha_over_disjoint(), CMP_NODE_ALPHA_OVER_OPERATION_TYPE_CONJOINT_OVER, CMP_NODE_ALPHA_OVER_OPERATION_TYPE_DISJOINT_OVER, CMP_NODE_ALPHA_OVER_OPERATION_TYPE_OVER, blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), and blender::nodes::MenuValue::value.
Referenced by register_node_type_cmp_alphaover().
|
static |
Definition at line 41 of file node_composite_alpha_over.cc.
References b, CMP_NODE_ALPHA_OVER_OPERATION_TYPE_OVER, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::optional_label, PROP_FACTOR, blender::nodes::decl::Float::subtype, and type_items.
Referenced by register_node_type_cmp_alphaover().
|
static |
Definition at line 65 of file node_composite_alpha_over.cc.
References GPU_stack_link(), inputs, and outputs.
Referenced by register_node_type_cmp_alphaover().
|
static |
Definition at line 76 of file node_composite_alpha_over.cc.
References blender::math::clamp(), and blender::VecBase< T, Size >::xyz().
Referenced by alpha_over(), alpha_over_conjoint(), and alpha_over_disjoint().
|
static |
Definition at line 171 of file node_composite_alpha_over.cc.
References blender::bke::bNodeType::build_multi_function, CMP_NODE_ALPHAOVER, cmp_node_type_base(), blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::gpu_fn, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_OP_COLOR, node_declare(), node_gpu_material(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
|
static |
Definition at line 20 of file node_composite_alpha_over.cc.
Referenced by node_declare().