Changeset View
Changeset View
Standalone View
Standalone View
source/blender/shader_fx/intern/FX_shader_util.c
| Show All 33 Lines | |||||
| 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(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 | ||||
| } | } | ||||