mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
23 lines
491 B
C++
23 lines
491 B
C++
#pragma once
|
|
|
|
#include "vk/registry/shader_registry.hpp"
|
|
|
|
#include <filesystem>
|
|
|
|
namespace Trans::RSRC {
|
|
|
|
///
|
|
/// Load all resources into memory.
|
|
///
|
|
/// @param filename Path to the DLL file
|
|
/// @param registry Shader registry
|
|
/// @param fp16 Prefer FP16 shaders
|
|
///
|
|
/// @throws LSFG::error if loading fails.
|
|
///
|
|
void loadResources(
|
|
const std::filesystem::path& filename,
|
|
VK::Registry::ShaderRegistry& registry,
|
|
bool fp16);
|
|
|
|
}
|