32#ifndef NONCACHED_CONTAINER_H_ 
   33#define NONCACHED_CONTAINER_H_ 
   69    virtual void Clear() 
override;
 
   72    virtual unsigned int GetSize()
 const override 
 
 
bool IsCached() const override
Return true if the container caches vertex data in RAM or video memory.
 
NONCACHED_CONTAINER(unsigned int aSize=DEFAULT_SIZE)
Construct a non-cached container object.
 
void Delete(VERTEX_ITEM *aItem) override
Erase the data related to an item.
 
virtual unsigned int GetSize() const override
Return amount of vertices currently stored in the container.
 
virtual void SetItem(VERTEX_ITEM *aItem) override
Set the item for the further actions.
 
virtual VERTEX * Allocate(unsigned int aSize) override
Return allocated space for the requested number of vertices associated with the current item (set wit...
 
virtual ~NONCACHED_CONTAINER()
 
virtual void Clear() override
Remove all data stored in the container and restores its original state.
 
unsigned int m_freePtr
< Index of the free first space where a vertex can be stored
 
Provide the access to the OpenGL shaders.
 
static constexpr unsigned int DEFAULT_SIZE
 
VERTEX_CONTAINER(unsigned int aSize=DEFAULT_SIZE)
 
The Cairo implementation of the graphics abstraction layer.
 
Class to store vertices and handle transfers between system memory and GPU memory.