createRadixSort
createRadixSort(
target):radixSortCallback
Defined in: utils/SortingUtils.ts:16
Creates a radix sort function specifically for sorting InstancedMesh2 instances.
The sorting is based on the depth property of each InstancedRenderItem.
This function dynamically adjusts for transparent materials by reversing the sort order if necessary.
Parameters
target
The InstancedMesh2 instance that contains the instances to be sorted.
Returns
radixSortCallback
A radix sort function.