mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-03-17 10:23:02 +00:00
refactor: move iw4 techset and vertexdecl compiling to ObjCompiling
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
#include "Game/IW4/IW4.h"
|
||||
#include "Image/ImageIwdPostProcessor.h"
|
||||
#include "Material/CompilerMaterialIW4.h"
|
||||
#include "Techset/CompilerTechsetIW4.h"
|
||||
#include "Techset/CompilerVertexDeclIW4.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -15,8 +17,10 @@ namespace
|
||||
auto& memory = zone.Memory();
|
||||
|
||||
#ifdef EXPERIMENTAL_MATERIAL_COMPILATION
|
||||
collection.AddAssetCreator(CreateCompilingMaterialLoader(memory, searchPath, gdt));
|
||||
collection.AddAssetCreator(CreateMaterialCompiler(memory, searchPath, gdt));
|
||||
collection.AddAssetCreator(CreateTechsetLoader(memory, searchPath));
|
||||
#endif
|
||||
collection.AddAssetCreator(CreateVertexDeclLoader(memory));
|
||||
}
|
||||
|
||||
void ConfigurePostProcessors(AssetCreatorCollection& collection,
|
||||
|
||||
Reference in New Issue
Block a user