What is the purpose of cameraoutput in visionOS’s RealityRenderer?

Related to “what you can do in visionOS,” what are all of these camera-related functionalities for? (As of yet, not described in the documentation) https://developer.apple.com/documentation/realitykit/realityrenderer/cameraoutput/colortextures https://developer.apple.com/documentation/realitykit/realityrenderer/cameraoutput/relativeviewport

What are the intended use cases? Is this the equivalent to render-to-texture? I also see some interop with raw Metal happening here.

Answered by Graphics and Games Engineer in 757589022

Yes, RealityRenderer is our new ‘render to texture’ API.

Accepted Answer

Yes, RealityRenderer is our new ‘render to texture’ API.