Blender
V5.3
source
blender
shader_fx
intern
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.hh
"
10
11
#include "
FX_shader_types.hh
"
12
13
namespace
blender
{
14
15
void
shaderfx_type_init
(
ShaderFxTypeInfo
*types[])
16
{
17
#define INIT_FX_TYPE(typeName) (types[eShaderFxType_##typeName] = &shaderfx_Type_##typeName)
18
INIT_FX_TYPE
(Blur);
19
INIT_FX_TYPE
(Colorize);
20
INIT_FX_TYPE
(Flip);
21
INIT_FX_TYPE
(Glow);
22
INIT_FX_TYPE
(Pixel);
23
INIT_FX_TYPE
(Rim);
24
INIT_FX_TYPE
(Shadow);
25
INIT_FX_TYPE
(Swirl);
26
INIT_FX_TYPE
(Wave);
27
#undef INIT_FX_TYPE
28
}
29
30
}
// namespace blender
BKE_shader_fx.hh
FX_shader_types.hh
INIT_FX_TYPE
#define INIT_FX_TYPE(typeName)
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::shaderfx_type_init
void shaderfx_type_init(ShaderFxTypeInfo *types[])
Definition
FX_shader_util.cc:15
blender::ShaderFxTypeInfo
Definition
BKE_shader_fx.hh:65
Generated on
for Blender by
doxygen
1.18.0