From 00e84cd602bfea24c2a546bf948781dc49a9d4b2 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 7 Jan 2025 15:20:36 +0100 Subject: update part --- a.md | 29 +++++++++++++++++++---------- 1 file 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 NewAttribute = flag:u8 constant:f32 buffer:Res texture:Res ``` -| 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 -- cgit v1.2.3-70-g09d2