Parse MaterialInstance filed in MaterialFileLoader.cpp

This commit is contained in:
2023-10-09 01:12:27 +08:00
parent b6e391762b
commit 3a3f9d10b7
4 changed files with 38 additions and 146 deletions

View File

@@ -1,5 +1,7 @@
#pragma once
#include<hgl/type/String.h>
#define STD_MTL_NAMESPACE_BEGIN namespace hgl{namespace graph{namespace mtl{
#define STD_MTL_NAMESPACE_END }}}
@@ -45,6 +47,9 @@ namespace hgl
virtual MaterialCreateInfo *Create()=0;
};//class StdMaterial
bool LoadMaterialFromFile(const AnsiString &mtl_filename);
}//namespace mtl
}//namespace graph
}//namespace hgl