Blender
V3.3
source
blender
io
usd
tests
usd_tests_common.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2022 Blender Foundation. All rights reserved. */
3
#pragma once
4
5
#include <string>
6
7
namespace
blender::io::usd
{
8
9
/* Calls the function to load the USD plugins from the
10
* USD data directory under the Blender bin directory
11
* that was supplied as the --test-release-dir flag to `ctest`.
12
* Thus function must be called before instantiating a USD
13
* stage to avoid errors. The returned string is the path to
14
* the USD data files directory from which the plugins were
15
* loaded. If the USD data files directory can't be determined,
16
* plugin registration is skipped and the empty string is
17
* returned. */
18
std::string
register_usd_plugins_for_tests
();
19
20
}
// namespace blender::io::usd
blender::io::usd
Definition:
usd_capi_export.cc:35
blender::io::usd::register_usd_plugins_for_tests
std::string register_usd_plugins_for_tests()
Definition:
usd_tests_common.cc:17
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1