diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-18 11:10:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-18 11:10:25 +0300 |
commit | 16665ad753cd511a57108c6491f7b4bebe4dffd4 (patch) | |
tree | 5fa12562cea7bd06f1d4ad11fd001cc652e5c896 /source/blender/makesdna/DNA_gpu_types.h | |
parent | acd98599ffe4197e32586d6beb807638395d3e31 (diff) |
Cleanup: remove unused viewport fx_settings
Diffstat (limited to 'source/blender/makesdna/DNA_gpu_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpu_types.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/source/blender/makesdna/DNA_gpu_types.h b/source/blender/makesdna/DNA_gpu_types.h index 8cab90b0a46..7d56baf86a4 100644 --- a/source/blender/makesdna/DNA_gpu_types.h +++ b/source/blender/makesdna/DNA_gpu_types.h @@ -24,6 +24,7 @@ #ifndef __DNA_GPU_TYPES_H__ #define __DNA_GPU_TYPES_H__ +/* Keep for 'Camera' versioning. */ /** Properties for dof effect. */ typedef struct GPUDOFSettings { /** Focal distance for depth of field. */ @@ -37,29 +38,4 @@ typedef struct GPUDOFSettings { 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]; -} GPUSSAOSettings; - -typedef struct GPUFXSettings { - 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), -} eGPUFXFlags; - #endif /* __DNA_GPU_TYPES_H__ */ |