Blender
V4.3
source
blender
io
usd
intern
usd_reader_utils.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2024 NVIDIA Corporation. All rights reserved.
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
#pragma once
5
6
#include "
usd.hh
"
7
8
#include <pxr/usd/usd/prim.h>
9
#include <pxr/usd/usd/timeCode.h>
10
11
struct
ID
;
12
13
namespace
blender::io::usd
{
14
15
void
set_id_props_from_prim
(
ID
*
id
,
16
const
pxr::UsdPrim &prim,
17
eUSDAttrImportMode
attr_import_mode =
USD_ATTR_IMPORT_ALL
,
18
pxr::UsdTimeCode time_code = pxr::UsdTimeCode::Default());
19
20
}
// namespace blender::io::usd
blender::io::usd
Definition
usd_armature_utils.cc:17
blender::io::usd::set_id_props_from_prim
void set_id_props_from_prim(ID *id, const pxr::UsdPrim &prim, const eUSDAttrImportMode attr_import_mode, const pxr::UsdTimeCode time_code)
Definition
usd_reader_utils.cc:159
blender::io::usd::eUSDAttrImportMode
eUSDAttrImportMode
Definition
usd.hh:54
blender::io::usd::USD_ATTR_IMPORT_ALL
@ USD_ATTR_IMPORT_ALL
Definition
usd.hh:57
ID
Definition
DNA_ID.h:413
usd.hh
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0