27#ifndef CACHED_CONTAINER_RAM_H_
28#define CACHED_CONTAINER_RAM_H_
52 void Map()
override {}
55 void Unmap()
override;
Specialization of CACHED_CONTAINER that stores data in RAM.
~CACHED_CONTAINER_RAM()
Finish the vertices updates stage.
bool IsMapped() const override
Return true if vertex buffer is currently mapped.
void Map() override
Finish the vertices updates stage.
void Unmap() override
Finish the vertices updates stage.
bool defragmentResize(unsigned int aNewSize) override
Defragment the currently stored data and resizes the buffer.
unsigned int GetBufferHandle() const override
Return handle to the vertex buffer.
Class to store VERTEX instances with caching.
static constexpr unsigned int DEFAULT_SIZE
The Cairo implementation of the graphics abstraction layer.