Contents

Rendering a windowed game in stereo

Bring an iOS or iPadOS game to visionOS and enhance it.

Overview

This sample shows how to render a Metal app in a window on visionOS, with stereoscopy, head tracking, Rendering at different rasterization rates, and a 3D frame around the window. The starting app is the Rendering a scene with deferred lighting in Swift for iOS, iPadOS, and macOS.

Configure the sample code project

This project requires an Apple Vision Pro, and cannot be run in the simulator.

See Also

Sample code links