Load placefile icons into texture atlas cache

This commit is contained in:
Dan Paulat 2023-07-30 00:40:05 -05:00
parent 1f2d5227c4
commit 0f9fbdbf63
12 changed files with 237 additions and 44 deletions

View file

@ -67,6 +67,7 @@ public:
static TextureAtlas& Instance();
void RegisterTexture(const std::string& name, const std::string& path);
bool CacheTexture(const std::string& name, const std::string& path);
void BuildAtlas(size_t width, size_t height);
GLuint BufferAtlas(gl::OpenGLFunctions& gl);