mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
39 lines
818 B
C++
39 lines
818 B
C++
#pragma once
|
|
|
|
#include "vk/core/descriptorpool.hpp"
|
|
#include "vk/core/device.hpp"
|
|
#include "vk/core/instance.hpp"
|
|
#include "vk/pool/shader_pool.hpp"
|
|
#include "vk/registry/shader_registry.hpp"
|
|
|
|
#include <filesystem>
|
|
|
|
namespace LSFG {
|
|
|
|
// FIXME: device picking
|
|
|
|
///
|
|
/// Lossless Scaling Frame Generation instance.
|
|
///
|
|
class Instance {
|
|
public:
|
|
///
|
|
/// Create an instance.
|
|
///
|
|
/// @param dll Path to the Lossless.dll file.
|
|
///
|
|
/// @throws LSFG::error if lsfg creation fails.
|
|
///
|
|
Instance(const std::filesystem::path& dll);
|
|
|
|
private:
|
|
VK::Core::Instance vk;
|
|
VK::Core::Device vkd;
|
|
|
|
VK::Core::DescriptorPool pool;
|
|
|
|
VK::Registry::ShaderRegistry registry;
|
|
VK::Pool::ShaderPool shaders;
|
|
};
|
|
|
|
}
|