Blender
V5.3
source
blender
compositor
intern
init.cc
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2026 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#include "
BLI_cpp_type_make.hh
"
6
7
#include "
COM_closure.hh
"
8
#include "
COM_init.hh
"
9
10
namespace
blender::compositor
{
11
12
static
void
register_cpp_types
()
13
{
14
BLI_CPP_TYPE_REGISTER
(
ClosurePtr
,
CPPTypeFlags::None
);
15
}
16
17
void
init
()
18
{
19
static
bool
initialized =
false
;
20
if
(initialized) {
21
return
;
22
}
23
initialized =
true
;
24
25
register_cpp_types
();
26
}
27
28
}
// namespace blender::compositor
BLI_cpp_type_make.hh
BLI_CPP_TYPE_REGISTER
#define BLI_CPP_TYPE_REGISTER(TYPE_NAME, FLAGS)
Definition
BLI_cpp_type_make.hh:505
COM_closure.hh
COM_init.hh
blender::compositor
Definition
BKE_node.hh:77
blender::compositor::init
void init()
Definition
init.cc:17
blender::compositor::register_cpp_types
static void register_cpp_types()
Definition
init.cc:12
blender::compositor::ClosurePtr
ImplicitSharingPtr< Closure > ClosurePtr
Definition
COM_closure.hh:26
blender::CPPTypeFlags::None
@ None
Definition
BLI_cpp_type.hh:96
Generated on
for Blender by
doxygen
1.18.0