Files
workinf_Blender_Wasm/blender-5.2.0/intern/cycles/blender/CCL_api.h
2026-08-12 04:47:48 -04:00

31 lines
782 B
C++

/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
#include <string>
namespace blender {
struct Image;
/* Create python module _cycles used by addon. */
void *CCL_python_module_init();
void CCL_log_init();
void CCL_implicit_sharing_init();
/* Texture cache generation. */
bool CCL_resolve_texture_cache(const Image *image,
const char *filepath,
const char *texture_cache_directory,
std::string &r_tx_filepath);
bool CCL_generate_texture_cache(const Image *image,
const char *filepath,
const char *texture_cache_directory = "");
} // namespace blender