Maybe I should clarify. The reference page for precisely that, is this: https://developer.apple.com/documentation/compositorservices/drawing_fully_immersive_content_using_metal (I have a hobby project that ports an old game to VisionOS using this)
Topic:
Programming Languages
SubTopic:
Swift
Tags: