Esempio n. 1
0
 /// <summary>
 /// Dispatches the specified indirect buffer.
 /// </summary>
 /// <param name="indirectBuffer">The indirect buffer.</param>
 /// <param name="offsetInBytes">The offset information bytes.</param>
 public void Dispatch(Buffer indirectBuffer, int offsetInBytes)
 {
     if (indirectBuffer == null)
     {
         throw new ArgumentNullException("indirectBuffer");
     }
     NativeDeviceContext.DispatchIndirect(indirectBuffer.NativeBuffer, offsetInBytes);
 }