Blender
V5.0
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.h
"
10
11
#include "
FX_shader_types.h
"
12
13
void
shaderfx_type_init
(
ShaderFxTypeInfo
*
types
[])
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);
20
INIT_FX_TYPE
(
Pixel
);
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
}
BKE_shader_fx.h
FX_shader_types.h
INIT_FX_TYPE
#define INIT_FX_TYPE(typeName)
shaderfx_type_init
void shaderfx_type_init(ShaderFxTypeInfo *types[])
Definition
FX_shader_util.cc:13
types
static char ** types
Definition
makesdna.cc:71
ShaderFxTypeInfo
Definition
BKE_shader_fx.h:62
UVMoveType::Pixel
@ Pixel
Definition
uvedit_ops.cc:349
Generated on
for Blender by
doxygen
1.16.1