PostProcessing: Add Config::GetShaderOptions()

This commit is contained in:
Stenzek
2023-12-10 22:22:02 +10:00
parent c90de025bf
commit 27162e34a0
2 changed files with 13 additions and 0 deletions

View File

@ -93,6 +93,7 @@ namespace Config {
u32 GetStageCount(const SettingsInterface& si);
std::string GetStageShaderName(const SettingsInterface& si, u32 index);
std::vector<ShaderOption> GetStageOptions(const SettingsInterface& si, u32 index);
std::vector<ShaderOption> GetShaderOptions(const std::string& shader_name, Error* error);
bool AddStage(SettingsInterface& si, const std::string& shader_name, Error* error);
void RemoveStage(SettingsInterface& si, u32 index);