init(equirectangular:options:)
Asynchronously generates an environment resource from an equirectangular image.
Declaration
@MainActor convenience init(equirectangular cgImage: CGImage, options: EnvironmentResource.CreateOptions) async throwsParameters
- cgImage:
The source equirectangular (latitude, longitude) image. To preserve all details use an image where the width is half the height.