SoGLBufferObjectMemcpy Method (SoGLBufferObject, UInt64, UInt64, UInt64) |
Copy data from a GL 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 void Memcpy(
SoGLBufferObject sourceBufferObject,
ulong destOffset,
ulong sourceOffset,
ulong copySize
)
Public Sub Memcpy (
sourceBufferObject As SoGLBufferObject,
destOffset As ULong,
sourceOffset As ULong,
copySize As ULong
)
public:
void Memcpy(
SoGLBufferObject^ sourceBufferObject,
unsigned long long destOffset,
unsigned long long sourceOffset,
unsigned long long copySize
)
member Memcpy :
sourceBufferObject : SoGLBufferObject *
destOffset : uint64 *
sourceOffset : uint64 *
copySize : uint64 -> unit
Parameters
- sourceBufferObject
- Type: OIV.Inventor.DevicesSoGLBufferObject
- 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