PostLateUpdate.GraphicsStateCollectionWarmup
Native Player loop system that warms up the graphics states in a graphics state collection after startup, optionally spread over several frames.
阅读时间1 分钟最后更新于 5 天前
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct PostLateUpdate.GraphicsStateCollectionWarmup
Remarks
This system is active only in Players, and only when the project is set to warm up a graphics state collection after startup instead of before the first scene loads. If the project sets a per-frame limit, the system warms up that many graphics states each frame. Otherwise, it warms up all of them in the first frame. When the warmup is complete, the system stops doing any work.
This struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.