legion-labs / legion

Legion monorepo, contains the legion engine, the tools, source control, build system etc...
https://book.legionengine.com
Other
16 stars 2 forks source link

GPUTimelineManager and uniform management of frame delay #2097

Closed jsguay-legion closed 2 years ago

jsguay-legion commented 2 years ago

GPUTimelineManager is a renderer-side equivalent to the DeferredDropper, but which takes arbitrary callbacks and executes them n frames later.

Added begin frame / end frame callbacks to the RenderScope, which makes the management of the n frame delay in various systems more uniform.