Version: 2023.2
public delegateUnity.Jobs.JobHandle OnPerformCulling (Rendering.BatchRendererGroup rendererGroup, Rendering.BatchCullingContext cullingContext, Rendering.BatchCullingOutput cullingOutput, IntPtr userContext);

参数

rendererGroup The BatchRendererGroup to cull.
cullingContext Provides read-only information about the culling request (like visibility culling planes) that the callback can use to determine visible instances.
cullingOutput The target that the callback should write resulting draw commands.
userContext An optional pointer to custom data that you can associate with the BatchRendererGroup.

描述

剔除回调函数。

For more information, see BatchRendererGroup.