Beispiel #1
0
        public override ITexture Load(IEnumerable <string> filePaths, TextureLoadingParameters loadingParameters)
        {
            string file = filePaths.Single();

            Bitmap bmp = new Bitmap(file);

            return(GraphicsHandler.CreateTexture(bmp, loadingParameters.WrapS, loadingParameters.WrapT, loadingParameters.MinFilter, loadingParameters.MagFilter));
        }