Beispiel #1
0
        public JobHandle Dispose(JobHandle inputDeps)
        {
            //TODO
            currentJobHandle.Complete();

            maxIdReached.Dispose();
            target.Dispose();
            matchSingletonData.Dispose();
            if (diffusionHelper.IsCreated)
            {
                diffusionHelper.Dispose();
            }
            if (branchingCache.IsCreated)
            {
                branchingCache.Dispose();
            }
            if (isImmature.IsCreated)
            {
                isImmature.Dispose();
            }
            return(inputDeps);
        }