文档

Unity Engine

Download Unity

Unity Engine

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

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.ProfilerStartFrame
.
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.