Fix a bunch of ifdirective related issues in Ink. Load the UI rect shader in ensom.

This commit is contained in:
2025-10-01 21:43:52 +02:00
parent 39d2fe6ad0
commit afced44abe
16 changed files with 172 additions and 152 deletions

10
test/hint_in_struct.ink Normal file
View File

@@ -0,0 +1,10 @@
#add_define UV
VSInput :: struct {
position : float2 @position;
color : float4 @color;
#if Env.UV {
uv : float2 @UV;
}
}