Skip to content

perf: cache render graph imports for static scene resources#31

Open
L-Sun wants to merge 3 commits intocodex/tracy-integrationfrom
codex/rendergraph-scene-cache
Open

perf: cache render graph imports for static scene resources#31
L-Sun wants to merge 3 commits intocodex/tracy-integrationfrom
codex/rendergraph-scene-cache

Conversation

@L-Sun
Copy link
Copy Markdown
Owner

@L-Sun L-Sun commented Apr 12, 2026

Summary

  • keep imported render-graph resource nodes alive across frame resets and reuse freed node slots for transient frame data
  • cache scene mesh, material, and texture imports in ForwardRenderer so static scene resources are not re-imported every frame
  • invalidate the persistent caches cleanly when the active scene changes while keeping per-frame constant buffers transient

Testing

  • xmake build editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant