[英]Is there a CADisplayLink equivalent for macos/cocoa/opengl?
I've discovered CADisplayLink for IOS 3.1+ which triggers events when the display has been refreshed, effectively allowing you to synchronise with display updates without having to use NSTimer. 我发现了IOS 3.1+的CADisplayLink ,它在刷新显示时触发事件,有效地允许您与显示更新同步而无需使用NSTimer。
Is there an equivalent for timing when writing opengl applications under macos/cocoa? 在macos / cocoa下编写opengl应用程序时是否有相应的时间?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.