SoCpuBufferObjectMemcpy Method (SoBufferObject, UInt64, UInt64, UInt64) |
Copy data from the specified buffer object into this buffer object.
Namespace: OIV.Inventor.DevicesAssembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic override void Memcpy(
SoBufferObject sourceBufferObject,
ulong destOffset,
ulong sourceOffset,
ulong copySize
)
Public Overrides Sub Memcpy (
sourceBufferObject As SoBufferObject,
destOffset As ULong,
sourceOffset As ULong,
copySize As ULong
)
public:
virtual void Memcpy(
SoBufferObject^ sourceBufferObject,
unsigned long long destOffset,
unsigned long long sourceOffset,
unsigned long long copySize
) override
abstract Memcpy :
sourceBufferObject : SoBufferObject *
destOffset : uint64 *
sourceOffset : uint64 *
copySize : uint64 -> unit
override Memcpy :
sourceBufferObject : SoBufferObject *
destOffset : uint64 *
sourceOffset : uint64 *
copySize : uint64 -> unit
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).
RemarksIf the size or the offset are not valid an error is reported (SoDebugError). This buffer is not resized, if it is too small an error is reported.
Source and destination overlaping is supported if both are of type SoCpuBufferObject.
See Also