diff --git a/Formats/Material.md b/Formats/Material.md new file mode 100644 index 0000000..6525bb3 --- /dev/null +++ b/Formats/Material.md @@ -0,0 +1,16 @@ +| Name | Size (per element) | Description | +| :-:|:-:|:-:| +| version | (int32)0x4 | indicates format version +| Material Count | (int32)0x4 | Number of materials declared within the file +| [Materials](./Material.md#material) | variable | materials within the file + +## material + +| Name | Size (per element) | Description | +| :-:|:-:|:-:| +| name | (string)variable | material name +| type | (string)variable | material type + +(repeat per Material Count) + +**Each 'string' is an Int16 to indicate length, followed by an ASCII encoded string.