feat: Enhance JSON configuration writer and add heartbeat recording to crash recovery service

- Updated JsonConfigWriterService to structure the JSON output with new sections for scripts, window settings, input bindings, paths, rendering, and GUI configurations.
- Introduced a new method in ICrashRecoveryService to record frame heartbeats, allowing for better tracking of long-running operations.
- Refactored existing code to improve readability and maintainability, including the addition of helper functions for adding string members to JSON objects.
This commit is contained in:
2026-01-08 16:57:24 +00:00
parent 4fdbcdc4bc
commit df19ae9264
18 changed files with 1079 additions and 471 deletions

View File

@@ -214,10 +214,14 @@ assert_equal(time_value, 42, "dynamic compute function receives time")
print("Testing material registry...")
local test_config = {
materialx_materials = {
{shader_key = "floor", document = "floor.mtlx", material = "Floor"},
{shader_key = "wall", document = "wall.mtlx", material = "Wall"},
{shader_key = "ceiling", document = "ceiling.mtlx", material = "Ceiling"},
rendering = {
materialx = {
materials = {
{shader_key = "floor", document = "floor.mtlx", material = "Floor"},
{shader_key = "wall", document = "wall.mtlx", material = "Wall"},
{shader_key = "ceiling", document = "ceiling.mtlx", material = "Ceiling"},
}
}
}
}