Blender
V5.0
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
eUSDPropertyImportMode
property_import_mode =
USD_ATTR_IMPORT_ALL
,
18
pxr::UsdTimeCode time_code = pxr::UsdTimeCode::Default());
19
20
}
// namespace blender::io::usd
ID
struct ID ID
blender::io::usd
Definition
usd_armature_utils.cc:24
blender::io::usd::eUSDPropertyImportMode
eUSDPropertyImportMode
Definition
usd.hh:54
blender::io::usd::USD_ATTR_IMPORT_ALL
@ USD_ATTR_IMPORT_ALL
Definition
usd.hh:57
blender::io::usd::set_id_props_from_prim
void set_id_props_from_prim(ID *id, const pxr::UsdPrim &prim, const eUSDPropertyImportMode property_import_mode, const pxr::UsdTimeCode time_code)
Definition
usd_reader_utils.cc:158
ID
Definition
DNA_ID.h:414
usd.hh
Generated on
for Blender by
doxygen
1.16.1