231 const void* getReadOnlyPointer()
const;
242 bool isBufferOwner()
const;
244 static void memcpyPtr2Ptr(
void* dest,
void* data,
size_t dataSize,
size_t count);
#define SO_BUFFER_SIZE_ALL
Used to indicate that we want to use the whole buffer.
SO_PIMPL_PUBLIC_DECLARATION(SoFileDataAdapter)
#define SO_TYPED_CLASS_HEADER()
<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.