mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 04:00:05 +00:00
Load placefile icons into texture atlas cache
This commit is contained in:
parent
1f2d5227c4
commit
0f9fbdbf63
12 changed files with 237 additions and 44 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue