Esempio n. 1
0
 public GpuBufferPacket(GpuBuffer gpuBuffer, int timestamp) :
     base(UnsafeNativeMethods.MpMakeGpuBufferPacketAt(gpuBuffer.GetPtr(), timestamp))
 {
     gpuBuffer.ReleaseOwnership();
     valueHandle = GCHandle.Alloc(gpuBuffer);
 }