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

Copy data from any SoBufferObject into this buffer.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.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

Notes:

  • A valid OpenGL context (see SoGLContext) must be bound to perform this operation.

  • The current buffer object must be large enough to hold the data that will be copied. See setSize() to allocate memory.

  • Warning: Source and destination overlaping is NOT supported.

See Also