[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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user