Records the state of all the vertex buffer bindings required to provide a vertex declaration with the input data it needs for the vertex elements.  
 More...
#include <OgreHardwareVertexBuffer.h>
Records the state of all the vertex buffer bindings required to provide a vertex declaration with the input data it needs for the vertex elements. 
- Like the other classes in this functional area, these binding maps should be created and destroyed using the HardwareBufferManager. 
◆ BindingIndexMap
◆ VertexBufferBindingMap
Defines the vertex buffer bindings used as source for vertex declarations. 
 
 
◆ VertexBufferBinding()
      
        
          | Ogre::v1::VertexBufferBinding::VertexBufferBinding | ( |  | ) |  | 
      
 
 
◆ ~VertexBufferBinding()
  
  | 
        
          | virtual Ogre::v1::VertexBufferBinding::~VertexBufferBinding | ( |  | ) |  |  | virtual | 
 
 
◆ closeGaps()
  
  | 
        
          | virtual void Ogre::v1::VertexBufferBinding::closeGaps | ( | BindingIndexMap & | bindingIndexMap | ) |  |  | virtual | 
 
Remove any gaps in the bindings. 
- Parameters
- 
  
    | bindingIndexMap | To be retrieve the binding index map that used to translation old index to new index; will be cleared by this method before fill-in. |  
 
 
 
◆ getBindings()
◆ getBuffer()
Gets the buffer bound to the given source index. 
 
 
◆ getBufferCount()
  
  | 
        
          | virtual size_t Ogre::v1::VertexBufferBinding::getBufferCount | ( |  | ) | const |  | inlinevirtual | 
 
 
◆ getHasInstanceData()
  
  | 
        
          | virtual bool Ogre::v1::VertexBufferBinding::getHasInstanceData | ( |  | ) | const |  | virtual | 
 
Returns true if this binding has an element that contains instance data. 
 
 
◆ getLastBoundIndex()
  
  | 
        
          | virtual unsigned short Ogre::v1::VertexBufferBinding::getLastBoundIndex | ( |  | ) | const |  | virtual | 
 
Gets the last bound index. 
 
 
◆ getNextIndex()
  
  | 
        
          | virtual unsigned short Ogre::v1::VertexBufferBinding::getNextIndex | ( |  | ) | const |  | inlinevirtual | 
 
Gets the highest index which has already been set, plus 1. 
 
 
◆ hasGaps()
  
  | 
        
          | virtual bool Ogre::v1::VertexBufferBinding::hasGaps | ( |  | ) | const |  | virtual | 
 
Check whether any gaps in the bindings. 
 
 
◆ isBufferBound()
  
  | 
        
          | virtual bool Ogre::v1::VertexBufferBinding::isBufferBound | ( | unsigned short | index | ) | const |  | virtual | 
 
Gets whether a buffer is bound to the given source index. 
 
 
◆ setBinding()
◆ unsetAllBindings()
  
  | 
        
          | virtual void Ogre::v1::VertexBufferBinding::unsetAllBindings | ( |  | ) |  |  | virtual | 
 
Removes all the bindings. 
 
 
◆ unsetBinding()
  
  | 
        
          | virtual void Ogre::v1::VertexBufferBinding::unsetBinding | ( | unsigned short | index | ) |  |  | virtual | 
 
Removes an existing binding. 
 
 
The documentation for this class was generated from the following file: