impr: Allow post-processing shaders to be set dynamically

This commit is contained in:
WerWolv
2025-08-14 17:11:37 +02:00
parent 49c56e28b4
commit 4ca429e389
12 changed files with 189 additions and 65 deletions

View File

@@ -1074,6 +1074,10 @@ namespace hex {
impl::s_frameRateUnlockRequested = true;
}
void setPostProcessingShader(const std::string &vertexShader, const std::string &fragmentShader) {
RequestSetPostProcessingShader::post(vertexShader, fragmentShader);
}
}