Create an empty scene context bound to the given surface. The default render task
is built against the surface's format, MSAA configuration, and swapchain RT — the
scene is permanently bound to that surface. Pass engine directly (since
EngineContext extends SurfaceContext) for the common single-canvas case, or pass
an auxiliary surface created via createSurface.
Create an empty scene context bound to the given
surface. The default render task is built against the surface's format, MSAA configuration, and swapchain RT — the scene is permanently bound to that surface. Passenginedirectly (sinceEngineContext extends SurfaceContext) for the common single-canvas case, or pass an auxiliary surface created viacreateSurface.