Blender  V3.3
COM_DistanceYCCMatteOperation.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2011 Blender Foundation. */
3 
4 #pragma once
5 
7 #include "COM_MixOperation.h"
8 
9 namespace blender::compositor {
10 
16  protected:
17  float calculate_distance(const float key[4], const float image[4]) override;
18 };
19 
20 } // namespace blender::compositor
float calculate_distance(const float key[4], const float image[4]) override
depth_tx normal_tx diffuse_light_tx specular_light_tx volume_light_tx environment_tx ambient_occlusion_tx aov_value_tx in_weight_img image(1, GPU_R32F, Qualifier::WRITE, ImageType::FLOAT_2D_ARRAY, "out_weight_img") .image(3