Blender
V5.3
source
blender
io
usd
usd_api_hook.hh
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
#pragma once
6
7
#include <memory>
8
9
#include "
RNA_types.hh
"
10
11
namespace
blender
{
12
13
namespace
io::usd
{
14
16
struct
USDHook
{
17
18
/* Identifier used for class name. */
19
char
idname
[64];
20
/* Identifier used as label. */
21
char
name
[64];
22
/* Short help/description. */
23
char
description
[
/*RNA_DYN_DESCR_MAX*/
1024];
24
25
/* rna_ext.data points to the USDHook class PyObject. */
26
ExtensionRNA
rna_ext
;
27
};
28
29
void
USD_register_hook
(std::unique_ptr<USDHook> hook);
34
void
USD_unregister_hook
(
const
USDHook
*hook);
35
USDHook
*
USD_find_hook_name
(
const
char
idname[]);
36
37
};
// namespace io::usd
38
39
}
// namespace blender
RNA_types.hh
blender::io::usd
Definition
usd_armature_utils.cc:24
blender::io::usd::USD_unregister_hook
void USD_unregister_hook(const USDHook *hook)
Definition
usd_hook.cc:71
blender::io::usd::USD_register_hook
void USD_register_hook(std::unique_ptr< USDHook > hook)
Definition
usd_hook.cc:60
blender::io::usd::USD_find_hook_name
USDHook * USD_find_hook_name(const char idname[])
Definition
usd_hook.cc:77
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::ExtensionRNA
Definition
RNA_types.hh:1126
blender::io::usd::USDHook
Definition
usd_api_hook.hh:16
blender::io::usd::USDHook::idname
char idname[64]
Definition
usd_api_hook.hh:19
blender::io::usd::USDHook::name
char name[64]
Definition
usd_api_hook.hh:21
blender::io::usd::USDHook::rna_ext
ExtensionRNA rna_ext
Definition
usd_api_hook.hh:26
blender::io::usd::USDHook::description
char description[1024]
Definition
usd_api_hook.hh:23
Generated on
for Blender by
doxygen
1.18.0