Blender V4.3
COM_ConvertColorProfileOperation.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "COM_NodeOperation.h"
8
9namespace blender::compositor {
10
16 private:
20 int from_profile_;
21
25 int to_profile_;
26
30 bool predivided_;
31
32 public:
37
38 void set_from_color_profile(int color_profile)
39 {
40 from_profile_ = color_profile;
41 }
42 void set_to_color_profile(int color_profile)
43 {
44 to_profile_ = color_profile;
45 }
46 void set_predivided(bool predivided)
47 {
48 predivided_ = predivided;
49 }
50};
51
52} // namespace blender::compositor
NodeOperation contains calculation logic.