protected override void LoadContentInternal( GraphicsDevice graphicsDevice, ContentManager contentManager, ImGuiRenderer imGuiRenderer) { Clear(imGuiRenderer); var landCount = _tileDataProvider.LandTable?.Length; for (var landIndex = 0; landIndex < landCount; ++landIndex) { var landTexture = _itemProvider.GetLand(graphicsDevice, landIndex); if (landTexture == null) { continue; } var landData = _tileDataProvider.LandTable[landIndex]; if (!string.IsNullOrEmpty(landData.Name)) { _landNameMap.Add(landIndex, landData.Name); } var textureHandle = imGuiRenderer.BindTexture((Texture2D)landTexture); _landTexturesMap.Add((Texture2D)landTexture, textureHandle); _landIdMap.Add(textureHandle, landIndex); } }