Create the application scene through a renderer plugin

createApplicationScene takes a renderer plugin, defaulting to Cesium,
which builds today's viewer and credits exactly as before. Its renderer
is transitional: it has only the members it really has, with read-only
capabilities, and a test pins the contract members still to come. Code
not yet ported reaches the viewer through cesiumViewerOf, never through
a renderer member. A plugin whose renderer has no viewer is refused and
destroyed, since the application still runs on the viewer. The result
now includes the renderer.

Not yet checked in a browser.
This commit is contained in:
Sameh Khamis committed 2026-11-05 14:51:42 -08:00
1 parent bcd24c458b
commit 8d7f82f110
5 files changed
+383 -16

No files matched your search

+2
View File
@@ -2421,6 +2421,8 @@
"src/app/layers/traffic.js",
"src/app/operations.js",
"src/app/scene.js",
"src/app/renderer.js",
"src/render/contract/index.js",
"src/sources/sourceSlot.js",
"src/app/sources.js",
"src/app/startupChrome.js",