文档

Unity Engine

Download Unity

Unity Engine

PreLateUpdate.EndGraphicsJobsAfterScriptUpdate

Native Player loop system that waits for the previous frame's graphics jobs to finish after scripts update.
阅读时间1 分钟最后更新于 5 天前

Definition

public struct PreLateUpdate.EndGraphicsJobsAfterScriptUpdate

Remarks

This system does its work only when Unity is configured to wait for graphics jobs after scripts update, which is the default on most platforms. Otherwise, another system, such as
PostLateUpdate.EndGraphicsJobsAfterScriptLateUpdate
, waits for the graphics jobs instead. This system must run before any graphics callbacks in the frame. For more information about graphics jobs, refer to PlayerSettings.graphicsJobs.
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.