Blender V4.3
COM_InvertOperation.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
8
9namespace blender::compositor {
10
12 private:
13 bool alpha_;
14 bool color_;
15
16 public:
18
19 void set_color(bool color)
20 {
21 color_ = color;
22 }
23 void set_alpha(bool alpha)
24 {
25 alpha_ = alpha;
26 }
27
29 const rcti &area,
30 Span<MemoryBuffer *> inputs) override;
31};
32
33} // namespace blender::compositor
void update_memory_buffer_partial(MemoryBuffer *output, const rcti &area, Span< MemoryBuffer * > inputs) override
a MemoryBuffer contains access to the data