From 5a43406e1bad973a8cb32702b4fdb588068a6dcd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 7 Jan 2019 22:19:13 +1100 Subject: Cleanup: move DNA comments before struct members Needed for clang-format in some cases, see: T53211 --- source/blender/makesdna/DNA_gpu_types.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'source/blender/makesdna/DNA_gpu_types.h') 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; -- cgit v1.2.3