コード例 #1
0
 /// <inheritdoc />
 public void CopyCount(Buffer sourceBuffer, Buffer destBuffer, int offsetInBytes)
 {
     if (sourceBuffer == null)
     {
         throw new ArgumentNullException("sourceBuffer");
     }
     if (destBuffer == null)
     {
         throw new ArgumentNullException("destBuffer");
     }
     NativeDeviceContext.CopyStructureCount(destBuffer.NativeBuffer, offsetInBytes, sourceBuffer.NativeUnorderedAccessView);
 }