Version: 2023.1
LanguageEnglish
  • C#

BatchRendererGroup.OnPerformCulling

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

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

Parameters

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.

Description

Culling callback function.

For more information, see BatchRendererGroup.