Blender  V3.3
COM_QualityStepHelper.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 
6 #include "COM_Enums.h"
7 
8 namespace blender::compositor {
9 
10 typedef enum QualityHelper {
14 
16  private:
17  eCompositorQuality quality_;
18  int step_;
19  int offsetadd_;
20 
21  protected:
25  void init_execution(QualityHelper helper);
26 
27  inline int get_step() const
28  {
29  return step_;
30  }
31  inline int get_offset_add() const
32  {
33  return offsetadd_;
34  }
35 
36  public:
38 
40  {
41  quality_ = quality;
42  }
43 };
44 
45 } // namespace blender::compositor
void set_quality(eCompositorQuality quality)
eCompositorQuality
Possible quality settings.
Definition: COM_Enums.h:19