KiCad PCB EDA Suite
cached_container.cpp File Reference

Class to store instances of VERTEX with caching. More...

#include <gal/opengl/cached_container.h>
#include <gal/opengl/vertex_manager.h>
#include <gal/opengl/vertex_item.h>
#include <gal/opengl/utils.h>
#include <list>
#include <cassert>

Go to the source code of this file.

Detailed Description

Class to store instances of VERTEX with caching.

It allows storing VERTEX objects and associates them with VERTEX_ITEMs. This leads to a possibility of caching vertices data in the GPU memory and a fast reuse of that data.

Definition in file cached_container.cpp.