Blender V5.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
11namespace blender {
12
13struct ID;
14
15namespace io::usd {
16
17void set_id_props_from_prim(ID *id,
18 const pxr::UsdPrim &prim,
19 PropertyImportMode property_import_mode = PropertyImportMode::All,
20 pxr::UsdTimeCode time_code = pxr::UsdTimeCode::Default());
21
22} // namespace io::usd
23} // namespace blender
void set_id_props_from_prim(ID *id, const pxr::UsdPrim &prim, const PropertyImportMode property_import_mode, const pxr::UsdTimeCode time_code)
BMesh Iterators.