 | GetMappedMemoryPtr(Int64, Int64) |
Returns an IntPtr of the mapped memory with specified offset and size.
The IntPtr can be used to get the content of the buffer or to copy new content to that location.
After using the memory call UnmapMemory method.
Note that when this buffer is using a non-coherent memory (IsNonCoherentMemory is true), you need to call InvalidateNonCoherentMemory before reading from the mapped memory or call FlushNonCoherentMemory after writing to the mapped memory (before calling UnmapMemory).
|