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

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

Namespace: OIV.LDM.Tiles
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public override 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