23#include <Inventor/devices/SoBufferObject.h>
24#include <Inventor/devices/SoCpuContext.h>
152 SO_TYPED_CLASS_HEADER();
231 const void* getReadOnlyPointer()
const;
236 virtual void copyToCpuBuffer(
SoCpuBufferObject* targetBufferObject,
size_t destOffset = 0,
size_t sourceOffset = 0,
size_t copySize = SO_BUFFER_SIZE_ALL );
242 bool isBufferOwner()
const;
244 static void memcpyPtr2Ptr(
void* dest,
void* data,
size_t dataSize,
size_t count);
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> CPU buffer objec...
virtual void clearInstance()
This function clears the content of the buffer, it frees the memory if the mode was COPY.
SoCpuBufferObject()
Default constructor.
SoCpuBufferObject(void *buffer, size_t size)
Constructor that takes an existing block of CPU memory.
void setBuffer(void *buffer, size_t size)
Request that the buffer object manage an existing block of memory.
virtual SoBufferObject * createInstance() const
Create a new buffer with the same properties as the current one.