From 9bacabcbc3bf22c579ed8d84cd73cae5e084d5b6 Mon Sep 17 00:00:00 2001 From: PhoenixARC <46140834+PhoenixARC@users.noreply.github.com> Date: Thu, 27 Apr 2023 20:14:12 -0400 Subject: [PATCH] Create Material.md --- Formats/Material.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Formats/Material.md 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.