OGRE  2.2.4
Object-Oriented Graphics Rendering Engine
Ogre::D3D11BufferInterfaceBase Class Referenceabstract

For D3D11, most (if not all) buffers, can be treated with the same code. More...

#include <OgreD3D11BufferInterfaceBase.h>

+ Inheritance diagram for Ogre::D3D11BufferInterfaceBase:

Public Member Functions

 D3D11BufferInterfaceBase (size_t vboPoolIdx, ID3D11Buffer *d3dBuffer)
 
 ~D3D11BufferInterfaceBase ()
 
void _ensureDelayedImmutableBuffersAreReady (void)
 
virtual void _notifyBuffer (BufferPacked *buffer)
 
virtual void advanceFrame (void)=0
 
virtual void copyTo (BufferInterface *dstBuffer, size_t dstOffsetBytes, size_t srcOffsetBytes, size_t sizeBytes)
 
BufferPackedgetBufferPacked (void)
 
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)
 

Detailed Description

For D3D11, most (if not all) buffers, can be treated with the same code.

Hence most equivalent functionality is encapsulated here.

Constructor & Destructor Documentation

◆ D3D11BufferInterfaceBase()

Ogre::D3D11BufferInterfaceBase::D3D11BufferInterfaceBase ( size_t  vboPoolIdx,
ID3D11Buffer *  d3dBuffer 
)

◆ ~D3D11BufferInterfaceBase()

Ogre::D3D11BufferInterfaceBase::~D3D11BufferInterfaceBase ( )

Member Function Documentation

◆ _ensureDelayedImmutableBuffersAreReady()

void Ogre::D3D11BufferInterfaceBase::_ensureDelayedImmutableBuffersAreReady ( void  )
virtual

Reimplemented from Ogre::BufferInterface.

◆ _notifyBuffer()

virtual void Ogre::BufferInterface::_notifyBuffer ( BufferPacked buffer)
inlinevirtualinherited

Reimplemented in Ogre::NULLBufferInterface.

◆ advanceFrame()

virtual void Ogre::BufferInterface::advanceFrame ( void  )
pure virtualinherited

◆ copyTo()

virtual void Ogre::D3D11BufferInterfaceBase::copyTo ( BufferInterface dstBuffer,
size_t  dstOffsetBytes,
size_t  srcOffsetBytes,
size_t  sizeBytes 
)
virtual

Implements Ogre::BufferInterface.

◆ getBufferPacked()

BufferPacked* Ogre::BufferInterface::getBufferPacked ( void  )
inlineinherited

◆ getVboName()

ID3D11Buffer* Ogre::D3D11BufferInterfaceBase::getVboName ( void  ) const
inline

◆ getVboPoolIndex()

size_t Ogre::D3D11BufferInterfaceBase::getVboPoolIndex ( void  )
inline

◆ map()

virtual void* RESTRICT_ALIAS_RETURN Ogre::BufferInterface::map ( size_t  elementStart,
size_t  elementCount,
MappingState  prevMappingState,
bool  advanceFrame = true 
)
pure virtualinherited

◆ regressFrame()

virtual void Ogre::BufferInterface::regressFrame ( void  )
pure virtualinherited

◆ unmap()

virtual void Ogre::BufferInterface::unmap ( UnmapOptions  unmapOption,
size_t  flushStartElem = 0,
size_t  flushSizeElem = 0 
)
pure virtualinherited

◆ upload()

void Ogre::BufferInterface::upload ( const void *  data,
size_t  elementStart,
size_t  elementCount 
)
inherited

The documentation for this class was generated from the following file: