ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
ACMXVK/app/playlist.hpp
Go to the documentation of this file.
1#ifndef ACMXVK_APP_PLAYLIST_HPP
2#define ACMXVK_APP_PLAYLIST_HPP
3
4#include "options.hpp"
5
6#include <iosfwd>
7#include <string>
8#include <vector>
9
10namespace acmxvk {
11 struct PlaylistNode {
12 std::string name;
13 std::vector<fs::path> shaders;
14 };
15
16 [[nodiscard]] fs::path find_shader_path(const std::vector<fs::path> &available_shaders, const fs::path &library_directory, std::string name);
17 [[nodiscard]] std::vector<PlaylistNode> load_playlist(const fs::path &playlist_path, const std::vector<fs::path> &available_shaders, const fs::path &library_directory, std::ostream &warning_output);
18 [[nodiscard]] std::size_t playlist_shader_count(const std::vector<PlaylistNode> &playlist) noexcept;
19} // namespace acmxvk
20
21#endif
std::vector< PlaylistNode > load_playlist(const fs::path &playlist_path, const std::vector< fs::path > &available_shaders, const fs::path &library_directory, std::ostream &warning_output)
std::size_t playlist_shader_count(const std::vector< PlaylistNode > &playlist) noexcept
fs::path find_shader_path(const std::vector< fs::path > &available_shaders, const fs::path &library_directory, std::string name)
std::vector< fs::path > shaders