Internal_SetRandomWriteTargetBuffer() приватный Метод

private Internal_SetRandomWriteTargetBuffer ( int index, ComputeBuffer uav, bool preserveCounterValue ) : void
index int
uav ComputeBuffer
preserveCounterValue bool
Результат void
Пример #1
0
 public static void SetRandomWriteTarget(int index, ComputeBuffer uav, [UnityEngine.Internal.DefaultValue("false")] bool preserveCounterValue)
 {
     if (uav == null)
     {
         throw new ArgumentNullException("uav");
     }
     if (uav.m_Ptr == IntPtr.Zero)
     {
         throw new ObjectDisposedException("uav");
     }
     Graphics.Internal_SetRandomWriteTargetBuffer(index, uav, preserveCounterValue);
 }
Пример #2
0
 public static void SetRandomWriteTarget(int index, ComputeBuffer uav)
 {
     Graphics.Internal_SetRandomWriteTargetBuffer(index, uav);
 }