Version: 2022.3
言語: 日本語
public static int maxQueuedFrames ;

説明

グラフィックスドライバによってキューに入れられるフレームの最大数を設定する。

Graphics drivers can queue up frames to be rendered. When CPU has much less work to do than the graphics card, is it possible for this queue to become quite large. In those cases, user's input will "lag behind" what is on the screen.

Use QualitySettings.maxQueuedFrames to limit maximum number of frames that are queued. On PC, the default value is 2, which strikes the best balance between frame latency and framerate.

Note that you can reduce input latency by using a smaller maxQueuedFrames because the CPU will be waiting until the graphics card finishes rendering previous frames. The downside of this however, is that it can result in a lower framerate.

Currently maxQueuedFrames is implemented in Direct3D 11 and Direct3D 12 graphics APIs. See platform-specific documentation for information about other graphics APIs where maxQueuedFrames is implemented. maxQueuedFrames is ignored by other graphics APIs.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961