BatchCullingContext.visibleIndicesY

public NativeArray<int> visibleIndicesY;

Description

Array of uints containing extra data for the visible indices for all the batches in the group. Elements in this array correspond to elements in BatchCullingContext.visibleIndices.

Read from this extra data array using the Y channel in the shader. Hybrid Renderer V2 uses this array to pass shared transform indices. Enable or disable this array using BatchRendererGroup.EnableVisibleIndicesYArray. Additional resources: BatchRendererGroup


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