separate out RenderLoop/FilamentViewer construction/destruction

This commit is contained in:
Nick Fisher committed 2025-03-07 18:53:36 +08:00
1 parent be61d5e5ca
commit aa26f4d0df
7 files changed
+125 -68

No files matched your search

@@ -22,6 +22,9 @@ namespace thermion
typedef int32_t EntityId;
typedef void (*FilamentRenderCallback)(void *const owner);
EMSCRIPTEN_KEEPALIVE void RenderLoop_create();
EMSCRIPTEN_KEEPALIVE void RenderLoop_destroy();
EMSCRIPTEN_KEEPALIVE void Viewer_createOnRenderThread(
void *const context,
void *const platform,