OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Most (if not all) buffers, can be treated with the same code. More...
#include <OgreBufferInterface.h>
Public Member Functions | |
BufferInterface () | |
virtual | ~BufferInterface () |
virtual void | _notifyBuffer (BufferPacked *buffer) |
virtual void | advanceFrame (void)=0 |
virtual void *RESTRICT_ALIAS_RETURN | map (size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)=0 |
virtual void | regressFrame (void)=0 |
virtual void | unmap (UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)=0 |
void | upload (const void *data, size_t elementStart, size_t elementCount) |
Most (if not all) buffers, can be treated with the same code.
Hence most equivalent functionality is encapsulated here.
Ogre::BufferInterface::BufferInterface | ( | ) |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in Ogre::NULLBufferInterface.
|
pure virtual |
|
pure virtual |