SoBufferObjectMemcpy Method (SoBufferObject, UInt64, UInt64, UInt64) |
Copies data from the specified buffer object into this buffer object.
Namespace: OIV.Inventor.Devices
public virtual void Memcpy( SoBufferObject sourceBufferObject, ulong destOffset, ulong sourceOffset, ulong copySize )
The buffer object to be copied.
The starting offset in the destination buffer object, useful for data subsets.
The starting offset in the source buffer object, useful for data subsets.
The number of bytes to copy from the source buffer object (SO_BUFFER_SIZE_ALL means all).
If the size or the offset are not valid an error is reported (OIV.Inventor.Errors.SoDebugError). This buffer is not resized, if it is too small an error is reported.
Caution |
---|
Source and destination overlaping support is implementation dependent, if not supported an error is reported. |