Ejemplo n.º 1
0
        private void GeneratePreviewPixelGrid(ushort maxPreviewDimension, ProgressManager progressManager)
        {
            var gridSet = new GridQuantizedSet(this, maxPreviewDimension);
            var group   = new ChunkProcessSet(gridSet);

            using (var process = progressManager.StartProcess("GeneratePreviewPixelGrid"))
            {
                group.Process(GetTileEnumerator(process));
            }

            m_pixelGridSet = gridSet;
        }
Ejemplo n.º 2
0
        private void GeneratePreviewPixelGrid(ushort maxPreviewDimension, ProgressManager progressManager)
        {
            var gridSet = new GridQuantizedSet(this, maxPreviewDimension);
            var group = new ChunkProcessSet(gridSet);

            using (var process = progressManager.StartProcess("GeneratePreviewPixelGrid"))
            {
                group.Process(GetTileEnumerator(process));
            }

            m_pixelGridSet = gridSet;
        }