Click or drag to resize
Ab4d.SharpEngine logo

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.Core
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public Span GetMappedMemorySpan<T>()
where T : struct, new()

Type Parameters

T

Return Value

Span
Span of T with the mapped memory
See Also