diff options
Diffstat (limited to 'a.md')
-rw-r--r-- | a.md | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -27,18 +27,19 @@ Prefab = *(part) ``` Part = *(len_key:u16 len_value:u16 *(key:u8) *(value:u8)) +Attribute = 0x01 value:f32 / 0x02 buffer:Res / 0x03 texture:Res ``` -| Key | Value Type | -| -------------------- | ----------------- | -| vertex (mult) | `Res<[f32]>` | -| index | `Res<[[u16; 3]]>` | -| armature | ???? | -| fragment_shader | Shader | -| fragment_shader_data | `Res<[f32]>` | -| vertex_shader | Shader | -| vertex_shader_data | `Res<[f32]>` | -| texture (mult) | Texture | +| Key | Value Type | +| ------------------- | ----------------- | +| index | `Res<[[u16; 3]]>` | +| va_position | `[Attribute; 3]` | +| va_normal | `[Attribute; 3]` | +| va_texcoord | `[Attribute; 2]` | +| va_pbr_roughness | `Attribute` | +| va_pbr_metallic | `Attribute` | +| va_pbr_albedo | `[Attribute; 3]` | +| va_pbr_transmission | `Attribute` | ### Texture |