protected virtual void storeBitmap(Bitmap bitmap) { string key = Hash(); ILTextureManager mana = m_panel.TextureManager; mana.StoreTextureItem(key, m_bitmap); }
protected void CacheMarkerBitmap() { ILTextureManager mana = m_panel.TextureManager; string key = Hash(); Bitmap markerbmp = BitmapFromStyle(m_style); // we need it in format Argb! mana.StoreTextureItem(key, markerbmp); }
public ILOGLWorldRenderer(ILPanel panel) { m_textureManager = panel.TextureManager; m_textureManager.TextureCacheCleared += new EventHandler(m_textureManager_TextureCacheCleared); }