nmfisher / thermion

3D rendering toolkit for Dart and/or Flutter
https://thermion.dev
Apache License 2.0
125 stars 10 forks source link

Support multiple views/widgets/swapchains #69

Closed nmfisher closed 1 month ago

nmfisher commented 1 month ago

This PR adds:

Each widget is now associated with a specific View. By default, a single View is created; call createView on ThermionViewer to create an additional View and then call setRenderable to make sure this view is actually rendered on each tick. Views share a Scene (so all entities/lights/etc will be visible in all views) but different post-processing options.