OGRE-Next
2.3
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 | _ensureDelayedImmutableBuffersAreReady () |
virtual void | _notifyBuffer (BufferPacked *buffer) |
virtual void | advanceFrame ()=0 |
virtual void | copyTo (BufferInterface *dstBuffer, size_t dstOffsetBytes, size_t srcOffsetBytes, size_t sizeBytes)=0 |
BufferPacked * | getBufferPacked () |
virtual void *RESTRICT_ALIAS_RETURN | map (size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)=0 |
virtual void | regressFrame ()=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 |
|
virtual |
Reimplemented in Ogre::D3D11BufferInterfaceBase.
|
inlinevirtual |
Reimplemented in Ogre::NULLBufferInterface.
|
pure virtual |
|
pure virtual |
|
inline |
|
pure virtual |
|
pure virtual |
|
pure virtual |
void Ogre::BufferInterface::upload | ( | const void * | data, |
size_t | elementStart, | ||
size_t | elementCount | ||
) |