UnityEngine.Graphics.Internal_SetRandomWriteTargetBuffer C# (CSharp) Method

Internal_SetRandomWriteTargetBuffer() private method

private Internal_SetRandomWriteTargetBuffer ( int index, ComputeBuffer uav, bool preserveCounterValue ) : void
index int
uav ComputeBuffer
preserveCounterValue bool
return void
        private static extern void Internal_SetRandomWriteTargetBuffer(int index, ComputeBuffer uav, bool preserveCounterValue);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #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);
 }
All Usage Examples Of UnityEngine.Graphics::Internal_SetRandomWriteTargetBuffer