Metal and VisionOS

Hello, I want to use my own 3D format, and thus, utilize custom shaders in Metal. Are there any restrictions in VisionOS?

Answered by KTRosenberg in 760349022

Currently it’s only in single app, VR / no-passthrough mode only. Look for compositorservices. If you want Metal with passthrough and not just through RealityKit, that’s unavailable (unfortunately in my opinion). Please send feedback requests with specific use cases if you want that.

Accepted Answer

Currently it’s only in single app, VR / no-passthrough mode only. Look for compositorservices. If you want Metal with passthrough and not just through RealityKit, that’s unavailable (unfortunately in my opinion). Please send feedback requests with specific use cases if you want that.

Some swift example code for using Metal here

[EDIT] But, not passthrough; only fully immersive.

Metal and VisionOS
 
 
Q