 |
GpuBufferGetMappedMemoryPtr(Int64, Int64) Method |
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.
Namespace: Ab4d.SharpEngine.CoreAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic IntPtr GetMappedMemoryPtr(
long offset,
long size
)
Parameters
- offset Int64
[Missing <param name="offset"/> documentation for "M:Ab4d.SharpEngine.Core.GpuBuffer.GetMappedMemoryPtr(System.Int64,System.Int64)"]
- size Int64
[Missing <param name="size"/> documentation for "M:Ab4d.SharpEngine.Core.GpuBuffer.GetMappedMemoryPtr(System.Int64,System.Int64)"]
Return Value
IntPtrIntPtr of the mapped memory
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Core.GpuBuffer.GetMappedMemoryPtr(System.Int64,System.Int64)"]
See AlsoReference
GetMappedMemorySpan``1(Int64, Int64)