Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BatchRendererGroup

Constructor for a BatchRendererGroup object.
Read time 1 minuteLast updated 7 days ago

Definition

BatchRendererGroup(OnPerformCulling, IntPtr)

Constructor for a BatchRendererGroup object.
public BatchRendererGroup(BatchRendererGroup.OnPerformCulling cullingCallback, nint userContext)

Parameters

cullingCallback

Unity calls this callback when this BatchRendererGroup performs culling.

userContext

Optional callback argument. A pointer to custom data.

BatchRendererGroup(BatchRendererGroupCreateInfo)

Constructor for a BatchRendererGroup object.
public BatchRendererGroup(BatchRendererGroupCreateInfo info)

Parameters

Struct is used to initialize BatchRendererGroup.