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

Copies data from the specified buffer object into this buffer object.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public virtual void Memcpy(
	SoBufferObject sourceBufferObject,
	ulong destOffset,
	ulong sourceOffset,
	ulong copySize
)

Parameters

sourceBufferObject
Type: OIV.Inventor.DevicesSoBufferObject

The buffer object to be copied.

destOffset
Type: SystemUInt64

The starting offset in the destination buffer object, useful for data subsets.

sourceOffset
Type: SystemUInt64

The starting offset in the source buffer object, useful for data subsets.

copySize
Type: SystemUInt64

The number of bytes to copy from the source buffer object (SO_BUFFER_SIZE_ALL means all).

Remarks

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 note Caution

Source and destination overlaping support is implementation dependent, if not supported an error is reported.

See Also