Blender
V4.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
9
#include <cstdio>
10
11
#include "
MEM_guardedalloc.h
"
12
13
#include "
BLI_utildefines.h
"
14
15
#include "
BKE_shader_fx.h
"
16
17
#include "
FX_shader_types.h
"
18
#include "
FX_shader_util.h
"
19
20
void
shaderfx_type_init
(
ShaderFxTypeInfo
*types[])
21
{
22
#define INIT_FX_TYPE(typeName) (types[eShaderFxType_##typeName] = &shaderfx_Type_##typeName)
23
INIT_FX_TYPE
(Blur);
24
INIT_FX_TYPE
(Colorize);
25
INIT_FX_TYPE
(Flip);
26
INIT_FX_TYPE
(Glow);
27
INIT_FX_TYPE
(Pixel);
28
INIT_FX_TYPE
(Rim);
29
INIT_FX_TYPE
(Shadow);
30
INIT_FX_TYPE
(Swirl);
31
INIT_FX_TYPE
(Wave);
32
#undef INIT_FX_TYPE
33
}
BKE_shader_fx.h
BLI_utildefines.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:20
FX_shader_util.h
MEM_guardedalloc.h
Read Guarded memory(de)allocation.
ShaderFxTypeInfo
Definition
BKE_shader_fx.h:63
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0