Beispiel #1
0
        public void SaveASTC(string FileName, int SurfaceLevel = 0, int MipLevel = 0)
        {
            ASTC atsc = new ASTC();

            atsc.BlockDimX = (byte)GetBlockHeight(Format);
            atsc.BlockDimY = (byte)GetBlockWidth(Format);
            atsc.BlockDimZ = (byte)1;
        }
        public void LoadASTC(string path)
        {
            ASTC astc = new ASTC();

            astc.Load(new FileStream(path, FileMode.Open));
        }