mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-05-03 01:54:53 +00:00
80 lines
1.5 KiB
JSON
80 lines
1.5 KiB
JSON
{
|
|
"template": "frame.default",
|
|
"nodes": [
|
|
{
|
|
"id": "begin_frame",
|
|
"plugin": "frame.begin",
|
|
"position": [0, 0],
|
|
"inputs": {
|
|
"delta": "frame.delta",
|
|
"elapsed": "frame.elapsed"
|
|
}
|
|
},
|
|
{
|
|
"id": "step_physics",
|
|
"plugin": "frame.physics",
|
|
"position": [260, 0],
|
|
"inputs": {
|
|
"delta": "frame.delta"
|
|
}
|
|
},
|
|
{
|
|
"id": "update_scene",
|
|
"plugin": "frame.scene",
|
|
"position": [520, 0],
|
|
"inputs": {
|
|
"delta": "frame.delta"
|
|
}
|
|
},
|
|
{
|
|
"id": "render_frame",
|
|
"plugin": "frame.render",
|
|
"position": [780, 0],
|
|
"inputs": {
|
|
"elapsed": "frame.elapsed"
|
|
}
|
|
},
|
|
{
|
|
"id": "update_audio",
|
|
"plugin": "frame.audio",
|
|
"position": [1040, -120]
|
|
},
|
|
{
|
|
"id": "dispatch_gui",
|
|
"plugin": "frame.gui",
|
|
"position": [1040, 120]
|
|
}
|
|
],
|
|
"connections": {
|
|
"begin_frame": {
|
|
"main": [
|
|
[
|
|
{ "node": "step_physics", "type": "main", "index": 0 }
|
|
]
|
|
]
|
|
},
|
|
"step_physics": {
|
|
"main": [
|
|
[
|
|
{ "node": "update_scene", "type": "main", "index": 0 }
|
|
]
|
|
]
|
|
},
|
|
"update_scene": {
|
|
"main": [
|
|
[
|
|
{ "node": "render_frame", "type": "main", "index": 0 }
|
|
]
|
|
]
|
|
},
|
|
"render_frame": {
|
|
"main": [
|
|
[
|
|
{ "node": "update_audio", "type": "main", "index": 0 },
|
|
{ "node": "dispatch_gui", "type": "main", "index": 0 }
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|