Version: 2021.2

BatchVisibility

struct in UnityEngine.Rendering

切换到手册

描述

描述批次的可见性。

变量

instancesCount用于指定批次中实例总数的输入属性。(只读)。
offset用于指定 BatchCullingContext.visibleIndices 中偏移(批次的可见索引起始处)的输入属性。(只读)。
visibleCount输出属性,必须设置为剔除后批次中的可见实例的数量。