mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 15:30:04 +00:00 
			
		
		
		
	Hold a reference to current images in the placefile manager, removing old, unused images
This commit is contained in:
		
							parent
							
								
									9165d66a33
								
							
						
					
					
						commit
						bbaae5d1ba
					
				
					 5 changed files with 68 additions and 63 deletions
				
			
		|  | @ -6,6 +6,7 @@ | |||
| #include <string> | ||||
| 
 | ||||
| #include <boost/gil/point.hpp> | ||||
| #include <boost/gil/typedefs.hpp> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
|  | @ -73,7 +74,8 @@ public: | |||
|    std::uint64_t BuildCount() const; | ||||
| 
 | ||||
|    void RegisterTexture(const std::string& name, const std::string& path); | ||||
|    bool CacheTexture(const std::string& name, const std::string& path); | ||||
|    std::shared_ptr<boost::gil::rgba8_image_t> | ||||
|         CacheTexture(const std::string& name, const std::string& path); | ||||
|    void BuildAtlas(std::size_t width, std::size_t height); | ||||
|    void BufferAtlas(gl::OpenGLFunctions& gl, GLuint texture); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat