Apply `const` to variables, arguments, and methods. Also includes a few variable shadowing changes that were noticed along the way. All changes should have no user visible effects. Pull Request: https://projects.blender.org/blender/blender/pulls/125873
26 lines
627 B
C++
26 lines
627 B
C++
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include <pxr/usd/usd/common.h>
|
|
|
|
#include <string>
|
|
|
|
#include "usd.hh"
|
|
|
|
struct Depsgraph;
|
|
|
|
namespace blender::io::usd {
|
|
|
|
pxr::UsdStageRefPtr export_to_stage(const USDExportParams ¶ms,
|
|
Depsgraph *depsgraph,
|
|
const char *filepath);
|
|
|
|
std::string image_cache_file_path();
|
|
std::string get_image_cache_file(const std::string &file_name, bool mkdir = true);
|
|
std::string cache_image_color(const float color[4]);
|
|
|
|
}; // namespace blender::io::usd
|