Fix a bunch of ifdirective related issues in Ink. Load the UI rect shader in ensom.
This commit is contained in:
10
test/hint_in_struct.ink
Normal file
10
test/hint_in_struct.ink
Normal file
@@ -0,0 +1,10 @@
|
||||
#add_define UV
|
||||
|
||||
VSInput :: struct {
|
||||
position : float2 @position;
|
||||
color : float4 @color;
|
||||
|
||||
#if Env.UV {
|
||||
uv : float2 @UV;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user