|
Blender V5.0
|
Functions | |
| static void | cmp_node_distance_matte_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_distance_matte (bNodeTree *, bNode *node) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs) |
| static void | distance_key (const float4 color, const float4 key, const CMPNodeDistanceMatteColorSpace color_space, const float tolerance, const float falloff, float4 &result, float &matte) |
| static void | node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder) |
Variables | |
| static const EnumPropertyItem | color_space_items [] |
|
static |
Definition at line 26 of file node_composite_distance_matte.cc.
References b, CMP_NODE_DISTANCE_MATTE_COLOR_SPACE_RGBA, color_space_items, blender::nodes::SocketDeclaration::optional_label, PROP_FACTOR, and blender::nodes::decl::Float::subtype.
|
static |
Definition at line 76 of file node_composite_distance_matte.cc.
References BLI_YCC_ITU_BT709, CMP_NODE_DISTANCE_MATTE_COLOR_SPACE_RGBA, CMP_NODE_DISTANCE_MATTE_COLOR_SPACE_YCCA, blender::math::distance(), blender::math::max(), blender::math::min(), result, rgb_to_ycc(), blender::math::safe_divide(), and blender::VecBase< T, Size >::xyz().
Referenced by node_build_multi_function().
|
static |
Definition at line 114 of file node_composite_distance_matte.cc.
References distance_key(), blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), and blender::nodes::MenuValue::value.
|
static |
Definition at line 59 of file node_composite_distance_matte.cc.
References MEM_callocN(), and bNode::storage.
|
static |
Definition at line 67 of file node_composite_distance_matte.cc.
References GPU_stack_link(), inputs, and outputs.
|
static |
Definition at line 20 of file node_composite_distance_matte.cc.
Referenced by cmp_node_distance_matte_declare().