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/integrator.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/integrator.h')
-rw-r--r--intern/cycles/render/integrator.h96
1 files changed, 48 insertions, 48 deletions
diff --git a/intern/cycles/render/integrator.h b/intern/cycles/render/integrator.h
index da4e61d8153..6acc68a7402 100644
--- a/intern/cycles/render/integrator.h
+++ b/intern/cycles/render/integrator.h
@@ -28,74 +28,74 @@ class DeviceScene;
class Scene;
class Integrator : public Node {
-public:
- NODE_DECLARE
+ public:
+ NODE_DECLARE
- int max_bounce;
+ int max_bounce;
- int max_diffuse_bounce;
- int max_glossy_bounce;
- int max_transmission_bounce;
- int max_volume_bounce;
+ int max_diffuse_bounce;
+ int max_glossy_bounce;
+ int max_transmission_bounce;
+ int max_volume_bounce;
- int transparent_max_bounce;
+ int transparent_max_bounce;
- int ao_bounces;
+ int ao_bounces;
- int volume_max_steps;
- float volume_step_size;
+ int volume_max_steps;
+ float volume_step_size;
- bool caustics_reflective;
- bool caustics_refractive;
- float filter_glossy;
+ bool caustics_reflective;
+ bool caustics_refractive;
+ float filter_glossy;
- int seed;
+ int seed;
- float sample_clamp_direct;
- float sample_clamp_indirect;
- bool motion_blur;
+ float sample_clamp_direct;
+ float sample_clamp_indirect;
+ bool motion_blur;
- /* Maximum number of samples, beyond which we are likely to run into
- * precision issues for sampling patterns. */
- static const int MAX_SAMPLES = (1 << 24);
+ /* Maximum number of samples, beyond which we are likely to run into
+ * precision issues for sampling patterns. */
+ static const int MAX_SAMPLES = (1 << 24);
- int aa_samples;
- int diffuse_samples;
- int glossy_samples;
- int transmission_samples;
- int ao_samples;
- int mesh_light_samples;
- int subsurface_samples;
- int volume_samples;
- int start_sample;
+ int aa_samples;
+ int diffuse_samples;
+ int glossy_samples;
+ int transmission_samples;
+ int ao_samples;
+ int mesh_light_samples;
+ int subsurface_samples;
+ int volume_samples;
+ int start_sample;
- bool sample_all_lights_direct;
- bool sample_all_lights_indirect;
- float light_sampling_threshold;
+ bool sample_all_lights_direct;
+ bool sample_all_lights_indirect;
+ float light_sampling_threshold;
- enum Method {
- BRANCHED_PATH = 0,
- PATH = 1,
+ enum Method {
+ BRANCHED_PATH = 0,
+ PATH = 1,
- NUM_METHODS,
- };
+ NUM_METHODS,
+ };
- Method method;
+ Method method;
- SamplingPattern sampling_pattern;
+ SamplingPattern sampling_pattern;
- bool need_update;
+ bool need_update;
- Integrator();
- ~Integrator();
+ Integrator();
+ ~Integrator();
- void device_update(Device *device, DeviceScene *dscene, Scene *scene);
- void device_free(Device *device, DeviceScene *dscene);
+ void device_update(Device *device, DeviceScene *dscene, Scene *scene);
+ void device_free(Device *device, DeviceScene *dscene);
- bool modified(const Integrator& integrator);
- void tag_update(Scene *scene);
+ bool modified(const Integrator &integrator);
+ void tag_update(Scene *scene);
};
CCL_NAMESPACE_END
-#endif /* __INTEGRATOR_H__ */
+#endif /* __INTEGRATOR_H__ */