可以ENTER_FRAME事件被遗漏或接收延迟监听器? [英] Can the ENTER_FRAME event be missed or received delayed by the listener?

查看:142
本文介绍了可以ENTER_FRAME事件被遗漏或接收延迟监听器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时ENTER_FRAME总是得到,即使其他进程占用CPU,或者听者可能会错过一个或多个 - 然后得到一些那些推迟了一批如通常在Windows中会发生什么?事件ENTER_FRAME事件

Is ENTER_FRAME always received, even if another process occupies the CPU, OR the listener might miss one or more ENTER_FRAME events -then receive several of those events delayed in a batch as usually happens in Windows?

(我使用的是纯AS3和Stage3D的与3D GPU渲染 - 没有2D显示对象,Flash时间表,影片剪辑等)。

(I'm using pure AS3 and Stage3D with 3D GPU rendering -no 2D display objects, Flash timeline, movieclips etc).

推荐答案

ENTER_FRAME取决于帧速率。和帧速率是不恒定的 - 这取决于很多因素,其中一些是CPU和GPU。听者不会错过任何东西,它只是ENTER_FRAME事件将不定期派遣。

ENTER_FRAME depends on frame rate. And frame rate is not a constant - it depends on a lot of factors, few of which are CPU and GPU. The listener won't miss anything, it's just that the ENTER_FRAME event will be dispatched irregularly.

这篇关于可以ENTER_FRAME事件被遗漏或接收延迟监听器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆