public extern int FindKernel(string name); [MethodImpl(MethodImplOptions.InternalCall)]
public BitonicMergeSort(ComputeShader compute) { _compute = compute; _kernelInit = compute.FindKernel(KERNEL_INIT); _kernelSort = compute.FindKernel(KERNEL_SORT); _kernelSortInt = compute.FindKernel(KERNEL_SORT_INT); }