Changeset View
Changeset View
Standalone View
Standalone View
source/blender/shader_fx/intern/FX_shader_utils.c
- This file was moved from source/blender/shader_fx/intern/FX_shader_util.c.
| Show All 24 Lines | |||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BKE_shader_fx.h" | #include "BKE_shader_fx.h" | ||||
| #include "FX_shader_types.h" | #include "FX_shader_types.h" | ||||
| #include "FX_shader_util.h" | #include "FX_shader_utils.h" | ||||
| void shaderfx_type_init(ShaderFxTypeInfo *types[]) | void shaderfx_type_init(ShaderFxTypeInfo *types[]) | ||||
| { | { | ||||
| #define INIT_FX_TYPE(typeName) (types[eShaderFxType_##typeName] = &shaderfx_Type_##typeName) | #define INIT_FX_TYPE(typeName) (types[eShaderFxType_##typeName] = &shaderfx_Type_##typeName) | ||||
| INIT_FX_TYPE(Blur); | INIT_FX_TYPE(Blur); | ||||
| INIT_FX_TYPE(Colorize); | INIT_FX_TYPE(Colorize); | ||||
| INIT_FX_TYPE(Flip); | INIT_FX_TYPE(Flip); | ||||
| INIT_FX_TYPE(Glow); | INIT_FX_TYPE(Glow); | ||||
| INIT_FX_TYPE(Light); | INIT_FX_TYPE(Light); | ||||
| INIT_FX_TYPE(Pixel); | INIT_FX_TYPE(Pixel); | ||||
| INIT_FX_TYPE(Rim); | INIT_FX_TYPE(Rim); | ||||
| INIT_FX_TYPE(Shadow); | INIT_FX_TYPE(Shadow); | ||||
| INIT_FX_TYPE(Swirl); | INIT_FX_TYPE(Swirl); | ||||
| INIT_FX_TYPE(Wave); | INIT_FX_TYPE(Wave); | ||||
| #undef INIT_FX_TYPE | #undef INIT_FX_TYPE | ||||
| } | } | ||||