rememberEnvironment

fun rememberEnvironment(environmentLoader: EnvironmentLoader, isOpaque: Boolean = true, environment: () -> Environment = { SceneView.createEnvironment(environmentLoader, isOpaque) }): Environment
fun rememberEnvironment(engine: Engine, isOpaque: Boolean = true, environment: () -> Environment = { SceneView.createEnvironment(engine, isOpaque) }): Environment