Welcome to mirror list, hosted at ThFree Co, Russian Federation.

COM_CurveBaseOperation.h « operations « compositor « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4a745c34f24a510509c0f3ce7aee79acadfa885b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright 2011 Blender Foundation. */

#pragma once

#include "COM_MultiThreadedOperation.h"

struct CurveMapping;

namespace blender::compositor {

class CurveBaseOperation : public MultiThreadedOperation {
 protected:
  /**
   * Cached reference to the input_program
   */
  CurveMapping *curve_mapping_;

 public:
  CurveBaseOperation();
  ~CurveBaseOperation();

  /**
   * Initialize the execution
   */
  void init_execution() override;
  void deinit_execution() override;

  void set_curve_mapping(const CurveMapping *mapping);
};

}  // namespace blender::compositor