mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-25 22:25:07 +00:00
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:
@@ -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"},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user