Internal_SetRandomWriteTargetBuffer() private method

private Internal_SetRandomWriteTargetBuffer ( int index, ComputeBuffer uav, bool preserveCounterValue ) : void
index int
uav ComputeBuffer
preserveCounterValue bool
return void
コード例 #1
0
ファイル: Graphics.cs プロジェクト: yiifans/UnityDecompiled
 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
ファイル: Graphics.cs プロジェクト: qipa/UnityDecompiled-2
 public static void SetRandomWriteTarget(int index, ComputeBuffer uav)
 {
     Graphics.Internal_SetRandomWriteTargetBuffer(index, uav);
 }