From 3ecb8920eace7d06c217f716d0d253a3ef208949 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Tue, 27 Aug 2024 21:47:02 +0800 Subject: [PATCH] feat: createIbl --- thermion_dart/native/include/FilamentViewer.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thermion_dart/native/include/FilamentViewer.hpp b/thermion_dart/native/include/FilamentViewer.hpp index 3d932483..23eceab6 100644 --- a/thermion_dart/native/include/FilamentViewer.hpp +++ b/thermion_dart/native/include/FilamentViewer.hpp @@ -71,6 +71,7 @@ namespace thermion_filament void loadIbl(const char *const iblUri, float intensity); void removeIbl(); void rotateIbl(const math::mat3f &matrix); + void createIbl(float r, float g, float b, float intensity); void removeEntity(EntityId asset); void clearEntities(); @@ -172,6 +173,7 @@ namespace thermion_filament void* _context = nullptr; Scene *_scene = nullptr; View *_view = nullptr; + Engine *_engine = nullptr; thermion_filament::ThreadPool *_tp = nullptr; Renderer *_renderer = nullptr;