public static int Texture(string name) { try { return((int)GlUtils.KnownTextures[name]); } catch (Exception) { GlUtils.KnownTextures[name] = GlUtils.LoadTextureByName(name); return((int)GlUtils.KnownTextures[name]); } }