25 lines
426 B
C++
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
|
|
);
|
|
|
|
}
|