|
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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public Span GetMappedMemorySpan<T>()
where T : struct, new()
Type Parameters
- T
Return Value
SpanSpan of T with the mapped memory
See Also