From 282ee6d1030af8a4f3ed7756440a2854d28e914e Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Sat, 1 Mar 2025 11:59:36 +0800 Subject: [PATCH] cherry pick changes onto ThermionDartRenderThreadApi.h --- .../native/include/c_api/ThermionDartRenderThreadApi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermion_dart/native/include/c_api/ThermionDartRenderThreadApi.h b/thermion_dart/native/include/c_api/ThermionDartRenderThreadApi.h index f52663d6..fe9ddce5 100644 --- a/thermion_dart/native/include/c_api/ThermionDartRenderThreadApi.h +++ b/thermion_dart/native/include/c_api/ThermionDartRenderThreadApi.h @@ -50,7 +50,7 @@ namespace thermion EMSCRIPTEN_KEEPALIVE void Material_createInstanceRenderThread(TMaterial *tMaterial, void (*onComplete)(TMaterialInstance *)); EMSCRIPTEN_KEEPALIVE void View_setToneMappingRenderThread(TView *tView, TEngine *tEngine, thermion::ToneMapping toneMapping); - EMSCRIPTEN_KEEPALIVE void View_setBloomRenderThread(TView *tView, double bloom); + EMSCRIPTEN_KEEPALIVE void View_setBloomRenderThread(TView *tView, bool enabled, double strength); EMSCRIPTEN_KEEPALIVE void View_setCameraRenderThread(TView *tView, TCamera *tCamera, void (*callback)()); FilamentRenderCallback make_render_callback_fn_pointer(FilamentRenderCallback);