---
title: Rendering a windowed game in stereo
framework: realitykit
role: sampleCode
role_heading: Sample Code
path: realitykit/rendering-a-windowed-game-in-stereo
---

# Rendering a windowed game in stereo

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

## Overview

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. note: This sample code project is associated with WWDC24 session 10093: Bring your iOS or iPadOS game to visionOS. Configure the sample code project This project requires an Apple Vision Pro, and cannot be run in the simulator.

## See Also

### Sample code links

- [Bringing your SceneKit projects to RealityKit](realitykit/bringing-your-scenekit-projects-to-realitykit.md)
- [Creating a Spaceship game](realitykit/creating-a-spaceship-game.md)
- [BOT-anist](visionos/bot-anist.md)
- [Happy Beam](visionos/happybeam.md)
- [Swift Splash](visionos/swift-splash.md)
- [Destination Video](visionos/destination-video.md)
- [Creating a game with scene understanding](realitykit/creating-a-game-with-scene-understanding.md)
