summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--a.md29
1 files changed, 19 insertions, 10 deletions
diff --git a/a.md b/a.md
index 2e00d8a..90eba6c 100644
--- a/a.md
+++ b/a.md
@@ -33,16 +33,25 @@ Attribute = 0x01 constant:f32 / 0x02 buffer:Res / 0x03 texture:Res<Texture>
NewAttribute = flag:u8 constant:f32 buffer:Res texture:Res<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` |
+| Key | Value Type |
+| -------------------- | ------------- |
+| index | Resource |
+| g_metallic | f32 |
+| g_roughness | f32 |
+| g_albedo | Vec3A |
+| g_transmission | f32 |
+| va_position | [Resource; 3] |
+| va_normal | [Resource; 3] |
+| va_texcoord | [Resource; 2] |
+| va_pbr_roughness | Resource |
+| va_pbr_metallic | Resource |
+| va_pbr_albedo | [Resource; 3] |
+| va_pbr_transmission | Resource |
+| tex_normal | Resource |
+| tex_pbr_roughness | Resource |
+| tex_pbr_metallic | Resource |
+| tex_pbr_albedo | Resource |
+| tex_pbr_transmission | Resource |
### Texture