Ejemplo n.º 1
0
 public void AddCommandBufferAsync(CameraEvent evt, CommandBuffer buffer, ComputeQueueType queueType)
 {
     if (!Rendering.CameraEventUtils.IsValid(evt))
     {
         throw new ArgumentException(string.Format(@"Invalid CameraEvent value ""{0}"".", (int)evt), "evt");
     }
     if (buffer == null)
     {
         throw new NullReferenceException("buffer is null");
     }
     AddCommandBufferAsyncImpl(evt, buffer, queueType);
 }
Ejemplo n.º 2
0
 [NativeName("AddCommandBufferAsync")] extern private void AddCommandBufferAsyncImpl(CameraEvent evt, [NotNull] CommandBuffer buffer, ComputeQueueType queueType);