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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /intern/cycles/render/film.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'intern/cycles/render/film.h')
-rw-r--r--intern/cycles/render/film.h92
1 files changed, 46 insertions, 46 deletions
diff --git a/intern/cycles/render/film.h b/intern/cycles/render/film.h
index 8330a4cf413..1cfa7c3b77d 100644
--- a/intern/cycles/render/film.h
+++ b/intern/cycles/render/film.h
@@ -31,69 +31,69 @@ class DeviceScene;
class Scene;
typedef enum FilterType {
- FILTER_BOX,
- FILTER_GAUSSIAN,
- FILTER_BLACKMAN_HARRIS,
+ FILTER_BOX,
+ FILTER_GAUSSIAN,
+ FILTER_BLACKMAN_HARRIS,
- FILTER_NUM_TYPES,
+ FILTER_NUM_TYPES,
} FilterType;
class Pass {
-public:
- PassType type;
- int components;
- bool filter;
- bool exposure;
- PassType divide_type;
- string name;
-
- static void add(PassType type, vector<Pass>& passes, const char* name = NULL);
- static bool equals(const vector<Pass>& A, const vector<Pass>& B);
- static bool contains(const vector<Pass>& passes, PassType);
+ public:
+ PassType type;
+ int components;
+ bool filter;
+ bool exposure;
+ PassType divide_type;
+ string name;
+
+ static void add(PassType type, vector<Pass> &passes, const char *name = NULL);
+ static bool equals(const vector<Pass> &A, const vector<Pass> &B);
+ static bool contains(const vector<Pass> &passes, PassType);
};
class Film : public Node {
-public:
- NODE_DECLARE
+ public:
+ NODE_DECLARE
- float exposure;
- vector<Pass> passes;
- bool denoising_data_pass;
- bool denoising_clean_pass;
- bool denoising_prefiltered_pass;
- int denoising_flags;
- float pass_alpha_threshold;
+ float exposure;
+ vector<Pass> passes;
+ bool denoising_data_pass;
+ bool denoising_clean_pass;
+ bool denoising_prefiltered_pass;
+ int denoising_flags;
+ float pass_alpha_threshold;
- int pass_stride;
- int denoising_data_offset;
- int denoising_clean_offset;
+ int pass_stride;
+ int denoising_data_offset;
+ int denoising_clean_offset;
- FilterType filter_type;
- float filter_width;
- size_t filter_table_offset;
+ FilterType filter_type;
+ float filter_width;
+ size_t filter_table_offset;
- float mist_start;
- float mist_depth;
- float mist_falloff;
+ float mist_start;
+ float mist_depth;
+ float mist_falloff;
- bool use_light_visibility;
- bool use_sample_clamp;
- CryptomatteType cryptomatte_passes;
- int cryptomatte_depth;
+ bool use_light_visibility;
+ bool use_sample_clamp;
+ CryptomatteType cryptomatte_passes;
+ int cryptomatte_depth;
- bool need_update;
+ bool need_update;
- Film();
- ~Film();
+ Film();
+ ~Film();
- void device_update(Device *device, DeviceScene *dscene, Scene *scene);
- void device_free(Device *device, DeviceScene *dscene, Scene *scene);
+ void device_update(Device *device, DeviceScene *dscene, Scene *scene);
+ void device_free(Device *device, DeviceScene *dscene, Scene *scene);
- bool modified(const Film& film);
- void tag_passes_update(Scene *scene, const vector<Pass>& passes_);
- void tag_update(Scene *scene);
+ bool modified(const Film &film);
+ void tag_passes_update(Scene *scene, const vector<Pass> &passes_);
+ void tag_update(Scene *scene);
};
CCL_NAMESPACE_END
-#endif /* __FILM_H__ */
+#endif /* __FILM_H__ */