Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アップルのクラッシュランディングの例をベースとして、iPhone用の小さなゲームをプログラムしました。ここで、ゲームの1秒あたりのフレーム数を測定したいと思います。
1秒あたりのFPSをどのように計算できるか知りたいのですが、誰かがそれを理解したり、それを行う方法を教えてくれたりするのを手伝ってもらえますか?
ありがとう。
最後のフレームがミリ秒単位で描画するのにかかった時間が必要です。残りは簡単です。1.0f/deltaTime
1.0f/deltaTime