Blender V4.3
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
11struct ID;
12
13namespace blender::io::usd {
14
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
void set_id_props_from_prim(ID *id, const pxr::UsdPrim &prim, const eUSDAttrImportMode attr_import_mode, const pxr::UsdTimeCode time_code)
@ USD_ATTR_IMPORT_ALL
Definition usd.hh:57
Definition DNA_ID.h:413