bool add(const std::string &file)
Add a texture to the texture array.
meta::vector< unsigned char * > m_data
Data from adding a file to the texture array. Not kept after building.
void build(const int width, const int height)
Creates the array texture.
TextureArray & operator=(TextureArray &&)
Move assignment operator.
bool build_from_tileset(const std::string &file, const int tile_size)
Creates an array texture from a tileset.