added optional web component UI control
All checks were successful
CI / React UI Build (push) Successful in 12s
CI / Native Windows Build And Tests (push) Successful in 2m20s
CI / Windows Release Package (push) Successful in 2m56s

This commit is contained in:
Aiden
2026-05-30 22:57:59 +10:00
parent a6d2ee385e
commit 27690c3afa
26 changed files with 804 additions and 76 deletions

View File

@@ -259,6 +259,18 @@ private:
routeCallbacks.getNdiSourcesJson = [this]() {
return BuildNdiSourcesJson();
};
routeCallbacks.resolveShaderAssetPath = [this](
const std::string& shaderId,
const std::string& assetPath,
std::filesystem::path& resolvedPath,
std::string& assetError) {
if (!mRuntimeContent)
{
assetError = "No runtime content controller is active.";
return false;
}
return mRuntimeContent->ResolveAssetPath(shaderId, assetPath, resolvedPath, assetError);
};
routeCallbacks.executePost = [this](const std::string& path, const std::string& body) {
if (path == "/api/config/save")
return HandleConfigSave(body);