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

Copy data from a GL buffer 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 void Memcpy(
	SoGLBufferObject sourceBufferObject,
	ulong destOffset,
	ulong sourceOffset,
	ulong copySize
)

Parameters

sourceBufferObject
Type: OIV.Inventor.DevicesSoGLBufferObject
destOffset
Type: SystemUInt64
sourceOffset
Type: SystemUInt64
copySize
Type: SystemUInt64
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.

This function is a specialized function for speed-up. See the general memcpy function for more information

See Also