[IMaterial] Wrote new importer for materials, should work but i haven't tested anything

- old format is still supported but only as a fallback
This commit is contained in:
TheApadayo
2016-12-25 22:05:21 -05:00
parent b381fbd238
commit 5577989918
3 changed files with 127 additions and 1 deletions

View File

@ -517,6 +517,11 @@ namespace Game
unsigned __int64 packed;
};
struct GfxStateBits
{
unsigned int loadBits[2];
};
#pragma pack(push, 4)
struct Material
{
@ -538,7 +543,7 @@ namespace Game
MaterialTechniqueSet *techniqueSet;
MaterialTextureDef *textureTable;
MaterialConstantDef *constantTable;
void *stateBitTable;
GfxStateBits *stateBitTable;
};
#pragma pack(pop)