private Internal_SetRandomWriteTargetBuffer ( int index, |
||
index | int | |
uav | ||
preserveCounterValue | bool | |
리턴 | void |
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); }
public static void SetRandomWriteTarget(int index, ComputeBuffer uav) { Graphics.Internal_SetRandomWriteTargetBuffer(index, uav); }