Move a few functions to a common location so that they're all accessible from both USD and Hydra. Pull Request: https://projects.blender.org/blender/blender/pulls/124119
19 lines
362 B
C++
19 lines
362 B
C++
/* SPDX-FileCopyrightText: 2011-2022 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
struct Main;
|
|
struct Scene;
|
|
struct Image;
|
|
struct ImageUser;
|
|
|
|
namespace blender::io::hydra {
|
|
|
|
std::string cache_or_get_image_file(Main *bmain, Scene *Scene, Image *image, ImageUser *iuser);
|
|
|
|
} // namespace blender::io::hydra
|