Create Material.md

This commit is contained in:
PhoenixARC
2023-04-27 20:14:12 -04:00
committed by GitHub
parent ecd8a05265
commit 9bacabcbc3

16
Formats/Material.md Normal file
View File

@@ -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.