public static int maxQueuedFrames ;

Descripción

Número máximo de frames en la cola por el controlador de gráficos.

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 9, Direct3D 11, and NVN graphics APIs; it will be ignored by other graphics API.