diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-05 10:20:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-05 10:20:23 +0300 |
commit | f28dd2c944e399694f416820c8ab88c9516d6636 (patch) | |
tree | 294cd7e951ed7ea6850cb356aa00ab2c7baaf51d /source/blender/makesdna/DNA_shader_fx_types.h | |
parent | b69301d4aa1bec6de596042d48df2846723c7445 (diff) |
Cleanup: capitalize runtime in struct name
Diffstat (limited to 'source/blender/makesdna/DNA_shader_fx_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_shader_fx_types.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/source/blender/makesdna/DNA_shader_fx_types.h b/source/blender/makesdna/DNA_shader_fx_types.h index 8c124b8837a..3884f72fb56 100644 --- a/source/blender/makesdna/DNA_shader_fx_types.h +++ b/source/blender/makesdna/DNA_shader_fx_types.h @@ -73,11 +73,11 @@ typedef struct ShaderFxData { } ShaderFxData; /* Runtime temp data */ -typedef struct ShaderFxData_runtime { +typedef struct ShaderFxData_Runtime { struct DRWShadingGroup *fx_sh; struct DRWShadingGroup *fx_sh_b; struct DRWShadingGroup *fx_sh_c; -} ShaderFxData_runtime; +} ShaderFxData_Runtime; typedef struct BlurShaderFxData { ShaderFxData shaderfx; @@ -87,7 +87,8 @@ typedef struct BlurShaderFxData { float coc; /* circle of confusion */ int blur[2]; /* not visible in rna */ char pad[4]; - ShaderFxData_runtime runtime; + + ShaderFxData_Runtime runtime; } BlurShaderFxData; typedef enum eBlurShaderFx_Flag { @@ -102,7 +103,8 @@ typedef struct ColorizeShaderFxData { float factor; int flag; /* flags */ char pad[4]; - ShaderFxData_runtime runtime; + + ShaderFxData_Runtime runtime; } ColorizeShaderFxData; typedef enum ColorizeShaderFxModes { @@ -117,7 +119,7 @@ typedef struct FlipShaderFxData { ShaderFxData shaderfx; int flag; /* flags */ int flipmode; /* internal, not visible in rna */ - ShaderFxData_runtime runtime; + ShaderFxData_Runtime runtime; } FlipShaderFxData; typedef enum eFlipShaderFx_Flag { @@ -133,7 +135,7 @@ typedef struct LightShaderFxData { float ambient; float loc[4]; /* internal, not visible in rna */ char pad[4]; - ShaderFxData_runtime runtime; + ShaderFxData_Runtime runtime; } LightShaderFxData; typedef struct PixelShaderFxData { @@ -141,7 +143,7 @@ typedef struct PixelShaderFxData { int size[3]; /* last element used for shader only */ int flag; /* flags */ float rgba[4]; - ShaderFxData_runtime runtime; + ShaderFxData_Runtime runtime; } PixelShaderFxData; typedef enum ePixelShaderFx_Flag { @@ -158,7 +160,7 @@ typedef struct RimShaderFxData { int blur[2]; int samples; char pad[4]; - ShaderFxData_runtime runtime; + ShaderFxData_Runtime runtime; } RimShaderFxData; typedef enum RimShaderFxModes { @@ -185,7 +187,7 @@ typedef struct ShadowShaderFxData { int blur[2]; int samples; char pad[4]; - ShaderFxData_runtime runtime; + ShaderFxData_Runtime runtime; } ShadowShaderFxData; typedef enum eShadowShaderFx_Flag { @@ -200,7 +202,7 @@ typedef struct SwirlShaderFxData { int radius; float angle; int transparent; /* not visible in rna */ - ShaderFxData_runtime runtime; + ShaderFxData_Runtime runtime; } SwirlShaderFxData; typedef enum eSwirlShaderFx_Flag { @@ -215,6 +217,6 @@ typedef struct WaveShaderFxData { int orientation; int flag; /* flags */ char pad[4]; - ShaderFxData_runtime runtime; + ShaderFxData_Runtime runtime; } WaveShaderFxData; #endif /* __DNA_SHADER_FX_TYPES_H__ */ |