diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 14:19:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 16:43:00 +0300 |
commit | 5a43406e1bad973a8cb32702b4fdb588068a6dcd (patch) | |
tree | b47ac75f429b586950dab5300669c373023efab8 /source/blender/makesdna/DNA_gpu_types.h | |
parent | 0215caeac2ad013fa03e2799049f5358d951ebfa (diff) |
Cleanup: move DNA comments before struct members
Needed for clang-format in some cases, see: T53211
Diffstat (limited to 'source/blender/makesdna/DNA_gpu_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpu_types.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_gpu_types.h b/source/blender/makesdna/DNA_gpu_types.h index be34309572f..050db939671 100644 --- a/source/blender/makesdna/DNA_gpu_types.h +++ b/source/blender/makesdna/DNA_gpu_types.h @@ -32,9 +32,10 @@ #ifndef __DNA_GPU_TYPES_H__ #define __DNA_GPU_TYPES_H__ -/* properties for dof effect */ +/** Properties for dof effect. */ typedef struct GPUDOFSettings { - float focus_distance; /* focal distance for depth of field */ + /** Focal distance for depth of field. */ + float focus_distance; float fstop; float focal_length; float sensor; @@ -44,20 +45,22 @@ typedef struct GPUDOFSettings { int high_quality; } GPUDOFSettings; -/* properties for SSAO effect */ +/** Properties for SSAO effect. */ typedef struct GPUSSAOSettings { float factor; float color[3]; float distance_max; float attenuation; - int samples; /* ray samples, we use presets here for easy control instead of */ + /** Ray samples, we use presets here for easy control instead of. */ + int samples; int pad; } GPUSSAOSettings; typedef struct GPUFXSettings { GPUDOFSettings *dof; GPUSSAOSettings *ssao; - char fx_flag; /* eGPUFXFlags */ + /** EGPUFXFlags. */ + char fx_flag; char pad[7]; } GPUFXSettings; |