Blender V4.3
COM_Enums.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2021 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#include "COM_Enums.h"
6
7namespace blender::compositor {
8
10{
11 switch (sampler) {
13 break;
15 area.xmax += 1;
16 area.ymax += 1;
17 break;
19 area.xmin -= 1;
20 area.xmax += 2;
21 area.ymin -= 1;
22 area.ymax += 2;
23 break;
24 }
25}
26
27std::ostream &operator<<(std::ostream &os, const eCompositorPriority &priority)
28{
29 switch (priority) {
31 os << "Priority::High";
32 break;
33 }
35 os << "Priority::Medium";
36 break;
37 }
39 os << "Priority::Low";
40 break;
41 }
42 }
43 return os;
44}
45
46} // namespace blender::compositor
local_group_size(16, 16) .push_constant(Type local_group_size(16, 16) .push_constant(Type input_tx sampler(1, ImageType::FLOAT_2D, "matte_tx") .image(0
eCompositorPriority
Possible priority settings.
Definition COM_Enums.h:33
void expand_area_for_sampler(rcti &area, PixelSampler sampler)
Definition COM_Enums.cc:9
std::ostream & operator<<(std::ostream &os, const eCompositorPriority &priority)
Definition COM_Enums.cc:27