Click or drag to resize
SoOpenCLBufferObjectMemcpy Method (SoBufferObject, UInt64, UInt64, UInt64)

Copy data from any SoBufferObject into the OpenCL memory.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.OpenCL (in OIV.Inventor.OpenCL.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public override void Memcpy(
	SoBufferObject sourceBufferObject,
	ulong destOffset,
	ulong sourceOffset,
	ulong copySize
)

Parameters

sourceBufferObject
Type: OIV.Inventor.DevicesSoBufferObject

The source buffer object which contains the data to copy.

destOffset
Type: SystemUInt64

The starting offset in the source buffer.

sourceOffset
Type: SystemUInt64

The starting offset in the source buffer.

copySize
Type: SystemUInt64

The size in bytes of the chunk of data to copy.

Remarks

: Source and destination overlaping is NOT supported.

NOTES

  • Ensure that the context which was used when the constructor was called is currently bound before calling this function.

See Also