/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #include "scene/eu7/eu7_types.h" #include #include #include #include namespace scene::eu7 { // Tylko warm_instanceable_cache dla juz zcache'owanych meshy (bez cold GetModel na workerze). void preload_pack_models( std::vector const &Models ); // Main thread: Fetch_Material dla unikalnych texture_file z chunka przed apply. // Zwraca liczbe unikalnych Fetch_Material w tym slice. std::size_t warm_pack_textures_main( Eu7Model const *models, std::size_t count ); void reset_pack_texture_warm_cache(); } // namespace scene::eu7