PostLateUpdate.ProfilerEndFrame
Native Player loop system that records the frame's Profiler counters and updates whether graphics jobs are temporarily disabled for profiling.
阅读时间1 分钟最后更新于 5 天前
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct PostLateUpdate.ProfilerEndFrame
Remarks
In development builds, this system disables graphics jobs while the Frame Debugger or GPU profiling requires it, and enables them again afterwards. The Profiler frame itself starts in .
Initialization.ProfilerStartFrameThis 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.