Click or drag to resize
Ab4d.SharpEngine logo

GpuImageGetMappedMemoryPtr(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 this image or to 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 IntPtr GetMappedMemoryPtr(
	long offset,
	long size
)

Parameters

offset  Int64
offset in the GPU memory where mapping will start
size  Int64
size in bytes of mapped memory

Return Value

IntPtr
IntPtr of the mapped memory
See Also