OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
For D3D11, most (if not all) buffers, can be treated with the same code. More...
#include <OgreD3D11BufferInterfaceBase.h>
Public Member Functions | |
D3D11BufferInterfaceBase (size_t vboPoolIdx, ID3D11Buffer *d3dBuffer) | |
~D3D11BufferInterfaceBase () | |
virtual void | _notifyBuffer (BufferPacked *buffer) |
virtual void | advanceFrame (void)=0 |
ID3D11Buffer * | getVboName (void) const |
size_t | getVboPoolIndex (void) |
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) |
For D3D11, most (if not all) buffers, can be treated with the same code.
Hence most equivalent functionality is encapsulated here.
Ogre::D3D11BufferInterfaceBase::D3D11BufferInterfaceBase | ( | size_t | vboPoolIdx, |
ID3D11Buffer * | d3dBuffer | ||
) |
Ogre::D3D11BufferInterfaceBase::~D3D11BufferInterfaceBase | ( | ) |
|
inlinevirtualinherited |
Reimplemented in Ogre::NULLBufferInterface.
|
inline |
|
pure virtualinherited |
|
pure virtualinherited |
|
inherited |