Пример #1
0
 public VTFGenerator(Stream inputStream, Stream outputStream)
 {
     processDelegate = new ProcessAsync(this.Process);
     _output = new VTFOutput(outputStream);
     _smallInputFile = new MemoryStream();
     inputStream.CopyTo(_smallInputFile);
 }
Пример #2
0
 public VTFGenerator(Stream inputStream, Stream outputStream)
 {
     processDelegate = new ProcessAsync(this.Process);
     _output         = new VTFOutput(outputStream);
     _smallInputFile = new MemoryStream();
     inputStream.CopyTo(_smallInputFile);
 }
Пример #3
0
        public VTFGenerator(string inputFile, string outputFile)
        {
            processDelegate = new ProcessAsync(this.Process);
            // Create the output directories
            (new FileInfo(outputFile)).Directory.Create();
            _output = new VTFOutput(outputFile);

            _smallInputFile = new FileStream(inputFile, FileMode.Open);
        }
Пример #4
0
        public VTFGenerator(string inputFile, string outputFile)
        {
            processDelegate = new ProcessAsync(this.Process);
            // Create the output directories
            (new FileInfo(outputFile)).Directory.Create();
            _output = new VTFOutput(outputFile);

            _smallInputFile = new FileStream(inputFile, FileMode.Open);
        }