Guest User

Job #1

a guest
May 22nd, 2023
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.44 KB | None | 0 0
  1.     [JobProducerType(typeof(IJobSingleExtensions.JobProcess<>))]
  2.     public interface IJobSingle {
  3.         void Execute();
  4.     }
  5.  
  6.     public static unsafe class IJobSingleExtensions {
  7.        
  8.         public static JobHandle Schedule<T>(this T jobData, JobHandle inputDeps = default) where T : struct, IJobSingle {
  9.            
  10.         }
  11.  
  12.         internal struct JobProcess<T> where T : struct, IJobSingle {
  13.            
  14.         }
  15.  
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment