@@ -121,6 +121,26 @@ export type LegitScriptOptIVec4 = {
121
121
name : string
122
122
value : ivec4
123
123
}
124
+ export type LegitScriptOptUInt = {
125
+ type : 'uint'
126
+ name : string
127
+ value : number
128
+ }
129
+ export type LegitScriptOptUVec2 = {
130
+ type : 'uvec2'
131
+ name : string
132
+ value : uvec2
133
+ }
134
+ export type LegitScriptOptUVec3 = {
135
+ type : 'uvec3'
136
+ name : string
137
+ value : uvec3
138
+ }
139
+ export type LegitScriptOptUVec4 = {
140
+ type : 'uvec4'
141
+ name : string
142
+ value : uvec4
143
+ }
124
144
125
145
export type LegitScriptShaderInvocationUniform =
126
146
LegitScriptOptFloat |
@@ -130,7 +150,11 @@ LegitScriptOptVec4 |
130
150
LegitScriptOptInt |
131
151
LegitScriptOptIVec2 |
132
152
LegitScriptOptIVec3 |
133
- LegitScriptOptIVec4
153
+ LegitScriptOptIVec4 |
154
+ LegitScriptOptUInt |
155
+ LegitScriptOptUVec2 |
156
+ LegitScriptOptUVec3 |
157
+ LegitScriptOptUVec4
134
158
135
159
136
160
export type LegitScriptShaderInvocationSamplerBinding = {
@@ -149,6 +173,9 @@ export type LegitScriptShaderInvocation = {
149
173
export type ivec2 = { x : number , y : number }
150
174
export type ivec3 = { x : number , y : number , z : number }
151
175
export type ivec4 = { x : number , y : number , z : number , w : number }
176
+ export type uvec2 = { x : number , y : number }
177
+ export type uvec3 = { x : number , y : number , z : number }
178
+ export type uvec4 = { x : number , y : number , z : number , w : number }
152
179
export type vec2 = { x : number , y : number }
153
180
export type vec3 = { x : number , y : number , z : number }
154
181
export type vec4 = { x : number , y : number , z : number , w : number }
0 commit comments