Blender V5.0
FX_shader_util.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2018 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#include "BKE_shader_fx.h"
10
11#include "FX_shader_types.h"
12
14{
15#define INIT_FX_TYPE(typeName) (types[eShaderFxType_##typeName] = &shaderfx_Type_##typeName)
16 INIT_FX_TYPE(Blur);
17 INIT_FX_TYPE(Colorize);
18 INIT_FX_TYPE(Flip);
19 INIT_FX_TYPE(Glow);
21 INIT_FX_TYPE(Rim);
22 INIT_FX_TYPE(Shadow);
23 INIT_FX_TYPE(Swirl);
24 INIT_FX_TYPE(Wave);
25#undef INIT_FX_TYPE
26}
#define INIT_FX_TYPE(typeName)
void shaderfx_type_init(ShaderFxTypeInfo *types[])
static char ** types
Definition makesdna.cc:71