private void DoExport()
        {
            GTextureExporter exporter = new GTextureExporter();

            exporter.SrcData                  = SrcData;
            exporter.ExportHeightMap          = ExportHeightMap;
            exporter.ExportVisibilityMap      = ExportVisibilityMap;
            exporter.ExportAlbedoMap          = ExportAlbedoMap;
            exporter.ExportMetallicMap        = ExportMetallicMap;
            exporter.ExportGradientLookupMaps = ExportGradientLookupMaps;
            exporter.ExportSplatControlMaps   = ExportSplatControlMaps;
            exporter.DataDirectory            = DataDirectory;

            exporter.Export();
        }
        private void DoBulkExport()
        {
            GCommon.ForEachTerrain(
                BulkExportGroupId,
                (t) =>
            {
                if (t == null || t.TerrainData == null)
                {
                    return;
                }

                GTextureExporter exporter         = new GTextureExporter();
                exporter.SrcData                  = t.TerrainData;
                exporter.ExportHeightMap          = ExportHeightMap;
                exporter.ExportVisibilityMap      = ExportVisibilityMap;
                exporter.ExportAlbedoMap          = ExportAlbedoMap;
                exporter.ExportMetallicMap        = ExportMetallicMap;
                exporter.ExportGradientLookupMaps = ExportGradientLookupMaps;
                exporter.ExportSplatControlMaps   = ExportSplatControlMaps;
                exporter.DataDirectory            = DataDirectory;

                exporter.Export();
            });
        }