UnityEngine.ComputeShader.FindKernel C# (CSharp) Method

FindKernel() private method

private FindKernel ( string name ) : int
name string
return int
        public extern int FindKernel(string name);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #1
0
 public BitonicMergeSort(ComputeShader compute)
 {
     _compute = compute;
     _kernelInit = compute.FindKernel(KERNEL_INIT);
     _kernelSort = compute.FindKernel(KERNEL_SORT);
     _kernelSortInt = compute.FindKernel(KERNEL_SORT_INT);
 }
All Usage Examples Of UnityEngine.ComputeShader::FindKernel