SoGLBufferObjectMemcpy Method (SoCpuBufferObject, UInt64, UInt64, UInt64) |
Copy data from a CPU buffer into this buffer.
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(
SoCpuBufferObject sourceBufferObject,
ulong destOffset,
ulong sourceOffset,
ulong copySize
)
Public Overrides Sub Memcpy (
sourceBufferObject As SoCpuBufferObject,
destOffset As ULong,
sourceOffset As ULong,
copySize As ULong
)
public:
virtual void Memcpy(
SoCpuBufferObject^ sourceBufferObject,
unsigned long long destOffset,
unsigned long long sourceOffset,
unsigned long long copySize
) override
abstract Memcpy :
sourceBufferObject : SoCpuBufferObject *
destOffset : uint64 *
sourceOffset : uint64 *
copySize : uint64 -> unit
override Memcpy :
sourceBufferObject : SoCpuBufferObject *
destOffset : uint64 *
sourceOffset : uint64 *
copySize : uint64 -> unit
Parameters
- sourceBufferObject
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- destOffset
- Type: SystemUInt64
- sourceOffset
- Type: SystemUInt64
- copySize
- Type: SystemUInt64
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.
This function is a specialized function for speed-up.
See the general memcpy function for more information
See Also