#include "ObjCompilerT6.h" #include "Game/T6/T6.h" #include "Image/ImageIwdPostProcessor.h" #include using namespace T6; namespace fs = std::filesystem; namespace { void ConfigureCompilers(AssetCreatorCollection& collection, Zone& zone, ISearchPath& searchPath) { auto& memory = *zone.GetMemory(); // No compilers yet } void ConfigurePostProcessors(AssetCreatorCollection& collection, Zone& zone, ISearchPath& searchPath, const fs::path& outDir) { auto& memory = *zone.GetMemory(); collection.AddAssetPostProcessor(std::make_unique>(searchPath, outDir)); } } // namespace void ObjCompiler::ConfigureCreatorCollection(AssetCreatorCollection& collection, Zone& zone, const ZoneDefinition& zoneDefinition, ISearchPath& searchPath, IGdtQueryable& gdt, const fs::path& outDir, const fs::path& cacheDir) const { ConfigurePostProcessors(collection, zone, searchPath, outDir); }