Initialization
Player loop phase that prepares profiling, rendering, and synchronization state for the new frame before other updates run.
Read time 2 minutesLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct Initialization
Remarks
InitializationTimeUpdateThis struct identifies a phase of the Player loop. It has no members. In the default Player loop, the for this phase contains a PlayerLoopSystem.subSystemList of native engine systems, each identified by one of the structs nested in this type.
PlayerLoopSystemUse this type with PlayerLoopSystem.type to find the phase when you add your own systems to it, or when you reorder, replace, or remove the systems it contains. If you remove or replace a native system, Unity no longer performs that system's work, so the related engine feature might stop working. Some native systems are active only in the Editor, only in Players, or only on platforms and configurations that support the related feature. Elsewhere, those systems remain in the Player loop but don't do anything.
For more information, refer to Customizing the Player loop and Event function execution order.
Structs
Struct | Description |
|---|---|
| Initialization.AsyncUploadTimeSlicedUpdate | Native Player loop system that uploads asynchronously loaded texture and mesh data to the GPU in time-sliced steps. |
| Initialization.DirectorSampleTime | Native Player loop system that samples the current time for PlayableDirector and PlayableGraph. |
| Initialization.ProfilerStartFrame | Native Player loop system that starts a new Profiler frame and begins recording frame statistics. |
| Initialization.SynchronizeInputs | Native Player loop system that synchronizes input across the nodes of a cluster rendering setup. |
| Initialization.SynchronizeState | Native Player loop system that synchronizes frame state across the nodes of a cluster rendering setup. |
| Initialization.UpdateCameraMotionVectors | Native Player loop system that stores each camera's previous view-projection matrix and starts a new frame for motion vector tracking. |
| Initialization.XREarlyUpdate | Native Player loop system that performs the early-frame update for XR, before most other systems in the frame run. |