|
Blender V4.5
|
Functions | |
| static void | cmp_node_distance_matte_declare (NodeDeclarationBuilder &b) |
| static void | node_composit_init_distance_matte (bNodeTree *, bNode *node) |
| static void | node_composit_buts_distance_matte (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static CMPNodeDistanceMatteColorSpace | get_color_space (const bNode &node) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs) |
| static void | distance_key_rgba (const float4 &color, const float4 &key, const float tolerance, const float falloff, float4 &result, float &matte) |
| static void | distance_key_ycca (const float4 &color, const float4 &key, const float tolerance, const float falloff, float4 &result, float &matte) |
| static void | node_build_multi_function (blender::nodes::NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 31 of file node_composite_distance_matte.cc.
References b, cmp_node_distance_matte_declare(), blender::nodes::decl::Color::default_value, blender::nodes::decl::Float::default_value, max, min, and PROP_FACTOR.
Referenced by cmp_node_distance_matte_declare().
|
static |
Definition at line 94 of file node_composite_distance_matte.cc.
References blender::math::distance(), blender::math::max(), blender::math::min(), result, and blender::VecBase< T, Size >::xyz().
Referenced by node_build_multi_function().
|
static |
Definition at line 108 of file node_composite_distance_matte.cc.
References BLI_YCC_ITU_BT709, blender::math::distance(), blender::math::max(), blender::math::min(), result, rgb_to_ycc(), and blender::VecBase< T, Size >::yz().
Referenced by node_build_multi_function().
|
static |
Definition at line 73 of file node_composite_distance_matte.cc.
Referenced by node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 130 of file node_composite_distance_matte.cc.
References CMP_NODE_DISTANCE_MATTE_COLOR_SPACE_RGBA, CMP_NODE_DISTANCE_MATTE_COLOR_SPACE_YCCA, blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn_cb(), distance_key_rgba(), distance_key_ycca(), get_color_space(), and blender::nodes::NodeMultiFunctionBuilder::node().
|
static |
Definition at line 63 of file node_composite_distance_matte.cc.
References IFACE_, uiLayout::label(), uiLayout::prop(), ptr, uiLayout::row(), UI_ITEM_R_EXPAND, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 56 of file node_composite_distance_matte.cc.
References NodeChroma::channel, CMP_NODE_DISTANCE_MATTE_COLOR_SPACE_RGBA, MEM_callocN(), and bNode::storage.
|
static |
Definition at line 78 of file node_composite_distance_matte.cc.
References CMP_NODE_DISTANCE_MATTE_COLOR_SPACE_RGBA, CMP_NODE_DISTANCE_MATTE_COLOR_SPACE_YCCA, get_color_space(), GPU_stack_link(), inputs, and outputs.