internal: expose View_getRenderTarget and set (Dart) FFIView.renderTarget property on construction

This commit is contained in:
Nick Fisher committed 2025-01-07 08:25:48 +08:00
1 parent dc690bb93a
commit b158062ce8
3 files changed
+20 -2

No files matched your search

@@ -31,6 +31,7 @@ EMSCRIPTEN_KEEPALIVE void View_setRenderTarget(TView *view, TRenderTarget *rende
EMSCRIPTEN_KEEPALIVE void View_setFrustumCullingEnabled(TView *view, bool enabled);
EMSCRIPTEN_KEEPALIVE void View_updateViewport(TView* tView, uint32_t width, uint32_t height);
EMSCRIPTEN_KEEPALIVE void View_setRenderTarget(TView* tView, TRenderTarget* tRenderTarget);
EMSCRIPTEN_KEEPALIVE TRenderTarget *View_getRenderTarget(TView* tView);
EMSCRIPTEN_KEEPALIVE void View_setFrustumCullingEnabled(TView* tView, bool enabled);
EMSCRIPTEN_KEEPALIVE void View_setPostProcessing(TView* tView, bool enabled);
EMSCRIPTEN_KEEPALIVE void View_setShadowsEnabled(TView* tView, bool enabled);