Beispiel #1
0
        public static async Task <GLTexture> FromActPalleteFilesAsync(CancellationToken cancelationToken, string dirPath, string generalPath)
        {
            ActPalleteFilesGLTextureReader reader = new ActPalleteFilesGLTextureReader(dirPath, generalPath);

            return(await reader.ReadTextureAsync(cancelationToken));
        }
Beispiel #2
0
        public static GLTexture FromActPalleteFiles(string dirPath, string generalPath)
        {
            ActPalleteFilesGLTextureReader reader = new ActPalleteFilesGLTextureReader(dirPath, generalPath);

            return(reader.ReadTexture());
        }