语言英语
  • C#

BatchRendererGroup.OnPerformCulling

声明

public delegate Unity.Jobs.JobHandle OnPerformCulling(Rendering.BatchRendererGroup rendererGroup, Rendering.BatchCullingContext cullingContext, Rendering.BatchCullingOutput cullingOutput, IntPtr userContext);

参数

rendererGroup BatchRendererGroup 进行筛选。
cullingContext 提供有关筛选请求的只读信息(例如可见性筛选平面),回调可以使用这些信息来确定可见实例。
cullingOutput 回调应向其写入结果绘制命令的目标。
userContext 指向自定义数据的可选指针,你可以使用它来关联 BatchRendererGroup。

说明

筛选回调函数。

有关更多信息,请参阅BatchRendererGroup


Did you find this page useful? Please give it a rating: