diff options
| author | HampusM <hampus@hampusmat.com> | 2026-08-13 14:16:39 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-08-13 14:16:39 +0200 |
| commit | c611ee62477564fbe532f51e8526bae2e82dae93 (patch) | |
| tree | 376cd420163ebb0c55a84fa4c458e6922198b620 /engine/res/imgui_shader.slang | |
| parent | 47ac4d8ae714d562d969e8379e82e568a72d50fb (diff) | |
feat(engine): add standardized names for mesh vertex attrs & vertex shader input
Diffstat (limited to 'engine/res/imgui_shader.slang')
| -rw-r--r-- | engine/res/imgui_shader.slang | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/res/imgui_shader.slang b/engine/res/imgui_shader.slang index 2bdd718..29ad9bf 100644 --- a/engine/res/imgui_shader.slang +++ b/engine/res/imgui_shader.slang @@ -1,8 +1,8 @@ struct Vertex { - float3 pos; - float4 color; - float2 texture_coords; + float3 pos : STD_POSITION; + float4 color : STD_COLOR; + float2 texture_coords : STD_UV; }; struct VertexData |
