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 /source/blender/makesdna/DNA_gpu_types.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 'source/blender/makesdna/DNA_gpu_types.h')
-rw-r--r--source/blender/makesdna/DNA_gpu_types.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/source/blender/makesdna/DNA_gpu_types.h b/source/blender/makesdna/DNA_gpu_types.h
index da5abf0a0eb..8cab90b0a46 100644
--- a/source/blender/makesdna/DNA_gpu_types.h
+++ b/source/blender/makesdna/DNA_gpu_types.h
@@ -26,40 +26,40 @@
/** Properties for dof effect. */
typedef struct GPUDOFSettings {
- /** Focal distance for depth of field. */
- float focus_distance;
- float fstop;
- float focal_length;
- float sensor;
- float rotation;
- float ratio;
- int num_blades;
- int high_quality;
+ /** Focal distance for depth of field. */
+ float focus_distance;
+ float fstop;
+ float focal_length;
+ float sensor;
+ float rotation;
+ float ratio;
+ int num_blades;
+ int high_quality;
} GPUDOFSettings;
/** Properties for SSAO effect. */
typedef struct GPUSSAOSettings {
- float factor;
- float color[3];
- float distance_max;
- float attenuation;
- /** Ray samples, we use presets here for easy control instead of. */
- int samples;
- char _pad[4];
+ float factor;
+ float color[3];
+ float distance_max;
+ float attenuation;
+ /** Ray samples, we use presets here for easy control instead of. */
+ int samples;
+ char _pad[4];
} GPUSSAOSettings;
typedef struct GPUFXSettings {
- GPUDOFSettings *dof;
- GPUSSAOSettings *ssao;
- /** #eGPUFXFlags. */
- char fx_flag;
- char _pad[7];
+ GPUDOFSettings *dof;
+ GPUSSAOSettings *ssao;
+ /** #eGPUFXFlags. */
+ char fx_flag;
+ char _pad[7];
} GPUFXSettings;
/* shaderfx enables */
typedef enum eGPUFXFlags {
- GPU_FX_FLAG_DOF = (1 << 0),
- GPU_FX_FLAG_SSAO = (1 << 1),
+ GPU_FX_FLAG_DOF = (1 << 0),
+ GPU_FX_FLAG_SSAO = (1 << 1),
} eGPUFXFlags;
-#endif /* __DNA_GPU_TYPES_H__ */
+#endif /* __DNA_GPU_TYPES_H__ */