abstract class PlatformSpec
ProvideScene
(
content
)
|
Establishes the platform's scene-scoped state (composition locals, backing effects) around content, then emits it. Called once per scene by SpatialScene. On a host the platform does not support, it should run in compatibility mode — emit content with the scene marked unsupported so each window renders its fallback.
Signature
@Composable abstract fun ProvideScene(content: @Composable () -> Unit) Parameters content: @Composable () -> Unit |