BatchCullingOutputDrawCommands.proceduralIndirectDrawCommands

public BatchDrawCommandProceduralIndirect* proceduralIndirectDrawCommands;

说明

包含用作 OnPerformCulling 调用的结果进行渲染的过程间接绘制命令的数组。

它可以包含尽可能多的过程间接命令,每个命令都可以渲染多个实例。剔除回调必须使用 UnsafeUtility.MallocAllocator.TempJob 参数为此分配内存。在绘制完毕绘制命令后,Unity 会释放此内存。


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