mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 23:40:06 +00:00 
			
		
		
		
	Update placefile icon data outside of render loop, polygon and text cleanup
This commit is contained in:
		
							parent
							
								
									b159540215
								
							
						
					
					
						commit
						e021484bfb
					
				
					 5 changed files with 212 additions and 178 deletions
				
			
		|  | @ -33,6 +33,11 @@ public: | |||
|    void Render(const QMapLibreGL::CustomLayerRenderParameters& params) override; | ||||
|    void Deinitialize() override; | ||||
| 
 | ||||
|    /**
 | ||||
|     * Resets and prepares the draw item for adding a new set of icons. | ||||
|     */ | ||||
|    void StartIcons(); | ||||
| 
 | ||||
|    /**
 | ||||
|     * Configures the textures for drawing the placefile icons. | ||||
|     * | ||||
|  | @ -52,9 +57,9 @@ public: | |||
|    void AddIcon(const std::shared_ptr<gr::Placefile::IconDrawItem>& di); | ||||
| 
 | ||||
|    /**
 | ||||
|     * Resets the list of icons in preparation for rendering a new frame. | ||||
|     * Finalizes the draw item after adding new icons. | ||||
|     */ | ||||
|    void Reset(); | ||||
|    void FinishIcons(); | ||||
| 
 | ||||
| private: | ||||
|    class Impl; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat