Blender
V3.3
source
blender
shader_fx
intern
FX_shader_util.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2018 Blender Foundation. */
3
8
#include <stdio.h>
9
10
#include "
MEM_guardedalloc.h
"
11
12
#include "
BLI_utildefines.h
"
13
14
#include "
BKE_shader_fx.h
"
15
16
#include "
FX_shader_types.h
"
17
#include "
FX_shader_util.h
"
18
19
void
shaderfx_type_init
(
ShaderFxTypeInfo
*
types
[])
20
{
21
#define INIT_FX_TYPE(typeName) (types[eShaderFxType_##typeName] = &shaderfx_Type_##typeName)
22
INIT_FX_TYPE
(Blur);
23
INIT_FX_TYPE
(Colorize);
24
INIT_FX_TYPE
(Flip);
25
INIT_FX_TYPE
(Glow);
26
INIT_FX_TYPE
(Pixel);
27
INIT_FX_TYPE
(Rim);
28
INIT_FX_TYPE
(Shadow);
29
INIT_FX_TYPE
(Swirl);
30
INIT_FX_TYPE
(Wave);
31
#undef INIT_FX_TYPE
32
}
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.c:19
FX_shader_util.h
MEM_guardedalloc.h
Read Guarded memory(de)allocation.
types
static char ** types
Definition:
makesdna.c:67
ShaderFxTypeInfo
Definition:
BKE_shader_fx.h:62
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1