SoGLBufferObjectMemcpy Method (SoBufferObject, UInt64, UInt64, UInt64) |
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 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.
RemarksNotes:
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