public Texture2D CreateLand(int index) { Texture2D texture = _landCache[index]; if (texture != null) { return(texture); } texture = _textures.CreateTexture(index); if (texture == null) { return(_missingTexture); } return(_landCache[index] = texture); }