Files
Z3D/include/viewer/dynamic_shader_program_loading.hpp
2024-12-22 16:58:40 +01:00

25 lines
426 B
C++

#pragma once
#include <filesystem>
#include "asset_loader.hpp"
#include "instance.hpp"
namespace viewer::dynamic_shader_program_loading
{
void load_directory(
asset_loader& loader,
instance& z3d,
std::mutex& gl_resource_lock,
std::mutex& progress_lock,
std::string& progress_title,
float& progress_ratio,
const std::filesystem::path& path
);
std::size_t count_shader_files(
const std::filesystem::path& path
);
}