double-buffering at 120 fps

Is there a way to get double-buffering at 120Hz instead of triple bufferig? I'm trying to minimize UI latency.


When I use Xcode's Metal Game template (which renders a rotating cube), I still get triple-buffering at 120hz, despite the trivial amount of work. It's double-buffered at 60hz.


thanks!

Apps can control the max number Metal of drawables CAMetalLayer.maximumDrawableCount. Setting this to 2 will for double buffering (3 is the default). Be aware that this makes it more likely -[CAMetalLayer nextDrawable] or MTKView exquivalents will return nil forcingyou to drop a frame.

double-buffering at 120 fps
 
 
Q