31#ifndef NONCACHED_CONTAINER_H_
32#define NONCACHED_CONTAINER_H_
68 virtual void Clear()
override;
71 virtual unsigned int GetSize()
const override
bool IsCached() const override
Return true if the container caches vertex data in RAM or video memory.
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
static constexpr unsigned int DEFAULT_SIZE
The Cairo implementation of the graphics abstraction layer.
Class to store vertices and handle transfers between system memory and GPU memory.