SoOpenCLBufferObjectMemcpy Method (SoBufferObject, UInt64, UInt64, UInt64) |
Copy data from any SoBufferObject into the OpenCL memory.
Namespace: OIV.Inventor.Devices
public override void Memcpy( SoBufferObject sourceBufferObject, ulong destOffset, ulong sourceOffset, ulong copySize )
The source buffer object which contains the data to copy.
The starting offset in the source buffer.
The starting offset in the source buffer.
The size in bytes of the chunk of data to copy.
: Source and destination overlaping is NOT supported.
Ensure that the context which was used when the constructor was called is currently bound before calling this function.