Create a scene that composites over baseScene on the base scene's surface.
The overlay keeps its own camera, lights, and freshly cleared depth buffer, but
preserves the base scene's color: single-sample surfaces load the swapchain, and
MSAA surfaces render into the base scene's multisample color attachment before
resolving it again. Register it with registerScene in either order relative
to the base; registration keeps every overlay immediately after its base (sibling
overlays in registration order, nested overlays depth-first), so later contexts such
as text renderers draw on top. While the base scene (or any scene in its overlay
chain) is not registered, the overlay stays registered but does no update or render work.
Create a scene that composites over
baseSceneon the base scene's surface.The overlay keeps its own camera, lights, and freshly cleared depth buffer, but preserves the base scene's color: single-sample surfaces load the swapchain, and MSAA surfaces render into the base scene's multisample color attachment before resolving it again. Register it with registerScene in either order relative to the base; registration keeps every overlay immediately after its base (sibling overlays in registration order, nested overlays depth-first), so later contexts such as text renderers draw on top. While the base scene (or any scene in its overlay chain) is not registered, the overlay stays registered but does no update or render work.