How to limit RealityKit's framerate?

I'm currently weighing moving my project from SpriteKit to RealityKit as a way to future proof it. An important part of the project involves limiting the framerate sprites are displayed at. While RealityKit seems to be set at 60FPS, my project demands a much lower framerate.

I should note that I'm not using RealityKit for AR, so there's no camera passthrough to worry about.

Is there a way to limit RealityKit's rendering framerate?

Replies

The following sample code shows how to implement SpriteKit within RealityKit:

Implementing Special Rendering Effects with RealityKit Postprocessing

RealityKit will still be running at 60 FPS, but the SpriteKit View's framerate should be adjustable.

Is there a way to limit RealityKit's rendering framerate?

There is not.

Please file an enhancement request using Feedback Assistant, to request an api that will enable you to adjust RealityKit's frame rate.

This is so needed. I'm a bit bummed that this was not included as an improvement this year, especially since Apple seems to position RealityKit as a rendering framework for macOS-oriented use cases.

@gchiste Filed FB11305740