 |
GpuBufferGetMappedMemorySpanT Method |
Returns a Span that can be used to get the content of the buffer or 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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic Span GetMappedMemorySpan<T>()
where T : struct, new()
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Ab4d.SharpEngine.Core.GpuBuffer.GetMappedMemorySpan``1"]
Return Value
SpanSpan of T with the mapped memory
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Core.GpuBuffer.GetMappedMemorySpan``1"]
See AlsoReference
GetMappedMemorySpan``1(Int64, Int64)